GNU bug report logs -
#78401
[PATCH] gnu: mupdf: Update to 1.26.0.
Previous Next
Reported by: Divya Ranjan <divya <at> subvertising.org>
Date: Tue, 13 May 2025 02:54:02 UTC
Severity: normal
Tags: moreinfo, patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#78401: [PATCH] gnu: mupdf: Update to 1.26.0.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 78401 <at> debbugs.gnu.org.
--
78401: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78401
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
[...]
> Apologies, indeed I had used guix style since I considered that it’d
> be appropriate. I’ve restricted the patch to now only include the
> necessary changes.
[...]
> * gnu/packages/pdf.scm (mupdf): Update to 1.26.0.
> [inputs]: Add brotli
> [arguments]: Use system’s brotli package
> [arguments]: Enable semantic versioning to avoid symlink issues
The things changed (left side of colon) does not need to be repeated.
[...]
> libx11
> libxext
> mujs
> + brotli
I've added this input at the top in alphabetical order.
[...]
> - "USE_SONAME=no" ;install as libmupdf.so
> + "USE_SONAME=yes"
I checked the build system and the default is 'yes', so I've dropped
this flag.
> Also find the patch for mupdf-1.24, without which several packages
> break (as suggested by the QA).
Are there several packages depending on mupdf-1.24? I could find only
sioyek, which builds fine with mupdf 1.26, so I removed that extraneous
variant. See commit 93e74686ea and the two earlier ones.
Thank you!
--
Maxim
[Message part 3 (message/rfc822, inline)]
* gnu/packages/pdf.scm (mupdf): Update to 1.26.0.
Change-Id: I9b650356c8f6cbb36008c1956a59f4dd99c8d964
---
gnu/packages/pdf.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index a1c9da2c8a..91d47a74e3 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -862,14 +862,14 @@ (define-public python-pydyf
(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)))
@@ -895,6 +895,7 @@ (define-public mupdf
libx11
libxext
mujs
+ brotli
openjpeg
openssl
zlib))
@@ -907,6 +908,7 @@ (define-public mupdf
#~(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,7 @@ (define-public mupdf
"USE_SYSTEM_CURL=yes"
"USE_SYSTEM_LEPTONICA=yes"
"USE_SYSTEM_TESSERACT=yes"
- "USE_SONAME=no" ;install as libmupdf.so
+ "USE_SONAME=yes"
"shared=yes"
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
(string-append "prefix=" #$output))
@@ -945,7 +947,7 @@ (define-public mupdf
license:silofl1.1 ;resources/fonts/{han,noto,sil,urw}
license:asl2.0)))) ; resources/fonts/droid
-(define-public mupdf-1.24 ; Needed for sioyek
+(define-public mupdf-1.24 ; Needed for sioyek
(package
(inherit mupdf)
(name "mupdf")
base-commit: 364694773ef1c61d4c9ec73e24f73642786486ca
--
2.49.0
This bug report was last modified 53 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.