all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix?
Date: Sat, 18 Jun 2016 09:47:19 +0200	[thread overview]
Message-ID: <8760t77xbs.fsf@elephly.net> (raw)
In-Reply-To: <20160617195657.38541268@scratchpost.org>


Danny Milosavljevic <dannym@scratchpost.org> writes:

> I'm trying to package libgit2-glib and gnome-builder.
>
> - libgit2 has openssl as input.
> - libgit2-glib installs a pkg-config file.
> - gnome-builder uses libgit2-glib .
>
> Something always complains about missing openssl parts.
>
> For example I can get
>   Package 'openssl', required by 'libgit2', not found
> when building libgit2-glib.
>
> Almost whatever else I do instead, the error wanders around in the DAG.
>
> In order to make it work I added openssl as a propagated input in libgit2-glib. This does work.
>
> But is it the right fix?

This depends on the pkg-config file that the library installs.  If this
file contains a section that lists other libraries as private, then
propagation is probably the correct approach.

~~ Ricardo

  reply	other threads:[~2016-06-18  7:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 17:56 libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix? Danny Milosavljevic
2016-06-18  7:47 ` Ricardo Wurmus [this message]
2016-06-18  9:10   ` Danny Milosavljevic
2016-06-19 13:53     ` Ludovic Courtès
2016-06-18  9:16   ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760t77xbs.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.