[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75026] [PATCH core-updates 4/7] gnu: brotli: Update to 1.1.0.
From: |
Maxim Cournoyer |
Subject: |
[bug#75026] [PATCH core-updates 4/7] gnu: brotli: Update to 1.1.0. |
Date: |
Mon, 23 Dec 2024 01:01:02 +0900 |
* gnu/packages/compression.scm (brotli): Update to 1.1.0.
[source]: Delete obsolete snippet.
[arguments]: Use gexps.
Change-Id: I4fe13683ff33f528ef897bb65bbb239d4d4985c6
---
gnu/packages/compression.scm | 47 +++++++++++++++---------------------
1 file changed, 19 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 44461bb87c..93b6cd070b 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2351,7 +2351,7 @@ (define-public isa-l
(define-public brotli
(package
(name "brotli")
- (version "1.0.9")
+ (version "1.1.0")
(source
(origin
(method git-fetch)
@@ -2360,35 +2360,26 @@ (define-public brotli
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1fikasxf7r2dwlk8mv8w7nmjkn0jw5ic31ky3mvpkdzwgd4xfndl"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Cherry-picked from upstream since the latest release
- ;;
https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
- (substitute* (find-files "scripts" "^lib.*pc\\.in")
- (("-R\\$\\{libdir\\} ") ""))
- #t))))
+ (base32 "0cvcq302wpjpd1a2cmxcp9a01lwvc2kkir8vsdb3x11djnxc0nsk"))))
(build-system cmake-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'rename-static-libraries
- ;; The build tools put a 'static' suffix on the static libraries,
but
- ;; other applications don't know how to find these.
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
- (rename-file (string-append lib "libbrotlicommon-static.a")
- (string-append lib "libbrotlicommon.a"))
- (rename-file (string-append lib "libbrotlidec-static.a")
- (string-append lib "libbrotlidec.a"))
- (rename-file (string-append lib "libbrotlienc-static.a")
- (string-append lib "libbrotlienc.a"))
- #t))))
- #:configure-flags
- (list ;; Defaults to "lib64" on 64-bit archs.
- (string-append "-DCMAKE_INSTALL_LIBDIR="
- (assoc-ref %outputs "out") "/lib"))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'rename-static-libraries
+ ;; The build tools put a 'static' suffix on the static libraries,
but
+ ;; other applications don't know how to find these.
+ (lambda _
+ (let ((lib (string-append #$output "/lib/")))
+ (rename-file (string-append lib "libbrotlicommon-static.a")
+ (string-append lib "libbrotlicommon.a"))
+ (rename-file (string-append lib "libbrotlidec-static.a")
+ (string-append lib "libbrotlidec.a"))
+ (rename-file (string-append lib "libbrotlienc-static.a")
+ (string-append lib "libbrotlienc.a"))))))
+ #:configure-flags
+ #~(list ;; Defaults to "lib64" on 64-bit archs.
+ (string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib"))))
(home-page "https://github.com/google/brotli")
(synopsis "General-purpose lossless compression")
(description "This package provides the reference implementation of Brotli,
--
2.46.0
- [bug#75026] [PATCH core-updates 0/7] Update gnutls and curl., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 2/7] gnu: gnutls: Enable zstd compression., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 1/7] gnu: gnutls: Update to 3.8.8., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 3/7] gnu: gnutls: Streamline mips64el conditionals., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 4/7] gnu: brotli: Update to 1.1.0.,
Maxim Cournoyer <=
- [bug#75026] [PATCH core-updates 5/7] gnu: libidn: Update to 1.42., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 7/7] gnu: curl: Enable zstd support., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 6/7] gnu: curl: Update to 8.11.1 and ungraft., Maxim Cournoyer, 2024/12/22
- [bug#75026] [PATCH core-updates 0/7] Update gnutls and curl., Ludovic Courtès, 2024/12/23