Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package zathura-plugin-pdf-mupdf for
openSUSE:Factory checked in at 2026-07-26 11:29:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zathura-plugin-pdf-mupdf (Old)
and /work/SRC/openSUSE:Factory/.zathura-plugin-pdf-mupdf.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zathura-plugin-pdf-mupdf"
Sun Jul 26 11:29:48 2026 rev:18 rq:1367756 version:2026.07.18
Changes:
--------
---
/work/SRC/openSUSE:Factory/zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf.changes
2026-07-07 21:08:01.416299771 +0200
+++
/work/SRC/openSUSE:Factory/.zathura-plugin-pdf-mupdf.new.2004/zathura-plugin-pdf-mupdf.changes
2026-07-26 11:32:26.374909625 +0200
@@ -1,0 +2,6 @@
+Sat Jul 25 11:36:03 UTC 2026 - Jakob Lorenz <[email protected]>
+
+- Update to version 2026.07.18:
+ * Update for new version handling
+
+-------------------------------------------------------------------
Old:
----
zathura-pdf-mupdf-2026.05.10.tar.xz
zathura-pdf-mupdf-2026.05.10.tar.xz.asc
New:
----
zathura-pdf-mupdf-2026.07.18.tar.xz
zathura-pdf-mupdf-2026.07.18.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zathura-plugin-pdf-mupdf.spec ++++++
--- /var/tmp/diff_new_pack.u8iHhC/_old 2026-07-26 11:32:26.826925195 +0200
+++ /var/tmp/diff_new_pack.u8iHhC/_new 2026-07-26 11:32:26.830925333 +0200
@@ -21,7 +21,7 @@
%bcond_without gcc15
%endif
Name: zathura-plugin-pdf-mupdf
-Version: 2026.05.10
+Version: 2026.07.18
Release: 0
Summary: Zathura PDF support through MuPDF
License: Zlib
@@ -41,8 +41,8 @@
# link against the shared MuPDF library (carries the system codec deps in its
# own NEEDED); the static libmupdf.a left them undefined at load (boo#1165273)
BuildRequires: pkgconfig(mupdf) >= 1.26
-BuildRequires: pkgconfig(zathura) >= 2026.01.30
-Requires: zathura >= 2026.01.30
+BuildRequires: pkgconfig(zathura) >= 2026.07.18
+Requires: zathura >= 2026.07.18
Conflicts: zathura-plugin-pdf-poppler
Provides: %{realname}-plugin
%if %{with gcc15}
++++++ zathura-pdf-mupdf-2026.05.10.tar.xz ->
zathura-pdf-mupdf-2026.07.18.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zathura-pdf-mupdf-2026.05.10/.github/workflows/build.yaml
new/zathura-pdf-mupdf-2026.07.18/.github/workflows/build.yaml
--- old/zathura-pdf-mupdf-2026.05.10/.github/workflows/build.yaml
2026-05-10 13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/.github/workflows/build.yaml
2026-07-18 14:36:01.000000000 +0200
@@ -17,8 +17,8 @@
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- - uses: actions/checkout@v6
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
+ - uses: actions/checkout@v7
with:
repository: pwmt/girara
path: girara
@@ -28,7 +28,7 @@
meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu girara/build
girara
ninja --verbose -C girara/build install
rm -rf girara
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
repository: pwmt/zathura
path: zathura
@@ -53,8 +53,8 @@
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- - uses: actions/checkout@v6
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
+ - uses: actions/checkout@v7
with:
repository: pwmt/girara
path: girara
@@ -64,7 +64,7 @@
meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu girara/build
girara
ninja --verbose -C girara/build install
rm -rf girara
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
repository: pwmt/zathura
path: zathura
@@ -90,8 +90,8 @@
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- - uses: actions/checkout@v6
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
+ - uses: actions/checkout@v7
with:
repository: pwmt/girara
path: girara
@@ -101,7 +101,7 @@
meson setup --prefix /usr girara/build girara
ninja --verbose -C girara/build install
rm -rf girara
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
repository: pwmt/zathura
path: zathura
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-pdf-mupdf-2026.05.10/data/meson.build
new/zathura-pdf-mupdf-2026.07.18/data/meson.build
--- old/zathura-pdf-mupdf-2026.05.10/data/meson.build 2026-05-10
13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/data/meson.build 2026-07-18
14:36:01.000000000 +0200
@@ -19,7 +19,7 @@
install_data(desktop, install_dir: desktopdir)
-desktop_file_validate = find_program('desktop-file-validate', required:
get_option('tests'), native: true)
+desktop_file_validate = find_program('desktop-file-validate', required: false,
native: true)
if desktop_file_validate.found()
test('validate-desktop',
desktop_file_validate,
@@ -27,7 +27,7 @@
)
endif
-appstream_util = find_program('appstreamcli', required: get_option('tests'),
native: true)
+appstream_util = find_program('appstreamcli', required: false, native: true)
if appstream_util.found()
test('validate-appdata',
appstream_util,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zathura-pdf-mupdf-2026.05.10/data/org.pwmt.zathura-pdf-mupdf.metainfo.xml
new/zathura-pdf-mupdf-2026.07.18/data/org.pwmt.zathura-pdf-mupdf.metainfo.xml
---
old/zathura-pdf-mupdf-2026.05.10/data/org.pwmt.zathura-pdf-mupdf.metainfo.xml
2026-05-10 13:47:32.000000000 +0200
+++
new/zathura-pdf-mupdf-2026.07.18/data/org.pwmt.zathura-pdf-mupdf.metainfo.xml
2026-07-18 14:36:01.000000000 +0200
@@ -16,6 +16,7 @@
<url type="contact">https://pwmt.org/contact</url>
<url type="vcs-browser">https://github.com/pwmt/zathura-pdf-mupdf</url>
<releases>
+ <release version="2026.07.18" date="2026-07-18" />
<release version="2026.05.10" date="2026-05-10" />
<release version="2026.02.03" date="2026-02-03" />
<release version="2026.01.30" date="2026-01-30" />
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-pdf-mupdf-2026.05.10/meson.build
new/zathura-pdf-mupdf-2026.07.18/meson.build
--- old/zathura-pdf-mupdf-2026.05.10/meson.build 2026-05-10
13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/meson.build 2026-07-18
14:36:01.000000000 +0200
@@ -1,11 +1,10 @@
project('zathura-pdf-mupdf', 'c',
- version: '2026.05.10',
+ version: '2026.07.18',
meson_version: '>=1',
default_options: ['c_std=c23', 'warning_level=3']
)
version = meson.project_version()
-version_array = version.split('.')
cc = meson.get_compiler('c')
@@ -16,14 +15,11 @@
desktopdir = join_paths(datadir, 'applications')
# required dependencies
-mupdf_required_version_major = 1
-mupdf_required_version_minor = 26
-zathura = dependency('zathura', version: '>=2026.01.30')
+zathura = dependency('zathura', version: '>=2026.07.18')
girara = dependency('girara')
glib = dependency('glib-2.0')
cairo = dependency('cairo')
-mupdf = dependency('mupdf', required: false, version:
'>=@0@.@1@'.format(mupdf_required_version_major, mupdf_required_version_minor))
build_dependencies = [
zathura,
@@ -32,6 +28,9 @@
cairo,
]
+mupdf_required_version_major = 1
+mupdf_required_version_minor = 26
+mupdf = dependency('mupdf', required: false, version:
'>=@0@.@1@'.format(mupdf_required_version_major, mupdf_required_version_minor))
if not mupdf.found()
# normal build of mupdf
mupdf = cc.find_library('mupdf', has_headers: ['mupdf/fitz/version.h',
'mupdf/fitz.h', 'mupdf/pdf.h'], required: true)
@@ -61,9 +60,7 @@
# defines
defines = [
- '-DVERSION_MAJOR=@0@'.format(version_array[0]),
- '-DVERSION_MINOR=@0@'.format(version_array[1]),
- '-DVERSION_REV=@0@'.format(version_array[2]),
+ '-DVERSION="@0@"'.format(version),
'-D_DEFAULT_SOURCE',
]
if get_option('pdf').allowed()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-pdf-mupdf-2026.05.10/meson_options.txt
new/zathura-pdf-mupdf-2026.07.18/meson_options.txt
--- old/zathura-pdf-mupdf-2026.05.10/meson_options.txt 2026-05-10
13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/meson_options.txt 2026-07-18
14:36:01.000000000 +0200
@@ -3,11 +3,6 @@
value: '',
description: 'Install to a different location than Zathura\'s plugin
directory'
)
-option('tests',
- type: 'feature',
- value: 'auto',
- description: 'run tests'
-)
option('pdf',
type: 'feature',
value: 'auto',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zathura-pdf-mupdf-2026.05.10/zathura-pdf-mupdf/document.c
new/zathura-pdf-mupdf-2026.07.18/zathura-pdf-mupdf/document.c
--- old/zathura-pdf-mupdf-2026.05.10/zathura-pdf-mupdf/document.c
2026-05-10 13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/zathura-pdf-mupdf/document.c
2026-07-18 14:36:01.000000000 +0200
@@ -6,10 +6,21 @@
#include <glib-2.0/glib.h>
#include "plugin.h"
+#include <girara/log.h>
#include <girara/utils.h>
#define LENGTH(x) (sizeof(x) / sizeof((x)[0]))
+/* route mupdf warnings to the girara log instead of raw stderr */
+static void mupdf_warning_callback(void* GIRARA_UNUSED(user), const char*
message) {
+ girara_debug("mupdf: %s", message);
+}
+
+/* route mupdf errors to the girara log instead of raw stderr */
+static void mupdf_error_callback(void* GIRARA_UNUSED(user), const char*
message) {
+ girara_error("mupdf: %s", message);
+}
+
zathura_error_t pdf_document_open(zathura_document_t* document) {
zathura_error_t error = ZATHURA_ERROR_OK;
if (document == NULL) {
@@ -31,6 +42,9 @@
goto error_free;
}
+ fz_set_warning_callback(mupdf_document->ctx, mupdf_warning_callback, NULL);
+ fz_set_error_callback(mupdf_document->ctx, mupdf_error_callback, NULL);
+
/* open document */
const char* path = zathura_document_get_path(document);
const char* password = zathura_document_get_password(document);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zathura-pdf-mupdf-2026.05.10/zathura-pdf-mupdf/plugin.c
new/zathura-pdf-mupdf-2026.07.18/zathura-pdf-mupdf/plugin.c
--- old/zathura-pdf-mupdf-2026.05.10/zathura-pdf-mupdf/plugin.c 2026-05-10
13:47:32.000000000 +0200
+++ new/zathura-pdf-mupdf-2026.07.18/zathura-pdf-mupdf/plugin.c 2026-07-18
14:36:01.000000000 +0200
@@ -8,7 +8,7 @@
#define PDF_MIMETYPE
#endif
-ZATHURA_PLUGIN_REGISTER_WITH_FUNCTIONS("pdf-mupdf", VERSION_MAJOR,
VERSION_MINOR, VERSION_REV,
+ZATHURA_PLUGIN_REGISTER_WITH_FUNCTIONS("pdf-mupdf", VERSION,
ZATHURA_PLUGIN_FUNCTIONS({
.document_open =
pdf_document_open,
.document_free =
pdf_document_free,