VectorLinux

Cooking up the Treats => Distro development => Topic started by: exeterdad on June 04, 2007, 08:50:27 am

Title: requiredbuilder and VL-6
Post by: exeterdad on June 04, 2007, 08:50:27 am
Think it's possible to have requiredbuilder bundled with the "dev" package during a clean install?

Whenever I do a clean install for building, I often forget to install requiredbuilder and packages get built without the slack-required file.

Just a thought  ;D
Title: Re: requiredbuilder and VL-6
Post by: M0E-lnx on June 04, 2007, 09:07:14 am
Actually, there is a much faster and better (IMO) way to take care of that. requiredbuilder takes kind of long to determine deps and asks too many questions..

Method 1: Use checkinstall to after make to create the package
Method 2: In case metho1 fails or in case you're building an odd application or if you just chose to do things this way, here is how you do it
Code: [Select]
makeslapt --tlz/--tgz <packagename-Version_arch_build.tlz/tgz>
Both ways will get you the slack-required built into the package
Title: Re: requiredbuilder and VL-6
Post by: exeterdad on June 04, 2007, 03:26:45 pm
I try not to use checkinstall as it takes a few more steps to insert or rearrange files into the package.

The makeslapt way is something I've ment to check out.  Thanks for the tip!
Title: Re: requiredbuilder and VL-6
Post by: JohnB316 on June 04, 2007, 06:32:56 pm
I actually prefer requiredbuilder, because it is better and more thorough at generating dependencies than the makeslapt script is.  Yes, requiredbuilder takes a bit more time to do the job. However, I've found it to be very reliable at not generating the "openoffice" false positive dependency that makeslapt has too often yielded for me. Also, requiredbuilder is a lot better for version control than makeslapt is. The latest requiredbuilder can also write a copy of the slack-required file to the directory from which it was called, along with writing it to the install directory in the package tree.

FWIW and YMMV,
John