GUB question about removing packages

View: New views
4 Messages — Rating Filter:   Alert me  

GUB question about removing packages

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

What is the best way to remove a package in GUB, like
darwin-ppc::lilypond-installer?

Are you supposed to use bin/gpkg ?

I have just been removing the package files manually, but there is
probably a better (but undocumented) way to do this.

Thanks,
Patrick


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: GUB question about removing packages

by Jan Nieuwenhuizen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On vr, 2009-07-03 at 15:27 -0700, Patrick McCarty wrote:

> What is the best way to remove a package in GUB, like
> darwin-ppc::lilypond-installer?
>
> Are you supposed to use bin/gpkg ?

Yes.

> I have just been removing the package files manually, but there is
> probably a better (but undocumented) way to do this.

Try

bin/gpkg --help :-)

Jan.

--
Jan Nieuwenhuizen <janneke@...> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: GUB question about removing packages

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 6, 2009 at 1:26 AM, Jan Nieuwenhuizen<janneke-list@...> wrote:
>
>> I have just been removing the package files manually, but there is
>> probably a better (but undocumented) way to do this.
>
> Try
>
> bin/gpkg --help :-)

Okay, thanks Jan.  :-)  This doesn't achieve what I was hoping for though.

Is there a method to remove a package from GUB so that a rebuild is
triggered only for that package and packages that depend on it?

Let's say I build tools::t1utils, and later want to rebuild
tools::make and all packages that depend on it (make, tar, patch,
t1utils).

From scratch, I was hoping this would work:

$ bin/gub tools::t1utils
$ bin/gpkg -p tools remove make
$ bin/gub tools::t1utils

but that only reinstalls tools::make.

Thanks,
Patrick


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: GUB question about removing packages

by Jan Nieuwenhuizen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On di, 2009-07-07 at 17:00 -0700, Patrick McCarty wrote:

> Okay, thanks Jan.  :-)  This doesn't achieve what I was hoping for though.
>
> Is there a method to remove a package from GUB so that a rebuild is
> triggered only for that package and packages that depend on it?

No.  A packages' up-to-dateness only depends on its own build checksum;
ie, only if anything actually relevant for building in its .py build
script changes.

To force the rebuild of a package (tools::t1utils) without altering its
build spec, you must remove it *and* remove the binary packages
(target/tools/packages/t1utils*).

Jan.

--
Jan Nieuwenhuizen <janneke@...> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel