From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EJ+kCzJGcmdqQQAAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 07:05:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EJ+kCzJGcmdqQQAAe85BDQ (envelope-from ) for ; Mon, 30 Dec 2024 08:05:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AJOHlv40; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735542322; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=LMs1VTPk0uTng0Yqfipj665AONHcjB/Rz4/M161RBbU=; b=iTJngZEZYQu1RT1LHUV/gc5UyTrpgIvxvDmqzUF4zuChe3mzUHqKlZdyKp97iurexWFY1O /lRouHIzCP+K1p1FRaD1Ck2TN9L4iXgK9FsvQ4HBgiB0aJg00KeZlbhq5xyn//fmLT5a1b 1ow7SCGE02WMyUtR2Yymq8CwBeheEnEPpEqFljOeeydvPOzdBUzRWNgoq8Pu7F9XxITAEe /TRym4Kf8Qmk1AFZctnTCFjy4Tn0iwOnk62R1O8SaZCUIsvN0LopxnvE3J6ln9n5peAD2X 2m7yO9shwnRgSSLL02W0Ph8giQj6F7cAJMq2f9m8Z2PzAq8sGdce9HhfG4MkVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AJOHlv40; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735542322; a=rsa-sha256; cv=none; b=fJjTblEMkrAmmbFRyjpAc69JZRJeEC1mVatdMkbYU8mipqzAIV9H9Gv3WLVjv8R3BIVS1e +zuyd5kO4nK32jPML598l4v7PWDj79E73TPMSfp452gBo7MeT123O86sIyp7WME2qzKRvA GQzLjm1wCTzcQ7a+foM3Ha6xj4bMA69y5fM9kFxgiuZVT3pn32CzWyaqCgJVL85LHVKhas fO47RI3jdDNdN4G50GjwyqVOLS4lqgzNeDRomFolxTnWlgxiyuxHYKbKxws415VNnkXWF6 Z0mb3LUBdPoizpKtIQFLaU0575L5bFinY9pFuuhuw/G9D0oCQ2/1obgZbDZW7Q== 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 0014D47CEE for ; Mon, 30 Dec 2024 08:05:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS9pr-0004Xj-PF; Mon, 30 Dec 2024 02:05:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tS9pn-0004Uy-0w for guix-patches@gnu.org; Mon, 30 Dec 2024 02:05:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tS9pm-0003JK-Iq for guix-patches@gnu.org; Mon, 30 Dec 2024 02:05:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=LMs1VTPk0uTng0Yqfipj665AONHcjB/Rz4/M161RBbU=; b=AJOHlv40oZqY1mny+l5gQgsIo3qa9J+mIC7fnv0Rpq+ssAjhdg1hNXfUoqgHVyCKT1H6QrXwiu1Hzh4DTZOF3uh2fHQYi9rFHzR3bp28VbUWoerCM6Rlaz+Yn+jK6dRufoZ2dhKrLB3v9Sv2UIWTiCdFYNbuFLdlS+y6sRRycHUgELewnehcBNuFFJQrcZqg1aDvCLMYsQ8NPfZUpbqOofWzs0Yf7dyS7HZx9J8UtXOcvRLoRhFY3E+k4Oj7iPxeVkejNVigDGMz6tQNW6r/1cnlJEqCxbUSgd1jBeDOS2NVGwJYJZbpa6p5piVUOqJYjRel/ToNL+fPEckGKHsRbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tS9pm-0007SY-E5 for guix-patches@gnu.org; Mon, 30 Dec 2024 02:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75159] [PATCH v1 1/5] guix: qt: add inputs and outputs build variables in qt-build Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75159 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ashvith Shetty Cc: Rutherther , 75159@debbugs.gnu.org Received: via spool by 75159-submit@debbugs.gnu.org id=B75159.173554224628581 (code B ref 75159); Mon, 30 Dec 2024 07:05:02 +0000 Received: (at 75159) by debbugs.gnu.org; 30 Dec 2024 07:04:06 +0000 Received: from localhost ([127.0.0.1]:57136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS9or-0007Qu-Ig for submit@debbugs.gnu.org; Mon, 30 Dec 2024 02:04:05 -0500 Received: from smtp81.cstnet.cn ([159.226.251.81]:43508 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS9on-0007QK-PY for 75159@debbugs.gnu.org; Mon, 30 Dec 2024 02:04:03 -0500 Received: from m (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowAD33zLVRXJnrhS+BA--.25812S2; Mon, 30 Dec 2024 15:03:52 +0800 (CST) From: Zheng Junjie In-Reply-To: <20241228153020.20233-2-ashvith@noreply.codeberg.org> (Ashvith Shetty's message of "Sat, 28 Dec 2024 21:00:03 +0530") References: <20241228153020.20233-1-ashvith@noreply.codeberg.org> <20241228153020.20233-2-ashvith@noreply.codeberg.org> User-Agent: mu4e 1.12.7; emacs 30.0.92 Date: Mon, 30 Dec 2024 15:03:47 +0800 Message-ID: <871pxptzxo.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowAD33zLVRXJnrhS+BA--.25812S2 X-Coremail-Antispam: 1UD129KBjvJXoWxWw48JF4fKrWxtw4kGryUZFb_yoW5urWxpa nYkF43Kr4DGr17JrsFgFn2qrn8Gws2kw1jva1Sv3W2v34Yvr9F9ryfKa1fXrW3Aw1rua4U Wr10yw17uryxXrDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvlb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwV C2z280aVCY1x0267AKxVW0oVCq3wAa7VASzI0EjI02j7AqF2xKxVCjxxvEa2IrM2AIxVAI cxkEcVAq07x20xvEncxIr21le4C267I2x7xF54xIwI1l5I8CrVACY4xI64kE6c02F40Ex7 xfMcIj6xIIjxv20xvE14v26r1Y6r17McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Y z7v_Jr0_Gr1lF7xvr2IY64vIr41l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr 0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY 17CE14v26r1Y6r17MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcV C0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY 6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvj DU0xZFpf9x07jMJPiUUUUU= X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.07 X-Spam-Score: -7.07 X-Migadu-Queue-Id: 0014D47CEE X-TUID: RG5Md9VkRgwI --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ashvith Shetty writes: > From: Rutherther > > Qt build doesn't provide build-variables of inputs and outputs, > so it's not possible to refer to %outputs in arguments of > a package that uses qt-build-system. This patch unifies > qt-build-system's behavior with other build systems like > cmake-build-system or gnu-build-system. > This patch will cause all qt packages to be rebuilt, and the future should be to remove cmake-build-system, gnu-build-system's %outputs, use gexp. so this patch will not be merged. > * guix/build-system/qt.scm (qt-build): Wrap with with-build-variables to > provide variables to arguments > > Change-Id: I65853a5831ce7b5dc7ebe10807c6e61bb89cab36 > --- > guix/build-system/qt.scm | 54 +++++++++++++++++++++------------------- > 1 file changed, 28 insertions(+), 26 deletions(-) > > diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm > index d1f721c54e..5f9a5019ae 100644 > --- a/guix/build-system/qt.scm > +++ b/guix/build-system/qt.scm > @@ -152,32 +152,34 @@ (define builder > (with-imported-modules imported-modules > #~(begin > (use-modules #$@(sexp->gexp modules)) > - (qt-build #:source #+source > - #:system #$system > - #:outputs #$(outputs->gexp outputs) > - #:inputs #$(input-tuples->gexp inputs) > - #:search-paths '#$(sexp->gexp > - (map search-path-specification->s= exp > - search-paths)) > - #:phases #$(if (pair? phases) > - (sexp->gexp phases) > - phases) > - #:qtbase #+qtbase > - #:qt-wrap-excluded-outputs #$qt-wrap-excluded-outputs > - #:qt-wrap-excluded-inputs #$qt-wrap-excluded-inputs > - #:configure-flags #$configure-flags > - #:make-flags #$make-flags > - #:out-of-source? #$out-of-source? > - #:build-type #$build-type > - #:tests? #$tests? > - #:test-target #$test-target > - #:parallel-build? #$parallel-build? > - #:parallel-tests? #$parallel-tests? > - #:validate-runpath? #$validate-runpath? > - #:patch-shebangs? #$patch-shebangs? > - #:strip-binaries? #$strip-binaries? > - #:strip-flags #$strip-flags > - #:strip-directories #$strip-directories)))) > + > + #$(with-build-variables inputs outputs > + #~(qt-build #:source #+source > + #:system #$system > + #:outputs %outputs > + #:inputs %build-inputs > + #:search-paths '#$(sexp->gexp > + (map search-path-specificat= ion->sexp > + search-paths)) > + #:phases #$(if (pair? phases) > + (sexp->gexp phases) > + phases) > + #:qtbase #+qtbase > + #:qt-wrap-excluded-outputs #$qt-wrap-excluded-= outputs > + #:qt-wrap-excluded-inputs #$qt-wrap-excluded-i= nputs > + #:configure-flags #$configure-flags > + #:make-flags #$make-flags > + #:out-of-source? #$out-of-source? > + #:build-type #$build-type > + #:tests? #$tests? > + #:test-target #$test-target > + #:parallel-build? #$parallel-build? > + #:parallel-tests? #$parallel-tests? > + #:validate-runpath? #$validate-runpath? > + #:patch-shebangs? #$patch-shebangs? > + #:strip-binaries? #$strip-binaries? > + #:strip-flags #$strip-flags > + #:strip-directories #$strip-directories))))) >=20=20 > (mlet %store-monad ((guile (package->derivation (or guile (default-gui= le)) > system #:graft? #f))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmdyRdMACgkQO1qpk+Gi 3/Ac6Q/8DeSYat64oTF7NnhWJOxkpAm7a6I4buJrpitTRM6onl70gDOoNLMQnYYV TXA9xuUh/CNJH2B4/ISXg5WPiph/XF3bhr8dZlkt51R7DIdw/A+PWbcbFXkPppPD +o7WePM6LPwOkC8oPeR2Tarxn61ChQ+IC6ZvbZeoYZGXOpqOq4foBKqUQReq/gPq XvDgZfR6ZJAtATHmcc3wWzM4IRIOdXxiCLRjWeAZZZaBsDoKgSv2S4nGSmLh5qVO eKmTvuemXvPeUtQOvIHHYkYSWC1RCYq3Iis99fjObhkxzpucv62bSxGUmmrmPv+z snaNcShlqSwfXeWHrblYC5sbEVAnq2Xb2lB07X+ISI37qA6XZHOkRKysZFHEFZnG l+j8YaR0BbA1fQQbkGIfS+j9NzJWAAWLjf6poWJ6xRFglNh/wSQ391kEIji8yRWf IqG9PryNDTWaTg0u1SivuKqDN7OGke7qWOv5QBl7KXIxlD2Irn3vNh9xbdJXJzeK OMfYUkuNwsWW7YrJnHbtmLCOv3yB4uQPd6JfTg1peJS32KVwK3OT2zIVQOBua4ge 8NckcmA4+CfKVOhc1i6F30uM/LLKRA0z20DerXMPll/Ugp/9ANV3KGm1HsCebO2I z8EuCfO32jOG/1bY358/q554B8QuSIMpnpoRLbm6ZB4K0QpM8DM= =Zo5y -----END PGP SIGNATURE----- --=-=-=--