Page 1 of 1

rpm2dotpup?

Posted: Sat 10 Sep 2005, 01:37
by MU
hehe...

I just released Dotpup-Wizard 02 ( http://www.murga.org/~puppy/viewtopic.php?t=2138#13158 )

It allows to add systemfiles to a dotpup, for example from /usr/lib.

Then I thought:
Why not simply "unrpm" fvwm2.5.11.rpm in FILESYSTEM?

Tried, built a popup, installed.

Exited Icewm, typed
xwin fvwm

Nothing.
So "xwin icewm", and in rxvt: "fvwm" (to see what errors it reports)
ah, I see, 2 libs are missing. Libpng2 and libstroke.
So add them to FILESYSTEM (grabbedthem from my Linux-Mandrake 9.2) and rebuild the dotpup.
Exit Icewm, "xwin fvwm"
Now it starts :)

Cool.

It just looks not perfect, I think because there is no fvwm2rc in /root/.fvwm

So I grab a configuration from http://fvwm.lair.be ,add it to FILESYSTEM, rebuild the pup - et voila: http://noforum.de/dotpups/fvwm2.5.11.jpg (Screenshot)

Not pefect, but astonishing for such a simple "rip".

The nice thing is: fvwm2 now can completely removed with PupGet!

If you want to try:
http://noforum.de/dotpups/fvwm2.5.11.pup
It is 5 MB and will need approx 10 MB extracted.

Greetings, Mark

Posted: Sat 10 Sep 2005, 04:27
by Lobster
You are doing some great work Mark,

Downloaded and looked briefly at your dotpup creator (borrowed from your menu creator by the look of the menu bar - which needs changing) Does it use wxbasic too?

Looks simple and will be interested in how others get on with creating dotpups - in particular I like how your programs can be uninstalled from pupget . . .

In 1.0.5 Alpha r2 fvwm is a pupget. Your new version of fvwm looks great - wonder if it is too big for Puppy but perfectly feasible as a dotpup?

Be interested in other feedback

Posted: Sat 10 Sep 2005, 04:44
by MU
Lobster, thanks :)

The menue uses wxBasic.

The Dotpup-Wizard not.
It is a shellscript, the grafical user-interface is done with "Xdialog" (which is part of puppy). http://xdialog.dyns.net/

The Advantage of Xdialog: you don't need a "huge" interpreter.
So it is perfect for tools that ship with puppy.
wxBasic is great for additional tools, when xdialog is too simple(complexer layouts).
Another advantage of wxBasic: I might be easier to understand.
If you look at the Dotpup-Wizard, you will see many lines like
cat abc.txt | grep "word" | sed "s/expression.*$/replacement/" | sed "s/^expre(ssi)on2/replac\1ement2/" >result.txt

Especially the "sed"-Syntax (regular expressions) is a real horror for beginners.
In Basic, you could write things like
a= left (b, 10)
replace(a , "Hullo" , "Hello")

--------------------------
Fvwm:
This is an enhenced version. Have a look at http://fvwm-themes.sourceforge.net/screenshots/

This is more than fvwm95 can do.

My pup just is so big, because the half of it are pictures and icons from the "pasq"-theme.

I agree it shouldnot be part of Puppy, just an additional dotpup.

My goal was to show, that even somewhat complexer RPMs can be converted relatively simple with help of the new Wizard :-)

Mark

Posted: Sat 10 Sep 2005, 05:07
by Lobster
Many thanks for your comprehensive answer.

Everything you say makes sense to me (and I am notoriously stupid)

:D

keep up the good work

Posted: Sat 10 Sep 2005, 05:16
by MU
>Everything you say makes sense to me (and I am notoriously stupid)

I wanted to become a teacher when I was young ;)
No, seriously:
You certainly are not stupid. Some things in Linux are somewhat "strange" (like sed), when you learned to work with windows first.
When I started with Linux in 1998, there was no "Basic", so I had to try to understand shellscripts.
Nowadays I usually use wxBasic, I just restart scripting in order to keep things small for puppy :)


>keep up the good work

I'll try my best, just like the others too. I am not good in organizing things, so I have high respect of your activities concerning the foundation :)


Mark

Posted: Sat 10 Sep 2005, 05:17
by puppian
How about deb2dotpup?

Most deb packages work well with puppy :idea:

Posted: Sat 10 Sep 2005, 05:24
by MU
Puppian,

it would be the same as with rpm.

Someone wrote, there is an "undeb"-dotpup.

So copy a whatever.deb to /things_to_add/FILESYSTEM
Then run "undeb whatever.deb".
When it has extracted, delete whatever.deb

Now you can create a dotpup with the Wizard, using the folder /things_to_add

Greets, Mark

Posted: Sat 10 Sep 2005, 10:19
by puppian_guest
i thought that the Dotpup-Wizard will automate it (open the wizard, click a button, and rpm/deb becomes pup)... must be too much tea (or too little?) :oops:

Posted: Sat 10 Sep 2005, 14:27
by MU
I might add that as an option :)

But no promise when, we have the last warm days here, so I might prefer go to the beach ;)

Mark

Posted: Sun 11 Sep 2005, 01:51
by BarryK
Lobster wrote:In 1.0.5 Alpha r2 fvwm is a pupget. Your new version of fvwm looks great - wonder if it is too big for Puppy but perfectly feasible as a dotpup?
fvwm95 is a pupget. yeah, but don't install it, as the menu will be broken.
I have remedied that, for 1.0.5rc, coming soon (rc = release candidate).