[packages/fbida] rel 2; lirc is deprecated

arekm arekm at pld-linux.org
Mon Sep 29 11:36:20 CEST 2025


commit fdf57f4d32ce9edce4aea062f2d03a6894e94f09
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 29 11:36:05 2025 +0200

    rel 2; lirc is deprecated

 build.patch | 33 +++++++++++++++++++++++++++++++++
 fbida.spec  |  6 ++++--
 2 files changed, 37 insertions(+), 2 deletions(-)
---
diff --git a/fbida.spec b/fbida.spec
index b3cefc3..1892bb6 100644
--- a/fbida.spec
+++ b/fbida.spec
@@ -5,7 +5,7 @@
 %bcond_without	curl		# without URL support
 %bcond_without	exif		# without EXIF tags support
 %bcond_without	gif		# without GIF images support
-%bcond_without	lirc		# without LIRC control support
+%bcond_with	lirc		# without LIRC control support
 %bcond_without	motif		# don't build (Motif-based) ida
 %bcond_without	pcd		# without PCD images support
 %bcond_without	sane		# without SANE scanning support (in ida)
@@ -20,13 +20,14 @@ Summary:	fbida - a few applications for viewing and editing images
 Summary(pl.UTF-8):	fbida - kilka aplikacji do oglądania i edycji obrazków
 Name:		fbida
 Version:	2.14
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/Graphics
 Source0:	https://www.kraxel.org/releases/fbida/%{name}-%{version}.tar.gz
 # Source0-md5:	f5475b359461d2d995bde59e13cc584f
 Patch0:		%{name}-config-noforce.patch
 Patch1:		%{name}-desktop.patch
+Patch2:		build.patch
 URL:		https://www.kraxel.org/blog/linux/fbida/
 BuildRequires:	EGL-devel
 BuildRequires:	ImageMagick-devel
@@ -142,6 +143,7 @@ Dostępne jest też trochę podstawowych funkcji edycyjnych.
 %setup -q
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 CFLAGS="%{rpmcflags}" \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..5d3d619
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,33 @@
+--- fbida-2.14/filter.c~	2017-08-30 12:48:03.000000000 +0200
++++ fbida-2.14/filter.c	2025-09-29 11:18:01.061851241 +0200
+@@ -6,7 +6,7 @@
+ #include "readers.h"
+ #include "filter.h"
+ 
+-int debug = 0;
++extern int debug;
+ 
+ /* ----------------------------------------------------------------------- */
+ 
+--- fbida-2.14/exiftran.c~	2017-08-30 12:48:03.000000000 +0200
++++ fbida-2.14/exiftran.c	2025-09-29 11:23:40.499878311 +0200
+@@ -18,6 +18,8 @@
+ #include "jpegtools.h"
+ #include "genthumbnail.h"
+ 
++int debug = 0;
++
+ /* ---------------------------------------------------------------------- */
+ 
+ static void dump_exif(FILE *out, ExifData *ed)
+--- fbida-2.14/idaconfig.h~	2017-08-30 12:48:03.000000000 +0200
++++ fbida-2.14/idaconfig.h	2025-09-29 11:35:32.531558684 +0200
+@@ -17,7 +17,7 @@
+ 
+ /* -------------------------------------------------------------------------- */
+ 
+-char *ida_lists;
++extern char *ida_lists;
+ 
+ void ida_init_config(void);
+ void ida_read_config(void);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fbida.git/commitdiff/fdf57f4d32ce9edce4aea062f2d03a6894e94f09



More information about the pld-cvs-commit mailing list