public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qiv] rawhide: Update to v3.0.4
@ 2026-11-17 13:20 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-17 13:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qiv
Branch : rawhide
Commit : 9d2f28ec6b29c5db74c798df433681f99756433c
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-11-12T21:42:21+01:00
Stats  : +9/-108 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/qiv/c/9d2f28ec6b29c5db74c798df433681f99756433c?branch=rawhide

Log:
Update to v3.0.4

---
diff --git a/.gitignore b/.gitignore
index f1deafd..75c9af9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /qiv-2.3.1.tgz
 /qiv-2.3.2.tgz
 /qiv-2.3.3.tgz
+/v3.0.4.tar.gz

diff --git a/2.3.3-fix-prototypes.patch b/2.3.3-fix-prototypes.patch
deleted file mode 100644
index ee5ed53..0000000
--- a/2.3.3-fix-prototypes.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/main.c b/main.c
-index 66b99dd..ea91293 100644
---- a/main.c
-+++ b/main.c
-@@ -25,8 +25,8 @@ qiv_image main_img;
- qiv_mgl   magnify_img; /* [lc] */
- 
- static int check_extension(const char *);
--static void qiv_signal_usr1();
--static void qiv_signal_usr2();
-+static void qiv_signal_usr1(int);
-+static void qiv_signal_usr2(int);
- static gboolean qiv_handle_timer(gpointer);
- static void qiv_timer_restart(gpointer);
- 
-@@ -250,13 +250,13 @@ void qiv_exit(int code)
-  * functions for handling signals
-  */
- 
--static void qiv_signal_usr1()
-+static void qiv_signal_usr1(int ignored)
- {
-   next_image(1);
-   qiv_load_image(&main_img);
- }
- 
--static void qiv_signal_usr2()
-+static void qiv_signal_usr2(int ignored)
- {
-   next_image(-1);
-   qiv_load_image(&main_img);
-diff --git a/qiv.h b/qiv.h
-index d71cd10..f35da1d 100644
---- a/qiv.h
-+++ b/qiv.h
-@@ -190,7 +190,6 @@ extern char *get_icc_profile(char *filename);
- /* main.c */
- 
- extern void qiv_exit(int);
--extern void qiv_load_image();
- extern void filter_images(int *images, char **image_names);
- 
- /* image.c */

diff --git a/2.3.3-makefile-destdir.patch b/2.3.3-makefile-destdir.patch
deleted file mode 100644
index 4f19d85..0000000
--- a/2.3.3-makefile-destdir.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 4d6f9ee..cb2b7e3 100644
---- a/Makefile
-+++ b/Makefile
-@@ -148,31 +148,26 @@ distclean : clean
- 
- install: $(PROGRAM)
- 	@echo "Installing QIV..."
--	@if [ ! -e $(PREFIX)/bin ]; then \
--	  $(INSTALL) -d -m 0755 $(PREFIX)/bin; \
--	  echo install -d -m 0755 $(PREFIX)/bin; \
-+	@if [ ! -e $(DESTDIR)$(PREFIX)/bin ]; then \
-+	  $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin; \
-+	  echo install -d -m 0755 $(DESTDIR)$(PREFIX)/bin; \
-         fi
--	$(INSTALL) -s -m 0755 $(PROGRAM) $(PREFIX)/bin
--	@if [ ! -e $(PREFIX)/share/man/man1 ]; then \
--	  echo install -d -m 0755 $(PREFIX)/share/man/man1; \
--	  $(INSTALL) -d -m 0755 $(PREFIX)/share/man/man1; \
-+	$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
-+	@if [ ! -e $(DESTDIR)$(PREFIX)/share/man/man1 ]; then \
-+	  echo install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1; \
-+	  $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1; \
- 	fi
--	$(INSTALL) -m 0644 $(PROGRAM).1 $(PREFIX)/share/man/man1
--	$(COMPRESS_PROG) $(PREFIX)/share/man/man1/$(PROGRAM).1
--	@if [ ! -e $(PREFIX)/share/pixmaps ]; then \
--	  echo install -d -m 0755 $(PREFIX)/share/pixmaps; \
--	  $(INSTALL) -d -m 0755 $(PREFIX)/share/pixmaps; \
-+	$(INSTALL) -m 0644 $(PROGRAM).1 $(DESTDIR)$(PREFIX)/share/man/man1
-+	$(COMPRESS_PROG) $(DESTDIR)$(PREFIX)/share/man/man1/$(PROGRAM).1
-+	@if [ ! -e $(DESTDIR)$(PREFIX)/share/pixmaps ]; then \
-+	  echo install -d -m 0755 $(DESTDIR)$(PREFIX)/share/pixmaps; \
-+	  $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/pixmaps; \
- 	fi
--	$(INSTALL) -m 0644 qiv.png $(PREFIX)/share/pixmaps/qiv.png
--	@if [ ! -e $(PREFIX)/share/applications ]; then \
--	  echo install -d -m 0755 $(PREFIX)/share/applications; \
--	  $(INSTALL) -d -m 0755 $(PREFIX)/share/applications; \
-+	$(INSTALL) -m 0644 qiv.png $(DESTDIR)$(PREFIX)/share/pixmaps/qiv.png
-+	@if [ ! -e $(DESTDIR)$(PREFIX)/share/applications ]; then \
-+	  echo install -d -m 0755 $(DESTDIR)$(PREFIX)/share/applications; \
-+	  $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/applications; \
- 	fi
--	$(INSTALL) -m 0644 qiv.desktop $(PREFIX)/share/applications/qiv.desktop
--	@if ./qiv -f ./intro.jpg ; \
--	then echo "-- Test Passed --" ; \
--	else echo "-- Test Failed --" ; \
--	fi
--	@echo "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example $(PREFIX)/bin/qiv-command\n\n"
-+	$(INSTALL) -m 0644 qiv.desktop $(DESTDIR)$(PREFIX)/share/applications/qiv.desktop
- 
- # the end... ;-)

diff --git a/qiv.spec b/qiv.spec
index 32c584b..1c460a3 100644
--- a/qiv.spec
+++ b/qiv.spec
@@ -1,5 +1,5 @@
 Name:           qiv
-Version:        2.3.3
+Version:        3.0.4
 Release:        %autorelease
 
 Summary:        Quick Image Viewer
@@ -7,15 +7,11 @@ Summary:        Quick Image Viewer
 # Automatically converted from old format: GPLv2 - review is highly recommended.
 License:        GPL-2.0-only
 URL:            http://spiegl.de/qiv/
-Source0:        http://spiegl.de/qiv/download/%{name}-%{version}.tgz
-
-Patch0:         2.3.3-makefile-destdir.patch
-Patch1:         2.3.3-fix-prototypes.patch
+Source0:        https://codeberg.org/ciberandy/qiv/archive/v%{version}.tar.gz
 
 BuildRequires:  make
 BuildRequires:  gcc
-BuildRequires:  gtk2-devel
-BuildRequires:  imlib2-devel
+BuildRequires:  gtk3-devel
 BuildRequires:  file-devel
 BuildRequires:  lcms2-devel
 BuildRequires:  libjpeg-devel
@@ -23,16 +19,16 @@ BuildRequires:  libexif-devel
 BuildRequires:  libtiff-devel
 
 %description
-qiv is a very small and pretty fast gdk2/Imlib2 image viewer.
+qiv is a very small and pretty fast gdk3 image viewer.
 
 %prep
-%autosetup
+%autosetup -n %{name}
 
 %build
-%make_build CFLAGS="%{optflags}"
+%make_build
 
 %install
-%make_install PREFIX="%{_prefix}"
+%make_install PREFIX="%{buildroot}%{_prefix}" STRIP_FLAG=""
 chmod 644 contrib/qiv-command.example
 
 %files

diff --git a/sources b/sources
index 411adbd..c289932 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qiv-2.3.3.tgz) = 95b5f3759c03648dea1ea1eacaf3d38d808a6eff4d26edf711df0e20a741fc22a0c16bcd84b8740f1455f5d35db9c2b04392dff8b4e030ec3d3c05cd01886759
+SHA512 (v3.0.4.tar.gz) = 3f0fae2f2aaf38c6262438d3f8ff3ee66c87debf3872a7f880b5d9dd9a3632ac50d0a237cc7c716fc7a4f3b9778838950d85238705167dc86180e1b865727968

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-17 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17 13:20 [rpms/qiv] rawhide: Update to v3.0.4 Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox