Article about Slackware's 'Magic Package Maker( src2pkg)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
Distribution: Debian 3.0 (Woody) SuSE 9.1 and Tiny
Posts: 10
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.