[packages/libappindicator] Rel 7
arekm
arekm at pld-linux.org
Tue Mar 10 17:46:49 CET 2026
commit 58c5bde791df31b2e25b8967abc5da1e229fee96
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 10 17:46:43 2026 +0100
Rel 7
gtk-widget-ref-type-fix.patch | 11 +++++++++++
libappindicator.spec | 9 +++++++--
python-constants-declaration-fix.patch | 10 ++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/libappindicator.spec b/libappindicator.spec
index 6baa04f..e4bc4ac 100644
--- a/libappindicator.spec
+++ b/libappindicator.spec
@@ -16,7 +16,7 @@ Summary: Application indicators library
Summary(pl.UTF-8): Biblioteka wskaźników aplikacji
Name: libappindicator
Version: 12.10.0
-Release: 6
+Release: 7
License: LGPL v2.1 or LGPL v3
Group: Libraries
#Source0Download: https://launchpad.net/libappindicator/+download
@@ -25,6 +25,8 @@ Source0: http://launchpad.net/libappindicator/12.10/%{version}/+download/%{name}
Patch0: %{name}-python.patch
Patch1: %{name}-mono.patch
Patch2: mono4.patch
+Patch3: gtk-widget-ref-type-fix.patch
+Patch4: python-constants-declaration-fix.patch
URL: https://launchpad.net/libappindicator
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
@@ -266,6 +268,8 @@ Dokumentacja API biblioteki libappindicator (zarówno w wersji GTK+
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
# to allow deprecation warnings
%{__sed} -i -e 's/-Werror //' src/Makefile.am
@@ -281,7 +285,8 @@ export CFLAGS="%{rpmcflags} -fcommon"
for gtkver in %{?with_gtk2:2} %{?with_gtk3:3}; do
install -d build-gtk$gtkver
cd build-gtk$gtkver
-../%configure \
+%global configuredir ..
+%configure \
--disable-silent-rules \
%{!?with_static_libs:--disable-static} \
--with-gtk=$gtkver \
diff --git a/gtk-widget-ref-type-fix.patch b/gtk-widget-ref-type-fix.patch
new file mode 100644
index 0000000..2b7aa40
--- /dev/null
+++ b/gtk-widget-ref-type-fix.patch
@@ -0,0 +1,11 @@
+--- libappindicator-12.10.0/src/app-indicator.c.orig 2012-09-17 20:59:41.000000000 +0200
++++ libappindicator-12.10.0/src/app-indicator.c 2026-03-10 17:45:00.000000000 +0100
+@@ -2196,7 +2196,7 @@
+
+ g_return_if_fail (GTK_IS_WIDGET (menuitem));
+
+- priv->sec_activate_target = g_object_ref(G_OBJECT(menuitem));
++ priv->sec_activate_target = g_object_ref(menuitem);
+ priv->sec_activate_enabled = widget_is_menu_child(self, menuitem);
+ g_signal_connect(menuitem, "parent-set", G_CALLBACK(sec_activate_target_parent_changed), self);
+ }
diff --git a/python-constants-declaration-fix.patch b/python-constants-declaration-fix.patch
new file mode 100644
index 0000000..a11f24b
--- /dev/null
+++ b/python-constants-declaration-fix.patch
@@ -0,0 +1,10 @@
+--- libappindicator-12.10.0/bindings/python/appindicatormodule.c.orig 2012-07-11 17:42:27.000000000 +0200
++++ libappindicator-12.10.0/bindings/python/appindicatormodule.c 2026-03-10 17:52:00.000000000 +0100
+@@ -30,6 +30,7 @@
+
+ void pyappindicator_register_classes (PyObject *d);
+ extern PyMethodDef pyappindicator_functions[];
++void _appindicator_add_constants (PyObject *module, const gchar *strip_prefix);
+
+ DL_EXPORT(void)
+ init_appindicator(void)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libappindicator.git/commitdiff/58c5bde791df31b2e25b8967abc5da1e229fee96
More information about the pld-cvs-commit
mailing list