apteryx pushed a commit to branch master
in repository guix.
commit 93e74686eaf0dc41ff4ad063c5f137de50b744dc
Author: Divya Ranjan <[email protected]>
AuthorDate: Sat May 17 17:40:37 2025 +0000
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 <[email protected]>
Modified-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/pdf.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index ccb041f4bd..3e43b2c0fe 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -862,14 +862,14 @@ and based on PDF specification 1.7.")
(define-public mupdf
(package
(name "mupdf")
- (version "1.25.2")
+ (version "1.26.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://mupdf.com/downloads/archive/"
"mupdf-" version "-source.tar.lz"))
(sha256
- (base32 "0lg45wp3ici2g2i49fmwa1k32bgkqqgl51nxnqqk0i8ilmdh8hnx"))
+ (base32 "1nncar9w0qdpwp4s00nazr7hbl2kpbp665a6gwpsmdz5d7j1hqz9"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -883,7 +883,8 @@ and based on PDF specification 1.7.")
(cons* "." ".." keep))))))))
(build-system gnu-build-system)
(inputs
- (list curl
+ (list brotli
+ curl
libxrandr
libxi
freeglut ;for GL/gl.h
@@ -907,6 +908,7 @@ and based on PDF specification 1.7.")
#~(list "verbose=yes"
(string-append "CC=" #$(cc-for-target))
"XCFLAGS=-fpic"
+ "USE_SYSTEM_BROTLI=yes"
"USE_SYSTEM_FREETYPE=yes"
"USE_SYSTEM_GUMBO=yes"
"USE_SYSTEM_HARFBUZZ=yes"
@@ -921,7 +923,6 @@ and based on PDF specification 1.7.")
"USE_SYSTEM_CURL=yes"
"USE_SYSTEM_LEPTONICA=yes"
"USE_SYSTEM_TESSERACT=yes"
- "USE_SONAME=no" ;install as libmupdf.so
"shared=yes"
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
(string-append "prefix=" #$output))