summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-12-22 23:25:29 +0900
committerAndreas Enge <andreas@enge.fr>2026-03-06 14:52:02 +0100
commit112303be80c2d20a963aa2311d5ab2af7135f585 (patch)
tree042ab34cf2f688d8b73ebdd7d43e6e4e437fda1c
parentd7cc8cbef4927d3f4531c5f9208018e5fe91f493 (diff)
gnu: brotli: Update to 1.1.0.
* gnu/packages/compression.scm (brotli): Update to 1.1.0. [source]: Delete obsolete snippet. [arguments]: Delete field, obsolete. Change-Id: I4fe13683ff33f528ef897bb65bbb239d4d4985c6
-rw-r--r--gnu/packages/compression.scm31
1 files changed, 2 insertions, 29 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c36d13ffcab..e1f1d6a87fd 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2398,7 +2398,7 @@ targeting storage applications. ISA-L includes:
2398(define-public brotli 2398(define-public brotli
2399 (package 2399 (package
2400 (name "brotli") 2400 (name "brotli")
2401 (version "1.0.9") 2401 (version "1.1.0")
2402 (source 2402 (source
2403 (origin 2403 (origin
2404 (method git-fetch) 2404 (method git-fetch)
@@ -2407,35 +2407,8 @@ targeting storage applications. ISA-L includes:
2407 (commit (string-append "v" version)))) 2407 (commit (string-append "v" version))))
2408 (file-name (git-file-name name version)) 2408 (file-name (git-file-name name version))
2409 (sha256 2409 (sha256
2410 (base32 "1fikasxf7r2dwlk8mv8w7nmjkn0jw5ic31ky3mvpkdzwgd4xfndl")) 2410 (base32 "0cvcq302wpjpd1a2cmxcp9a01lwvc2kkir8vsdb3x11djnxc0nsk"))))
2411 (modules '((guix build utils)))
2412 (snippet
2413 '(begin
2414 ;; Cherry-picked from upstream since the latest release
2415 ;; https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
2416 (substitute* (find-files "scripts" "^lib.*pc\\.in")
2417 (("-R\\$\\{libdir\\} ") ""))
2418 #t))))
2419 (build-system cmake-build-system) 2411 (build-system cmake-build-system)
2420 (arguments
2421 `(#:phases
2422 (modify-phases %standard-phases
2423 (add-after 'install 'rename-static-libraries
2424 ;; The build tools put a 'static' suffix on the static libraries, but
2425 ;; other applications don't know how to find these.
2426 (lambda* (#:key outputs #:allow-other-keys)
2427 (let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
2428 (rename-file (string-append lib "libbrotlicommon-static.a")
2429 (string-append lib "libbrotlicommon.a"))
2430 (rename-file (string-append lib "libbrotlidec-static.a")
2431 (string-append lib "libbrotlidec.a"))
2432 (rename-file (string-append lib "libbrotlienc-static.a")
2433 (string-append lib "libbrotlienc.a"))
2434 #t))))
2435 #:configure-flags
2436 (list ;; Defaults to "lib64" on 64-bit archs.
2437 (string-append "-DCMAKE_INSTALL_LIBDIR="
2438 (assoc-ref %outputs "out") "/lib"))))
2439 (home-page "https://github.com/google/brotli") 2412 (home-page "https://github.com/google/brotli")
2440 (synopsis "General-purpose lossless compression") 2413 (synopsis "General-purpose lossless compression")
2441 (description "This package provides the reference implementation of Brotli, 2414 (description "This package provides the reference implementation of Brotli,