From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [Patch 4/10] argon2: Install pkg-config file. Date: Wed, 28 Sep 2016 11:18:10 +0200 Message-ID: <87d1jo4c31.fsf@gnu.org> References: <87mvjc1quq.fsf@openmailbox.org> <8737l41qnj.fsf@openmailbox.org> <20160915232412.6bcd757b@scratchpost.org> <87d1k0sx3s.fsf@openmailbox.org> <20160919211515.1f63db1d@scratchpost.org> <8760pjr43x.fsf@openmailbox.org> <20160926011356.3e31e740@scratchpost.org> <87shsno8ro.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpB0M-0003kI-Az for guix-devel@gnu.org; Wed, 28 Sep 2016 05:18:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpB0H-000552-IS for guix-devel@gnu.org; Wed, 28 Sep 2016 05:18:18 -0400 In-Reply-To: <87shsno8ro.fsf@openmailbox.org> (Lukas Gradl's message of "Sun, 25 Sep 2016 18:32:43 -0500") 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: Lukas Gradl Cc: guix-devel@gnu.org Hello, Lukas Gradl skribis: > From 5fb85fef7b1475baca6c29beb26799ca8f3d814a Mon Sep 17 00:00:00 2001 > From: Lukas Gradl > Date: Tue, 9 Aug 2016 16:49:19 -0500 > Subject: [PATCH 04/10] gnu: argon2: Install pkg-config file. > > * gnu/packages/password-utils.scm (argon2)[source]: Create pkg-config fil= e. > [arguments]: Install it. > --- > gnu/packages/password-utils.scm | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-util= s.scm > index 7288da6..f62d041 100644 > --- a/gnu/packages/password-utils.scm > +++ b/gnu/packages/password-utils.scm > @@ -311,6 +311,21 @@ through the pass command.") > "https://codeload.github.com/P-H-C/phc-winner-" > name "/tar.gz/" version)) > (file-name (string-append name "-" version ".tar.gz")) > + (snippet > + '(let ((p (open-file "argon2.pc" "w"))) > + (begin > + (display > + (string-append "prefix=3D/usr/local\n" > + "exec_prefix=3D${prefix}\n" > + "includedir=3D${prefix}/include\n" > + "libdir=3D${prefix}/lib\n\n" > + "Name: Argon2\n" > + "Description: " > + "The Argon2 password hashing algorithm\n" > + "Version: 1.0.0\n" > + "Cflags: -I${includedir}/\n" > + "Libs: -L${libdir} -largon2\n") p) > + (close-output-port p)))) As Danny suggested, this should be discussed upstream. What=E2=80=99s the status of this .pc file upstream? I=E2=80=99m reluctant to start relying o= n it if there=E2=80=99s no sign that it will eventually be provided by upstream. Thanks, Ludo=E2=80=99.