[PATCH] gnu: guile-udev: Update to 0.2.1

  • Done
  • quality assurance status badge
Details
3 participants
  • Brice Waegeneire
  • Mathieu Othacehe
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal

Debbugs page

Artyom V. Poptsov wrote 3 years ago
(address . guix-patches@gnu.org)
874k6v6a54.fsf@gmail.com
Hello Guixers,

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

- Artyom

References:
From d852515e19ee338173c35ebdc555d83825cb835a Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
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.
---
gnu/packages/guile-xyz.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

Toggle diff (33 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8346d99996..b873e5ae08 100644
--- 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")
- (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
- "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
--
2.25.1
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----

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

Mathieu Othacehe wrote 3 years ago
(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)(address . 52799@debbugs.gnu.org)
87h7avqtjl.fsf@gnu.org
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.

Toggle quote (8 lines)
> + `(#: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:

Thanks,

Mathieu
Brice Waegeneire wrote 3 years ago
Re: bug#52799: [PATCH] gnu: guile-udev: Update to 0.2.1
(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)(address . 52799-close@debbugs.gnu.org)
878rruxwos.fsf@waegenei.re
Hello Artyom,

poptsov.artyom@gmail.com (Artyom V. Poptsov) writes:

[...]
Toggle quote (1 lines)
> this patch updates Guile-Udev[1] to version 0.2.1.
[...]

I see a more recent patch to update guile-udev to 0.2.3 as already been merged
in « 3c86268004 gnu: guile-udev: Update to 0.2.3 », so I'm closing this one.

Thank your work on guile-udev and guile-ssh.

Cheers,
- Brice
?
Your comment

This issue is archived.

To comment on this conversation send an email to 52799@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52799
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help