LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2008, 10:54 AM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
src2pkg bug-fix version


After being on vacation for a couple of weeks I've gotten a new version of src2pkg uploaded which takes care of a couple of well-reported bugs and adds a minor feature or two.

All users who are currently working with src2pkg should upgrade to this version to avoid the bugs still in the last version. Unfortunately there have been lots of minor bugs in the last few versions since I changed so much code. I apologize for the inconvenience and am trying to get everything stabilized again before version 2.0 which should be very stable and well-documented.

Get the latest bug-fix version 1.9.4 here:

http://distro.ibiblio.org/pub/linux/...nload/src2pkg/

Note that I've dropped the option to compile during installation the libs and programs used by src2pkg. You'll need to first run 'src2pkg --setup' as user 'root' after installing or upgrading in order to use it. While the option to run --setup during installation seemed like a good idea, I think it is kind of 'unSlackish'. if you really like it the way it was, let me know about it. If enough people complain I might change it back...

Please continue to report any more bugs you find as I need to get them all worked out over the next few minor versions. Thanks to all who reported bugs, made suggestions or helped with answering questions while I was away.

Gilbert

Last edited by gnashley; 02-04-2008 at 11:03 AM.
 
Old 02-04-2008, 07:01 PM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
gnashley:

You do us rookie Slackers a tremendous service with your src2pkg development.
Thanks so much.
 
Old 02-04-2008, 10:52 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,341

Rep: Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743
Thanks, gnashley:-)
Up and running.

http://i34.photobucket.com/albums/d1...pkgupgrade.jpg
 
Old 02-05-2008, 05:48 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Hi Gnashley

Worked great on wine, dosbox, and scummvm.

As you can run this as an ordinary user any chance of making -W and -C default? This would be, I feel, user friendly.

samac
 
Old 02-05-2008, 08:32 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I don't use '-W' by default in order to encourage you to examine your package tree before deciding that the build was truly successful. Having all temp files cleaned up by default would encourage many folks to proceed to quickly, I think. You can set it as a default for yourself by putting this line in your /etc/src2pkg/src2pkg.conf file:
! [[ $CLEANUP ]] && [[ $CLEANUP = "ALL" ]]
But this means that your sources and temporary package-tree will always be removed unless you do something like this to run your builds:
CLEANUP="" ; sh ./*.src2pkg
or:
CLEANUP="" ; src2pkg -X
or:
CLEANUP="" ; src2pkg tarball-name
This is beacuse I've not built in an easy way to switch it on *and* off, just an easy way to switch it on, since it is off by default.

As for the '-C' option, just uncomment this line in your src2pkg.conf file:
! [[ $PKG_DEST_DIR ]] && PKG_DEST_DIR="$CWD"
I used to deliver src2pkg with everything set to work in the CWD by default -thats the way I use it myself -it makes it easier to examine the package tree or do a quick experiment in the sources. But, I changed everything to work in /tmp by default as a safety measure and to be more 'slackish' about the whole matter. Using the CWD is inherently dangerous if you do something stupid like try to unpack and build stuff under /usr/share or something like that. I actually had a user report doing this a long time ago -I had to build in lots of checks for really weird usage and set saner defaults because I *never* want to hear that some silly user mistake has hosed their system. See the notes about how I set up the working directories in the conf file. If you'll be smart and alway use a separate directory for each build, in a safe place where you have wriet priviledges, then using CWD for everything makes it a lot easier to keep tabs on your packages and sources even while thea are being built.
 
Old 03-19-2008, 01:04 PM   #6
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
Came here looking for life on earth...

Looking for a new release of src2pkg. I'm still using your 1.9.6 pre-release. Was hoping to find word of a newer version.

Hope all is well with you and the family.

Shingoshi
 
Old 03-19-2008, 01:09 PM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Coming soon... I've made quite a few changes and have been doing a lot of testing -recently added over 100 packages to my collection -that brings me to over 1000! A few changes you'll be particularly glad to see. Also, work has started(barely) on a wiki for src2pkg.
 
Old 03-19-2008, 06:22 PM   #8
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
If I can help with the Wiki, let me know...

Quote:
Originally Posted by gnashley View Post
Coming soon... I've made quite a few changes and have been doing a lot of testing -recently added over 100 packages to my collection -that brings me to over 1000! A few changes you'll be particularly glad to see. Also, work has started(barely) on a wiki for src2pkg.
Since I likely use src2pkg more than anyone besides you, I think I'm in a good position to assist in writing the Wiki pages. Especially since I come across more issues than most will likely encounter. But just saying, I think I could help out there.

Shingoshi

Good to hear from you!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How much time to fix a bug in Debian linux_freak_imt Debian 2 01-12-2005 03:59 PM
KDE 3.2 bug -> fix or upgrade? LJT Linux - Software 2 10-14-2004 02:59 AM
Bug Fix Ctp. Obvious Linux - Newbie 5 08-02-2004 06:58 AM
Bug fix update for 10.0 akihandyman Mandriva 3 07-14-2004 04:13 PM
bug in RPM, but how to fix? bearcatsandor Linux - Software 2 12-06-2001 06:34 PM

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

All times are GMT -5. The time now is 11:57 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