-   Slackware (
-   -   [ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 (

gnashley 12-20-2009 01:32 PM

[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1
Hello Folks! A new release of src2pkg is available -just in time for those last-minute Christmas packages...

Since the last release in May of this year, a lot of work has gone into the new release of src2pkg. As usual, it has also undergone lots of pre-release testing, so I wouldn't expect any major problems for anyone. Still, if something comes up, please let me know as soon as possible.

The big news this time, is that src2pkg can now create other package formats besides Slackware packages. Quite a lot of code has been added to make this possible, but the core code which creates Slackware packages has not been drastically revised, and should remain stable.

You can now create packages for debian or rpm-based systems using src2pkg, as well as several other more obscure formats. src2pkg itself is also now available packaged in these alternate formats for the same ease of installation and setup as on Slackware.

A few new command-line options have been added, so you'll want to have a look at the man-pages or run 'src2pkg --help' to review the new features. There are also some new options in the src2pkg.conf file, but these are mostly applicable for use when creating non-Slackware packages.
Also, the source-version for the src2pkg-helpers has been upgraded, so if you are upgrading from a previously-installed version of src2pkg, you'll see a prompt that reminds you to run 'src2pkg --setup' to upgrade the src2pkg-helpers.

Many small improvements were made. The new entries in the ChangeLog are around 500 lines, so grab a cup of coffee before sitting down to review the changes...

All of the documentation has been re-written from scratch -I hope some of you actually read it from time to time as I really hate writing it... But, the old docs were hopelessly outdated. The new docs are shorter and hopefully clearer, and since the functionality has changed so much, there was no getting around a re-write.

I am also happy to announce the first public release of src2pkg-ng. src2pkg-ng is a re-write from scratch of src2pkg, by Tim Goya, who has been working on it for quite some time now. Tim has always been, and still is, a great contributor to src2pkg. But, he wanted to start with a fresh slate to address some areas of package-building which are not so well handled by src2pkg itself because of some of its' basic concepts. Tim is a great coder and has put together a really useful tool -even in its' infancy.

src2pkg-ng is much more compact than src2pkg and only works with a valid build script -it does not automatically build packages like src2pkg. But it may offer more flexibility for special types of builds which involve combining multiple sources or creating multiple packages from a single source. I'll leave Tim to answer any questions about src2pkg-ng and what direction he takes with it.

At least for now, src2pkg-ng will be available for download right alongside of src2pkg. If Tim later decides to have it hosted elsewhere then we'll announce that here.

As always, feedback is more than welcome -especially if you run into any problems. Regarding src2pkg, contact me (Gilbert) at: [ amigo AT ]
I'll leave Tim to post his email address here for questions, suggestions or comments regarding src2pkg-ng.

The installable slackware package of src2pkg-2.0 is here:
Edit: I have created and will maintain a symlink to the latest *.tgz package of src2pkg for Slackware, so you can
bookmark a permanent bookmark to it:

Installable packages of other formats, as well as the sources of src2pkg-2.0 are available under this directory:

The sources and both *.tgz and *.txz packages of src2pkg-ng-0.0.1 are available under here:

GrapefruiTgirl 12-20-2009 01:46 PM

Awesome Gilbert, congrats, and thanks to you guys for the great work!

A note: you may like to (you really should) bork up your email address there in the thread; might save yourself a little spam ;)


camphor 12-20-2009 01:48 PM

What a present! Thanks a million. :D

multios 12-20-2009 02:14 PM

I was just trying to download older version, then saw your announcement. Thanks.

To run "src2pkg --setup" successfully, I had to comment out line 240 in /etc/src2pkg/src2pkg.conf. Before doing that, I got:
"/etc/src2pkg/src2pkg.conf: line 240: -fomit-frame-pointer: command not found"

gnashley 12-20-2009 03:27 PM

Fixed! Thanks very much for the quick email. Link has been corrected in the first posting.

Can you uninstall both src2pkg and src2pkg-helpers and remove the file /etc/src2pkg/src2pkg.conf and the repeat the installation from scratch just to be sure it's okay there?

hitest 12-20-2009 04:22 PM

Awesome! Thanks, gnashley. :) Downloading now.

Daedra 12-20-2009 04:24 PM

Sweet. Thanks Gnashley

tuxdev 12-20-2009 04:31 PM

You can contact me via email at [ tuxdev103 @ ] for anything regarding src2pkg-ng. I'm also hanging out on FreeNode at #src2pkg. Registration for #src2pkg is still pending, so play nice!

multios 12-21-2009 09:30 AM


Originally Posted by gnashley (Post 3799196)
Fixed! Thanks very much for the quick email. Link has been corrected in the first posting.

Can you uninstall both src2pkg and src2pkg-helpers and remove the file /etc/src2pkg/src2pkg.conf and the repeat the installation from scratch just to be sure it's okay there?

I tried a while ago, but forgot to try with new download!

With the new download, the install went fine. No problem with the src2pkg.conf file.
Installation worked without problems this time! Thanks Gilbert.

Lufbery 12-21-2009 10:09 AM

Hi Gilbert, and congrats on the new release! I look forward to working with it near future. I finally got around to installing Slackware 13 x86_64 last night, so I've got a whole bunch of software I need to build and install. :)


brianL 12-21-2009 11:26 AM

Thanks, Gilbert. Nice Christmas present. :)

eddyvp 12-21-2009 11:41 AM

Thanks gnashley,

nice piece of work

All times are GMT -5. The time now is 08:47 AM.