[packages/libgxim] Rel 9

arekm arekm at pld-linux.org
Sun Mar 15 01:59:58 CET 2026


commit b159cac60b9b620c7df6ac61249842957e579f71
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 01:59:51 2026 +0100

    Rel 9

 gximcore-include-gdkx.patch | 13 +++++++++++++
 libgxim.spec                |  7 ++++---
 2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/libgxim.spec b/libgxim.spec
index e76a644..c41cbc2 100644
--- a/libgxim.spec
+++ b/libgxim.spec
@@ -7,12 +7,13 @@ Summary:	GObject-based XIM protocol library
 Summary(pl.UTF-8):	Biblioteka protokołu XIM oparta na GObject
 Name:		libgxim
 Version:	0.5.0
-Release:	8
+Release:	9
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://bitbucket.org/tagoh/libgxim/downloads/%{name}-%{version}.tar.bz2
 # Source0-md5:	4bb1fa63d00eb224439d413591c29a6a
 Patch0:		format-security.patch
+Patch1:		gximcore-include-gdkx.patch
 URL:		http://tagoh.bitbucket.org/libgxim/
 BuildRequires:	dbus-devel >= 0.23
 BuildRequires:	dbus-glib-devel >= 0.74
@@ -87,6 +88,7 @@ Dokumentacja API biblioteki libgxim.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %configure \
@@ -105,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 # only empty translations exist (as of 0.5.0)
-#%find_lang %{name}
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -113,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-#%files -f %{name}.lang
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
diff --git a/gximcore-include-gdkx.patch b/gximcore-include-gdkx.patch
new file mode 100644
index 0000000..9b2cd8e
--- /dev/null
+++ b/gximcore-include-gdkx.patch
@@ -0,0 +1,13 @@
+--- libgxim-0.5.0/libgxim/gximcore.c.orig	2013-05-28 08:58:37.000000000 +0200
++++ libgxim-0.5.0/libgxim/gximcore.c	2026-03-15 12:00:00.000000000 +0100
+@@ -26,9 +26,8 @@
+ #endif
+
+ #include <glib/gi18n-lib.h>
+-#ifdef GNOME_ENABLE_DEBUG
+ #include <gdk/gdkx.h>
+-#endif /* GNOME_ENABLE_DEBUG */
++
+ #include "gximacc.h"
+ #include "gximconnection.h"
+ #include "gximmarshal.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgxim.git/commitdiff/b159cac60b9b620c7df6ac61249842957e579f71



More information about the pld-cvs-commit mailing list