gnu: mupdf: Update to 1.26.0.

* gnu/packages/pdf.scm (mupdf): Update to 1.26.0.
[arguments] <#:make-flags>: Remove USE_SYSTEM_BROTLI=no.
[inputs]: Add brotli.

Change-Id: I2c09e4c1aded109dbec810be9a40b5916c365743
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Divya Ranjan 2025-05-17 17:40:37 +00:00 committed by Maxim Cournoyer
parent 9a186090df
commit 93e74686ea
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -862,14 +862,14 @@ and based on PDF specification 1.7.")
(define-public mupdf (define-public mupdf
(package (package
(name "mupdf") (name "mupdf")
(version "1.25.2") (version "1.26.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://mupdf.com/downloads/archive/" (uri (string-append "https://mupdf.com/downloads/archive/"
"mupdf-" version "-source.tar.lz")) "mupdf-" version "-source.tar.lz"))
(sha256 (sha256
(base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx")) (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9"))
(modules '((guix build utils) (modules '((guix build utils)
(ice-9 ftw) (ice-9 ftw)
(srfi srfi-1))) (srfi srfi-1)))
@ -883,7 +883,8 @@ and based on PDF specification 1.7.")
(cons* "." ".." keep)))))))) (cons* "." ".." keep))))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
(list curl (list brotli
curl
libxrandr libxrandr
libxi libxi
freeglut ;for GL/gl.h freeglut ;for GL/gl.h
@ -907,6 +908,7 @@ and based on PDF specification 1.7.")
#~(list "verbose=yes" #~(list "verbose=yes"
(string-append "CC=" #$(cc-for-target)) (string-append "CC=" #$(cc-for-target))
"XCFLAGS=-fpic" "XCFLAGS=-fpic"
"USE_SYSTEM_BROTLI=yes"
"USE_SYSTEM_FREETYPE=yes" "USE_SYSTEM_FREETYPE=yes"
"USE_SYSTEM_GUMBO=yes" "USE_SYSTEM_GUMBO=yes"
"USE_SYSTEM_HARFBUZZ=yes" "USE_SYSTEM_HARFBUZZ=yes"
@ -921,7 +923,6 @@ and based on PDF specification 1.7.")
"USE_SYSTEM_CURL=yes" "USE_SYSTEM_CURL=yes"
"USE_SYSTEM_LEPTONICA=yes" "USE_SYSTEM_LEPTONICA=yes"
"USE_SYSTEM_TESSERACT=yes" "USE_SYSTEM_TESSERACT=yes"
"USE_SONAME=no" ;install as libmupdf.so
"shared=yes" "shared=yes"
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
(string-append "prefix=" #$output)) (string-append "prefix=" #$output))