unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Propagated inputs
@ 2014-11-09 22:25 Andreas Enge
  2014-11-10 14:18 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Enge @ 2014-11-09 22:25 UTC (permalink / raw)
  To: guix-devel

Hello,

polkit builds two libraries, polkit-agent and polkit-gobject. According to
pkg-config, the second one
   Requires: gio-2.0 >= 2.18 glib-2.0 >= 2.18,
while the first one requires nothing.

So I decided to not propagate the glib input (which also contains gio), as
potentially one could use the first library without glib. Or is it our
policy to propagate inputs as soon as any of the built libraries requires
them?

Andreas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Propagated inputs
  2014-11-09 22:25 Propagated inputs Andreas Enge
@ 2014-11-10 14:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-10 14:18 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> skribis:

> polkit builds two libraries, polkit-agent and polkit-gobject. According to
> pkg-config, the second one
>    Requires: gio-2.0 >= 2.18 glib-2.0 >= 2.18,
> while the first one requires nothing.
>
> So I decided to not propagate the glib input (which also contains gio), as
> potentially one could use the first library without glib. Or is it our
> policy to propagate inputs as soon as any of the built libraries requires
> them?

Yes, I would rather do that (propagate inputs as soon as one of the
built libraries requires it.)  You can put a comment there explaining
the situation.

Ideally we’d have per-output propagation, so one could put
polkit-gobject in one output and polkit-agent in another and have
different propagated inputs.  But that’s not supported ATM, and maybe
not widely useful.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-10 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 22:25 Propagated inputs Andreas Enge
2014-11-10 14:18 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).