[packages/imlib] - fix for gmodule configure check

qboosh qboosh at pld-linux.org
Fri Sep 26 19:56:23 CEST 2025


commit a949a5c4be550323e2ec9f9c5be1e99ce59b8637
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 26 19:59:21 2025 +0200

    - fix for gmodule configure check

 imlib-full_i18n.patch |  4 +---
 imlib-gmodule.patch   | 12 ++++++++++++
 imlib-intl.patch      |  9 ---------
 imlib.spec            |  3 +--
 4 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/imlib.spec b/imlib.spec
index eea6d78..659ffa6 100644
--- a/imlib.spec
+++ b/imlib.spec
@@ -17,7 +17,7 @@ Patch0:		%{name}-m4_fix.patch
 Patch1:		%{name}-full_i18n.patch
 Patch2:		%{name}-config.patch
 Patch3:		%{name}-am18.patch
-Patch4:		%{name}-intl.patch
+Patch4:		%{name}-gmodule.patch
 Patch5:		%{name}-CAN-2004-1026.patch
 Patch6:		%{name}-link.patch
 Patch7:		%{name}-16bit_depth_fix.patch
@@ -147,7 +147,6 @@ Bibliotecas estáticas para desenvolvimento com imlib.
 %patch -P1 -p1
 %patch -P2 -p1
 %patch -P3 -p1
-# temporary hack
 %patch -P4 -p1
 %patch -P5 -p1
 %patch -P6 -p1
diff --git a/imlib-full_i18n.patch b/imlib-full_i18n.patch
index ccf5d0e..1386682 100644
--- a/imlib-full_i18n.patch
+++ b/imlib-full_i18n.patch
@@ -22,7 +22,7 @@
  dnl Give the user an option to compile without shared memory support,
  dnl incase it is broken for example.
  AC_ARG_ENABLE(shm, [  --enable-shm            support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes")
-@@ -344,19 +347,16 @@
+@@ -344,19 +347,14 @@
  AC_SUBST(X_EXTRA_LIBS)
  
  AC_OUTPUT([
@@ -52,8 +52,6 @@
 +	imlib-config 
 +	imlib.pc
 +	imlibgdk.pc
-+	intl/Makefile
-+	po/Makefile.in
 +])
 diff -Nru imlib-1.9.10/po/POTFILES.in imlib-1.9.10.new/po/POTFILES.in
 --- imlib-1.9.10/po/POTFILES.in	Thu Jan  1 01:00:00 1970
diff --git a/imlib-gmodule.patch b/imlib-gmodule.patch
new file mode 100644
index 0000000..a62dc50
--- /dev/null
+++ b/imlib-gmodule.patch
@@ -0,0 +1,12 @@
+--- imlib-1.9.15/configure.in.orig	2025-09-26 19:43:42.787101670 +0200
++++ imlib-1.9.15/configure.in	2025-09-26 19:53:38.307134865 +0200
+@@ -49,7 +49,8 @@ if test "x$GDK_IMLIB" != x; then
+   AC_TRY_RUN([
+ #include <glib.h>
+ #include <gmodule.h>
+-main ()
++#include <stdlib.h>
++int main ()
+ {
+     if (g_module_supported ())
+         exit (0);
diff --git a/imlib-intl.patch b/imlib-intl.patch
deleted file mode 100644
index b99f351..0000000
--- a/imlib-intl.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- imlib-1.9.14/configure.in.orig	Tue Nov  5 16:18:24 2002
-+++ imlib-1.9.14/configure.in	Tue Nov  5 16:18:39 2002
-@@ -327,6 +327,4 @@
- 	imlib-config 
- 	imlib.pc
- 	imlibgdk.pc
--	intl/Makefile
--	po/Makefile.in
- ])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imlib.git/commitdiff/a949a5c4be550323e2ec9f9c5be1e99ce59b8637



More information about the pld-cvs-commit mailing list