Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package catimg for openSUSE:Factory checked 
in at 2026-01-12 10:26:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/catimg (Old)
 and      /work/SRC/openSUSE:Factory/.catimg.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "catimg"

Mon Jan 12 10:26:27 2026 rev:4 rq:1326641 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/catimg/catimg.changes    2025-06-10 
09:10:07.627444203 +0200
+++ /work/SRC/openSUSE:Factory/.catimg.new.1928/catimg.changes  2026-01-12 
10:35:22.400188391 +0100
@@ -1,0 +2,7 @@
+Sun Jan 11 12:53:35 UTC 2026 - Andreas Stieger <[email protected]>
+
+- update to 2.8.0:
+  * compatibility with cmake 4
+- use cmake macros in packaging
+
+-------------------------------------------------------------------

Old:
----
  2.7.0.tar.gz

New:
----
  catimg-2.8.0.tar.gz

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

Other differences:
------------------
++++++ catimg.spec ++++++
--- /var/tmp/diff_new_pack.hXQCt2/_old  2026-01-12 10:35:22.976212097 +0100
+++ /var/tmp/diff_new_pack.hXQCt2/_new  2026-01-12 10:35:22.980212261 +0100
@@ -2,6 +2,7 @@
 # spec file for package catimg
 #
 # Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +18,17 @@
 
 
 Name:           catimg
-Version:        2.7.0
+Version:        2.8.0
 Release:        0
-License:        MIT
 Summary:        Insanely fast image printing in your terminal
+License:        MIT
 Group:          Productivity/Graphics/Viewers
-URL:            http://posva.net/shell/retro/bash/2013/05/27/catimg
-Source:         
https://github.com/posva/catimg/archive/refs/tags/%{version}.tar.gz
-# fix build with gcc15
+URL:            https://posva.net/shell/retro/bash/2013/05/27/catimg
+Source:         
https://github.com/posva/catimg/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
+# https://github.com/posva/catimg/pull/76
 Patch0:          catimg-gcc15.patch
-BuildRequires:  cmake >= 3.5
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
+BuildRequires:  c++_compiler
+BuildRequires:  cmake
 Requires:       ImageMagick
 
 %description
@@ -43,27 +43,26 @@
 The official zsh completion script for catimg.
 
 %prep
-%autosetup -p1 -n %{name}-%{version}
+%autosetup -p1
 
 %build
-%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
-%make_build
+%cmake
+%cmake_build
 
 %install
-cd build
-%make_install
-
-install -Dm 0644 ../completion/_%{name}  
%{buildroot}/%{_datadir}/zsh/site-functions/_%{name}
+%cmake_install
+install -Dm 0644 completion/_%{name}  
%{buildroot}/%{_datadir}/zsh/site-functions/_%{name}
 
 %check
 %ctest
 
 %files
-%{_bindir}/*
-%_mandir/*/*
-%doc README.md
 %license LICENSE
+%doc README.md
+%{_bindir}/catimg
+%{_mandir}/man1/catimg.1%{?ext_man}
 
 %files zsh-completion
+%license LICENSE
 %{_datadir}/zsh
 

++++++ catimg-gcc15.patch ++++++
--- /var/tmp/diff_new_pack.hXQCt2/_old  2026-01-12 10:35:23.028214237 +0100
+++ /var/tmp/diff_new_pack.hXQCt2/_new  2026-01-12 10:35:23.032214401 +0100
@@ -1,13 +1,22 @@
-Index: catimg-2.7.0/src/catimg.c
-===================================================================
---- catimg-2.7.0.orig/src/catimg.c
-+++ catimg-2.7.0/src/catimg.c
+From 31b39851ac0b67b8e26f397ac83caf68086d3732 Mon Sep 17 00:00:00 2001
+From: Felix Yan <[email protected]>
+Date: Mon, 15 Dec 2025 00:22:35 +0900
+Subject: [PATCH] Fix build error on GCC 15 (#76)
+
+---
+ src/catimg.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/catimg.c b/src/catimg.c
+index 962ce5c..5dd5c3f 100644
+--- a/src/catimg.c
++++ b/src/catimg.c
 @@ -34,7 +34,7 @@ extern int optreset;
  volatile int loops = -1, loop = -1;
  volatile char stop = 0;
  
 -void intHandler() {
-+void intHandler(int) {
++void intHandler(int sig) {
      loops = loop;
      stop = 1;
  }

Reply via email to