rpm2dotpup?

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

rpm2dotpup?

#1 Post 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

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post 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
Last edited by MU on Sat 10 Sep 2005, 05:10, edited 1 time in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post 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

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#6 Post by puppian »

How about deb2dotpup?

Most deb packages work well with puppy :idea:
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post 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

puppian_guest

#8 Post 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:

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post 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

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#10 Post 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).

Post Reply