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 Fri 24 Oct 2014, 17:20
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 Posts_count  
Author Message
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Sun 20 Dec 2009, 15:55    Post_subject:  [ ANNOUNCE ] src2pkg-2.0 released Easiest PET packages
Sub_title: 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>

Edited_time_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

Edited_time_total
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2261

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: 2261

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: 2261

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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