[PATCH core-updates] gnu: zstd: Update to 1.5.2.

DoneSubmitted by Greg Hogan.
Details
2 participants
  • Greg Hogan
  • Ludovic Courtès
Owner
unassigned
Severity
normal
G
G
Greg Hogan wrote on 8 Apr 21:30 +0200
(address . guix-patches@gnu.org)
CA+3U0Zk8oR9nG8WuJoUirOW7iwcj+GHHNWy+hkPVJthcm1BC8g@mail.gmail.com
Regarding the phase 'remove-bogus-check removed by this patch, the
applicable upstream code was removed in v1.4.7 by


From f8f6592c31359025d66b07ade2b101ab903097f8 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Fri, 8 Apr 2022 19:16:43 +0000
Subject: [PATCH 1/2] gnu: zstd: Update to 1.5.2.

* gnu/packages/compression.scm (zstd): Update to 1.5.2.
[arguments]: Remove obsolete phase.
---
gnu/packages/compression.scm | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ecb1e69328..256c358448 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
+;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1576,28 +1577,21 @@ (define-public unshield
 (define-public zstd
   (package
     (name "zstd")
-    (version "1.5.0")
+    (version "1.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "
https://github.com/facebook/zstd/releases/download/"
                            "v" version "/zstd-" version ".tar.gz"))
        (sha256
-        (base32 "150y541303vnvfhd8wkbih00lfvvm98rd12yijwlbkqzg3xgp52i"))))
+        (base32 "1l1zm1imcc2ixayykyh4y421shdj3pzp7g2xm2k2js8jmipxahkw"))))
     (build-system gnu-build-system)
-    (outputs '("out"                    ;1.2MiB executables and
documentation
+    (outputs '("out"                    ;1.5MiB executables and
documentation
                "lib"                    ;1.2MiB shared library and headers
                "static"))               ;1.2MiB static library
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'remove-bogus-check
-           (lambda _
-             ;; lib/Makefile falsely claims that no .pc file can be
created.
-             (substitute* "lib/Makefile"
-               (("error configured .*dir ")
-                "true "))
-             #t))
          (add-after 'unpack 'patch-command-file-names
            ;; Don't require hard requirements to be in $PATH.
            (lambda* (#:key outputs #:allow-other-keys)
-- 
2.35.1
Attachment: file
From f8f6592c31359025d66b07ade2b101ab903097f8 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Fri, 8 Apr 2022 19:16:43 +0000
Subject: [PATCH 1/2] gnu: zstd: Update to 1.5.2.

* gnu/packages/compression.scm (zstd): Update to 1.5.2.
[arguments]: Remove obsolete phase.
---
gnu/packages/compression.scm | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

Toggle diff (46 lines)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ecb1e69328..256c358448 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
+;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1576,28 +1577,21 @@ (define-public unshield
 (define-public zstd
   (package
     (name "zstd")
-    (version "1.5.0")
+    (version "1.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/facebook/zstd/releases/download/"
                            "v" version "/zstd-" version ".tar.gz"))
        (sha256
-        (base32 "150y541303vnvfhd8wkbih00lfvvm98rd12yijwlbkqzg3xgp52i"))))
+        (base32 "1l1zm1imcc2ixayykyh4y421shdj3pzp7g2xm2k2js8jmipxahkw"))))
     (build-system gnu-build-system)
-    (outputs '("out"                    ;1.2MiB executables and documentation
+    (outputs '("out"                    ;1.5MiB executables and documentation
                "lib"                    ;1.2MiB shared library and headers
                "static"))               ;1.2MiB static library
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'remove-bogus-check
-           (lambda _
-             ;; lib/Makefile falsely claims that no .pc file can be created.
-             (substitute* "lib/Makefile"
-               (("error configured .*dir ")
-                "true "))
-             #t))
          (add-after 'unpack 'patch-command-file-names
            ;; Don't require hard requirements to be in $PATH.
            (lambda* (#:key outputs #:allow-other-keys)
-- 
2.35.1
L
L
Ludovic Courtès wrote on 2 May 22:26 +0200
(name . Greg Hogan)(address . code@greghogan.com)(address . 54799-done@debbugs.gnu.org)
87y1zjr89x.fsf@gnu.org
Greg Hogan <code@greghogan.com> skribis:

Toggle quote (13 lines)
> Regarding the phase 'remove-bogus-check removed by this patch, the
> applicable upstream code was removed in v1.4.7 by
> https://github.com/facebook/zstd/commit/b521183c74795bd9bdd9bdebe74af01cae4d3d43
>
>
>>From f8f6592c31359025d66b07ade2b101ab903097f8 Mon Sep 17 00:00:00 2001
> From: Greg Hogan <code@greghogan.com>
> Date: Fri, 8 Apr 2022 19:16:43 +0000
> Subject: [PATCH 1/2] gnu: zstd: Update to 1.5.2.
>
> * gnu/packages/compression.scm (zstd): Update to 1.5.2.
> [arguments]: Remove obsolete phase.

Pushed as 43d18521e84a2a61e86f915e8f747e66b7129966.

Ludo'.
Closed
?
Your comment

This issue is archived.

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