From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ALR1JiFmu2IbbwEAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 22:35:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CB5yJiFmu2K7VQEA9RJhRA (envelope-from ) for ; Tue, 28 Jun 2022 22:35:45 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 375AA17B1F for ; Tue, 28 Jun 2022 22:35:45 +0200 (CEST) Received: from localhost ([::1]:47226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Hw0-0008WA-D2 for larch@yhetil.org; Tue, 28 Jun 2022 16:35:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6HvN-000860-3C for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6HvM-00031l-RD for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6HvM-0002sP-P9 for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56286] [PATCH v2 6/6] gnu: Add pkgconf. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jun 2022 20:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56286@debbugs.gnu.org Cc: "\(" Received: via spool by 56286-submit@debbugs.gnu.org id=B56286.165644849310998 (code B ref 56286); Tue, 28 Jun 2022 20:35:04 +0000 Received: (at 56286) by debbugs.gnu.org; 28 Jun 2022 20:34:53 +0000 Received: from localhost ([127.0.0.1]:56426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6HvB-0002rF-G9 for submit@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:53 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Hv0-0002qc-W2 for 56286@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:43 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4F78745A59; Tue, 28 Jun 2022 22:34:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 9dw7BT83gd1f; Tue, 28 Jun 2022 22:34:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656448473; bh=0JsB2/YbzYCyPghGvtawCb/9sURtFWUHs0RZoC/833c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XlsCkB+POemT1z8gX6+NjhIPRpFazr1/ArmrOFmLnLc9qCGJqjZnytB2G1lsZqJ2R D7s/K0X7gT3qlqRj0UUcyqXU+XGY+XADg+KkWaN0NWbToEI/TiqHnvs2NwN0ogWrde bLcy2tn40iXEJFjLvqNlR0XL7n80XfaIEiPIK4o/wjhbPg6vR4CiblNpvOV+8xQb5f x6QbaHWmjyrxbRzSYSUEOv1qVX9+bBkk31ye/8S8Y0Wypm5HyMH0ZwoY39a9UrGGaR LtevcC8QDzUwJ3g7aWhdVxDbe6cjvZWiVqe0NYTZv8imOdqQIojzjK2EPb8t/sggsR 7fnZsjxwe2Ppg== Date: Tue, 28 Jun 2022 21:34:26 +0100 Message-Id: <20220628203426.31906-6-paren@disroot.org> In-Reply-To: <20220628203426.31906-1-paren@disroot.org> References: <20220628203426.31906-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656448545; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZTH9klh2Lqu3Zm+JzvC7jIauonpL5pPUkPGRFLGsklY=; b=b6se0E4zIivo/AoD8/ENCpMMUfr+etQXHOyDpVpnRUG2k4t7LzRxS8KukTsLw1hxVR8ypD ziN4fOz8UfT38cbL2teTlgb6T4UA7AB1CKP9D1RK7K3cXiW3SGWZczxpngE3RZFV2rL45A fDdAY//p+LVnz7NsxZTiVvK+a824hZXBjKhCnxeCKIb3ImkijPspxdAmbB/U7ZF+1HvE/V y/519KFnK4az5aTTyXF3dBlHtDCSZ3s03x/Yf1sw/CVGCT8EceL+QOJqt1SY14mGf08QQS p1zwtRyf5v3SbgfG5QV8JHE9QZDVd8jklbEpfiwH2tYGeGhHWXaC0cxOfCrHgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656448545; a=rsa-sha256; cv=none; b=oZUXmAf9au0p85uSljPMNU8HFWfJ2FGaq/Jz8XMqwUFnN51E8tagoPauO6k+Qe+aC90+uI 1/31RY5Yb6Ydu7myd8JoOGEWU/0vWjOlCaCgafuf2UjRLEg23kSIwnhEmttmdb/3EEXWN1 RTL0Ub69gRPmcxB2qNRY9X1OOa00CqyJMSuCoiBifWPUK4CgrYRJjXawIO4lHQkvzbNRLZ jWewP5ftTkU4tVr/vjSigh5E+L4aAJRP2WQwtEiKOEK9XhIS5iwcIgnlpojg2Qk043khmA 3YmczHml5NqJfILjX7PY3iDm2ERYLYSJ9qCrd6bNKI2quYezH4s3fueJ8N440g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XlsCkB+P; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XlsCkB+P; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 375AA17B1F X-Spam-Score: -2.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: ySXBs/C+2yGV * gnu/packages/pkg-config.scm (pkgconf): New variable. --- gnu/packages/pkg-config.scm | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm index dcd6ba3353..a22aa6969b 100644 --- a/gnu/packages/pkg-config.scm +++ b/gnu/packages/pkg-config.scm @@ -24,10 +24,13 @@ (define-module (gnu packages pkg-config) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix memoization) #:use-module (guix packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages bash) + #:use-module (gnu packages check) #:export (pkg-config)) ;; This is the "primitive" pkg-config package. People should use `pkg-config' @@ -168,3 +171,47 @@ (define where (string-append #$output "/bin/pkg-config")) (inherit original) (variable "PKG_CONFIG_PATH_FOR_BUILD"))) (package-native-search-paths %pkg-config))))) + +(define-public pkgconf + ;; The last release was tagged on 2021-07-25, and there's been a lot of activity + ;; since then. + (let ((commit "b0802cb3d19b5b963ad20eed464a2da6e7d7b0b5") + (revision "0")) + (package + (name "pkgconf") + (version (git-version "1.8.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pkgconf/pkgconf") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xcpvzahrp34jhdfsazdhbj9byr2wqwmjx7jfarhpc1x4z3l37a0")))) + (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'check) + (add-after 'install 'set-home + ;; Kyua tries to access $HOME. + (lambda _ + (setenv "HOME" (getcwd)))) + (add-after 'set-home 'check + ;; Kyua won't work unless we move 'check to after 'install. + (assoc-ref %standard-phases 'check))))) + (native-inputs (list atf + ;; pkgconf's autotools setup forbids the use of any + ;; earlier version of autoconf than 2.71. + autoconf-2.71 + automake + kyua + libtool)) + (native-search-paths (package-native-search-paths %pkg-config)) + (home-page "https://pkgconf.org") + (synopsis "Package compiler and linker metadata toolkit") + (description "@code{pkgconf} is a compiler and linker configuration toolkit, +mostly compatible with freedesktop.org's @code{pkg-config}. A library called +@code{libpkgconf} is provided so that programs can embed its functionality.") + (license license:isc)))) -- 2.36.1