all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1
@ 2021-12-26  8:30 Artyom V. Poptsov
  2021-12-26 15:23 ` Mathieu Othacehe
  2022-04-24 16:39 ` bug#52799: " Brice Waegeneire
  0 siblings, 2 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2021-12-26  8:30 UTC (permalink / raw)
  To: 52799


[-- Attachment #1.1: Type: text/plain, Size: 139 bytes --]

Hello Guixers,

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

- Artyom

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-guile-udev-Update-to-0.2.1.patch --]
[-- Type: text/x-diff, Size: 1713 bytes --]

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(-)

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


[-- Attachment #1.3: Type: text/plain, Size: 205 bytes --]

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1
  2021-12-26  8:30 [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1 Artyom V. Poptsov
@ 2021-12-26 15:23 ` Mathieu Othacehe
  2022-04-24 16:39 ` bug#52799: " Brice Waegeneire
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2021-12-26 15:23 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 52799


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#52799: [PATCH] gnu: guile-udev: Update to 0.2.1
  2021-12-26  8:30 [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1 Artyom V. Poptsov
  2021-12-26 15:23 ` Mathieu Othacehe
@ 2022-04-24 16:39 ` Brice Waegeneire
  1 sibling, 0 replies; 3+ messages in thread
From: Brice Waegeneire @ 2022-04-24 16:39 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 52799-close

Hello Artyom,

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

[...]
> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-24 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26  8:30 [bug#52799] [PATCH] gnu: guile-udev: Update to 0.2.1 Artyom V. Poptsov
2021-12-26 15:23 ` Mathieu Othacehe
2022-04-24 16:39 ` bug#52799: " Brice Waegeneire

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.