LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2008, 12:03 PM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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!
 
Old 05-05-2008, 02:10 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

gnashley, I placed the Wiki link in 'Slackware-Links'. I hope it's OK?
 
Old 05-05-2008, 03:22 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Yes, of course that's fine.
 
Old 05-05-2008, 03:57 PM   #4
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Awesome, good job & thanks gnashley
 
Old 05-05-2008, 06:38 PM   #5
Ruhar
Member
 
Registered: Mar 2006
Distribution: Slackware 12.1
Posts: 95

Rep: Reputation: 15
Keep up the good work gnashley! I use your utility whenever there isn't a SlackBuild available on SlackBuilds.org.
 
Old 05-06-2008, 01:52 AM   #6
mrtwice
Member
 
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
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.
 
Old 05-06-2008, 02:00 AM   #7
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Thumbs up

I give this package 2 thumbs up!
 
Old 05-06-2008, 03:05 AM   #8
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
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
 
Old 05-06-2008, 08:05 AM   #9
mrtwice
Member
 
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
Quote:
Originally Posted by piete View Post
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?
 
Old 05-06-2008, 08:56 AM   #10
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by mrtwice View Post
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
 
Old 05-06-2008, 10:52 AM   #11
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Rep: Reputation: 16
The introduction part of the manual still lists 1.9.5 as the most recent version...
 
Old 05-06-2008, 11:09 AM   #12
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by tuubaaku View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to download src2pkg matters Slackware 8 01-28-2017 03:20 AM
src2pkg xscreensaver dive Slackware 5 01-30-2008 09:41 AM
src2pkg + qt 4.3.3 dive Slackware 9 01-24-2008 02:12 AM
New src2pkg release with major feature upgrades gnashley Slackware 9 12-17-2007 07:06 PM
New release of PkgBuild src2pkg trackinstall gnashley Slackware 19 01-27-2007 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration