Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zathura-plugin-ps for 
openSUSE:Factory checked in at 2026-05-29 18:11:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zathura-plugin-ps (Old)
 and      /work/SRC/openSUSE:Factory/.zathura-plugin-ps.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zathura-plugin-ps"

Fri May 29 18:11:05 2026 rev:9 rq:1355838 version:2026.02.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/zathura-plugin-ps/zathura-plugin-ps.changes      
2024-08-13 13:24:05.620370451 +0200
+++ 
/work/SRC/openSUSE:Factory/.zathura-plugin-ps.new.1937/zathura-plugin-ps.changes
    2026-05-29 18:12:43.656437143 +0200
@@ -1,0 +2,16 @@
+Fri May 29 09:02:49 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Wed May 27 08:15:02 UTC 2026 - Андрей Алыпов <[email protected]>
+
+- Update to version 2026.02.03:
+  * Update for changes in girara
+- Added zathura-ps.keyring
+- Updates from version 2026.01.30:
+  * Various bug fixes and improvements
+- Updates from version 0.2.9:
+  * Various bug fixes and improvements
+
+-------------------------------------------------------------------

Old:
----
  zathura-ps-0.2.8.tar.xz

New:
----
  zathura-ps-2026.02.03.tar.xz
  zathura-ps-2026.02.03.tar.xz.asc
  zathura-ps.keyring

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zathura-plugin-ps.spec ++++++
--- /var/tmp/diff_new_pack.b85uBm/_old  2026-05-29 18:12:44.932490237 +0200
+++ /var/tmp/diff_new_pack.b85uBm/_new  2026-05-29 18:12:44.936490403 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zathura-plugin-ps
 #
-# 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,34 +17,51 @@
 
 
 %define realname zathura-ps
+%if 0%{?suse_version} == 1600
+%bcond_without gcc15
+%endif
 Name:           zathura-plugin-ps
-Version:        0.2.8
+Version:        2026.02.03
 Release:        0
 Summary:        PS support for zathura via libspectre
 License:        Zlib
-Group:          Productivity/Office/Other
-URL:            https://pwmt.org/projects/%{realname}/
-Source:         
https://pwmt.org/projects/%{realname}/download/%{realname}-%{version}.tar.xz
-BuildRequires:  meson >= 0.61
+URL:            https://pwmt.org/projects/%{realname}
+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(girara-gtk3)
+BuildRequires:  pkgconfig(cairo)
+BuildRequires:  pkgconfig(girara)
+BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libspectre)
-BuildRequires:  pkgconfig(zathura) >= 0.3.8
-Requires:       zathura
-Provides:       zathura-ps-plugin
+BuildRequires:  pkgconfig(zathura) >= 2026.01.30
+Requires:       zathura >= 2026.01.30
+Provides:       %{realname}-plugin
+%if %{with gcc15}
+BuildRequires:  gcc15
+%endif
 
 %description
-The zathura-ps plugin adds PostScript support to zathura by using the 
libspectre library.
+The zathura-ps plugin adds PostScript support to zathura by using the
+libspectre 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}
@@ -52,5 +69,5 @@
 %doc AUTHORS
 %dir %{_libdir}/zathura
 %{_libdir}/zathura/libps.so
-%{_datadir}/metainfo/org.pwmt.zathura-ps.metainfo.xml
+%{_datadir}/metainfo/org.pwmt.%{realname}.metainfo.xml
 

++++++ zathura-ps-0.2.8.tar.xz -> zathura-ps-2026.02.03.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-ps-0.2.8/data/meson.build 
new/zathura-ps-2026.02.03/data/meson.build
--- old/zathura-ps-0.2.8/data/meson.build       2024-08-04 10:37:43.000000000 
+0200
+++ new/zathura-ps-2026.02.03/data/meson.build  2026-02-03 21:46:58.000000000 
+0100
@@ -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-ps.metainfo.xml')]
+    args: ['validate', '--no-net', join_paths(meson.current_source_dir(), 
'org.pwmt.zathura-ps.metainfo.xml')]
   )
 endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zathura-ps-0.2.8/data/org.pwmt.zathura-ps.metainfo.xml 
new/zathura-ps-2026.02.03/data/org.pwmt.zathura-ps.metainfo.xml
--- old/zathura-ps-0.2.8/data/org.pwmt.zathura-ps.metainfo.xml  2024-08-04 
10:37:43.000000000 +0200
+++ new/zathura-ps-2026.02.03/data/org.pwmt.zathura-ps.metainfo.xml     
2026-02-03 21:46:58.000000000 +0100
@@ -4,9 +4,21 @@
   <id>org.pwmt.zathura-ps</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-PS</name>
   <summary>PostScript plugin for zathura</summary>
-  <url type="homepage">https://pwmt.org/projects/zathur-ps/</url>
-  <update_contact>[email protected]</update_contact>
+  <url type="homepage">https://pwmt.org/projects/zathura-ps/</url>
+  <url type="bugtracker">https://github.com/pwmt/zathura-ps/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-ps</url>
+  <releases>
+    <release version="2026.02.03" date="2026-02-03" />
+    <release version="2026.01.30" date="2026-01-30" />
+    <release version="0.2.9" date="2025-10-28" />
+    <release version="0.2.8" date="2024-08-04" />
+  </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-ps-0.2.8/meson.build 
new/zathura-ps-2026.02.03/meson.build
--- old/zathura-ps-0.2.8/meson.build    2024-08-04 10:37:43.000000000 +0200
+++ new/zathura-ps-2026.02.03/meson.build       2026-02-03 21:46:58.000000000 
+0100
@@ -1,5 +1,5 @@
 project('zathura-ps', 'c',
-  version: '0.2.8',
+  version: '2026.02.03',
   meson_version: '>=0.61',
   default_options: ['c_std=c17', 'warning_level=3']
 )
@@ -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')
 spectre = dependency('libspectre')
@@ -38,12 +38,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)
 
@@ -60,7 +58,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-ps-0.2.8/zathura-ps/page.c 
new/zathura-ps-2026.02.03/zathura-ps/page.c
--- old/zathura-ps-0.2.8/zathura-ps/page.c      2024-08-04 10:37:43.000000000 
+0200
+++ new/zathura-ps-2026.02.03/zathura-ps/page.c 2026-02-03 21:46:58.000000000 
+0100
@@ -17,7 +17,7 @@
 
   int page_width;
   int page_height;
-  spectre_page_get_size(ps_page, &(page_width), &(page_height));
+  spectre_page_get_size(ps_page, &page_width, &page_height);
 
   zathura_page_set_width(page, page_width);
   zathura_page_set_height(page, page_height);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-ps-0.2.8/zathura-ps/plugin.h 
new/zathura-ps-2026.02.03/zathura-ps/plugin.h
--- old/zathura-ps-0.2.8/zathura-ps/plugin.h    2024-08-04 10:37:43.000000000 
+0200
+++ new/zathura-ps-2026.02.03/zathura-ps/plugin.h       2026-02-03 
21:46:58.000000000 +0100
@@ -15,7 +15,7 @@
  * @return ZATHURA_ERROR_OK if no error occurred otherwise see
  *   zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_document_open(zathura_document_t* document);
+zathura_error_t ps_document_open(zathura_document_t* document);
 
 /**
  * Closes and frees the internal document structure
@@ -24,7 +24,7 @@
  * @return ZATHURA_ERROR_OK if no error occurred otherwise see
  *   zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_document_free(zathura_document_t* document, 
void* spectre_document);
+zathura_error_t ps_document_free(zathura_document_t* document, void* 
spectre_document);
 
 /**
  * Saves the document to the given path
@@ -34,8 +34,7 @@
  * @return ZATHURA_ERROR_OK when no error occurred, otherwise see
  *    zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_document_save_as(zathura_document_t* 
document, void* spectre_document,
-                                                  const char* path);
+zathura_error_t ps_document_save_as(zathura_document_t* document, void* 
spectre_document, const char* path);
 
 /**
  * Returns a list of document information entries of the document
@@ -45,8 +44,8 @@
  *   error occurred
  * @return List of information entries or NULL if an error occurred
  */
-GIRARA_HIDDEN girara_list_t* ps_document_get_information(zathura_document_t* 
document, void* spectre_document,
-                                                         zathura_error_t* 
error);
+girara_list_t* ps_document_get_information(zathura_document_t* document, void* 
spectre_document,
+                                           zathura_error_t* error);
 
 /**
  * Returns a reference to a page
@@ -55,7 +54,7 @@
  * @return ZATHURA_ERROR_OK if no error occurred otherwise see
  *   zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_page_init(zathura_page_t* page);
+zathura_error_t ps_page_init(zathura_page_t* page);
 
 /**
  * Renders a page onto a cairo object
@@ -66,8 +65,7 @@
  * @return ZATHURA_ERROR_OK if no error occurred otherwise see
  *   zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_page_render_cairo(zathura_page_t* page, void* 
spectre_page, cairo_t* cairo,
-                                                   bool printing);
+zathura_error_t ps_page_render_cairo(zathura_page_t* page, void* spectre_page, 
cairo_t* cairo, bool printing);
 
 /**
  * Frees a PostScript page
@@ -76,6 +74,6 @@
  * @return ZATHURA_ERROR_OK if no error occurred otherwise see
  *   zathura_error_t
  */
-GIRARA_HIDDEN zathura_error_t ps_page_clear(zathura_page_t* page, void* 
spectre_page);
+zathura_error_t ps_page_clear(zathura_page_t* page, void* spectre_page);
 
 #endif // PS_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zathura-ps-0.2.8/zathura-ps/render.c 
new/zathura-ps-2026.02.03/zathura-ps/render.c
--- old/zathura-ps-0.2.8/zathura-ps/render.c    2024-08-04 10:37:43.000000000 
+0200
+++ new/zathura-ps-2026.02.03/zathura-ps/render.c       2026-02-03 
21:46:58.000000000 +0100
@@ -42,10 +42,7 @@
   spectre_render_context_free(context);
 
   if (page_data == NULL || spectre_page_status(ps_page) != 
SPECTRE_STATUS_SUCCESS) {
-    if (page_data != NULL) {
-      free(page_data);
-    }
-
+    free(page_data);
     return ZATHURA_ERROR_UNKNOWN;
   }
 
@@ -54,6 +51,5 @@
   }
 
   free(page_data);
-
   return ZATHURA_ERROR_OK;
 }

Reply via email to