From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <8760t77xbs.fsf@elephly.net> References: <20160617195657.38541268@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEAyX-0005JJ-Jt for guix-devel@gnu.org; Sat, 18 Jun 2016 03:47:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEAyT-0002oj-Dk for guix-devel@gnu.org; Sat, 18 Jun 2016 03:47:28 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEAyT-0002of-5P for guix-devel@gnu.org; Sat, 18 Jun 2016 03:47:25 -0400 In-reply-to: <20160617195657.38541268@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Danny Milosavljevic 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