LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-30-2007, 04:49 AM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Article about Slackware's 'Magic Package Maker( src2pkg)


Just happened to check the Linux.com site this morning and lufbery's article about Slackware and src2pkg has been published. Many thanks to Drew for choosing to review my program and, at the same time, giving some positive impressions about Slackware.

Here's a link to the article:
http://www.linux.com/feature/121499

For those who are interested in the src2pkg program or are using it already, I'll mention that I'm currently adding some new features that make it even easier to use and, at the same time, more dependable. For several weeks I have been working on fixing some of the problems with the installwatch library which is used by src2pkg. I've added some features which allow it to effectively track more commands which create, remove or alter files. And I'm currently getting some help in order to eliminate the failures which sometimes occur when using the library with newer glibc and coreutils versions. Since my skills in writing 'C' are very poor, I'm getting help from a frequent poster to the LQ programming forum who knows about the subject. If fixed, the partially-broken feature will allow software to be installed using a 'virtual chroot'- that is, instead of installing files to your main filesystem they are diverted into a subdirectory so that nothing ever gets clobbered or overwritten. And this is done without having to use any special chroot installation or extra programs.

A couple of the interesting new features make more use of rpm *.spec files or debian 'control' and 'rules' files if they are present in the sources. The upcoming release of src2pkg is able to automatically create a slack-desc file from the 'Description:' information in either *.spec or debian control files. It can also parse spec files or debian rules files for configuration opitons, automatically 'translating' the infor mation into generic configure options which conform to the Slackware file-system layout.

It is also able to add lines to the slack-desc file which show which installed packages are needed by the package you are creating, and it can create slack-required files and include them in the package for compatibility with slapt-get. Inclusion of these files is also a requirement for packages which are submitted to the linuxpakages.net site, so this feature makes it easier for you to create packages for submission there.

If you haven't tried src2pkg yet, or the included 'trackinstall' porgram which replaces checkinstall, you can always get the latest stable version here:
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/

Last edited by gnashley; 12-01-2007 at 01:39 AM.
 
Old 11-30-2007, 07:27 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Thanks for all your efforts on src2pkg gnashley, it is really appreciated. I was a heavy checkinstall user, and this has effectively taken over that role on my systems.
 
Old 11-30-2007, 08:05 AM   #3
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Hi Gnashley,

I'm glad you like the article! Linux.com initially told me that they'd be publishing it on Thanksgiving, but then they pushed back the date to today.

I hope that the article helps stimulate additional interest in both src2pgk and Slackware -- especially among those who don't frequent this message board.

Regards,

-Drew
 
Old 11-30-2007, 08:10 AM   #4
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
What Hangdog42 posted is 100% true for me as well. Thanks, gnashley.
 
Old 11-30-2007, 08:34 AM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Congrats! .
 
Old 11-30-2007, 09:13 AM   #6
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
Cool tools!
Good work!
 
Old 11-30-2007, 09:49 AM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Thank you very much, gnashley.

Brian
 
Old 11-30-2007, 01:25 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Yep, good article - good work, Drew.
Thanks for the mention of SlackBuilds.org too
 
Old 11-30-2007, 02:53 PM   #9
daWabbit
LQ Newbie
 
Registered: Jun 2003
Location: Fort Worth, Texas
Distribution: Debian 3.0 (Woody) SuSE 9.1 and Tiny
Posts: 10

Rep: Reputation: 0
Thanks for a very good piece of work

I have Absolute on my laptop, so when I read the article at Linux.com today, I tried out your app. I must say I'm impressed. Had to sit in the doctor's office a couple hours this afternoon, so my wife and I took some source code and played. Thanks a lot for a seemingly outstanding utility. Wish I were a good enough coder to do that kind of work.

Jack Imsdahl
 
Old 11-30-2007, 02:53 PM   #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 rworkman View Post
Yep, good article - good work, Drew.
Thanks for the mention of SlackBuilds.org too
I'm glad you enjoyed it.

I try to plug SlackBuilds.org every chance I get.

I may even try my hand at making a SlackBuild for Emacs 22 to share with the site.

Regards,
 
Old 11-30-2007, 02:58 PM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I can't promise but I'll probably make a slackbuild for Enlightenment 17 if it goes stable any time soon.
 
Old 11-30-2007, 04:06 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Alien_Hominid View Post
I can't promise but I'll probably make a slackbuild for Enlightenment 17 if it goes stable any time soon.
Already there.
 
Old 11-30-2007, 04:08 PM   #13
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Lufbery View Post
I may even try my hand at making a SlackBuild for Emacs 22 to share with the site.
Well, that one's iffy. Emacs is part of the official Slackware package set, so unless Pat says otherwise about his intentions, the assumption is that he'll eventually upgrade it in Slackware. Our official policy is to not accept submissions for things that are part of Slackware.

Note that we do have an "exception clause" in there, and it may turn out that emacs fits, but that remains to be seen.
 
Old 11-30-2007, 04:25 PM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by rworkman View Post
Already there.
For stable one. 17.0! And that (stable release) might happen after another 3 years though.

Last edited by Alien_Hominid; 11-30-2007 at 04:26 PM.
 
Old 11-30-2007, 04:37 PM   #15
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Quote:
Originally Posted by gnashley View Post
If fixed, the partially-broken feature will allow software to be installed using a 'virtual chroot'- that is, instead of installing files to your main filesystem they are diverted into a subdirectory so that nothing ever gets clobbered or overwritten. And this is done without having to use any special chroot installation or extra programs.
Btw, can you explain a bit more about this?
 
  


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
smart package manager bad magic cpio error matticus SUSE / openSUSE 5 04-10-2012 10:41 AM
The 'Magic Package Maker' comes of age and changes its' name gnashley Slackware 87 06-11-2007 06:47 AM
LXer: A look at Slackware's package utilities LXer Syndicated Linux News 0 02-20-2007 11:46 PM
Using Partition Magic and Boot Magic to install Linux zathrus MEPIS 4 01-14-2006 08:24 PM
Partition Magic/Boot magic and Slackware. adam1835 Linux - Newbie 5 01-11-2006 11:46 AM

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

All times are GMT -5. The time now is 10:20 AM.

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