[Slackbuilds-users] Automating re-compilation of all packages
Christoph Willing
chris.willing at iinet.net.au
Sun Aug 20 20:31:13 UTC 2017
On 20/08/17 22:57, Rich Shepard wrote:
> I've just upgraded my desktop server/workstation from 14.1 to 14.2. I
> have
> 180 SBo packages installed and all (except postfix which I upgraded to get
> mail working again) need to be recompiled with the new libraries. This is
> separate from upgrading already installed packages using sbopkg ... I
> think.
>
> Has anyone written a script that will go through each directory tree
> (e.g., Databases/, Developent/, GIS/) and recompile each package in there?
>
The hoorex app (misc/hoorex) doesn't do the building, but generates a
build ordering of all packages needed to fulfill some condition. You can
use it to feed to some other building tool, or use it to build manually.
Some usage examples:
hoorex -g gis
for a queue of all packages in the gis group of the repo.
hoorex -g all
for queue of all packages in the repo.
More useful for what you want:
hoorex -I -g all
for queue of all packages currently installed and
hoorex -I -1 -g all
for queue all packages currently installed, presented in a single column and
hoorex -I -1 -l -g all
for all packackages currently installed, single column, also showing the
group of each package.
I know you've mentioned elsewhere that you're going to rebuild as you
find tools that won't run. However Murphy's Law suggests you will find
them at the most inconvenient times i.e. rebuild whatever you have time
for sooner rather than later.
chris
More information about the SlackBuilds-users
mailing list