From unknown Sat Jun 21 03:23:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50084 <50084@debbugs.gnu.org> To: bug#50084 <50084@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add waypipe. Reply-To: bug#50084 <50084@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:23:59 +0000 retitle 50084 [PATCH] gnu: Add waypipe. reassign 50084 guix-patches submitter 50084 Robby Zambito severity 50084 normal tag 50084 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 22:34:34 2021 Received: (at submit) by debbugs.gnu.org; 17 Aug 2021 02:34:34 +0000 Received: from localhost ([127.0.0.1]:51227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFovu-0006e1-0M for submit@debbugs.gnu.org; Mon, 16 Aug 2021 22:34:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:46336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFoIa-0005dI-Qa for submit@debbugs.gnu.org; Mon, 16 Aug 2021 21:53:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFoIa-0005Nv-Hh for guix-patches@gnu.org; Mon, 16 Aug 2021 21:53:52 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFoIW-0004gr-RY for guix-patches@gnu.org; Mon, 16 Aug 2021 21:53:52 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 4704CC0003; Tue, 17 Aug 2021 01:53:42 +0000 (UTC) From: Robby Zambito To: guix-patches@gnu.org Subject: [PATCH] gnu: Add waypipe. Date: Mon, 16 Aug 2021 21:53:08 -0400 Message-Id: <20210817015308.353224-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.198; envelope-from=contact@robbyzambito.me; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 16 Aug 2021 22:34:29 -0400 Cc: Robby Zambito 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.6 (--) * gnu/packages/xdisorg.scm (waypipe): New variable. --- gnu/packages/xdisorg.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 71c2ea4cbc..d79f580b47 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -50,6 +50,7 @@ ;;; Copyright © 2021 Niklas Eklund ;;; Copyright © 2021 Nikita Domnitskii ;;; Copyright © 2021 ikasero +;;; Copyright © 2021 Robby Zambito ;;; ;;; This file is part of GNU Guix. ;;; @@ -866,6 +867,33 @@ predefined region or a particular window. Also, it makes it possible to include cursor in the resulting image.") (license license:gpl3+))) +(define-public waypipe + (package + (name "waypipe") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mstoeckl/waypipe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz")))) + (build-system meson-build-system) + ;; One test fails where the program does not exit cleanly given a bad + ;; setup. Not ideal but probably safe to ignore. Check that no other tests + ;; fail before bumping the version. If all tests pass, remove this. + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'check)))) + (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") + (synopsis "Proxy for Wayland protocol applications") + (description "Waypipe is a proxy for Wayland clients, with the aim of +supporting behavior like ssh -X.") + (license license:expat))) + (define-public unclutter (package (name "unclutter") -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 16:56:25 2021 Received: (at 50084) by debbugs.gnu.org; 18 Aug 2021 20:56:25 +0000 Received: from localhost ([127.0.0.1]:57717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGSbl-0006jl-Bo for submit@debbugs.gnu.org; Wed, 18 Aug 2021 16:56:25 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:40865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGSJh-0004Aj-6C for 50084@debbugs.gnu.org; Wed, 18 Aug 2021 16:37:42 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2935F40004; Wed, 18 Aug 2021 20:37:33 +0000 (UTC) From: Robby Zambito To: 50084@debbugs.gnu.org Subject: [PATCH v2] gnu: waypipe: Enable tests. Date: Wed, 18 Aug 2021 16:27:11 -0400 Message-Id: <20210818202710.55244-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210817015308.353224-1-contact@robbyzambito.me> References: <20210817015308.353224-1-contact@robbyzambito.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50084 X-Mailman-Approved-At: Wed, 18 Aug 2021 16:56:19 -0400 Cc: Robby Zambito 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.7 (-) * gnu/packages/xdisorg.scm (waypipe): Don't skip tests. Add dependencies required to run the tests. --- This is my first contribution to guix, I was not aware of how to do what was needed to properly pass the tests for this package. After consulting #guix on IRC, I have believe I have made the necessary changes. gnu/packages/xdisorg.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d79f580b47..ba520d35ae 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -881,13 +881,24 @@ include cursor in the resulting image.") (sha256 (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz")))) (build-system meson-build-system) - ;; One test fails where the program does not exit cleanly given a bad - ;; setup. Not ideal but probably safe to ignore. Check that no other tests - ;; fail before bumping the version. If all tests pass, remove this. (arguments `(#:phases (modify-phases %standard-phases - (delete 'check)))) + (add-after 'unpack 'fix-sleep-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (coreutils (assoc-ref inputs "coreutils"))) + (substitute* "./test/startup_failure.py" + (("sleep") + (string-append coreutils "/bin/sleep"))) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (inputs + ;; For tests + `(("python" ,python) + ("coreutils" ,coreutils))) (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") (synopsis "Proxy for Wayland protocol applications") (description "Waypipe is a proxy for Wayland clients, with the aim of -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 18:57:19 2021 Received: (at 50084) by debbugs.gnu.org; 18 Aug 2021 22:57:19 +0000 Received: from localhost ([127.0.0.1]:57772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGUUl-0003LD-47 for submit@debbugs.gnu.org; Wed, 18 Aug 2021 18:57:19 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]:50658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGUUe-0003Ks-10 for 50084@debbugs.gnu.org; Wed, 18 Aug 2021 18:57:14 -0400 Date: Wed, 18 Aug 2021 22:56:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1629327421; bh=YKAOTt1kou8HkGbtxf9+dJvBWWRRrcr3rCQ7IzFrcak=; h=Date:To:From:Reply-To:Subject:From; b=fdWsh9ZaxGuAqPZE2s+W23hwNeSeU/XUT1YGpAKU2mgbnm9KKqWjNna7kLP1Cgbn/ 6aL0R5cbc3pYBz3Gmc929nRot3J32LhECmWhic1pGZ0vEa6HLr6BWYWfToGAfpiWRS PDjO5h1plWFvcZj04QL7rzn8QExNSOanCJEWYZiklofFC6KdTs5qOd6Qfzr/QBISLo KezfdhHnvvlBPd4E9UJ2oy64D6IaxTpxQ0/jwOXMM7K/9X8wAZXxGTfYjjZatG+Ngc TzcJmF39yLY8QI32gu8kRmgyqhFTxoME+m/29pLGfrUpC5KBrew9MGPpRoPg1KBJka wIp1XWJ8Rt1xQ== To: "50084@debbugs.gnu.org" <50084@debbugs.gnu.org> From: "Paul A. Patience" Subject: Re: [PATCH] gnu: Add waypipe. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50084 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: , Reply-To: "Paul A. Patience" Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, > + (add-after 'unpack 'fix-sleep-path > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out")) out is not used anywhere, so you can remove it, along with the outputs argument of the lambda. > + (coreutils (assoc-ref inputs "coreutils"))) > + (substitute* "./test/startup_failure.py" > + (("sleep") > + (string-append coreutils "/bin/sleep"))) > + #t)))))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("scdoc" ,scdoc))) > + (inputs > + ;; For tests > + `(("python" ,python) > + ("coreutils" ,coreutils))) I haven't tried building this or anything, but if python and coreutils are really only needed for tests, then they need not be in inputs (and the fact that the initial version of this patch didn't have them at all supports this thesis). In other words, I'd put everything in native-inputs. Also (and this is really minor), arguments normally follows the inputs sections. Best regards, Paul From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 22:13:31 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 02:13:31 +0000 Received: from localhost ([127.0.0.1]:57840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGXYd-00080p-3A for submit@debbugs.gnu.org; Wed, 18 Aug 2021 22:13:31 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:24471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGXYX-00080U-KS for 50084@debbugs.gnu.org; Wed, 18 Aug 2021 22:13:26 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 1E60A240003; Thu, 19 Aug 2021 02:13:13 +0000 (UTC) From: Robby Zambito To: 50084@debbugs.gnu.org Subject: [PATCH v3] gnu: waypipe: Clean up phases and dependencies. Date: Wed, 18 Aug 2021 22:02:35 -0400 Message-Id: <20210819020234.642522-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210818202710.55244-1-contact@robbyzambito.me> References: <20210818202710.55244-1-contact@robbyzambito.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50084 Cc: paul@apatience.com, Robby Zambito 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.7 (-) * gnu/packages/xdisorg.scm (waypipe)[arguments]: Remove unused argument from fix-sleep-path phase. [native-inputs]: Add python, coreutils. [inputs]: Remove python, coreutils. --- Paul, Thank you for the tips. I've removed the unused outputs argument, as well as the out variable. I'm a bit confused as to why test dependencies are supposed to be native-inputs. Aren't the tests run on the target architecture, not the build machine architecture? And aren't native-inputs built for the build machine architecture? I cross compiled the package for armhf-linux and aarch64-linux and it built and tested fine with the changes you suggested, but I also did the same with how I had it previously. Sincerely, Robby gnu/packages/xdisorg.scm | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ba520d35ae..f5b041a590 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -885,19 +885,15 @@ include cursor in the resulting image.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-sleep-path - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (coreutils (assoc-ref inputs "coreutils"))) + (lambda* (#:key inputs #:allow-other-keys) + (let ((coreutils (assoc-ref inputs "coreutils"))) (substitute* "./test/startup_failure.py" - (("sleep") - (string-append coreutils "/bin/sleep"))) - #t)))))) + (("sleep") (string-append coreutils "/bin/sleep"))))))))) (native-inputs `(("pkg-config" ,pkg-config) - ("scdoc" ,scdoc))) - (inputs - ;; For tests - `(("python" ,python) + ("scdoc" ,scdoc) + ;; For tests + ("python" ,python) ("coreutils" ,coreutils))) (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") (synopsis "Proxy for Wayland protocol applications") -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 00:04:48 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 04:04:48 +0000 Received: from localhost ([127.0.0.1]:57918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGZIJ-0004RB-L1 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 00:04:47 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:12300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGZIC-0004Qn-Ik for 50084@debbugs.gnu.org; Thu, 19 Aug 2021 00:04:41 -0400 Date: Thu, 19 Aug 2021 04:04:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1629345869; bh=7838yabfGjyK/3xsvNZklTwVO1+cp8if5Aj/bcsyBzE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gEgWOdSDCeZX++6bV8Env13sr3FlNxXrvg8LvPqKaFC1sWnPpa4g35zs6lOc4NfDl rS0we7PB1B8k9qqTaWKiY8FJrGinKY2FrTDOV+/r0S9q872QFGfEAo/AY3sBzJ5m3/ o2eWAyOqGjPGYnnAN08VhmIOpgnvhAs6OuxtRG0ie3aLsEzOyNgJBgltVB3IHBeQXx WD+SR2wOluieY60yyqDkA/5nHji6TLTTbhDaTvgjtx2vEcYzi6ilkd2Hgti6QvtZhq OAvemm6aNkd5FLQADM3Mc1F/gy2BTczVGmAXXhXutB8i08wAsc9EHCZhybP3SlID6W NpQV4qe0m51Eg== To: Robby Zambito From: "Paul A. Patience" Subject: Re: [PATCH v3] gnu: waypipe: Clean up phases and dependencies. Message-ID: <0_3aaZdQOyW0x0cY_qfhu-GiM_BUiQzfo2SH3bQ6rSo0r5t2tl980g9DPYC2S9QFEcRnB_U9CiQp1qoZHkQ_kqxSS1OIBTHNJTmE4S1oCaA=@apatience.com> In-Reply-To: <20210819020234.642522-1-contact@robbyzambito.me> References: <20210818202710.55244-1-contact@robbyzambito.me> <20210819020234.642522-1-contact@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50084 Cc: 50084@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: , Reply-To: "Paul A. Patience" Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wednesday, August 18th, 2021 at 22:02, Robby Zambito wrote: > I'm a bit confused as to why test dependencies are supposed to be > native-inputs. Aren't the tests run on the target architecture, not the > build machine architecture? And aren't native-inputs built for the build > machine architecture? You might be right. I haven't yet done any cross compiling with Guix yet, so I don't know much = about it. I'll have to let someone with more knowledge comment on this. Best regards, Paul From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 11:24:29 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 15:24:29 +0000 Received: from localhost ([127.0.0.1]:60657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGju9-0007te-At for submit@debbugs.gnu.org; Thu, 19 Aug 2021 11:24:29 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:58860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGju7-0007tU-3G for 50084@debbugs.gnu.org; Thu, 19 Aug 2021 11:24:28 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id jTQQ2500P0mfAB401TQRwm; Thu, 19 Aug 2021 17:24:25 +0200 Message-ID: <08627decd152bee69410912cf5ac139af47dcee7.camel@telenet.be> Subject: Re: [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies. From: Maxime Devos To: Robby Zambito , 50084@debbugs.gnu.org Date: Thu, 19 Aug 2021 17:24:09 +0200 In-Reply-To: <20210819020234.642522-1-contact@robbyzambito.me> References: <20210818202710.55244-1-contact@robbyzambito.me> <20210819020234.642522-1-contact@robbyzambito.me> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VW4x4wRvMXvAd4wVMDon" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629386665; bh=bO3PS0Oq81X61+laUUxiNivdWH+oR/o+TVSDmYdyh2Q=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Okknr13qbS963VI2okecLlgIWYiEWiXP4FlfSZuV6dqGaz/suabVB2ZO6651/1aOO ejRFA59jrXtOY2I3X2+QNHIWE76rROrxpuFApNdpwUqamEdwCtqEMcnKlFgqXM0OUp Nd4FvrFNS8It+p6P+zL3VjqoA8f23lVNLwJvGK19CVfFqciaX3HROw33dhoz1r6ekm EbHZ1Gy803+HC8X089fEMmCe5tZCHIEg54bKBCokbC3UR1CzZYONI7SaA6D4dGDArZ eUQQFhPt+GFgEsSwZD7RIaA324q4EfGF/x1SQRbKj1xPm8D+1DSyEf9ZfJ1Sj+wZEz zrtp9Hh9MUPNg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50084 Cc: paul@apatience.com 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.7 (-) --=-VW4x4wRvMXvAd4wVMDon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Robby Zambito schreef op wo 18-08-2021 om 22:02 [-0400]: > * gnu/packages/xdisorg.scm (waypipe)[arguments]: Remove unused > argument from fix-sleep-path phase. > [native-inputs]: Add python, coreutils. > [inputs]: Remove python, coreutils. > --- > Paul, >=20 > Thank you for the tips. I've removed the unused outputs argument, as > well as the out variable. >=20 > I'm a bit confused as to why test dependencies are supposed to be > native-inputs. Aren't the tests run on the target architecture, not the > build machine architecture? And aren't native-inputs built for the build > machine architecture? By default, tests are never run when cross-compiling, so putting test dependencies in 'native-inputs' works in practice. Theoretically, putting test dependencies in 'inputs' might be cleaner, especially if at some point Guix supports testing cross-compiled packages (maybe the build directory could be copied to a "worktree" output or something, and guix could provide a command to test the cross-compiled binaries on the machine that was cross-compiled for or something). Nevertheless, test dependencies tend to be put in 'native-input' anyways. This has a practical reason (*): not all build systems support cross-compilation. E.g., the build system 'meson', used by 'glib', doesn't support cross-compilation on 'master' (it does on 'core-updates-frozen' tho= ugh), so packages that (indirectly) have 'glib' as 'input' cannot be an 'input'. (*) not necessarily the reason people originally had in mind.=20 > I cross compiled the package for armhf-linux and aarch64-linux and it > built and tested fine with the changes you suggested, but I also did the Are you sure it tested? Unless qemu transparent emulation is enabled (see =E2=80=98Transparent Emulation with QEMU=E2=80=99 in the manual) that = cannot happen. Greetings, Maxime. --=-VW4x4wRvMXvAd4wVMDon Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYR53mRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lNnAQCYztjHjj8wOCvV6np2hGGlEfEu K6rQIIyrcHCtgpmBHwD/X1PYQ9SYjkpvYT8hIrcd2snutjulXB00RTh6/DfhpQs= =hDb2 -----END PGP SIGNATURE----- --=-VW4x4wRvMXvAd4wVMDon-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 15:58:54 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 19:58:54 +0000 Received: from localhost ([127.0.0.1]:60831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGoBi-0004Ri-0E for submit@debbugs.gnu.org; Thu, 19 Aug 2021 15:58:54 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:18289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGoBf-0004RR-Bx for 50084@debbugs.gnu.org; Thu, 19 Aug 2021 15:58:52 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 93C64240002; Thu, 19 Aug 2021 19:58:43 +0000 (UTC) Date: Thu, 19 Aug 2021 15:58:33 -0400 From: Robby Zambito To: Maxime Devos , 50084@debbugs.gnu.org Subject: Re: [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies. Message-ID: <20210819195833.f66ibk22754dmo74@robby-Ryzen-RX-PC.localdomain> References: <20210818202710.55244-1-contact@robbyzambito.me> <20210819020234.642522-1-contact@robbyzambito.me> <08627decd152bee69410912cf5ac139af47dcee7.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <08627decd152bee69410912cf5ac139af47dcee7.camel@telenet.be> X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Maxime, Thank you for the insight. > > I cross compiled the package for armhf-linux and aarch64-linux and it > > built and tested fine with the changes you suggested, but I also did the > > Are you sure it tested? Unless qemu transpare [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.5 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not From X-Debbugs-Envelope-To: 50084 Cc: paul@apatience.com 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: , Reply-To: 08627decd152bee69410912cf5ac139af47dcee7.camel@telenet.be Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Maxime, Thank you for the insight. > > I cross compiled the package for armhf-linux and aarch64-linux and it > > built and tested fine with the changes you suggested, but I also did the > > Are you sure it tested? Unless qemu transparent emulation is enabled > (see ‘Transparent Emulation with QEMU’ in the manual) that cannot happen. I just ran it again to be sure, and yes. I did set up QEMU for building on other architectures. I suppose this means QEMU is being used for the 'native-inputs', which is a little confusing but I guess it makes sense :D With the current state of these patches it follows the practice of putting the test dependencies in the native-inputs. If there is anything else that is needed before this can be merged I will be happy to make it happen! Sincerely, Robby From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 17:13:37 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 21:13:37 +0000 Received: from localhost ([127.0.0.1]:60859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGpM1-0006OT-4z for submit@debbugs.gnu.org; Thu, 19 Aug 2021 17:13:37 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:33646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGpLy-0006OK-MQ for 50084@debbugs.gnu.org; Thu, 19 Aug 2021 17:13:35 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id jZDY2500Q0mfAB406ZDZEX; Thu, 19 Aug 2021 23:13:33 +0200 Message-ID: Subject: Re: [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies. From: Maxime Devos To: 50084@debbugs.gnu.org Date: Thu, 19 Aug 2021 23:13:32 +0200 In-Reply-To: <20210819195833.f66ibk22754dmo74@robby-Ryzen-RX-PC.localdomain> References: <20210818202710.55244-1-contact@robbyzambito.me> <20210819020234.642522-1-contact@robbyzambito.me> <08627decd152bee69410912cf5ac139af47dcee7.camel@telenet.be> <20210819195833.f66ibk22754dmo74@robby-Ryzen-RX-PC.localdomain> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-rcLmYCRADxLLp0DW4KXF" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629407613; bh=E5FfSKbJXnWWqJNbaijUfebWVd3fD9RCGUlVFcJmYA8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mIOyTVNeErhfltBtHfTgrnIosVaoIXlnJXIYCJP5X9vzo7uI3YJiVtrd7slVZrzWN /5zZut+4/fneJ2x5/M0IVL1JaPDVCX9ngflbpFPsjlGmVnwqODqcGV/vfu68m5HXOR bbbT3cal4dKt4ZeM4PeSlyxxTWz5WoQY3657eaCiIIXGV89X9tu3ejxw8sVoez99Db ER/nXSo2zm/fY5mWrA4wo1SXeVLENWZvLaQFJSF1kxS5n22cFIq31g8pl+0LdyioDV mSPZ+bAcRPpKWuzT8gr8gYQSbsAnN3Avidg8BkBKUiFkj7vBhEqKNH9v+KBHgOOql0 DPRpULMdi5BHQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50084 Cc: paul@apatience.com 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.7 (-) --=-rcLmYCRADxLLp0DW4KXF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Robby Zambito schreef op do 19-08-2021 om 15:58 [-0400]: > Hi Maxime, >=20 > Thank you for the insight.=20 >=20 > > > I cross compiled the package for armhf-linux and aarch64-linux and it > > > built and tested fine with the changes you suggested, but I also did = the > >=20 > > Are you sure it tested? Unless qemu transparent emulation is enabled > > (see =E2=80=98Transparent Emulation with QEMU=E2=80=99 in the manual) t= hat cannot happen. >=20 > I just ran it again to be sure, and yes. I did set up QEMU for building > on other architectures. I suppose this means QEMU is being used for the > 'native-inputs', which is a little confusing but I guess it makes sense > :D It is impossible to cross-compile waypipe on master, because meson-build-system does not support cross-compilation (on master). # replace 'glib' with 'waypipe' $ LC_ALL=3DC guix build glib --target=3Darm-linux-gnueabihf guix build: error: gnu/packages/glib.scm:425:2: glib@2.62.6: build system `= meson' does not support cross builds What branch are you on? Also, what arguments did you pass to "guix build"? You need --target=3Darm-linux-gnueabihf for cross-compilation, not --system=3Darmhf-linux. The latter is for offloading to an armhf machine or a QEMU emulated build. Greetings, Maxime. --=-rcLmYCRADxLLp0DW4KXF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iIwEABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYR7JfBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pZBAQDERNImKZYS4Orc/fdqvr3lDjX2 rtdSz5I53i5i407O8gD40GyAzakaDvvrlh0DrjzXBsYn7xNvUWx+b7kA6lnaCg== =kzfr -----END PGP SIGNATURE----- --=-rcLmYCRADxLLp0DW4KXF-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 18:11:27 2021 Received: (at 50084) by debbugs.gnu.org; 19 Aug 2021 22:11:27 +0000 Received: from localhost ([127.0.0.1]:60906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGqFy-0007lJ-T0 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 18:11:27 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:57925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGqFw-0007l4-BI for 50084@debbugs.gnu.org; Thu, 19 Aug 2021 18:11:25 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay10.mail.gandi.net (Postfix) with ESMTPSA id A5956240002; Thu, 19 Aug 2021 22:11:16 +0000 (UTC) Date: Thu, 19 Aug 2021 18:11:08 -0400 From: Robby Zambito To: Maxime Devos , 50084@debbugs.gnu.org Subject: Re: [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies. Message-ID: <20210819221108.yblyf5n72km2yaof@robby-Ryzen-RX-PC.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Maxime, > It is impossible to cross-compile waypipe on master, because > meson-build-system does not support cross-compilation (on master). > > # replace 'glib' with 'waypipe' > $ LC_ALL=C guix build glib --t [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.178.230 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.5 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not From X-Debbugs-Envelope-To: 50084 Cc: paul@apatience.com 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: , Reply-To: af81b1f0c615cfe22ce28377ffc3f2a3e92364c4.camel@telenet.be Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Maxime, > It is impossible to cross-compile waypipe on master, because > meson-build-system does not support cross-compilation (on master). > > # replace 'glib' with 'waypipe' > $ LC_ALL=C guix build glib --target=arm-linux-gnueabihf > guix build: error: gnu/packages/glib.scm:425:2: glib 2.62.6: build > system `meson' does not support cross builds You are correct, I am not actually able to cross compile. I was confusing the virtualized build with cross-compiling. > What branch are you on? master > Also, what arguments did you pass to "guix build"? > You need --target=arm-linux-gnueabihf for cross-compilation, > not --system=armhf-linux. The latter is for offloading to an armhf > machine or a QEMU emulated build. --target does not work, --system does. Sincerely, Robby From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 21:56:13 2021 Received: (at 50084) by debbugs.gnu.org; 30 Aug 2021 01:56:13 +0000 Received: from localhost ([127.0.0.1]:57834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKWWu-0004WI-Fw for submit@debbugs.gnu.org; Sun, 29 Aug 2021 21:56:13 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:33283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKWWp-0004Vk-92 for 50084@debbugs.gnu.org; Sun, 29 Aug 2021 21:56:07 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 1528C1BF204; Mon, 30 Aug 2021 01:55:55 +0000 (UTC) From: Robby Zambito To: 50084@debbugs.gnu.org Subject: [PATCH] gnu: Add waypipe. Date: Sun, 29 Aug 2021 21:54:01 -0400 Message-Id: <20210830015400.244302-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50084 Cc: Robby Zambito 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 (-) * gnu/packages/freedesktop.scm (waypipe): New variable. --- gnu/packages/freedesktop.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 693a79c738..f2e00ebba9 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2020 Raghav Gururajan ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 pineapples +;;; Copyright © 2021 Robby Zambito ;;; ;;; This file is part of GNU Guix. ;;; @@ -2434,3 +2435,38 @@ seeks to add support for the screenshot, screencast, and possibly remote-desktop @code{xdg-desktop-portal} interfaces for wlroots based compositors.") (license license:expat))) + +(define-public waypipe + (package + (name "waypipe") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mstoeckl/waypipe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz")))) + (build-system meson-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-sleep-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((coreutils (assoc-ref inputs "coreutils"))) + (substitute* "./test/startup_failure.py" + (("sleep") (string-append coreutils "/bin/sleep"))))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc) + ;; For tests + ("python" ,python) + ("coreutils" ,coreutils))) + (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") + (synopsis "Proxy for Wayland protocol applications") + (description + "Waypipe is a proxy for Wayland clients, with the aim of +supporting behavior like ssh -X.") + (license license:expat))) -- 2.33.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 21:59:04 2021 Received: (at 50084) by debbugs.gnu.org; 30 Aug 2021 01:59:04 +0000 Received: from localhost ([127.0.0.1]:57838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKWZk-0004aR-C6 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 21:59:04 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:52237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKWZh-0004Zv-9s for 50084@debbugs.gnu.org; Sun, 29 Aug 2021 21:59:02 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 6C531100002 for <50084@debbugs.gnu.org>; Mon, 30 Aug 2021 01:58:53 +0000 (UTC) Date: Sun, 29 Aug 2021 21:58:46 -0400 From: Robby Zambito To: 50084@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add waypipe. Message-ID: <20210830015846.4hcymqvsu44zhy3m@robby-Ryzen-RX-PC.localdomain> References: <20210830015400.244302-1-contact@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210830015400.244302-1-contact@robbyzambito.me> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50084 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 (-) I apologize for being messy with this patch. I realized after poking around more that this package would probably fit better under the freedesktop module. My most recent patch should be able to be applied without any of the previous ones I sent. I hope this is good now! Thanks, Robby From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 05:15:26 2021 Received: (at 50084-done) by debbugs.gnu.org; 6 Sep 2021 09:15:26 +0000 Received: from localhost ([127.0.0.1]:51836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNAis-0006gh-80 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 05:15:26 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:48405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNAiq-0006ZD-NS for 50084-done@debbugs.gnu.org; Mon, 06 Sep 2021 05:15:25 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B73E8200005; Mon, 6 Sep 2021 09:15:18 +0000 (UTC) From: Nicolas Goaziou To: Robby Zambito Subject: Re: [bug#50084] [PATCH] gnu: Add waypipe. References: <20210817015308.353224-1-contact@robbyzambito.me> <20210830015400.244302-1-contact@robbyzambito.me> Date: Mon, 06 Sep 2021 11:15:17 +0200 In-Reply-To: <20210830015400.244302-1-contact@robbyzambito.me> (Robby Zambito's message of "Sun, 29 Aug 2021 21:54:01 -0400") Message-ID: <87lf4aawuy.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50084-done Cc: 50084-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: -1.0 (-) Hello, Robby Zambito writes: > * gnu/packages/freedesktop.scm (waypipe): New variable. Applied. Thank you. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 07 17:13:15 2021 Received: (at 50084) by debbugs.gnu.org; 7 Sep 2021 21:13:15 +0000 Received: from localhost ([127.0.0.1]:57950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNiP5-0004QK-A1 for submit@debbugs.gnu.org; Tue, 07 Sep 2021 17:13:15 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:51560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNiP2-0004QA-Fn for 50084@debbugs.gnu.org; Tue, 07 Sep 2021 17:13:13 -0400 Received: from butterfly.local ([213.119.219.143]) by andre.telenet-ops.be with bizsmtp id r9D92500N36Djbp019DA76; Tue, 07 Sep 2021 23:13:10 +0200 Message-ID: <74368391c4c5ddee6ddde4a908f15c52f1a543e7.camel@telenet.be> Subject: Re: [bug#50084] [PATCH] gnu: Add waypipe. From: Maxime Devos To: Robby Zambito , 50084@debbugs.gnu.org Date: Tue, 07 Sep 2021 23:13:04 +0200 In-Reply-To: <20210830015400.244302-1-contact@robbyzambito.me> References: <20210817015308.353224-1-contact@robbyzambito.me> <20210830015400.244302-1-contact@robbyzambito.me> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LaELIPKiOHHHpKlOa4t8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1631049190; bh=pHfHjxx2Xeb6yxc5Ck7RbgsaHcbMGw9ZkIoi91ZPvj0=; h=Subject:From:To:Date:In-Reply-To:References; b=aEn9C0+idOJyy5TNCr39pZrJF4c/i9UKHSFL5U1wPGOL1Ge59oeXSOMW8kajZClRo 8CgPfXYYqKgMZTw+abZk8YX9kNeVNhN+ywexpCCrjhsbc85rI9eRv/eGvaEFwW9Fse pEdve/+758tq+cIZtfxC03EmAb2pAkbBDmxcMxfTybfaVnXU/CRiS6IoL0qLNByYKD fRnfBVoF8m3iElaKGY2RmWuHYGO6U42UTYO7QQFfq1znbD55EaX0fqFsXiGr6F8XaQ K1HzlRvjlJyXUYFjEy2cDJ7x276xc0YEuiSHycLc5E3TOIiAhe0TF38b2NpAJ8UegI Epbbi4iN7e5qg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50084 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.7 (-) --=-LaELIPKiOHHHpKlOa4t8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'fix-sleep-path > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((coreutils (assoc-ref inputs "coreutils"))) coreutils is in native-inputs, not inputs, so this needs to be: (assoc-ref (or native-inputs inputs) "coreutils"). (native-inputs and inputs are appended together when compiling natively, that's why this didn't cause a build error). > + (substitute* "./test/startup_failure.py" > + (("sleep") (string-append coreutils "/bin/sleep")))))))= )) You can write (("sleep") (which "sleep")) here. > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("scdoc" ,scdoc) > + ;; For tests > + ("python" ,python) > + ("coreutils" ,coreutils))) FWIW, coreutils is an implicit native-input of meson-build-system, so this input isn't necessary. Greetings, Maxime. --=-LaELIPKiOHHHpKlOa4t8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYTfV4BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pZ6AP9corRtKhHVFii+nneixr9nnx1I yVVE1KNXBZBWXUjP9AD9GIort59Eo2/U2ZARKfvrGfaGxxXQxI0CSbmfy0zVrgM= =H6X5 -----END PGP SIGNATURE----- --=-LaELIPKiOHHHpKlOa4t8-- From unknown Sat Jun 21 03:23:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Oct 2021 11:24:12 +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