[PATCH] gnu: guile-png: Update to 0.3.0.

  • Done
  • quality assurance status badge
Details
2 participants
  • Mathieu Othacehe
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal
A
A
Artyom V. Poptsov wrote on 18 Dec 2022 19:55
(address . guix-patches@gnu.org)
871qowv8w1.fsf@gmail.com
Hello,

this patch updates Guile-PNG to 0.3.0.
From c9db934860d914565ac5eaac8ce2d30c657b69cc Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 18 Dec 2022 21:54:22 +0300
Subject: [PATCH] gnu: guile-png: Update to 0.3.0.

* gnu/packages/guile-xyz.scm (guile-png): Update to 0.3.0.
[arguments]: Patch tests to silence Guile-SMC logs.
---
gnu/packages/guile-xyz.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 9fc6344491..f16ec09ee3 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3592,7 +3592,7 @@ (define-public guile-jtd
(define-public guile-png
(package
(name "guile-png")
- (version "0.2.0")
+ (version "0.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3601,10 +3601,21 @@ (define-public guile-png
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "1nk81z2cf9fsyppq5ly0yjw7yvdk5qraf71in7ayzdkngphhfgfx"))))
+ "1lv2cjzgrr0yshqng96l6bnn8pjmljv8qcn4w3wldh97ns7qigds"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
+ `(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings
+ #:phases
+ (modify-phases %standard-phases
+ ;; Guile-PNG tries to log parser messages to the syslog which is not
+ ;; available during the build.
+ (add-after 'unpack 'fix-tests
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "tests/graphics.scm"
+ ((" \\(png graphics\\)\\)")
+ (string-append " (png graphics)\n"
+ " (png fsm context))\n"
+ "(log-clear-handlers!)"))))))))
(native-inputs (list autoconf automake pkg-config texinfo))
(inputs (list bash-minimal guile-3.0 guile-lib guile-zlib))
(propagated-inputs (list guile-smc))
--
2.34.1
- avp

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

iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmOfYj4ZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL4aAB/wOTqnpeukzt9wxWan/tP8Z
F4Z/ieSUwmnmm9kK7/03sM0i47JSnDSt1/USF/5HvQkPnhxJOsa7v6nb+wRWjgP5
o2bzbxWGF80BkQv/BNMZd+CvlneVe9/9fOAuRwLwHfRsLc1dtLCsDDYR825tG8Pj
/BL8WUClc9zJ+80fyATkrfTKtPmQm9feFEznO0QcEGoGs7UIDSp4gBSbKBPc90AJ
tZFNINWO8JpXqUjLsze56twQ2xgjfXuEv/qgH2onAlX14CkwuEViKMKVKiQ872vI
l4Htt0UNGXfJjEA9YOknX235rPOH1rc6PcNnSpp/dfdwq8rA+3gNjWjyNiBHJVtY
=eDOS
-----END PGP SIGNATURE-----

M
M
Mathieu Othacehe wrote on 25 Dec 2022 17:11
(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)(address . 60183-done@debbugs.gnu.org)
87ilhzfooy.fsf@gnu.org
Toggle quote (2 lines)
> this patch updates Guile-PNG to 0.3.0.

Pushed, thanks!

Mathieu
Closed
?