Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 19:47
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
rpm2dotpup?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Fri 09 Sep 2005, 21:37    Post subject:  rpm2dotpup?  

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 Smile

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
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sat 10 Sep 2005, 00:27    Post subject:  

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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 10 Sep 2005, 00:44    Post subject:  

Lobster, thanks Smile

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 Smile

Mark

Last edited by MU on Sat 10 Sep 2005, 01:10; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sat 10 Sep 2005, 01:07    Post subject:  

Many thanks for your comprehensive answer.

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

Very Happy

keep up the good work

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 10 Sep 2005, 01:16    Post subject:  

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

I wanted to become a teacher when I was young Wink
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 Smile


>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 Smile


Mark
Back to top
View user's profile Send private message Visit poster's website 
puppian


Joined: 18 Jul 2005
Posts: 538
Location: PuppyLand

PostPosted: Sat 10 Sep 2005, 01:17    Post subject:  

How about deb2dotpup?

Most deb packages work well with puppy Idea

_________________
Puppylinux.org - Community home page of Puppy Linux hosted by Barry (creator of Puppy), created and maintained by the Puppy Linux Foundation since 2005
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 10 Sep 2005, 01:24    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
puppian_guest
Guest


PostPosted: Sat 10 Sep 2005, 06:19    Post subject:  

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?) Embarassed
Back to top
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 10 Sep 2005, 10:27    Post subject:  

I might add that as an option Smile

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

Mark
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7099
Location: Perth, Western Australia

PostPosted: Sat 10 Sep 2005, 21:51    Post subject:  

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).
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0784s ][ Queries: 11 (0.0189s) ][ GZIP on ]