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 Tue 29 Jul 2014, 17:06
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
[ ANNOUNCE ] src2pkg-2.0 released Easiest PET packages
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
amigo

Joined: 02 Apr 2007
Posts: 2225

PostPosted: Sun 20 Dec 2009, 15:55    Post subject:  [ ANNOUNCE ] src2pkg-2.0 released Easiest PET packages
Subject description: New release of src2pkg package-building software
 

Hello Folks! A new release of src2pkg is out and it now supports building new or old-style PET packages with a single command. You can download, configure, compile, strip, compress and split and install packages with a single command.
No more excuses for not creating your own high-quality PET packages -even if you don't know how to do even one of the above steps, src2pkg does...

src2pkg is now available as an installable PET, so if you have installed the development files for Puppy, you can get started easily. Just install the PET of src2pkg, then run the command 'src2pkg --setup' to prepare src2pkg for work on your system. The command compiles a library and a handful of small binaries which src2pkg then uses to create packages on your system. This means that src2pkg is alway tailored to work on your system, no matter what version your are running.

src2pkg can now create Slackware or KISS *.tgz, *.tbz, *.tlz or *.txz packages, and *.rpm or *.deb packages, *.tazpkg packages for slitaz. And it can create PET or PET2 packages for Puppy. (The PET2 format is what I called the option for building woof-style packages).

If you have machines running any of these other systems, src2pkg itself is available as an instalable package for all the types of systems.

The installable PET package is here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.0/src2pkg-2.0-noarch-16.pet
Other formats and the full sources are under the same folder.

Once you have installed src2pkg and run 'src2pkg --setup', you can get a quick example of how it works with this command:
src2pkg -PET http://distro.ibiblio.org/pub/linux/distributions/amigolinux/examples/di-3.11/di.src2pkg.auto

or:
src2pkg -PET http://distro.ibiblio.org/pub/linux/distributions/amigolinux/examples/di-3.11/di-3.11.tar.bz2

Questions or comments to:
Gilbert <amigo@ibiblio.org>

Last edited by amigo on Wed 23 Dec 2009, 02:12; edited 1 time in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Tue 22 Dec 2009, 18:30    Post subject:  

Hey Gilbert



thanks


I removed the link so you can keep it updated

I got the PM
Joe

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

Last edited by big_bass on Tue 12 Jan 2010, 21:09; edited 1 time in total
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2225

PostPosted: Wed 23 Dec 2009, 02:14    Post subject:  

Correct, you are, Joe. there was a small problem that had to be fixed right away for the Slackware package, and I forgot to come back here and update the link. Thanks for catching that.
Back to top
View user's profile Send private message 
gronos04

Joined: 30 Dec 2006
Posts: 54
Location: Radfordia QLD

PostPosted: Thu 31 Dec 2009, 22:58    Post subject:  

Hi amigo, thanks for your updated src2pkg.
Running the example given I get this error

sh-3.00# src2pkg -PET http://distro.ibiblio.org/pub/linux/distributions/amigolinux/examples/di-3.11/di-3.11.tar.bz2
FATAL! Home directory was given as a critical src2pkg variable,
or is the current directory. Please read the src2pkg documentation for help.

Checked the documentation but nothing apparent.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2225

PostPosted: Fri 01 Jan 2010, 05:16    Post subject:  

Sounds like you are trying to run it from right in your $HOME directory. Try creating an empty directory there -someting like $HOME/test and then run it from there. I usually have an area dedicated to building stuff which I use. src2pkg also sets up an area under /usr/Src2/src2pkg which you can use. Bets to always create a separate directory for each package you want to create since src2pkg will generate some files specific to that package which you ay want to keep. That way the materials for each package are always kept separate from any other builds.
Back to top
View user's profile Send private message 
gronos04

Joined: 30 Dec 2006
Posts: 54
Location: Radfordia QLD

PostPosted: Fri 01 Jan 2010, 06:37    Post subject:  

thanks, that was it.
Works perfectly.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2225

PostPosted: Fri 01 Jan 2010, 10:19    Post subject:  

src2pkg tries to keep you running from a safe and sane location. Since it runs 'rm -rf' at times, it won't let you run from right in your $HOME -even though it runs that in the most careful way possible. There is a whole list of places where it disallows use -like any main system dirs. Once long ago, a user asked for help and he was running src2pkg from under /usr/share or some place like that. I'll say again, it is always best to run each build from a unique directory -this allows you to even run several builds at once without one build 'stepping' on another.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 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.0521s ][ Queries: 11 (0.0034s) ][ GZIP on ]