[sbopkg-discuss] Re: Suggestion: Automatic Rebuild of Installed Packages

alkos333 alkos333 at gmail.com
Fri Dec 5 01:42:47 UTC 2008


Yes, This does sound like a very good solution.  I was just thinking
about this a couple days ago.

On Dec 4, 2:15 pm, Chess Griffin <ch... at chessgriffin.com> wrote:
> Robby Workman wrote:
> > On Thu, 4 Dec 2008 11:21:04 -0800 (PST)
> > samac <cotteroc... at googlemail.com> wrote:
>
> >> Hi
>
> >> I don't know if this would be possible, or even desirable, but as
> >> Slackware 12.2 is on the horizon it might be worth thinking about.
>
> >> My thoughts are that once Slackware has been updated to 12.2, I will
> >> have to re-build all the slackbuild packages that I have installed, so
> >> that they take advantage of the newly installed versions. Could this
> >> be automated by having a menu entry similar to "List installed Sbo
> >> packages", where it lists all the packages installed and pipes it to
> >> the build script, then once all the packages are built, has an option
> >> to install.
>
> >> I know that I could do all of this one item at a time, but I am
> >> essentially a lazy person, and as sbopkg has made administrating
> >> slackbuilds so easy, I was hoping that this might be a worthwhile
> >> improvement.
>
> > Perhaps a worthy improvement, but without some way to determine the
> > order, I'm not sure how doable it is -- e.g. if binX depends on libX,
> > then you have to build libX first.  
>
> Indeed, that has been the issue so far.  One improvement I plan to add
> after 12.2 is released is the ability to install packages after they are
> built using sbopkg's command line interface, and, since it already
> builds packages in the order they are listed, you could conceivably
> build and install deps and the final pkg in one go.  So, currently you
> can do this:
>
> # sbopkg -b "pkg1 pkg2 pkg3"
>
> and it will build (not install) in that order.  By extending it to
> installation, you could have:
>
> # sbopkg -i "dep1 dep2 myfavoritepkg"
>
> which would build, and then install, in that order.  I already have this
> working for the most part and will commit the code after 12.2 is released.
>
> Once I get this going, then I might be able to do something similar in
> the dialog interface.  Perhaps there can be a way for the user to
> manually queue up which packages to build and install in the order
> presented, like a bulk build/install.  This would essentially, put the
> dependency resolution on the user, which is what Slackware does already.
>  :-)  I am sure there are some corner cases where this may not work, but
> it should cover at least 95% of the software in SBo.
>
> I have not done any of that work yet, but maybe that is something that
> can be put on the TODO.
>
> --
> Chess Griffin
> GPG Key:  0x84F0D7B6http://www.chessgriffin.com
>
>  signature.asc
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "sbopkg-discuss" group.
To post to this group, send email to sbopkg-discuss at googlegroups.com
To unsubscribe from this group, send email to sbopkg-discuss+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/sbopkg-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---




More information about the sbopkg-users mailing list