[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libgit2, libgit2-glib: pkg-config file: dependencies on other librar
From: |
Ricardo Wurmus |
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 |
User-agent: |
mu4e 0.9.16; emacs 24.5.1 |
Danny Milosavljevic <address@hidden> 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