pet2sfs converter?

Miscellaneous tools
Message
Author
User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#16 Post by charlie6 »

Hi,
I have been discovering Puppy by augustus 2008 "thanks to" a crash of windowsXP on my PC ...Puppy helped me to recover some datas and now I am migrating to Puppy (more exactly I am running its french translation Toutou).
It is amazing how people can make it grow! Waow! Now we get a pet2sfs from MU ! Many thanks, MU !

For a specific Gantt scheduling program (*) I need both python and wxPython installed
(download from python2.5.2.pet and wxPython2.8.7.1 from here)

http://www.murga-linux.com/puppy/viewto ... 93&t=31558

I wonder how to convert both pets into one sfs?

Thanks in advance

Charlie

(*) GanttPV from
http://www.pureviolet.net/ganttpv/

reckrhodes
Posts: 116
Joined: Wed 30 May 2007, 08:15

#17 Post by reckrhodes »

hi charlie6,

I think this link is of useful to you (converting many pets or sfs's to a single sfs file.

http://www.murga-linux.com/puppy/viewto ... 72&t=38432

thanks to mohan34u.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#18 Post by ttuuxxx »

charlie6 wrote:Hi,
I have been discovering Puppy by augustus 2008 "thanks to" a crash of windowsXP on my PC ...Puppy helped me to recover some datas and now I am migrating to Puppy (more exactly I am running its french translation Toutou).
It is amazing how people can make it grow! Waow! Now we get a pet2sfs from MU ! Many thanks, MU !

For a specific Gantt scheduling program (*) I need both python and wxPython installed
(download from python2.5.2.pet and wxPython2.8.7.1 from here)

http://www.murga-linux.com/puppy/viewto ... 93&t=31558

I wonder how to convert both pets into one sfs?

Thanks in advance

Charlie

(*) GanttPV from
http://www.pureviolet.net/ganttpv/
rename each pet extension to tar.gz, then click on the tar.gz files and extract them, don't mind the errors, It doesn't alter the programs
place all the files and directories into one folder say
/root/gantt
then install file below
and open a terminal on your desktop and type
dir2sfs /root/gantt
and a couple of clicks later you'll have you new sfs
ttuuxxx
Attachments
unrpm-undeb-rpm2targz-dir2sfs.pet
(59.7 KiB) Downloaded 1093 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#19 Post by Béèm »

vtpup, I have the same issue.
Maybe the script doesn't work for puppies supporting sfs4 only.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#20 Post by vtpup »

Hi Béèm, I never did get it to work for me, and I was using 4.1.2, so it was definitely a type 3 sfs, not an s4s.

I never did figure out why.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#21 Post by Béèm »

I just succeeded in converting the pidgin 2.6.1pet to a sfs4 sfs.
I renamed the pet to tar.gz and extracted.
With the dir2sfs ttuuxxx referenced here above a sfs4 was created and usable. I did this in puppy 4.3.1
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

SFS and portables

#22 Post by Dromeno »

Can somebody please answer the following questions:

some SFS files can simply be clicked in a booted puppy, then they mount and the programs can be used. Other SFS files really need to be selected in the boot manager so they can be mounted at the next boot.

Obviously the first kind of SFS files are to be preferred - they are almost like park-anywhere (on another disk partition or even online) portable program. Almost, but not completely.

I would love to have a tool to convert all installed PETs of a given puppy into a dir full of completely portable puppy progs. But I guess such a thing will be very difficult to make.

Anyway, my questions: What is the difference between the two kinds of SFS files and why is even a "click, mount & run" SFS a kind of half-portable (it is portable yet it installs in the normal file system when clicked and mounted)?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#23 Post by dejan555 »

Difference is in dependencies and way that programs are linked to libs and where they look for configuration files. Some programs that use libs that are already in your system can be ran just by clicking on executable, also programs that are static compiled so they have all libs in one directory, but some programs have to mount libs in path relative to filesystem and not where you mount them. When you put sfs in /mnt/home and reboot it mounts sfs on / and all files that are in sfs are put to coressponding dirs on filesystem, but if you just click to mount using filemnt it mounts somewhere in mnt and not all needed files are in correct place. If you want to mount sfs's on-the-fly I think choicepup supports that or you can use sfs linker, there's pet here on forum.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#24 Post by dejan555 »

Basically, or sfs's are made to be used on reboot, you're just lucky to find some that can be used that way you say.

BTW, I've made a script for converting pets to sfs once, I'll look if I still have it.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

moB
Posts: 116
Joined: Mon 19 Oct 2009, 11:25
Location: Coastal

pet2sfs may fix guest additions

#25 Post by moB »

Having trouble with the VBox guest additions in Gray's Boxpup.

The guest additions install well from the NOP repositiory pet package.
However on reboot shared folders/directories are broken. The error is a "No such device".
Installing the pet (with or without uninstalling it first) fixes this problem.
Restarting X is not required.

I could script this to occur at each boot, but that would be too slow...

Perhaps if the pet were a sfs it might work better, as it would be (re)loaded each time :?:

This has been tested with VirtualBox OSE under Mint and non-free under msWindoze (XP). Same result.

I am using VirtualBox to make Puppy available to msWin users...
They need something robust and quick.

No problem with Puppy 4.3.1 or NOP 4.3.1 ... hmmm.

Works fine with Synth's TurboPup, based on Puppy 4.2, as well.

Any tips or ideas here?

Thanks!
moB

"not too late is it, even now..."
-Moby DIck (The Whale) by H. Melville, 1851

Post Reply