Your message dated Fri, 13 Nov 2026 05:05:45 +0000
with message-id <[email protected]>
and subject line Bug#1151055: fixed in mupdf 1.28.2+ds1-3
has caused the Debian Bug report #1151055,
regarding libmupdf-dev: mupdf.pc reports version 1.24.10 instead of 1.28.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1151055: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmupdf-dev
Version: 1.28.2+ds1-2
Severity: normal
Tags: patch

/usr/lib/x86_64-linux-gnu/pkgconfig/mupdf.pc says "Version: 1.24.10",
although the installed library is 1.28.2:

  $ pkg-config --modversion mupdf
  1.24.10

Builds that check the MuPDF version through pkg-config therefore fail.
For example, emacs-reader requires at least 1.26.0 and stops with
"MuPDF version 1.24.10 too old. Require ≥ 1.26.0."
(https://codeberg.org/MonadicSheep/emacs-reader/issues/188).

debian/rules generates the file from debian/mupdf.pc.in and substitutes
only @@DEB_HOST_MULTIARCH@@; the version in the template is still
1.24.10. Trixie's 1.25.1+ds1-6+deb13u1 ships the same file.

The first line of the template also says "refix=/usr" instead of
"prefix=/usr", so ${prefix} is undefined and pkgconf expands it to an
empty string: "pkg-config --cflags mupdf" prints "-I/include".

The attached patch fills in the upstream version from DEB_VERSION_UPSTREAM
and corrects the prefix line. I tested the changed recipe on sid with
the dpkg makefiles that debian/rules includes (architecture.mk,
pkg-info.mk): the generated file says "Version: 1.28.2" and
"prefix=/usr", "pkgconf --validate mupdf" passes, and
"pkgconf --atleast-version=1.26.0 mupdf" succeeds. I did not run a full
package build.
--- a/debian/mupdf.pc.in
+++ b/debian/mupdf.pc.in
@@ -1,10 +1,10 @@
-refix=/usr
+prefix=/usr
 exec_prefix=${prefix}
 libdir=${exec_prefix}/lib/@@DEB_HOST_MULTIARCH@@
 includedir=${prefix}/include
 
 Name: mupdf
 Description: Library for rendering PDF documents
-Version: 1.24.10
+Version: @@VERSION@@
 Libs: -L${libdir} -lmupdf
 Cflags: -I${includedir}
--- a/debian/rules
+++ b/debian/rules
@@ -67,7 +67,9 @@
 	dh_clean
 
 override_dh_auto_build:
-	-sed -e s,@@DEB_HOST_MULTIARCH@@,${DEB_HOST_MULTIARCH}, debian/mupdf.pc.in > debian/mupdf.pc
+	-sed -e s,@@DEB_HOST_MULTIARCH@@,${DEB_HOST_MULTIARCH}, \
+	     -e s,@@VERSION@@,$(firstword $(subst +, ,$(DEB_VERSION_UPSTREAM))), \
+	     debian/mupdf.pc.in > debian/mupdf.pc
 	debian/replace-fonts.sh
 	-mkdir source/pdf/cmaps
 	sh scripts/runcmapdump.sh

--- End Message ---
--- Begin Message ---
Source: mupdf
Source-Version: 1.28.2+ds1-3
Done: Daniel Echeverri <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mupdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Echeverri <[email protected]> (supplier of updated mupdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 12 Nov 2026 22:22:14 -0500
Source: mupdf
Architecture: source
Version: 1.28.2+ds1-3
Distribution: unstable
Urgency: medium
Maintainer: Kan-Ru Chen (陳侃如) <[email protected]>
Changed-By: Daniel Echeverri <[email protected]>
Closes: 1151055 1153645
Changes:
 mupdf (1.28.2+ds1-3) unstable; urgency=medium
 .
   * debian/control
     + Add Suggests: mupdf to mupdf-tools
     + Mark libmupdf28.2 Multi-Arch: same and mupdf-doc Multi-Arch: foreign
     + Add Testsuite: autopkgtest-pkg-python
   * debian/mupdf-x11-curl.1
     + Add manpage for mupdf-x11-curl
   * debian/mupdf.pc.in
     + Report the real upstream version. (Closes: #1151055)
       + Thanks to Andreas Kurth for the patch!
   * debian/muraster.1
     + Add SEE ALSO section
   * debian/patches
     + Add 0020-fix-double-free-in-free_char_list.diff
       + Fix CVE-2026-112036, double free in free_char_list()
     + Add 0021-fix-redaction-of-text-shown-with-quote-operator.diff
       + Redaction left text drawn with the ' operator in the PDF
     + Add 0022-mutool-man-page-see-also.diff
       + Improve SEE ALSO in mutool manpage. (Closes: #1153645)
     + Remove 0003-Sort-files-in-static-library-to-make-the-build-repro.patch
       + No longer needed, fixed upstream
   * debian/tests/control
     + Run the existing compile test as autopkgtest against libmupdf-dev
Checksums-Sha1:
 465fa62dbf15aa9e051373a96f23a2de9ede49a8 3034 mupdf_1.28.2+ds1-3.dsc
 88a5a04e641abce610a8c1d8ef45193a4c830f28 111052 
mupdf_1.28.2+ds1-3.debian.tar.xz
 38540d35c85030ff0e1a4f7515cc0e0eee9bc32c 20403 
mupdf_1.28.2+ds1-3_amd64.buildinfo
Checksums-Sha256:
 7b0c775d1bf60d0740a4c33db97139d795973b60aacc65c7bdf6ddf58f2b0471 3034 
mupdf_1.28.2+ds1-3.dsc
 7ec0175c7aa8511afc9291663ad092d9acb70bc1679e852d47ab498302667465 111052 
mupdf_1.28.2+ds1-3.debian.tar.xz
 d78c5e01b83bd5297d7b1df71f0bfec1235320f70bffcf75d51f0102701563b0 20403 
mupdf_1.28.2+ds1-3_amd64.buildinfo
Files:
 abb4aaf76094c04b44a52c1761f903a6 3034 text optional mupdf_1.28.2+ds1-3.dsc
 65a6b446f58e949cdd3e7de2483201dd 111052 text optional 
mupdf_1.28.2+ds1-3.debian.tar.xz
 1262aab5f27738628188349f13c7c8e6 20403 text optional 
mupdf_1.28.2+ds1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE0NCFsWnDv9lASFj6IfwpUEtSMNsFAmr2lF4THGVwc2lsb25A
ZGViaWFuLm9yZwAKCRAh/ClQS1Iw2znyEADUSbtTTC7AmIWhVZI2XKOddi6KiTn7
KB7r+sfNG5fe1PAh29PrS/2xLxW/Yp3lowWqkMkdV7DVGCDWWLWc/EQ1LvfCQT0t
dvlhj5fuZTYJTu1s+KHV4XN5QfsAFJV/Nxg3XQ25CMjPp5vcHEDZl1BwpJfxF95l
57vwjfJVi+ZKSpp/DTZkmcbTeR7POF540pKJIuKnouij2N5af3uz8uBx9mNCeghj
kQRcvupMAcPrfkZpGk85kKbMWETDUmG0un5jDBWiUl7ddL8FK8iCrfER/LWTYDc8
v/cLWrGYLFlXz/0y/1IJAAzkvMwZWbDAFdJItNvIr0nx8gTUAwGME4ppexF+GeM4
7+pZs/bMBFktZbHiI3aZF9G9ZgIymleuqx+88n25nREv9PWUX+dSEaDJisIwd/0W
0V1BcOPj/rjhXUp7HynIfhSXfe9DX6LEScANs062+0l3CzfsLeUawM9fKJ1/2Fhb
xAh2Uo1LVgYqPhc1QvE/2UGf7f3QUu+s02+g2R+mFpcOTN5nYgnCCSFY4hFjjR2L
RAS204jPZAFGeoYHyrf4W4UUxNiNYdMbMCytRoMNU3omyn6KaxIXnuSRFBPNdpmv
1Cv9tDg25M50MJqbibvttt6B6Rvr7mu7Cn+zWr/ZvBGKBLZ0PG+Xqxr8xmvzGnSV
IqeTNqX2k4fNlQ==
=fMnL
-----END PGP SIGNATURE-----

Attachment: pgpXCdBLDzH4c.pgp
Description: PGP signature


--- End Message ---

Reply via email to