LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   New src2pkg release available for download -Introducing the src2pkg WIKI (http://www.linuxquestions.org/questions/slackware-14/new-src2pkg-release-available-for-download-introducing-the-src2pkg-wiki-640079/)

gnashley 05-05-2008 12:03 PM

New src2pkg release available for download -Introducing the src2pkg WIKI
 
I've just uploaded a new version of src2pkg. This new version has been a long time in the works and contains many changes -so many that I've started including a new 'CHANGES' file which gives an overview of the most important and visible changes. Go here to see the CHANGES file.

This version is fully compatible with Slackware-12.1 and makes it easier to upgrade your src2pkg version in the future.

To install:
1. If you already have an earlier version of src2pkg installed, you should remove it first. Then download the latest version from here:
src2pkg-1.9.6-noarch-3.tgz
2. Install the 'noarch' package using installpkg.
3. Then, open a terminal and run the command 'src2pkg --setup' as user root. This new version is designed so that you shouldn't always have to re-run this command in the future when updating to a later src2pkg version.

Some Highlights from the CHANGES file:

* Added support for packaging perl CPAN modules
* New routines have been added that make it very simple to include extra files in your packages -for instance configuration files which install under /etc -including rc.* files and xintrc.* files. Simply placing these in the same directory with the sources causes them to be included in the package -and src2pkg even writes the necessary handling routines into the doinst.sh file so that these files are properly handled on installation of the package.
* Improved support for 64bit systems
* Added support for use of personal per-user configuration files in ~/.src2pkg.conf
* Added support for creating md5 checksums of finished packages
* Support has been added for *drag-n-drop* package building! Before you laugh, this is really quite useful as it prevents mistakes when typing in long file names. The default setup causes src2pkg to write a script for you when a source archive is dropped on the desktop icon. Dropping the resulting *.src2pkg script on the icon then builds the package. This utility can easily be configured to work differently, if you like. See the example src2pkg-dnd script in the 'examples' subdirectory of the src2pkg documentation for details of usage.

For detailed information on all the changes, there are about 300 lines describing the changes for the current version in the ChangeLog

While most of these are small changes and this version has been well-tested on my systems, it is still possible that it could have outstanding bugs. Please promptly report any problems you have -this version is a candidate for release as a stable version(2.0), as soon as it has been thouroughly tested and any bugs fixed.

Announcement - src2pkg WIKI
src2pkg now has a WIKI located here: src2pkg WIKI
A big thanks to LQ members 'piete' and 'lufbery' for getting the ball rolling on this project. piete is hosting the pages on his server at home and lufbery has been instrumental in getting the pages filled in. It is still a work in progress, but already contains a huge amount of documentation on how to get the most out of src2pkg.

Thanks to anyone else who made suggestions or reported problems with the last version -actually I only remember one real bug report since the last version -thanks to 'troynane' for reporting a problem where src2pkg was exporting both CFLAGS and CXXFLAGS which caused problems with packages which compile and include libltdl.

Have fun!

onebuck 05-05-2008 02:10 PM

Hi,

gnashley, I placed the Wiki link in 'Slackware-Links'. I hope it's OK?

gnashley 05-05-2008 03:22 PM

Yes, of course that's fine.

MannyNix 05-05-2008 03:57 PM

Awesome, good job & thanks gnashley

Ruhar 05-05-2008 06:38 PM

Keep up the good work gnashley! I use your utility whenever there isn't a SlackBuild available on SlackBuilds.org.

mrtwice 05-06-2008 01:52 AM

This is the first time I have heard about src2pkg. It looks like a cool concept. Could you answer a few questions for me:
  1. What is the relationship between this and trackinstall? I saw trackinstall referenced on another thread, but googling "trackinstall" didn't reveal much.
  2. How does what src2pkg does relate to what checkinstall does?

Thanks.

SqdnGuns 05-06-2008 02:00 AM

I give this package 2 thumbs up! :D

piete 05-06-2008 03:05 AM

To mrtwice: I could explain ... or by the magic of the wiki, tadaaa!

http://www.src2pkg.net/wiki/manual:0..._and_tracklist

If that doesn't answer your query, let us know :)

- Piete

mrtwice 05-06-2008 08:05 AM

Quote:

Originally Posted by piete (Post 3144262)
To mrtwice: I could explain ... or by the magic of the wiki, tadaaa!

http://www.src2pkg.net/wiki/manual:0..._and_tracklist

If that doesn't answer your query, let us know :)

- Piete

Thank you, that answered it just fine. I have been away from Slackware for a while, what happened to Checkinstall?

Lufbery 05-06-2008 08:56 AM

Quote:

Originally Posted by mrtwice (Post 3144478)
Thank you, that answered it just fine. I have been away from Slackware for a while, what happened to Checkinstall?

Checkinstall works well with Slackware 11 (released October 2006), but an incompatibility with the latest coreutils causes problems for Checkinstall with Slackware 12 (released July 2007).

And, actually, the page I link to is pretty old at this point, making me think that the problem proved pretty difficult for Checkinstall's author.

Regards,

-Drew

tuubaaku 05-06-2008 10:52 AM

The introduction part of the manual still lists 1.9.5 as the most recent version...

Lufbery 05-06-2008 11:09 AM

Quote:

Originally Posted by tuubaaku (Post 3144649)
The introduction part of the manual still lists 1.9.5 as the most recent version...

Thanks for your comment.

src2pkg 1.9.6 was just released and the wiki hasn't caught up yet. I'll get to it this week.

In the meantime, don't hesitate to offer comments or suggestions for the manual.

Regards,

-Drew


All times are GMT -5. The time now is 01:45 PM.