Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mupdf for openSUSE:Factory checked in at 2026-06-29 17:30:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mupdf (Old) and /work/SRC/openSUSE:Factory/.mupdf.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mupdf" Mon Jun 29 17:30:25 2026 rev:76 rq:1362065 version:1.28.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mupdf/mupdf.changes 2026-06-27 18:09:59.319873412 +0200 +++ /work/SRC/openSUSE:Factory/.mupdf.new.11887/mupdf.changes 2026-06-29 17:31:18.203962964 +0200 @@ -1,0 +2,9 @@ +Sun Jun 28 05:11:46 UTC 2026 - Martin Pluskal <[email protected]> + +- Build against the system cmark-gfm library instead of the copy + vendored in thirdparty/cmark-gfm, dropping the bundled(cmark-gfm) + provides: + * Add mupdf-system-cmark-gfm.patch to complete the upstream + USE_SYSTEM_CMARK_GFM build path, which is incomplete in 1.28.0. + +------------------------------------------------------------------- New: ---- mupdf-system-cmark-gfm.patch ----------(New B)---------- New: provides: * Add mupdf-system-cmark-gfm.patch to complete the upstream USE_SYSTEM_CMARK_GFM build path, which is incomplete in 1.28.0. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mupdf.spec ++++++ --- /var/tmp/diff_new_pack.3rvLP2/_old 2026-06-29 17:31:21.112062247 +0200 +++ /var/tmp/diff_new_pack.3rvLP2/_new 2026-06-29 17:31:21.128062794 +0200 @@ -33,6 +33,9 @@ Source1: %{name}.desktop Source2: %{name}-gl.desktop Patch0: mupdf-no-strip.patch +# Build against the system cmark-gfm instead of the vendored thirdparty copy +# (wires up the upstream USE_SYSTEM_CMARK_GFM path, which is incomplete in 1.28) +Patch1: mupdf-system-cmark-gfm.patch BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc%{?gcc_ver}-c++ @@ -47,6 +50,7 @@ BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlienc) +BuildRequires: pkgconfig(libcmark-gfm) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libopenjp2) BuildRequires: pkgconfig(openssl) @@ -57,7 +61,6 @@ BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(zlib) Requires: xdg-utils -Provides: bundled(cmark-gfm) = 0.29.0.gfm.13 Provides: bundled(freeglut) = 3.0.0 Provides: bundled(freeglut-art) = 3.0.0 Provides: bundled(gumbo-parser) = 0.10.1 @@ -98,7 +101,7 @@ %prep %autosetup -p1 -n %{name}-%{version}-source -for d in $(ls thirdparty | grep -v -e freeglut -e lcms2 -e mujs -e extract -e gumbo-parser -e cmark-gfm) +for d in $(ls thirdparty | grep -v -e freeglut -e lcms2 -e mujs -e extract -e gumbo-parser) do rm -rf thirdparty/$d done @@ -114,6 +117,7 @@ USE_SYSTEM_MUJS := no # build needs source anyways USE_SYSTEM_OPENJPEG := yes USE_SYSTEM_TESSERACT := yes + USE_SYSTEM_CMARK_GFM := yes USE_SYSTEM_ZLIB := yes USE_SYSTEM_GLUT := no # need freeglut2-art frok USE_SYSTEM_CURL := yes ++++++ mupdf-system-cmark-gfm.patch ++++++ --- a/Makerules 2026-06-28 07:09:41.855848150 +0200 +++ b/Makerules 2026-06-28 07:09:56.797528424 +0200 @@ -283,6 +283,10 @@ SYS_BROTLI_CFLAGS := $(shell pkg-config --cflags libbrotlidec libbrotlienc) SYS_BROTLI_LIBS := $(shell pkg-config --libs libbrotlidec libbrotlienc) endif + ifeq ($(shell pkg-config --exists libcmark-gfm && echo yes),yes) + SYS_CMARK_GFM_CFLAGS := $(shell pkg-config --cflags libcmark-gfm) + SYS_CMARK_GFM_LIBS := $(shell pkg-config --libs libcmark-gfm) -lcmark-gfm-extensions + endif HAVE_SYS_LEPTONICA := $(shell pkg-config --exists 'lept >= 1.7.4' && echo yes) ifeq ($(HAVE_SYS_LEPTONICA),yes) --- a/Makethird 2026-06-28 07:09:41.855848150 +0200 +++ b/Makethird 2026-06-28 07:09:51.084886006 +0200 @@ -112,7 +112,7 @@ ifeq ($(USE_CMARK_GFM),yes) ifeq ($(USE_SYSTEM_CMARK_GFM),yes) THIRD_CFLAGS += $(SYS_CMARK_GFM_CFLAGS) - THIRD_LIBS += $(SYS_CMARK_CFM_LIBS) + THIRD_LIBS += $(SYS_CMARK_GFM_LIBS) else THIRD_CFLAGS += $(CMARKGFM_CFLAGS) THIRD_LIBS += $(CMARKCGM_LIBS) --- a/source/html/md.c 2026-06-28 07:09:41.859848600 +0200 +++ b/source/html/md.c 2026-06-28 07:10:11.271156064 +0200 @@ -27,7 +27,9 @@ #include "cmark-gfm.h" #include "cmark-gfm-core-extensions.h" -#include "registry.h" +/* registry.h is a private cmark-gfm header that the system library does not + * install; declare the single function we use from it directly. */ +void cmark_release_plugins(void); #include <ctype.h>
