Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 337305aa74 | |||
|
|
b90cdd2a47 | ||
| bf8faf8509 | |||
|
|
c728a21b84 | ||
| 665ce564bd | |||
|
|
455c2b6d6f |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a6450316ff62fb07c3facb47ea208bf98f62abd02783e88c56f2a6508035139
|
||||
size 90898
|
||||
3
catimg-2.8.0.tar.gz
Normal file
3
catimg-2.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f4f54c237cd3b70c8a125044eb2578e8263c12b42d401a42c02c32f10f62548
|
||||
size 90793
|
||||
22
catimg-gcc15.patch
Normal file
22
catimg-gcc15.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 31b39851ac0b67b8e26f397ac83caf68086d3732 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Yan <felixonmars@archlinux.org>
|
||||
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 sig) {
|
||||
loops = loop;
|
||||
stop = 1;
|
||||
}
|
||||
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 12:53:35 UTC 2026 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 2.8.0:
|
||||
* compatibility with cmake 4
|
||||
- use cmake macros in packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 9 09:22:55 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix build with gcc15
|
||||
+ catimg-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 01:30:02 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
|
||||
- Add %check section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 10 18:51:38 UTC 2022 - Jan-Luca Kiok <me@jlk.one>
|
||||
|
||||
|
||||
35
catimg.spec
35
catimg.spec
@@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package catimg
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,16 +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
|
||||
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: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
Requires: ImageMagick
|
||||
|
||||
%description
|
||||
@@ -41,26 +43,27 @@ BuildArch: noarch
|
||||
The official zsh completion script for catimg.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%make_build
|
||||
%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
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user