Pet Packaging 100 & 101 & intro to 200

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#21 Post by technosaurus »

there should be a readme file of some kind... sometimes you need to run ./autogen.sh to build ./configure ... others require editing the make files, others now use waf instead - either way, it should be in the documentation - please read it

synaptics is already supported (mine is working) so you shouldn't need to build a "driver" I think jemimah has already built flsynclient, which may work to configure it

kernel drivers have a whole different build process than software - there is a whole category in additional software dedicated to drivers
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#22 Post by chrome307 »

Is it possible to combine 3 pet files eg.

spellcheck_addon.pet
gimme-2.2.3.pet
pan-0.1.3.2.pet

Into a single Pet application?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#23 Post by technosaurus »

yes just use pet2tgz and then tar -xf to expand them all ... then copy the contents all into 1 tree (in appropriately named folder)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#24 Post by chrome307 »

Thanks for getting back to me regarding this :)

Once I have expanded all the files and place them into a 'single' folder, is my next step to create a 'new' pet file with all the contents?

[UPDATE]

Image

Image

I have created the directory with all the contents, then I used:

Code: Select all

dir2pet Pan.Newsreader-0.132-full
to create a PET file, which it did.

Image


However, after I installed it for testing purposes it failed to open.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#25 Post by technosaurus »

Another tip
If you are running low on space you can download tarballs and expand them at the same time. (chromium's bootstrap tarball is over 800mb)

for .tar.gz (change the "z" as applicable to your compression type)
wget -q -O - <url of tarball> |tar -xz

Bonus tip
here are a couple of flags to (try to) add to CXXFLAGS for C++ based compiles:
-fno-rtti -fno-exceptions
(they don't always both work but can save 5-10% of total compiled size)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#26 Post by enhu »

where else can i get tra.gz files that fit to puppy besides what was given http://packages.debian.org/source/etch

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#27 Post by technosaurus »

enhu wrote:where else can i get tra.gz files that fit to puppy besides what was given http://packages.debian.org/source/etch
huh?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#28 Post by technosaurus »

I tracked down a bunch of sites that will produce a tarball of the latest development code directly from version control- over 4000 projects from gnu.org,kernel.org & repo.or.cz (+uclibc,uclibc++,busybox & buildroot) - pretty much all the major projects that support this function.

hopefully this reduces your search time trying to get the latest code.
Attachments
urls.bz2
(28.33 KiB) Downloaded 1656 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#29 Post by enhu »

cant seem to find tar.gz file in http://packages.debian.org/source/etch

where else can i see some?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#30 Post by technosaurus »

Etch is no longer supported in the package search - use lenny now (or squeeze or sid)
http://www.debian.org/distrib/packages

or http://t2-project.org/packages/

fallback is still google
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#31 Post by enhu »

just when you run ./configure then make, how do you know it has dependencies?

becuase i got stuck upon executing make leaving me with > prompt

tonicooperi
Posts: 11
Joined: Thu 09 Dec 2010, 01:25

#32 Post by tonicooperi »

Hello, i would to know how to use the devx_421.sfs, i'm using puppy 5.1.1 and i would like to build some pet just for my fun. How can i use the devx_421.sfs? i've got puppy on a USB stick (4gb)
Thanks in advance

EDIT: i've found the devx for the 511 but still don't know how to use it on my usb stick without making some troubles with my clean install of the normal puppy

gcmartin

How to run an SFS without installing permanently

#33 Post by gcmartin »

tonicooperi wrote:Hello, i would to know how to use the devx_421.sfs, i'm using puppy 5.1.1 and i would like to build some pet just for my fun. How can i use the devx_421.sfs? i've got puppy on a USB stick (4gb)
Thanks in advance

EDIT: i've found the devx for the 511 but still don't know how to use it on my usb stick without making some troubles with my clean install of the normal puppy
This thread post is dated. But, if there is still interest, you might find these worthwhile:I believe these will allow use of an SFS in a non-permanent fashion.

There seems that I remember another package called SFS_Grabber. But, I can't seem to search and find it using forum search.

Hope this helps

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#34 Post by SimpleWater »

I think it is a good idea to accompany this tutorial with this one: http://puppylinux.com/development/createpet.htm

The tutorial is decent enough, but the website mentioned, provides more details and mentions how to put a pet directory back into a pet.

also the code below is useless. If you get "no such file or directory" there probably is a directory called "man" somewhere. But no it does not shrink the pet any further

Code: Select all

find ./usr/man/ -type l -name "*.gz" | xargs -r gunzip -f
find ./usr/man/ ! -type l -name "*.gz" | xargs -r gunzip
find . | xargs file | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#35 Post by technosaurus »

Re: no such file - with those commands you would need to be in the base directory of the pet... still some still won't have it.

Although gzipping the man pages may not shrink the pet, it is still useful for those with limited resources that need to do a full install. ... if RAM and CPU are limited enough to require a full install, chances are that the disk space is limited too. For others, the effect should be completely unnoticable.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#36 Post by Aitch »

gcmartin wrote:There seems that I remember another package called SFS_Grabber. But, I can't seem to search and find it using forum search
Don't use forum search, then, use this!

http://www.wellminded.com/puppy/pupsearch.html

result:-

http://www.murga-linux.com/puppy/viewto ... 237#504237

Aitch :)

aesa1983
Posts: 1
Joined: Fri 16 Sep 2011, 06:31

how do you instal devx 520 i can only mount it

#37 Post by aesa1983 »

how do i go about installing it? by the way i am a complete noob to fd64 and for that matter to puppy Linux i have no idea what i am doing but i do get the basics of Linux from other distributions just a bit confusing third day on the job and i already need to compile a new desktop
please help i want to compile kde 4.7.1
running fd64 520 final
when i try to load the sfs it give me a kernel mismatch of the sfs but bout are the 520 and both from the final version well at least the fd64 distro is but i do not know how to verify the sfs, any help would be great.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#38 Post by antiloquax »

I have been trying to make .pets and I have managed to make it work at least once!
However, recently I was trying to make a pet of Ruby-1.9.3.
I did:
./compile
make
new2dir make install

But ... the installation files ended up in the first directory - not in the one that new2dir created.
I must be doing something wrong. I have read through the material on here, but when I follow the instructions I get this odd result.
I'd appreciate any help!

[Edit: I have got it now!]
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#39 Post by live »

Prerequisite - A working installation of Puppy Linux with the appropriate devxXXX.sfs loaded/installed
General pet Packaging 100 - suitable for alpha testing - minimal command line
0. Find your source package (I recommend getting sources from http://packages.debian.org/source/etch/ ... use the one ending in orig.tar.gz)
1. Download the package to ../anydirectory/package-name.tar.gz
2. Open it in ROX and extract all to ../anydirectory/package-name
3. Click on the directory you just extracted to open it
4. Right click select -->menu-->terminal here
--------- <--This begins the command line part - don't worry its easy
Where can I get this pet packaging 100??
Devx for precise loaded.

User avatar
michaellowe
Posts: 66
Joined: Sat 17 Dec 2011, 08:33
Location: The Garden

where to get latest stable releases of tarballs?

#40 Post by michaellowe »

enhu wrote:where else can i get tra.gz files that fit to puppy besides what was given http://packages.debian.org/source/etch
google my friend!

if you google latest stable source tarball.gz of whatever it is you want like so

eg. wxwidgets_4.1.0.tar.gz

you usually end up with repository websites like github or sourceforge,
I find sourceforge pretty reliable and mdchecksums and shachecksums are generally provided as well

I dont understand Github at all its a bit beyond my compiling knowledge????
Smash forehead on keyboard to continue.....
well thats at least how some of us deal with ba$h !

Post Reply