Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package zathura-plugin-djvu for
openSUSE:Factory checked in at 2026-05-29 18:11:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zathura-plugin-djvu (Old)
and /work/SRC/openSUSE:Factory/.zathura-plugin-djvu.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zathura-plugin-djvu"
Fri May 29 18:11:01 2026 rev:8 rq:1355836 version:2026.05.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/zathura-plugin-djvu/zathura-plugin-djvu.changes
2024-08-13 13:24:03.960301284 +0200
+++
/work/SRC/openSUSE:Factory/.zathura-plugin-djvu.new.1937/zathura-plugin-djvu.changes
2026-05-29 18:12:37.432178168 +0200
@@ -1,0 +2,18 @@
+Fri May 29 09:02:49 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Wed May 27 08:07:27 UTC 2026 - Андрей Алыпов <[email protected]>
+
+- Update to version 2026.05.10:
+ * Various bug fixes and improvements
+- Added zathura-djvu.keyring
+- Updates from version 2026.02.03:
+ * Update for changes in girara
+- Updates from version 2026.01.30:
+ * Various bug fixes and improvements
+- Updates from version 0.2.11:
+ * Various bug fixes and improvements
+
+-------------------------------------------------------------------
Old:
----
zathura-djvu-0.2.10.tar.xz
New:
----
zathura-djvu-2026.05.10.tar.xz
zathura-djvu-2026.05.10.tar.xz.asc
zathura-djvu.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zathura-plugin-djvu.spec ++++++
--- /var/tmp/diff_new_pack.SE3FX5/_old 2026-05-29 18:12:38.460220943 +0200
+++ /var/tmp/diff_new_pack.SE3FX5/_new 2026-05-29 18:12:38.464221109 +0200
@@ -1,7 +1,7 @@
#
# spec file for package zathura-plugin-djvu
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,33 +17,51 @@
%define realname zathura-djvu
+%if 0%{?suse_version} == 1600
+%bcond_without gcc15
+%endif
Name: zathura-plugin-djvu
-Version: 0.2.10
+Version: 2026.05.10
Release: 0
Summary: DjVu support for zathura using the djvulibre library
License: Zlib
-URL: https://pwmt.org/projects/zathura-djvu/
-Source:
https://pwmt.org/projects/zathura-djvu/download/%{realname}-%{version}.tar.xz
-BuildRequires: meson >= 0.61
+URL: https://pwmt.org/projects/zathura-djvu
+Source0: %{url}/download/%{realname}-%{version}.tar.xz
+Source1: %{url}/download/%{realname}-%{version}.tar.xz.asc
+Source2: %{realname}.keyring
+BuildRequires: AppStream
+BuildRequires: c_compiler
+BuildRequires: desktop-file-utils
+BuildRequires: meson >= 1.5
BuildRequires: pkgconfig
+BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(ddjvuapi)
-BuildRequires: pkgconfig(girara-gtk3)
-BuildRequires: pkgconfig(zathura) >= 0.3.8
-Requires: zathura
-Provides: zathura-djvu-plugin
+BuildRequires: pkgconfig(girara)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(zathura) >= 2026.01.30
+Requires: zathura >= 2026.01.30
+Provides: %{realname}-plugin
+%if %{with gcc15}
+BuildRequires: gcc15
+%endif
%description
-The zathura-djvu plugin adds DjVu support to zathura by using the djvulibre
library.
+The zathura-djvu plugin adds DjVu support to zathura by using the djvulibre
+library.
%prep
-%setup -q -n %{realname}-%{version}
+%autosetup -p1 -n %{realname}-%{version}
%build
-%meson -Dtests=disabled
+%{?with_gcc15:export CC=gcc-15}
+%meson
%meson_build
%install
%meson_install
+
+%check
+%meson_test
find %{buildroot} -name '*.desktop' -delete -print
%files -n %{name}
@@ -51,5 +69,5 @@
%doc AUTHORS
%dir %{_libdir}/zathura
%{_libdir}/zathura/libdjvu.so
-%{_datadir}/metainfo/org.pwmt.zathura-djvu.metainfo.xml
+%{_datadir}/metainfo/org.pwmt.%{realname}.metainfo.xml
++++++ zathura-djvu-0.2.10.tar.xz -> zathura-djvu-2026.05.10.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/.github/dependabot.yml
new/zathura-djvu-2026.05.10/.github/dependabot.yml
--- old/zathura-djvu-0.2.10/.github/dependabot.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/zathura-djvu-2026.05.10/.github/dependabot.yml 2026-05-10
13:46:36.000000000 +0200
@@ -0,0 +1,6 @@
+version: 2
+updates:
+- package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/.github/workflows/build.yaml
new/zathura-djvu-2026.05.10/.github/workflows/build.yaml
--- old/zathura-djvu-0.2.10/.github/workflows/build.yaml 1970-01-01
01:00:00.000000000 +0100
+++ new/zathura-djvu-2026.05.10/.github/workflows/build.yaml 2026-05-10
13:46:36.000000000 +0200
@@ -0,0 +1,193 @@
+name: CI
+
+on:
+ push:
+ pull_request:
+
+env:
+ VERBOSE: 1
+
+jobs:
+ clang-format:
+ name: Check clang-format output
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/pwmt/github-actions-debian:forky
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/girara
+ path: girara
+ - name: Install girara
+ run: |
+ mkdir girara/build
+ 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
+ with:
+ repository: pwmt/zathura
+ path: zathura
+ - name: Install zathura
+ run: |
+ mkdir zathura/build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu
zathura/build zathura
+ ninja --verbose -C zathura/build install
+ rm -rf zathura
+ - name: Build and test
+ run: |
+ mkdir build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu build .
+ ninja -C build clang-format-check
+
+ build-test-debian-trixie:
+ name: Test on Debian trixie
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/pwmt/github-actions-debian:trixie
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/girara
+ path: girara
+ - name: Install girara
+ run: |
+ mkdir girara/build
+ 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
+ with:
+ repository: pwmt/zathura
+ path: zathura
+ - name: Install zathura
+ run: |
+ mkdir zathura/build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu
zathura/build zathura
+ ninja --verbose -C zathura/build install
+ rm -rf zathura
+ - name: Build and test
+ run: |
+ mkdir build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu build .
+ ninja -C build --verbose
+ ninja -C build test --verbose
+
+ build-test-debian-forky:
+ name: Test on Debian forky
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/pwmt/github-actions-debian:forky
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/girara
+ path: girara
+ - name: Install girara
+ run: |
+ mkdir girara/build
+ 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
+ with:
+ repository: pwmt/zathura
+ path: zathura
+ - name: Install zathura
+ run: |
+ mkdir zathura/build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu
zathura/build zathura
+ ninja --verbose -C zathura/build install
+ rm -rf zathura
+ - name: Build and test
+ run: |
+ mkdir build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu build .
+ ninja -C build --verbose
+ ninja -C build test --verbose
+
+ build-test-ubuntu-resolute:
+ name: Test on Ubuntu resolute
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/pwmt/github-actions-ubuntu:resolute
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/girara
+ path: girara
+ - name: Install girara
+ run: |
+ mkdir girara/build
+ 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
+ with:
+ repository: pwmt/zathura
+ path: zathura
+ - name: Install zathura
+ run: |
+ mkdir zathura/build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu
zathura/build zathura
+ ninja --verbose -C zathura/build install
+ rm -rf zathura
+ - name: Build and test
+ run: |
+ mkdir build
+ meson setup --prefix /usr --libdir=lib/x86_64-linux-gnu build .
+ ninja -C build --verbose
+ ninja -C build test --verbose
+
+ build-test-archlinux:
+ name: Test on Archlinux
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/pwmt/github-actions-archlinux:latest
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/girara
+ path: girara
+ - name: Install girara
+ run: |
+ mkdir girara/build
+ meson setup --prefix /usr girara/build girara
+ ninja --verbose -C girara/build install
+ rm -rf girara
+ - uses: actions/checkout@v6
+ with:
+ repository: pwmt/zathura
+ path: zathura
+ - name: Install zathura
+ run: |
+ mkdir zathura/build
+ meson setup --prefix /usr zathura/build zathura
+ ninja --verbose -C zathura/build install
+ rm -rf zathura
+ - name: Build and test
+ run: |
+ mkdir build
+ meson setup --prefix /usr build .
+ ninja -C build --verbose
+ ninja -C build test --verbose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/data/meson.build
new/zathura-djvu-2026.05.10/data/meson.build
--- old/zathura-djvu-0.2.10/data/meson.build 2024-08-04 10:33:34.000000000
+0200
+++ new/zathura-djvu-2026.05.10/data/meson.build 2026-05-10
13:46:36.000000000 +0200
@@ -9,10 +9,10 @@
)
endif
-appstream_util = find_program('appstream-util', required: get_option('tests'),
native: true)
+appstream_util = find_program('appstreamcli', required: get_option('tests'),
native: true)
if appstream_util.found()
test('validate-appdata',
appstream_util,
- args: ['validate-relax', '--nonet', join_paths(meson.current_source_dir(),
'org.pwmt.zathura-djvu.metainfo.xml')]
+ args: ['validate', '--no-net', join_paths(meson.current_source_dir(),
'org.pwmt.zathura-djvu.metainfo.xml')]
)
endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zathura-djvu-0.2.10/data/org.pwmt.zathura-djvu.metainfo.xml
new/zathura-djvu-2026.05.10/data/org.pwmt.zathura-djvu.metainfo.xml
--- old/zathura-djvu-0.2.10/data/org.pwmt.zathura-djvu.metainfo.xml
2024-08-04 10:33:34.000000000 +0200
+++ new/zathura-djvu-2026.05.10/data/org.pwmt.zathura-djvu.metainfo.xml
2026-05-10 13:46:36.000000000 +0200
@@ -4,9 +4,22 @@
<id>org.pwmt.zathura-djvu</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Zlib</project_license>
+ <developer id="org.pwmt">
+ <name>pwmt</name>
+ </developer>
<extends>org.pwmt.zathura</extends>
<name>Zathura-DjVU</name>
<summary>DjVU plugin for zathura</summary>
<url type="homepage">https://pwmt.org/projects/zathura-djvu/</url>
- <update_contact>[email protected]</update_contact>
+ <url type="bugtracker">https://github.com/pwmt/zathura-djvu/issues</url>
+ <url type="donation">https://pwmt.org/help/donate</url>
+ <url type="contact">https://pwmt.org/contact</url>
+ <url type="vcs-browser">https://github.com/pwmt/zathura-djvu</url>
+ <releases>
+ <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" />
+ <release version="0.2.11" date="2025-10-28" />
+ <release version="0.2.10" date="2024-08-04" />
+ </releases>
</component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/meson.build
new/zathura-djvu-2026.05.10/meson.build
--- old/zathura-djvu-0.2.10/meson.build 2024-08-04 10:33:34.000000000 +0200
+++ new/zathura-djvu-2026.05.10/meson.build 2026-05-10 13:46:36.000000000
+0200
@@ -1,7 +1,7 @@
project('zathura-djvu', 'c',
- version: '0.2.10',
+ version: '2026.05.10',
meson_version: '>=0.61',
- default_options: ['c_std=c17', 'warning_level=3']
+ default_options: ['c_std=c23', 'warning_level=3']
)
version = meson.project_version()
@@ -14,8 +14,8 @@
metainfodir = join_paths(datadir, 'metainfo')
# required dependencies
-zathura = dependency('zathura', version: '>=0.3.8')
-girara = dependency('girara-gtk3')
+zathura = dependency('zathura', version: '>=2026.01.30')
+girara = dependency('girara')
glib = dependency('glib-2.0')
cairo = dependency('cairo')
djvu = dependency('ddjvuapi')
@@ -39,12 +39,10 @@
# compile flags
flags = [
- '-Wall',
- '-Wextra',
- '-pedantic',
'-Werror=implicit-function-declaration',
'-Werror=vla',
- '-fvisibility=hidden'
+ '-Werror=int-conversion',
+ '-Werror=maybe-uninitialized'
]
flags = cc.get_supported_arguments(flags)
@@ -58,7 +56,8 @@
dependencies: build_dependencies,
c_args: defines + flags,
install: true,
- install_dir: plugindir
+ install_dir: plugindir,
+ gnu_symbol_visibility: 'hidden'
)
subdir('data')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/zathura-djvu/djvu.c
new/zathura-djvu-2026.05.10/zathura-djvu/djvu.c
--- old/zathura-djvu-0.2.10/zathura-djvu/djvu.c 2024-08-04 10:33:34.000000000
+0200
+++ new/zathura-djvu-2026.05.10/zathura-djvu/djvu.c 2026-05-10
13:46:36.000000000 +0200
@@ -111,6 +111,10 @@
error_free:
+ if (djvu_document->document != NULL) {
+ ddjvu_document_release(djvu_document->document);
+ }
+
if (djvu_document->format != NULL) {
ddjvu_format_release(djvu_document->format);
}
@@ -192,6 +196,10 @@
} else {
job = ddjvu_document_save(djvu_document->document, fp, 0, NULL);
}
+ if (job == NULL) {
+ fclose(fp);
+ return ZATHURA_ERROR_UNKNOWN;
+ }
while (ddjvu_job_done(job) != true) {
handle_messages(djvu_document, true);
}
@@ -358,7 +366,7 @@
girara_list_t* djvu_page_get_selection(zathura_page_t* UNUSED(page), void*
UNUSED(data), zathura_rectangle_t rectangle,
zathura_error_t* error) {
- girara_list_t* list = girara_list_new2(g_free);
+ girara_list_t* list = girara_list_new_with_free(g_free);
if (list == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_OUT_OF_MEMORY;
@@ -392,7 +400,7 @@
goto error_ret;
}
- girara_list_t* list =
girara_list_new2((girara_free_function_t)zathura_link_free);
+ girara_list_t* list =
girara_list_new_with_free((girara_free_function_t)zathura_link_free);
if (list == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_OUT_OF_MEMORY;
@@ -413,6 +421,10 @@
}
miniexp_t* hyperlinks = ddjvu_anno_get_hyperlinks(annotations);
+ if (hyperlinks == NULL) {
+ ddjvu_miniexp_release(djvu_document->document, annotations);
+ goto error_free;
+ }
for (miniexp_t* iter = hyperlinks; *iter != NULL; iter++) {
if (miniexp_car(*iter) != miniexp_symbol("maparea")) {
continue;
@@ -476,6 +488,9 @@
}
}
+ free(hyperlinks);
+ ddjvu_miniexp_release(djvu_document->document, annotations);
+
return list;
error_free:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/zathura-djvu/internal.h
new/zathura-djvu-2026.05.10/zathura-djvu/internal.h
--- old/zathura-djvu-0.2.10/zathura-djvu/internal.h 2024-08-04
10:33:34.000000000 +0200
+++ new/zathura-djvu-2026.05.10/zathura-djvu/internal.h 2026-05-10
13:46:36.000000000 +0200
@@ -7,6 +7,6 @@
#define ZATHURA_DJVU_SCALE 0.2
-GIRARA_HIDDEN void handle_messages(djvu_document_t* document, bool wait);
+void handle_messages(djvu_document_t* document, bool wait);
#endif // DJVU_INTERNAL_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/zathura-djvu/page-text.c
new/zathura-djvu-2026.05.10/zathura-djvu/page-text.c
--- old/zathura-djvu-0.2.10/zathura-djvu/page-text.c 2024-08-04
10:33:34.000000000 +0200
+++ new/zathura-djvu-2026.05.10/zathura-djvu/page-text.c 2026-05-10
13:46:36.000000000 +0200
@@ -106,14 +106,14 @@
}
/* create result list */
- girara_list_t* results = girara_list_new2((girara_free_function_t)free);
+ girara_list_t* results =
girara_list_new_with_free((girara_free_function_t)free);
if (results == NULL) {
goto error_ret;
}
/* create list */
- page_text->text_positions = girara_list_new2((girara_free_function_t)free);
+ page_text->text_positions =
girara_list_new_with_free((girara_free_function_t)free);
if (page_text->text_positions == NULL) {
goto error_free;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zathura-djvu-0.2.10/zathura-djvu/page-text.h
new/zathura-djvu-2026.05.10/zathura-djvu/page-text.h
--- old/zathura-djvu-0.2.10/zathura-djvu/page-text.h 2024-08-04
10:33:34.000000000 +0200
+++ new/zathura-djvu-2026.05.10/zathura-djvu/page-text.h 2026-05-10
13:46:36.000000000 +0200
@@ -33,14 +33,14 @@
* @param page_number The number of the page
* @return The page object or NULL if an error occurred
*/
-GIRARA_HIDDEN djvu_page_text_t* djvu_page_text_new(djvu_document_t* document,
zathura_page_t* page);
+djvu_page_text_t* djvu_page_text_new(djvu_document_t* document,
zathura_page_t* page);
/**
* Frees a djvu page object
*
* @param page The page to be freed
*/
-GIRARA_HIDDEN void djvu_page_text_free(djvu_page_text_t* page_text);
+void djvu_page_text_free(djvu_page_text_t* page_text);
/**
* Searches the page for a specific key word and returns a list of results
@@ -49,7 +49,7 @@
* @param text The text to search
* @return List of results or NULL if an error occurred
*/
-GIRARA_HIDDEN girara_list_t* djvu_page_text_search(djvu_page_text_t*
page_text, const char* text);
+girara_list_t* djvu_page_text_search(djvu_page_text_t* page_text, const char*
text);
/**
* Returns the text on the page under the given rectangle
@@ -58,6 +58,6 @@
* @param rectangle The area of where the text should be copied
* @return Copy of the text or NULL if an error occurred or if the area is
empty
*/
-GIRARA_HIDDEN char* djvu_page_text_select(djvu_page_text_t* page_text,
zathura_rectangle_t rectangle);
+char* djvu_page_text_select(djvu_page_text_t* page_text, zathura_rectangle_t
rectangle);
#endif // DJVU_PAGE_H