GNU bug report logs - #52799
[PATCH] gnu: guile-udev: Update to 0.2.1

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: poptsov.artyom@HIDDEN (Artyom V. Poptsov); Keywords: patch; dated Sun, 26 Dec 2021 08:31:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 52799 <at> debbugs.gnu.org:


Received: (at 52799) by debbugs.gnu.org; 26 Dec 2021 15:23:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 26 10:23:38 2021
Received: from localhost ([127.0.0.1]:41300 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n1VN4-0006lm-I7
	for submit <at> debbugs.gnu.org; Sun, 26 Dec 2021 10:23:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1n1VMz-0006lR-Lq
 for 52799 <at> debbugs.gnu.org; Sun, 26 Dec 2021 10:23:37 -0500
Received: from [2001:470:142:3::e] (port=55764 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 <othacehe@HIDDEN>)
 id 1n1VMu-0005wF-Dc; Sun, 26 Dec 2021 10:23:28 -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=66u6zZF0G6Ozg1SKZkbHnuddT9616qyYhhg9o2iVC64=; b=f/TiCxnpxkNXoBi458S+
 B317iFwnuGzAFGADZSCssM1OtkmtbXYzygbxvM6Rfh+SDb7j/91M+tjlWJ4yn/mg9+/EuBdanrP7r
 7zI39XiTxOpNyC1l5d9YlbLu8k6JaZM8K0oXwiVLnxHMdxxFWT5Giae5qccEpK8rMhTcjnsTXdFZQ
 xjc57sxbRSd5K2RjmXyiN3RT1q62FPDCQKQ3RUOCq1sW63N+Ru0GT3DuPKPA5SRLiTwWRquJOQ3cL
 TwqiUqlMxoOv38wBPZDF7r4Qnv9mwwgoq1pT+T9b3Mjtxp9ZXcnLDBzrlqW376f9aKHJRHIJxiBIL
 4xj/XTZHaKAtGg==;
Received: from [2a01:cb18:832e:5f00:3563:417e:2a38:86d8] (port=48416
 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1n1VMu-0008Ca-Ff; Sun, 26 Dec 2021 10:23:28 -0500
From: Mathieu Othacehe <othacehe@HIDDEN>
To: poptsov.artyom@HIDDEN (Artyom V. Poptsov)
Subject: Re: [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1
References: <874k6v6a54.fsf@HIDDEN>
Date: Sun, 26 Dec 2021 16:23:26 +0100
In-Reply-To: <874k6v6a54.fsf@HIDDEN> (Artyom V. Poptsov's message of "Sun, 
 26 Dec 2021 11:30:31 +0300")
Message-ID: <87h7avqtjl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52799
Cc: 52799 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hey Artyom,

You may prefer to use AC_PATH_PROG to locate guile_snarf, you can have a
look the configure.ac file of Guile-Avahi for instance.

> +     `(#:phases (modify-phases %standard-phases
> +                  (add-after 'unpack 'patch
> +                    (lambda* (#:key inputs outputs #:allow-other-keys)
> +                      (substitute* "build-aux/am/snarf"
> +                        (("\\$\\(shell whereis guile-snarf \\| cut -d' ' -f2\\)")
> +                         (format #f "~a/bin/guile-snarf"
> +                                 (assoc-ref inputs "guile")))))))))

Otherwise, outputs seems to be unused in this snippet. We also now try
to avoid relying on inputs labels. So using "search-input-file" or
(string-append #$(this-package-input guile) "/bin/snarf") would be
preferred.

You can have a look to:
https://guix.gnu.org/en/blog/2021/the-big-change/ for more details.

Thanks,

Mathieu




Information forwarded to guix-patches@HIDDEN:
bug#52799; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Dec 2021 08:30:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 26 03:30:45 2021
Received: from localhost ([127.0.0.1]:40191 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n1OvV-0000nx-IH
	for submit <at> debbugs.gnu.org; Sun, 26 Dec 2021 03:30:45 -0500
Received: from lists.gnu.org ([209.51.188.17]:33440)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <poptsov.artyom@HIDDEN>) id 1n1OvT-0000np-J3
 for submit <at> debbugs.gnu.org; Sun, 26 Dec 2021 03:30:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:53964)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1n1OvS-0006Wh-4L
 for guix-patches@HIDDEN; Sun, 26 Dec 2021 03:30:43 -0500
Received: from [2a00:1450:4864:20::12f] (port=45936
 helo=mail-lf1-x12f.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1n1OvO-0003Zv-AD
 for guix-patches@HIDDEN; Sun, 26 Dec 2021 03:30:41 -0500
Received: by mail-lf1-x12f.google.com with SMTP id u13so28035403lff.12
 for <guix-patches@HIDDEN>; Sun, 26 Dec 2021 00:30:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=kTwJBEyihIebzRtmwinx2EslX1dznQrwDCbJm+/I1wo=;
 b=VmRXassauO6lCeit+atxkOjm/spDnhGQBth2rSuz8OC/SnraVyB2OyROBnhdw4GeWL
 6rabhEoWzFlZeZwo3QdYzKiBR6pzmycMB1Zo4nTkHJP0JfW0ijnFGk9UQefc04yy7jNO
 slBUfkKin3S83eXxa6h0O0kLbpL+5iZ5IHGMQDQGskQcWtFDhgZ2czePsUMxmyrDEVe1
 W7MUsfDnp4DTBmAs3OQ1xNjumfEYfGWuSFhSTFWVKGz2s+GyG/IhPyo3d65ehm8YBXOs
 KwQiew5cOs+qOQ+7JFM+ZE+/3QJf6MNqpw1wSZjGNTszaJm5BtdVqWxb931iByCyzZJk
 +rCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=kTwJBEyihIebzRtmwinx2EslX1dznQrwDCbJm+/I1wo=;
 b=TtfNJHUTuz8xyErfVO3JcIN9aP4ZrwG+uhHkjYdt0P8xRCyNQy9ezmLmV+mafLEhPY
 k+97W999XpcwpczHYN3vL1po3zzdmthY5l9REZQCHF7Quc0kzIDtMO4bFbMURgoWQqXb
 Ak/WcdaNXhm0U1BjPqdP1iWZaobOABjNO4PV9++VanSgO3yvlns5jxxO53IzN/0MUi53
 dxRGlsIZM7iB82E/eONTIAaNwFf185GYtT1SRMIw/rpslMhvu28/yj+gGSDnJmDP9UDU
 /iXWfHkSY6T8DKz5aW2CTpvqS0XSHuIRZ5Towp8jRecds/bmlRZsA8ICCLf9ee6PmUvG
 N3+w==
X-Gm-Message-State: AOAM533A1clNJWpGEPsY03SokicZomH1Vc9dzlv/Yt2gDhRnoW+sK22E
 ceoEizUjK8fn8ezmu4GTlGXtPzcnI7k=
X-Google-Smtp-Source: ABdhPJyazMYqGZ5TOu4402IgFhuuERSp0QLY0YjktSgOqkQ0D53unfsB1S23WDrzE6zneqvFn+/d6Q==
X-Received: by 2002:a05:6512:33c9:: with SMTP id
 d9mr5841173lfg.516.1640507435698; 
 Sun, 26 Dec 2021 00:30:35 -0800 (PST)
Received: from elephant ([5.164.193.196])
 by smtp.gmail.com with ESMTPSA id g11sm1307774lfr.249.2021.12.26.00.30.34
 for <guix-patches@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 26 Dec 2021 00:30:35 -0800 (PST)
From: poptsov.artyom@HIDDEN (Artyom V. Poptsov)
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: guile-udev: Update to 0.2.1
Date: Sun, 26 Dec 2021 11:30:31 +0300
Message-ID: <874k6v6a54.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12f
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::12f;
 envelope-from=poptsov.artyom@HIDDEN; helo=mail-lf1-x12f.google.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

Hello Guixers,

this patch updates Guile-Udev[1] to version 0.2.1.

- Artyom

References:
1: https://github.com/artyom-poptsov/guile-udev


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-gnu-guile-udev-Update-to-0.2.1.patch
Content-Transfer-Encoding: quoted-printable

From=20d852515e19ee338173c35ebdc555d83825cb835a Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
Date: Sun, 26 Dec 2021 11:26:44 +0300
Subject: [PATCH] gnu: guile-udev: Update to 0.2.1

* gnu/packages/guile-xyz.scm (guile-udev): Update to 0.2.1.
=2D--
 gnu/packages/guile-xyz.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8346d99996..b873e5ae08 100644
=2D-- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1865,7 +1865,7 @@ users and in some situations.")
 (define-public guile-udev
   (package
     (name "guile-udev")
=2D    (version "0.2.0")
+    (version "0.2.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1874,8 +1874,16 @@ users and in some situations.")
               (file-name (git-file-name name version))
               (sha256
                (base32
=2D                "037md1sg7bgsa4478hz1dbsivsxzdnl5acadlrsh4ds2yxbsb5jp"))=
))
+                "1wddzisgvgxk7ldcgbhpzgprkg77w8cng3lmpppdh9x1hl71x52g"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'patch
+                    (lambda* (#:key inputs outputs #:allow-other-keys)
+                      (substitute* "build-aux/am/snarf"
+                        (("\\$\\(shell whereis guile-snarf \\| cut -d' ' -=
f2\\)")
+                         (format #f "~a/bin/guile-snarf"
+                                 (assoc-ref inputs "guile")))))))))
     (native-inputs
      (list autoconf
            automake
=2D-=20
2.25.1


--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

=2D-=20
Artyom "avp" Poptsov <poptsov.artyom@HIDDEN>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmHIKCcACgkQ6cWi2QiY
oC9H8wf+Oz819ZCNsfLDiYnBIawwrk3N42LVXH+w9n/2FB+pUkzPUWwktIDD44wh
E+vWJdv45YgpkP+czgF7rIqWhdQ7ntcMkNr1CVtknNbQRoCNUB0hTG2q4od48NHO
sXx/pDQ1k/TFo0rs8a35t7xxE7W3n8ZTI0biJDxErXoCsv5MnO41K8cwujVpzC/Q
bk8VfvJYe48Kzvkz879aETfYYlFCsvdRmbSkq8EbQXtNITUqVKHPErVyEhB//NQL
CYuPbFa0oYAn7rfq6VB1OQ26Upvi96DO1mQK3VhTdY8uaJ75wSIqTwPchDa9qZfy
zYLxztEy8W7hTgCHvjcHQJCy5cShww==
=qSW2
-----END PGP SIGNATURE-----
--==-=-=--




Acknowledgement sent to poptsov.artyom@HIDDEN (Artyom V. Poptsov):
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#52799; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 26 Dec 2021 15:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.