From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 18 09:23:58 2021 Received: (at submit) by debbugs.gnu.org; 18 Nov 2021 14:23:59 +0000 Received: from localhost ([127.0.0.1]:35321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mniKU-0001Lt-LZ for submit@debbugs.gnu.org; Thu, 18 Nov 2021 09:23:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:53878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mniKT-0001Ln-Du for submit@debbugs.gnu.org; Thu, 18 Nov 2021 09:23:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mniKT-0006uI-3z for guix-patches@gnu.org; Thu, 18 Nov 2021 09:23:57 -0500 Received: from [2a00:5881:4008:2810::309] (port=53408 helo=planete-kraus.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mniKQ-0003FH-Gi for guix-patches@gnu.org; Thu, 18 Nov 2021 09:23:56 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 68caf435 for ; Thu, 18 Nov 2021 14:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=from :to:subject:date:message-id:mime-version:content-type; s=dkim; bh=8tvgfrHmS53oTtKKcELspQ/+0Lc=; b=Qn00iZE5POYhBVtDeI9A+MjSsxp6 m1JTMeYek62Rww7StPNIxjqPwtsiNYw9+DkbLKPNp3OY2GZ0cwIc/g+W8wA8/PWN TdqBZLK+yl6HTrkL5sp/srIyB43d04Ej4YkrMLRClxS/7gAG7LCT0cDJMIEseFbY 6OxBHAiLR6mNoHU= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id d29a7894 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Thu, 18 Nov 2021 14:23:48 +0000 (UTC) From: Vivien Kraus To: guix-patches@gnu.org Subject: [PATCH] Meson needs proper wrapping Date: Thu, 18 Nov 2021 15:23:48 +0100 Message-ID: <87r1bda6ff.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5881:4008:2810::309 (failed) Received-SPF: pass client-ip=2a00:5881:4008:2810::309; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear guix, Meson needs to be wrapped, but the wrapping must not execute a new process, if I understand correctly. I could use wrap-script, but I think it=E2=80=99s more pythonic to set the path through sys.path rather than set= ting an environment variable. Now, this will create a world rebuild=E2=80=A6 What do you think? Vivien --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-meson-Extend-the-python-path-in-the-installed-pr.patch Content-Transfer-Encoding: quoted-printable Content-Description: Properly wrap meson From=2008845844e8e1a18232bf54f9f3f0b71d5e0c71ef Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 18 Nov 2021 15:17:52 +0100 Subject: [PATCH] gnu: meson: Extend the python path in the installed progra= m. * gnu/packages/build-tools.scm (meson) [phase wrap]: Wrap the python path as python code. =2D-- gnu/packages/build-tools.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 849101c2a4..ef5aa4bd35 100644 =2D-- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -283,7 +283,21 @@ (define-public meson #:phases (modify-phases %standard-phases ;; Meson calls the various executables in out/bin throug= h the ;; Python interpreter, so we cannot use the shell wrappe= r. =2D (delete 'wrap)))) + (replace 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((path (string-split (getenv "GUIX_PYTHONPATH")= #\:))) + (substitute* (string-append (assoc-ref outputs "ou= t") "/bin/meson") + (("# EASY-INSTALL-ENTRY-SCRIPT") + (format #f "\ +import sys +~a +# EASY-INSTALL-ENTRY-SCRIPT" + (string-join + (map (lambda (path) + (format #f "sys.path.insert(0, = '~a')" + path)) + (reverse path)) + "\n")))))))))) (inputs `(("ninja" ,ninja))) (propagated-inputs `(("python" ,python))) (home-page "https://mesonbuild.com/") =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmGWYfQACgkQO7C8EjLY uCx6RQv/dAim25a86h4Ob7Kxzu7VW8Zh5JCzGt8xEjPyerTsLw6hLxNpNRZz2V9k giTdkcGVgnrdT5vx6IceoC0yQRE2L6AteWhI9k9toxZB1AEKr0i+C2BV668ydNUk LSRAkD50gwKk+MAbgfqA0g5+hnjxQIPGyMvUX11uhKWzirEwfG+MukLOaO8BmPV2 s6HLZ9O0riXP+CZNrIcJYhk/YfVX5wFT754ps2UU4ptFwZetPSuSq1Mk0vIjeONH XCLVfu8vpxf7SnLW0Y5TclMdjtKJCP0eS2OsAyN5vfjuq+zElZXmek2eby85M0BR df5J8I+wEM6kWDiwQ6vK/MnO5mSu1LgH3RgRfR+t36wjpNUuSryeuufbQ4GGCAS3 IZcE9QlxvM55N6hj7SCUwXBASoeOkdn3YY9FeOSiVai5WikjQuMfxiWwntP/+R+L AcH+eFRf3nIqzDX6UaRR/c9Js80msPHRAJo40Lz5WAkaJFRCPiSU3aycYVlDpepO U//xlRs7 =9sky -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 18 11:01:30 2021 Received: (at 51948) by debbugs.gnu.org; 18 Nov 2021 16:01:30 +0000 Received: from localhost ([127.0.0.1]:36953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjqs-0007O7-97 for submit@debbugs.gnu.org; Thu, 18 Nov 2021 11:01:30 -0500 Received: from planete-kraus.eu ([89.234.140.182]:56256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjqq-0007Nw-4r for 51948@debbugs.gnu.org; Thu, 18 Nov 2021 11:01:29 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 1f0eee95 for <51948@debbugs.gnu.org>; Thu, 18 Nov 2021 16:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= references:from:to:subject:date:in-reply-to:message-id :mime-version:content-type; s=dkim; bh=JZXC09eCkVty4rp0FHA0Up9LG Ek=; b=hiU3I8yrtuUh0v/kjucTSFjkB9IMSE8CM3F3TH3juQDuTLXNfsJRVrfAK VzuwVVgGhLEEQAGmrLVm4xR/gDiOm95riQoKeVp0XwEzCIetXxSilOEQ1dz2vIt6 m/uLVjj4eXM3rr9Q9buzJ+n4IsspzUc98VaktkkzA6lJmaPTTY= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 306e78d1 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO) for <51948@debbugs.gnu.org>; Thu, 18 Nov 2021 16:01:23 +0000 (UTC) References: <87r1bda6ff.fsf@planete-kraus.eu> User-agent: mu4e 1.6.10; emacs 27.2 From: Vivien Kraus To: 51948@debbugs.gnu.org Subject: Re: bug#51948: Acknowledgement ([PATCH] Meson needs proper wrapping) Date: Thu, 18 Nov 2021 17:00:25 +0100 In-reply-to: Message-ID: <87mtm1a1wx.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51948 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain If I put the code in a new variable, we avoid a world rebuild, is it better? Vivien --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-meson-Extend-the-python-path-in-the-installed-pr.patch Content-Transfer-Encoding: quoted-printable Content-Description: New meson-wrapped package From=20f25082c0a695734aaada2d286ef1770de5f99c2b Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 18 Nov 2021 15:17:52 +0100 Subject: [PATCH] gnu: meson: Extend the python path in the installed progra= m. * gnu/packages/build-tools.scm (meson-wrapped): New variable. =2D-- gnu/packages/build-tools.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 849101c2a4..646e28e0c6 100644 =2D-- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -297,6 +297,31 @@ (define-public meson resembles Python.") (license license:asl2.0))) =20 +(define-public meson-wrapped + (package/inherit meson + (arguments + `(;; FIXME: Tests require many additional inputs and patching many + ;; hard-coded file system locations in "run_unittests.py". + #:tests? #f + #:phases (modify-phases %standard-phases + ;; Meson calls the various executables in out/bin throug= h the + ;; Python interpreter, so we cannot use the shell wrappe= r. + (replace 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (let ((path (string-split (getenv "GUIX_PYTHONPATH")= #\:))) + (substitute* (string-append (assoc-ref outputs "ou= t") "/bin/meson") + (("# EASY-INSTALL-ENTRY-SCRIPT") + (format #f "\ +import sys +~a +# EASY-INSTALL-ENTRY-SCRIPT" + (string-join + (map (lambda (path) + (format #f "sys.path.insert(0, = '~a')" + path)) + (reverse path)) + "\n")))))))))))) + ;;; This older Meson variant is kept for now for gtkmm and others that may ;;; have problems with 0.60. (define-public meson-0.59 =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmGWeM4ACgkQO7C8EjLY uCz6QQv9ER6cXQI3BJCKRQ5NMgKBEyU+hUhNW5lVz0eX/6gKDMKHqsGWWZegVxZf t7ExjXPfVZcdJxdgMgpaadK1vckCkyYnjUrmu2T4pcVQux2ZNiL0ZPEZbLXvafWs NrT7sScExpcgleoMHulgNfq4EO6tHzg+CQY7PfROS7qp44VOnvQ6Q2JMmi9nQP+1 ZQtip+SLrwPfJX0/YWBfseC7KYy7x/51OyyFSgl53bty35YXiVPbhrVMMR6mENL8 jGbBqQ4V+ZlOKGru9jb6t7bdlC5DXl6svDkkwQVpRnRvvlWo4LEtNelXg2PKTwI3 FCvXNrpLB/yrb5fe1/QH9jFUCJBrWGaLhMitfLaake0RvWUHsSW424D7UAjsPhfv 7ZE3mztxaUG95z1/MgEQ3gAjPWsXlILOPzuA5Lc2VwcC5z2LejXQm9tICz3tIb95 Z/O7U36chM1NWNikvh3Z39DjK7vcQFBPAsES74V1XFQUEUm4jibBG/DqsEZNVibJ 8pv3+RtQ =16yN -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 08:12:57 2021 Received: (at 51948) by debbugs.gnu.org; 19 Nov 2021 13:12:57 +0000 Received: from localhost ([127.0.0.1]:38374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo3hI-0005KJ-V0 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 08:12:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo3hG-0005K3-MM for 51948@debbugs.gnu.org; Fri, 19 Nov 2021 08:12:55 -0500 Received: from [2001:470:142:3::e] (port=55484 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3h9-0006gQ-0j; Fri, 19 Nov 2021 08:12:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=w5URk7kdjNn4P5mLajcjk65YiKKUsN9eunwZngSZmYU=; b=AMr+KmDYs6kfQhg+uTnk Lz9m+8c5RYvJWYKdPlURL8zppYnt6EAFUeyJ0fDd5LkWQglbVi3cSbOYTwaneNv/bckSPhHyaqr/Z l0gMQM8hCPsb3YbkL4iWfE2PuAShvz26AybP1ZdC24xDWYQhEiqR/VZVXofrHmpK/tgSCZ7oOEVtN Dqj6n+UP1UdtgzMVZLgBmGOWGDFfWtA8wIA+PBzFAOITXQrkCKvchZ+sb2swJd+rbroDohmpQuxf2 MEyKQ3N9BxwjgFC1Tb5PZLvVV5PfeTsM7FF8v4dweqfV3A/CXJDgUvX6ssk+icLfRhfXvtrXCiQka 42PUav4VmvYVFg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=47276 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3h8-0006Tf-NN; Fri, 19 Nov 2021 08:12:46 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vivien Kraus Subject: Re: bug#51948: [PATCH] Meson needs proper wrapping References: <87r1bda6ff.fsf@planete-kraus.eu> Date: Fri, 19 Nov 2021 14:12:43 +0100 In-Reply-To: <87r1bda6ff.fsf@planete-kraus.eu> (Vivien Kraus's message of "Thu, 18 Nov 2021 15:23:48 +0100") Message-ID: <8735nsmgqc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51948 Cc: 51948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Vivien Kraus skribis: > Meson needs to be wrapped, but the wrapping must not execute a new > process, if I understand correctly. I could use wrap-script, but I think > it=E2=80=99s more pythonic to set the path through sys.path rather than s= etting > an environment variable. Isn=E2=80=99t that what =E2=80=98wrap-script=E2=80=99 does? > Now, this will create a world rebuild=E2=80=A6 What do you think? Not good! :-) This Meson issue is not a regression compared to master, is it? How about providing a user-facing =E2=80=98meson=E2=80=99 package that inco= rporates this fix, while keeping the other =E2=80=98meson=E2=80=99 packages unchanged, to= avoid rebuilding too much? This can be achieved by marking the other packages as hidden. > From 08845844e8e1a18232bf54f9f3f0b71d5e0c71ef Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Thu, 18 Nov 2021 15:17:52 +0100 > Subject: [PATCH] gnu: meson: Extend the python path in the installed prog= ram. > > * gnu/packages/build-tools.scm (meson) [phase wrap]: Wrap the python path= as > python code. > --- > gnu/packages/build-tools.scm | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm > index 849101c2a4..ef5aa4bd35 100644 > --- a/gnu/packages/build-tools.scm > +++ b/gnu/packages/build-tools.scm > @@ -283,7 +283,21 @@ (define-public meson > #:phases (modify-phases %standard-phases > ;; Meson calls the various executables in out/bin thro= ugh the > ;; Python interpreter, so we cannot use the shell wrap= per. > - (delete 'wrap)))) > + (replace 'wrap > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((path (string-split (getenv "GUIX_PYTHONPATH= ") #\:))) > + (substitute* (string-append (assoc-ref outputs "= out") "/bin/meson") Could you check =E2=80=98guix gc --references meson=E2=80=99 to make sure i= t does not capture too much? (GUIX_PYTHONPATH might contain references to build-time dependencies.) I suppose GUIX_PYTHONPATH contains the package=E2=80=99s =E2=80=9Cout=E2=80= =9D, right? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 08:55:22 2021 Received: (at 51948) by debbugs.gnu.org; 19 Nov 2021 13:55:22 +0000 Received: from localhost ([127.0.0.1]:38461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo4ML-0000Oo-JP for submit@debbugs.gnu.org; Fri, 19 Nov 2021 08:55:22 -0500 Received: from planete-kraus.eu ([89.234.140.182]:45898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo4MJ-0000Ob-9B for 51948@debbugs.gnu.org; Fri, 19 Nov 2021 08:55:20 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 5f90145d; Fri, 19 Nov 2021 13:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; s=dkim; bh=L/kqUor1dcjLNXggGdAxzMMsX nA=; b=yNBp7sNCpuruacmYt+vaGxsXFk6j6BwVl9W/kPyF5c2OXTH1mBRTgsbB8 325PVuVX4G9/JCjZFwLPRD7Iv2VdechX8jQTyXrFMf+llsBP7nuYFv2lNqkjFmbU tbwEBDNTCbSgwuVk7Qtfo0uCGND8it2f0yx/tIO3yk5LgK2rJE= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 2af5a1ed (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Fri, 19 Nov 2021 13:55:14 +0000 (UTC) References: <87r1bda6ff.fsf@planete-kraus.eu> <8735nsmgqc.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Vivien Kraus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#51948: [PATCH] Meson needs proper wrapping Date: Fri, 19 Nov 2021 14:20:50 +0100 In-reply-to: <8735nsmgqc.fsf@gnu.org> Message-ID: <877dd49rnn.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51948 Cc: 51948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Vivien Kraus skribis: >> Meson needs to be wrapped, but the wrapping must not execute a new >> process, if I understand correctly. I could use wrap-script, but I think >> it=E2=80=99s more pythonic to set the path through sys.path rather than = setting >> an environment variable. > > Isn=E2=80=99t that what =E2=80=98wrap-script=E2=80=99 does? I think wrap-script converts the python script to a guile script that happens to be the same file as the python script. I realize it won=E2=80=99t even insert python code in the final program, so the wrapping code won=E2= =80=99t be executed when the python module is loaded by the python interpreter. > How about providing a user-facing =E2=80=98meson=E2=80=99 package that in= corporates this > fix, while keeping the other =E2=80=98meson=E2=80=99 packages unchanged, = to avoid > rebuilding too much? This can be achieved by marking the other packages > as hidden. I pushed an update that does precisely that. Is the name "meson-wrapped" OK? Also, how can I influence guix to rather install the wrapped version when the user invokes "guix install meson"? > Could you check =E2=80=98guix gc --references meson=E2=80=99 to make sure= it does not > capture too much? (GUIX_PYTHONPATH might contain references to > build-time dependencies.) I see, the only thing to wrap is just the "out" output in fact. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-meson-Extend-the-python-path-in-the-installed-pr.patch Content-Transfer-Encoding: quoted-printable From=20dcb7114ada82da073adbbfbeef929a9daa558ccb Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 18 Nov 2021 15:17:52 +0100 Subject: [PATCH] gnu: meson: Extend the python path in the installed progra= m. * gnu/packages/build-tools.scm (meson-wrapped): New variable. =2D-- gnu/packages/build-tools.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 849101c2a4..f323b6a388 100644 =2D-- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -297,6 +297,28 @@ (define-public meson resembles Python.") (license license:asl2.0))) =20 +(define-public meson-wrapped + (package/inherit meson + (arguments + `(;; FIXME: Tests require many additional inputs and patching many + ;; hard-coded file system locations in "run_unittests.py". + #:tests? #f + #:phases (modify-phases %standard-phases + ;; Meson calls the various executables in out/bin throug= h the + ;; Python interpreter, so we cannot use the shell wrappe= r. + (replace 'wrap + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((python-version + (python-version (assoc-ref inputs "python"))) + (output (assoc-ref outputs "out"))) + (substitute* (string-append output "/bin/meson") + (("# EASY-INSTALL-ENTRY-SCRIPT") + (format #f "\ +import sys +sys.path.insert(0, '~a/lib/python~a/site-packages') +# EASY-INSTALL-ENTRY-SCRIPT" + output python-version))))))))))) + ;;; This older Meson variant is kept for now for gtkmm and others that may ;;; have problems with 0.60. (define-public meson-0.59 =2D-=20 2.34.0 --=-=-= Content-Type: text/plain Vivien --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmGXrLwACgkQO7C8EjLY uCwttwwAzrisBLi5jmz63/N7N6gzDA4BqZt4i6VHwzPtHHJ5zswesO2ostFbbgg1 dMygZLx/lloGDJ0UoxM4PC/LgVLZlwDRHi5NBP5/TFhVH7q8lEeylwKJSe+qXp0v d4dTgYQ/MstrTL98xHTZuDEM9QOJfAIH68tIhhd+fDJMQk0iGY+hI+IHhvBtWzwb ei5T+uUtD6i1EaykPUXO2Cs3AIsYMRLOQ0TvfDUE99JnpDVWu82YLHlcaASj+B+t zO3aXdWeGj3FrIlr10R3AMKACZr6VyMjfNpUlEOLDqWxM/pg4L2O2LPnNZYxSN5t eNOSXXKaTy8UMPnJn/mEo5FtOihizexbo3jd6EFkIln0/wBzFdEJB2+7QKG5dy9Y P22k0u9SsmyUS0PVZ+3563lgMlb1daIWRLe0jdwEDXX4Bv0+k87dcc5K/n8IbLOL /ZbJShUvhz3q0hHIDntTVLehyfiSpk5w4XkyHxAKLWxRRFVJNely6BNvN4I53CQq jWHFeQYg =Xyoa -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 17:17:30 2021 Received: (at 51948) by debbugs.gnu.org; 19 Nov 2021 22:17:31 +0000 Received: from localhost ([127.0.0.1]:40718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moCCI-0005VR-N8 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 17:17:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moCCH-0005VD-8z for 51948@debbugs.gnu.org; Fri, 19 Nov 2021 17:17:29 -0500 Received: from [2001:470:142:3::e] (port=57546 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moCCB-0005g5-Q3; Fri, 19 Nov 2021 17:17:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=I7cW5gijuBDo43+2oI67T97Hsb22mfQUalY4uizKBww=; b=kO4Jym8ouNOPu8dwtd9R RfmdiE0dMSvGLjW60FFsWXMDqRK3mwytkxIyRyZXDDdYq6EB/qWfdCOhvzDSoKwT6iz5Ax3gF72lU 0a/g5C+R4L6h/6kXUmiGlyCd90gU7xZi7JgiBVSysESuk89SJBURTirbkQfg9HZt13H1yz1lpXfPb P09mOQeyjFGTIhOzrxIPg7JnLa/3PMrW0SIybcDjyeBDAFooUVK50HmbpHVMnWDAr076P2P/o7WqI fKo6WwrTelPcxcv4reLBrj7NQawjfnmQZKiorB/8Tg75qCiqTxDEg41yrknboPT07q20sGAJTry/V 4+IA9r45763hZA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44520 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moCCB-0001Ck-JT; Fri, 19 Nov 2021 17:17:23 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vivien Kraus Subject: Re: bug#51948: [PATCH] Meson needs proper wrapping References: <87r1bda6ff.fsf@planete-kraus.eu> <8735nsmgqc.fsf@gnu.org> <877dd49rnn.fsf@planete-kraus.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Brumaire an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 19 Nov 2021 23:17:21 +0100 In-Reply-To: <877dd49rnn.fsf@planete-kraus.eu> (Vivien Kraus's message of "Fri, 19 Nov 2021 14:20:50 +0100") Message-ID: <87zgpzhjta.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51948 Cc: 51948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Vivien Kraus skribis: >> How about providing a user-facing =E2=80=98meson=E2=80=99 package that i= ncorporates this >> fix, while keeping the other =E2=80=98meson=E2=80=99 packages unchanged,= to avoid >> rebuilding too much? This can be achieved by marking the other packages >> as hidden. > I pushed an update that does precisely that. Is the name "meson-wrapped" > OK? Also, how can I influence guix to rather install the wrapped version > when the user invokes "guix install meson"? I you just add another meson@0.60 package like this patch does, the UI will complain that =E2=80=9Cmeson@0.60=E2=80=9D is ambiguous, that there ar= e two of them. To work around it, I=E2=80=99d mark the unwrapped meson@0.60 as hidden (usi= ng the =E2=80=98properties=E2=80=99 field) while keeping the other one visible. That way =E2=80=9Cguix install meson=E2=80=9D will install the wrapped one. Does that make sense? TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 17:40:43 2021 Received: (at 51948) by debbugs.gnu.org; 19 Nov 2021 22:40:43 +0000 Received: from localhost ([127.0.0.1]:40741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moCYl-0006AL-E1 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 17:40:43 -0500 Received: from planete-kraus.eu ([89.234.140.182]:57540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moCYj-0006A9-EN for 51948@debbugs.gnu.org; Fri, 19 Nov 2021 17:40:42 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 080a6269; Fri, 19 Nov 2021 22:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; s=dkim; bh=zL7QAf8jEX9TBGbHUwk2n7kqA a0=; b=tCHIMn9jex08MZptH0x1HVDZ5mFDJoXixmyZB96WhaNxyvO1fqlkol1F0 SGE05Ryq151PArAaGN2t1V01kDNaOwy9HwMUb1ic3FetJtpqMelp7xnt2fmfWPFo uhbo1HGCEOC+NVbYYkTyaXj+xULpvlmk2PsqXR7fS+RdMrSpLQ= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id e86cd1ee (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Fri, 19 Nov 2021 22:40:36 +0000 (UTC) References: <87r1bda6ff.fsf@planete-kraus.eu> <8735nsmgqc.fsf@gnu.org> <877dd49rnn.fsf@planete-kraus.eu> <87zgpzhjta.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Vivien Kraus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#51948: [PATCH] Meson needs proper wrapping Date: Fri, 19 Nov 2021 23:34:19 +0100 In-reply-to: <87zgpzhjta.fsf@gnu.org> Message-ID: <8735nrahwc.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51948 Cc: 51948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> I pushed an update that does precisely that. Is the name "meson-wrapped" >> OK? Also, how can I influence guix to rather install the wrapped version >> when the user invokes "guix install meson"? > > I you just add another meson@0.60 package like this patch does, the UI > will complain that =E2=80=9Cmeson@0.60=E2=80=9D is ambiguous, that there = are two of them. > > To work around it, I=E2=80=99d mark the unwrapped meson@0.60 as hidden (u= sing > the =E2=80=98properties=E2=80=99 field) while keeping the other one visib= le. > > That way =E2=80=9Cguix install meson=E2=80=9D will install the wrapped on= e. I think that=E2=80=99s good: I build it with guix shell meson or guix build meson, and I can run its absolute file name in a guix shell --pure gcc. However, it does not seem to cause a world rebuild. Vivien --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-meson-Extend-the-python-path-in-the-installed-pr.patch Content-Transfer-Encoding: quoted-printable Content-Description: Meson is now hidden, the wrapped version is not From=203f77d8d5c652725411a21434443cbf2a2d135575 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 18 Nov 2021 15:17:52 +0100 Subject: [PATCH] gnu: meson: Extend the python path in the installed progra= m. * gnu/packages/build-tools.scm (meson-wrapped): New variable. =2D-- gnu/packages/build-tools.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 849101c2a4..6a8a9c6f66 100644 =2D-- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -287,6 +287,7 @@ (define-public meson (inputs `(("ninja" ,ninja))) (propagated-inputs `(("python" ,python))) (home-page "https://mesonbuild.com/") + (properties '((hidden? . #t))) (synopsis "Build system designed to be fast and user-friendly") (description "The Meson build system is focused on user-friendliness and speed. @@ -297,6 +298,29 @@ (define-public meson resembles Python.") (license license:asl2.0))) =20 +(define-public meson-wrapped + (package/inherit meson + (arguments + `(;; FIXME: Tests require many additional inputs and patching many + ;; hard-coded file system locations in "run_unittests.py". + #:tests? #f + #:phases (modify-phases %standard-phases + ;; Meson calls the various executables in out/bin throug= h the + ;; Python interpreter, so we cannot use the shell wrappe= r. + (replace 'wrap + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((python-version + (python-version (assoc-ref inputs "python"))) + (output (assoc-ref outputs "out"))) + (substitute* (string-append output "/bin/meson") + (("# EASY-INSTALL-ENTRY-SCRIPT") + (format #f "\ +import sys +sys.path.insert(0, '~a/lib/python~a/site-packages') +# EASY-INSTALL-ENTRY-SCRIPT" + output python-version))))))))) + (properties '()))) + ;;; This older Meson variant is kept for now for gtkmm and others that may ;;; have problems with 0.60. (define-public meson-0.59 =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmGYJ+MACgkQO7C8EjLY uCxKbwv8DT8JsMpOEENYRVL5YMNfEjoXTzCE3EVLlznDcanCeh/KmixaaaiWdvsl ewKUdsxwds0Hod9NL8U/bG8sSeT24cFz2Q/lTqIzekOK78NmhcKHvjatwLKPSgBo W9yeDQ/HPK1puCTd1bGK9Aq9YGfKQmFX6ggoOb5oNWX+eFRfOLZ9hygui7+Lhl+v Ayx3EzzcLR9nK10cA5DczWyh4PwWGBOzmN+BEJSywkCQrFMKYBxLE04LY4pT1CJc OgWUEO+rVK8Viap/N6KvOdfqA5V9T5L9QL28UOr+xhiKevYBnPS7JRC47iRZoU36 DFYh7zRW0GNUhtogShc/dUU63N+a7Y6BiCen8PSFmMAEBLDJzGPeL3+FM59OO0Gf 5WUZ/iTnpajvA8i33NCccIxcOVQUtfOjMrNTM5LZse9cw5u8dLQAv2mvSBkbWRXU ZXs8zz7uWRE5KvTq0lNSgDvKXQqEFJNlr7p20c9zBqqs4jcZbhfkukUownWyb/oI rpCRvUme =OJg8 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 22 12:26:50 2021 Received: (at control) by debbugs.gnu.org; 22 Nov 2021 17:26:50 +0000 Received: from localhost ([127.0.0.1]:48985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpD5e-0004ba-10 for submit@debbugs.gnu.org; Mon, 22 Nov 2021 12:26:50 -0500 Received: from planete-kraus.eu ([89.234.140.182]:53684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpD5c-0004bM-Dg for control@debbugs.gnu.org; Mon, 22 Nov 2021 12:26:49 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 298fbcd4 for ; Mon, 22 Nov 2021 17:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=from :to:subject:date:message-id:mime-version:content-type; s=dkim; bh=0LidRU/ujG8051bF4qJTC5NbnwE=; b=jApdWGJ69z9DrF2cmf7aueXXAwr+ WRvHOy8qrlVl6QbQfPor6z3JCOvlhAp3ZW9lSyvEEALRYcQi4vz15UAq3610gBTv 95FPiu5+Np+4GwcbaFt6LIR4I5lkVz7PZhhiqHAzLWLJcW9iFm0H8pVitWp96ote vE4+QRfdf3rKMCQ= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 57114e3c (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Mon, 22 Nov 2021 17:26:19 +0000 (UTC) From: Vivien Kraus To: control@debbugs.gnu.org Subject: [PATCH] [core-updates-frozen] Wrap meson with python code Date: Mon, 22 Nov 2021 18:25:19 +0100 Message-ID: <874k84ksqo.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 51948 [PATCH] [core-updates-frozen] Wrap meson with python code From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 22 16:44:34 2021 Received: (at 51948-done) by debbugs.gnu.org; 22 Nov 2021 21:44:34 +0000 Received: from localhost ([127.0.0.1]:49295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpH73-0003SR-NK for submit@debbugs.gnu.org; Mon, 22 Nov 2021 16:44:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpH6z-0003SD-F0 for 51948-done@debbugs.gnu.org; Mon, 22 Nov 2021 16:44:32 -0500 Received: from [2001:470:142:3::e] (port=51758 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpH6t-0006vY-NX; Mon, 22 Nov 2021 16:44:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=a4f5NA11F1KUGrzo5hXp3ltND2TZ5RF+KlI6bvUnJNc=; b=GCYdaCYPt3nfMxXUemyq 79fZup+ucK+SyBNh/E0k540uWODB2nEeLBIBnJaCYPhO5DtgRUZkR366RRQCcQwAiAD5BzMLnUg40 A9gA/xaAyIHjUYHi00H6yCBP08YvQsTBNRmGy4RFfMGg0tvqU5nsjHh8+VTG8SPm9jdYkeoWXgogO eSUvbpAPYlr8av8X+BnNqJ6CtDesyb6UiV4rYFb4uHOhXSRT1boHkUIMlRb9dL91qLQJ0hBRChtk0 lwkVMuHINYbGvmpiamdk+VbcZKPxe5EjyFezsj5FJEKR7WDwdAz/NNElkTYV/GX4kJWjYUJMONfix 6KtHkMbTfUqSpA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57081 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpH6t-0008Ih-Fj; Mon, 22 Nov 2021 16:44:23 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vivien Kraus Subject: Re: bug#51948: [PATCH] [core-updates-frozen] Wrap meson with python code References: <87r1bda6ff.fsf@planete-kraus.eu> <8735nsmgqc.fsf@gnu.org> <877dd49rnn.fsf@planete-kraus.eu> <87zgpzhjta.fsf@gnu.org> <8735nrahwc.fsf@planete-kraus.eu> Date: Mon, 22 Nov 2021 22:44:21 +0100 In-Reply-To: <8735nrahwc.fsf@planete-kraus.eu> (Vivien Kraus's message of "Fri, 19 Nov 2021 23:34:19 +0100") Message-ID: <87czmrn9vu.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51948-done Cc: 51948-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Vivien Kraus skribis: > From 3f77d8d5c652725411a21434443cbf2a2d135575 Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Thu, 18 Nov 2021 15:17:52 +0100 > Subject: [PATCH] gnu: meson: Extend the python path in the installed prog= ram. > > * gnu/packages/build-tools.scm (meson-wrapped): New variable. Applied, thanks! As discussed on IRC, I followed up with a patch that moves Python from =E2=80=98propagated-inputs=E2=80=99 (!) to =E2=80=98inputs=E2=80=99 in =E2= =80=98meson-wrapped=E2=80=99. Most likely Python was propagated just for the sake of setting GUIX_PYTHONPATH, but it=E2=80=99s bad style as it forces it into user profiles. Ludo=E2=80=99. From unknown Tue Aug 19 12:51:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 21 Dec 2021 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator