[arch-commits] Commit in libappindicator/repos/community-x86_64 (7 files)

Antonio Rojas arojas at archlinux.org
Sun Nov 25 15:35:23 UTC 2018


    Date: Sunday, November 25, 2018 @ 15:35:23
  Author: arojas
Revision: 409696

archrelease: copy trunk to community-x86_64

Added:
  libappindicator/repos/community-x86_64/PKGBUILD
    (from rev 409695, libappindicator/trunk/PKGBUILD)
  libappindicator/repos/community-x86_64/improved-plasma.patch
    (from rev 409695, libappindicator/trunk/improved-plasma.patch)
  libappindicator/repos/community-x86_64/incompatible_pointer_build_fix.patch
    (from rev 409695, libappindicator/trunk/incompatible_pointer_build_fix.patch)
  libappindicator/repos/community-x86_64/no-python.patch
    (from rev 409695, libappindicator/trunk/no-python.patch)
Deleted:
  libappindicator/repos/community-x86_64/PKGBUILD
  libappindicator/repos/community-x86_64/improved-plasma.patch
  libappindicator/repos/community-x86_64/no-python.patch

--------------------------------------+
 PKGBUILD                             |  235 ++++++++++++++++-----------------
 improved-plasma.patch                |  118 ++++++++--------
 incompatible_pointer_build_fix.patch |   12 +
 no-python.patch                      |  162 +++++++++++-----------
 4 files changed, 271 insertions(+), 256 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-25 15:34:58 UTC (rev 409695)
+++ PKGBUILD	2018-11-25 15:35:23 UTC (rev 409696)
@@ -1,116 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
-# Contributor: FadeMind <fademind at gmail dot com>
-# Contributor: Maxime Gauduin <alucryd at archlinux dot org>
-# Contributor: bitwave <aur at oomlu dot de>
-# Contributor: willemw <willemw12 at gmail dot com>
-# Contributor: Balló György <ballogyor+arch at gmail dot com>
-
-pkgbase=libappindicator
-pkgname=("${pkgbase}-gtk"{2,3} "${pkgbase}-sharp" "python2-${pkgbase}")
-pkgver=12.10.0
-pkgrel=12
-pkgdesc='Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray'
-url='https://launchpad.net/libappindicator'
-arch=('i686' 'x86_64')
-license=('LGPL2.1' 'LGPL3')
-makedepends=('dbus-glib' 'gobject-introspection' 'gtk-sharp-2'
-             'libdbusmenu-gtk'{2,3} 'libindicator-gtk'{2,3}
-             'mono' 'perl-xml-libxml' 'pygtk' 'vala' 'python2')
-options=('!emptydirs')
-source=(http://launchpad.net/${pkgbase}/${pkgver%.*}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz{,.asc}
-        improved-plasma.patch
-        no-python.patch)
-sha512sums=('317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a'
-            'SKIP'
-            'e2930b9942b800a7a14faf4c27d59073c166e24bb1675f8604a0b5ac3fbd101f3642f7221bc8f5219231c8f021a2a8c4aa203f971ea5f2f9225be83d807cb80e'
-            '891f5097c607770428460fe902214c70fb2a11de9fe1e6d6109ea859b22eda3d7057cab4c5b5444de5f6f3149348c186034dcde8f95c77800bcbd8abcdf7277b')
-validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E')  # Charles Kerr <charles.kerr at canonical.com>
-
-prepare() {
-  (cd ${pkgbase}-${pkgver}
-    sed 's|/cli/|/mono/|' -i bindings/mono/{appindicator-sharp-0.1.pc.in,Makefile.in}
-    sed 's/example //g' -i Makefile.in
-    patch -p1 < "${srcdir}/improved-plasma.patch"
-  )
-  # python enabled variant
-  cp -ra ${pkgbase}-${pkgver}{,-py2}
-  # disable python for gtk2 + gtk3 variant
-  (cd ${pkgbase}-${pkgver}; patch -p1 < "${srcdir}/no-python.patch")
-  cp -ra ${pkgbase}-${pkgver}{,-gtk2}
-}
-
-build() {
-  export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
-  export CSC='/usr/bin/mcs'
-
-  msg2 'Building gtk3...'
-  (cd ${pkgbase}-${pkgver}
-    ./configure --prefix=/usr \
-      --sysconfdir=/etc \
-      --localstatedir=/var \
-      --disable-{gtk-doc-html,mono-test,static,tests} \
-      --with-gtk=3
-    make
-  )
-
-  msg2 'Building gtk2...'
-  (cd ${pkgbase}-${pkgver}-gtk2
-    ./configure --prefix=/usr \
-      --sysconfdir=/etc \
-      --localstatedir=/var \
-      --disable-{gtk-doc-html,mono-test,static,tests} \
-      --with-gtk=2
-    make
-  )
-
-  msg2 'Building python2...'
-  (cd ${pkgbase}-${pkgver}-py2
-    ./configure --prefix=/usr \
-      --sysconfdir=/etc \
-      --localstatedir=/var \
-      --disable-{gtk-doc-html,mono-test,static,tests} \
-      --with-gtk=2
-    make
-  )
-}
-
-package_libappindicator-gtk2() {
-  pkgdesc+=' (GTK+ 2 library)'
-  depends=('libdbusmenu-gtk2' 'libindicator-gtk2')
-  provides=("${pkgbase}")
-  conflicts=("${pkgbase}")
-
-  cd ${pkgbase}-${pkgver}-gtk2
-  make -j1 DESTDIR="${pkgdir}" install
-  make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
-  rm -rf "${pkgdir}"/usr/share/gtk-doc
-}
-
-package_libappindicator-gtk3() {
-  pkgdesc+=' (GTK+ 3 library)'
-  depends=('libdbusmenu-gtk3' 'libindicator-gtk3')
-  provides=("${pkgbase}3")
-  conflicts=("${pkgbase}3")
-
-  cd ${pkgbase}-${pkgver}
-  make -j1 DESTDIR="${pkgdir}" install
-  make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
-  rm -rf "${pkgdir}"/usr/share/gtk-doc
-}
-
-package_libappindicator-sharp() {
-  depends=("${pkgbase}-gtk2" 'gtk-sharp-2')
-
-  cd ${pkgbase}-${pkgver}-gtk2
-  make -j1 -C bindings/mono DESTDIR="${pkgdir}" install
-}
-
-package_python2-libappindicator() {
-  depends=("${pkgbase}-gtk2" 'python2')
-
-  cd ${pkgbase}-${pkgver}-py2
-  make -j1 -C bindings/python DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: libappindicator/repos/community-x86_64/PKGBUILD (from rev 409695, libappindicator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-25 15:35:23 UTC (rev 409696)
@@ -0,0 +1,119 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: FadeMind <fademind at gmail dot com>
+# Contributor: Maxime Gauduin <alucryd at archlinux dot org>
+# Contributor: bitwave <aur at oomlu dot de>
+# Contributor: willemw <willemw12 at gmail dot com>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=libappindicator
+pkgname=("${pkgbase}-gtk"{2,3} "${pkgbase}-sharp" "python2-${pkgbase}")
+pkgver=12.10.0
+pkgrel=13
+pkgdesc='Allow applications to extend a menu via Ayatana indicators in Unity, KDE or Systray'
+url='https://launchpad.net/libappindicator'
+arch=('x86_64')
+license=('LGPL2.1' 'LGPL3')
+makedepends=('dbus-glib' 'gobject-introspection' 'gtk-sharp-2'
+             'libdbusmenu-gtk'{2,3} 'libindicator-gtk'{2,3}
+             'mono' 'perl-xml-libxml' 'pygtk' 'vala' 'python2')
+options=('!emptydirs')
+source=(http://launchpad.net/${pkgbase}/${pkgver%.*}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz{,.asc}
+        improved-plasma.patch
+        no-python.patch
+        incompatible_pointer_build_fix.patch)
+sha512sums=('317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a'
+            'SKIP'
+            'e2930b9942b800a7a14faf4c27d59073c166e24bb1675f8604a0b5ac3fbd101f3642f7221bc8f5219231c8f021a2a8c4aa203f971ea5f2f9225be83d807cb80e'
+            '891f5097c607770428460fe902214c70fb2a11de9fe1e6d6109ea859b22eda3d7057cab4c5b5444de5f6f3149348c186034dcde8f95c77800bcbd8abcdf7277b'
+            'bda93822c43dbc153202e7cd1e4b5c5fde5ca1ec35a1314bee37707f9cf4483c52ba79d3c808592f5e62470d45dc6a7b8eb5cfe60295a8e5446128b0643e36c5')
+validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E')  # Charles Kerr <charles.kerr at canonical.com>
+
+prepare() {
+  (cd ${pkgbase}-${pkgver}
+    sed 's|/cli/|/mono/|' -i bindings/mono/{appindicator-sharp-0.1.pc.in,Makefile.in}
+    sed 's/example //g' -i Makefile.in
+    patch -p1 < "${srcdir}/improved-plasma.patch"
+    patch -p1 -i ../incompatible_pointer_build_fix.patch # Build fix, Fedora patch
+  )
+  # python enabled variant
+  cp -ra ${pkgbase}-${pkgver}{,-py2}
+  # disable python for gtk2 + gtk3 variant
+  (cd ${pkgbase}-${pkgver}; patch -p1 < "${srcdir}/no-python.patch")
+  cp -ra ${pkgbase}-${pkgver}{,-gtk2}
+}
+
+build() {
+  export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
+  export CSC='/usr/bin/mcs'
+
+  msg2 'Building gtk3...'
+  (cd ${pkgbase}-${pkgver}
+    ./configure --prefix=/usr \
+      --sysconfdir=/etc \
+      --localstatedir=/var \
+      --disable-{gtk-doc-html,mono-test,static,tests} \
+      --with-gtk=3
+    make
+  )
+
+  msg2 'Building gtk2...'
+  (cd ${pkgbase}-${pkgver}-gtk2
+    ./configure --prefix=/usr \
+      --sysconfdir=/etc \
+      --localstatedir=/var \
+      --disable-{gtk-doc-html,mono-test,static,tests} \
+      --with-gtk=2
+    make
+  )
+
+  msg2 'Building python2...'
+  (cd ${pkgbase}-${pkgver}-py2
+    ./configure --prefix=/usr \
+      --sysconfdir=/etc \
+      --localstatedir=/var \
+      --disable-{gtk-doc-html,mono-test,static,tests} \
+      --with-gtk=2
+    make
+  )
+}
+
+package_libappindicator-gtk2() {
+  pkgdesc+=' (GTK+ 2 library)'
+  depends=('libdbusmenu-gtk2' 'libindicator-gtk2')
+  provides=("${pkgbase}")
+  conflicts=("${pkgbase}")
+
+  cd ${pkgbase}-${pkgver}-gtk2
+  make -j1 DESTDIR="${pkgdir}" install
+  make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
+  rm -rf "${pkgdir}"/usr/share/gtk-doc
+}
+
+package_libappindicator-gtk3() {
+  pkgdesc+=' (GTK+ 3 library)'
+  depends=('libdbusmenu-gtk3' 'libindicator-gtk3')
+  provides=("${pkgbase}3")
+  conflicts=("${pkgbase}3")
+
+  cd ${pkgbase}-${pkgver}
+  make -j1 DESTDIR="${pkgdir}" install
+  make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
+  rm -rf "${pkgdir}"/usr/share/gtk-doc
+}
+
+package_libappindicator-sharp() {
+  depends=("${pkgbase}-gtk2" 'gtk-sharp-2')
+
+  cd ${pkgbase}-${pkgver}-gtk2
+  make -j1 -C bindings/mono DESTDIR="${pkgdir}" install
+}
+
+package_python2-libappindicator() {
+  depends=("${pkgbase}-gtk2" 'python2')
+
+  cd ${pkgbase}-${pkgver}-py2
+  make -j1 -C bindings/python DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: improved-plasma.patch
===================================================================
--- improved-plasma.patch	2018-11-25 15:34:58 UTC (rev 409695)
+++ improved-plasma.patch	2018-11-25 15:35:23 UTC (rev 409696)
@@ -1,59 +0,0 @@
-From c38d64aa3c12bea271d331b6c52a1130ca758a69 Mon Sep 17 00:00:00 2001
-From: Sebastian Krzyszkowiak <dos at dosowisko.net>
-Date: Sun, 12 Jul 2015 16:25:07 +0200
-Subject: [PATCH] Add support for Activate method for improved Plasma 5 user
- experience
-
----
- src/app-indicator.c             | 3 ++-
- src/gen-notification-item.xml.c | 4 ++++
- src/notification-item.xml       | 4 ++++
- 3 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/src/app-indicator.c b/src/app-indicator.c
-index 2e98b48..14be69f 100644
---- a/src/app-indicator.c
-+++ b/src/app-indicator.c
-@@ -1082,7 +1082,8 @@ bus_method_call (GDBusConnection * connection, const gchar * sender,
- 		delta = ABS(delta);
- 		g_signal_emit(app, signals[SCROLL_EVENT], 0, delta, direction);
- 
--	} else if (g_strcmp0(method, "SecondaryActivate") == 0 ||
-+	} else if (g_strcmp0(method, "Activate") == 0 ||
-+	           g_strcmp0(method, "SecondaryActivate") == 0 ||
- 	           g_strcmp0(method, "XAyatanaSecondaryActivate") == 0) {
- 		GtkWidget *menuitem = priv->sec_activate_target;
- 		
-diff --git a/src/gen-notification-item.xml.c b/src/gen-notification-item.xml.c
-index 0bc6ab2..18a288b 100644
---- a/src/gen-notification-item.xml.c
-+++ b/src/gen-notification-item.xml.c
-@@ -25,6 +25,10 @@ const char * _notification_item =
- "			<arg type=\"i\" name=\"delta\" direction=\"in\" />\n"
- "			<arg type=\"s\" name=\"orientation\" direction=\"in\" />\n"
- "		</method>\n"
-+"		<method name=\"Activate\">\n"
-+"			<arg type=\"i\" name=\"x\" direction=\"in\" />\n"
-+"			<arg type=\"i\" name=\"y\" direction=\"in\" />\n"
-+"		</method>\n"
- "		<method name=\"SecondaryActivate\">\n"
- "			<arg type=\"i\" name=\"x\" direction=\"in\" />\n"
- "			<arg type=\"i\" name=\"y\" direction=\"in\" />\n"
-diff --git a/src/notification-item.xml b/src/notification-item.xml
-index c93afd7..72d36eb 100644
---- a/src/notification-item.xml
-+++ b/src/notification-item.xml
-@@ -24,6 +24,10 @@
- 			<arg type="i" name="delta" direction="in" />
- 			<arg type="s" name="orientation" direction="in" />
- 		</method>
-+		<method name="Activate">
-+			<arg type="i" name="x" direction="in" />
-+			<arg type="i" name="y" direction="in" />
-+		</method>
- 		<method name="SecondaryActivate">
- 			<arg type="i" name="x" direction="in" />
- 			<arg type="i" name="y" direction="in" />
--- 
-2.4.5
-

Copied: libappindicator/repos/community-x86_64/improved-plasma.patch (from rev 409695, libappindicator/trunk/improved-plasma.patch)
===================================================================
--- improved-plasma.patch	                        (rev 0)
+++ improved-plasma.patch	2018-11-25 15:35:23 UTC (rev 409696)
@@ -0,0 +1,59 @@
+From c38d64aa3c12bea271d331b6c52a1130ca758a69 Mon Sep 17 00:00:00 2001
+From: Sebastian Krzyszkowiak <dos at dosowisko.net>
+Date: Sun, 12 Jul 2015 16:25:07 +0200
+Subject: [PATCH] Add support for Activate method for improved Plasma 5 user
+ experience
+
+---
+ src/app-indicator.c             | 3 ++-
+ src/gen-notification-item.xml.c | 4 ++++
+ src/notification-item.xml       | 4 ++++
+ 3 files changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/src/app-indicator.c b/src/app-indicator.c
+index 2e98b48..14be69f 100644
+--- a/src/app-indicator.c
++++ b/src/app-indicator.c
+@@ -1082,7 +1082,8 @@ bus_method_call (GDBusConnection * connection, const gchar * sender,
+ 		delta = ABS(delta);
+ 		g_signal_emit(app, signals[SCROLL_EVENT], 0, delta, direction);
+ 
+-	} else if (g_strcmp0(method, "SecondaryActivate") == 0 ||
++	} else if (g_strcmp0(method, "Activate") == 0 ||
++	           g_strcmp0(method, "SecondaryActivate") == 0 ||
+ 	           g_strcmp0(method, "XAyatanaSecondaryActivate") == 0) {
+ 		GtkWidget *menuitem = priv->sec_activate_target;
+ 		
+diff --git a/src/gen-notification-item.xml.c b/src/gen-notification-item.xml.c
+index 0bc6ab2..18a288b 100644
+--- a/src/gen-notification-item.xml.c
++++ b/src/gen-notification-item.xml.c
+@@ -25,6 +25,10 @@ const char * _notification_item =
+ "			<arg type=\"i\" name=\"delta\" direction=\"in\" />\n"
+ "			<arg type=\"s\" name=\"orientation\" direction=\"in\" />\n"
+ "		</method>\n"
++"		<method name=\"Activate\">\n"
++"			<arg type=\"i\" name=\"x\" direction=\"in\" />\n"
++"			<arg type=\"i\" name=\"y\" direction=\"in\" />\n"
++"		</method>\n"
+ "		<method name=\"SecondaryActivate\">\n"
+ "			<arg type=\"i\" name=\"x\" direction=\"in\" />\n"
+ "			<arg type=\"i\" name=\"y\" direction=\"in\" />\n"
+diff --git a/src/notification-item.xml b/src/notification-item.xml
+index c93afd7..72d36eb 100644
+--- a/src/notification-item.xml
++++ b/src/notification-item.xml
+@@ -24,6 +24,10 @@
+ 			<arg type="i" name="delta" direction="in" />
+ 			<arg type="s" name="orientation" direction="in" />
+ 		</method>
++		<method name="Activate">
++			<arg type="i" name="x" direction="in" />
++			<arg type="i" name="y" direction="in" />
++		</method>
+ 		<method name="SecondaryActivate">
+ 			<arg type="i" name="x" direction="in" />
+ 			<arg type="i" name="y" direction="in" />
+-- 
+2.4.5
+

Copied: libappindicator/repos/community-x86_64/incompatible_pointer_build_fix.patch (from rev 409695, libappindicator/trunk/incompatible_pointer_build_fix.patch)
===================================================================
--- incompatible_pointer_build_fix.patch	                        (rev 0)
+++ incompatible_pointer_build_fix.patch	2018-11-25 15:35:23 UTC (rev 409696)
@@ -0,0 +1,12 @@
+diff -up libappindicator-12.10.0/src/app-indicator.c.build_fix libappindicator-12.10.0/src/app-indicator.c
+--- libappindicator-12.10.0/src/app-indicator.c.build_fix	2018-04-10 14:43:57.134400594 +0200
++++ libappindicator-12.10.0/src/app-indicator.c	2018-04-10 14:45:34.655448722 +0200
+@@ -2196,7 +2196,7 @@ app_indicator_set_secondary_activate_tar
+ 
+ 	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);
+ }

Deleted: no-python.patch
===================================================================
--- no-python.patch	2018-11-25 15:34:58 UTC (rev 409695)
+++ no-python.patch	2018-11-25 15:35:23 UTC (rev 409696)
@@ -1,81 +0,0 @@
-diff -rupN badv2/bindings/Makefile.am good/bindings/Makefile.am
---- badv2/bindings/Makefile.am  2012-07-11 19:28:34.000000000 +0200
-+++ good/bindings/Makefile.am	2012-12-15 11:26:57.000000000 +0100
-@@ -3,7 +3,6 @@ SUBDIRS =	\
- 	vala
- else
- SUBDIRS =		\
--	python		\
- 	vala
- endif
- 
-diff -rupN badv2/bindings/Makefile.in good/bindings/Makefile.in
---- badv2/bindings/Makefile.in	2012-07-11 19:29:07.000000000 +0200
-+++ good/bindings/Makefile.in	2012-12-15 11:27:45.000000000 +0100
-@@ -93,7 +93,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
- 	distdir
- ETAGS = etags
- CTAGS = ctags
--DIST_SUBDIRS = python vala mono
-+DIST_SUBDIRS = vala mono
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- am__relativize = \
-   dir0=`pwd`; \
-@@ -301,7 +301,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
-- at USE_GTK3_FALSE@SUBDIRS = python vala $(am__append_1)
-+ at USE_GTK3_FALSE@SUBDIRS = vala $(am__append_1)
- @USE_GTK3_TRUE at SUBDIRS = vala $(am__append_1)
- all: all-recursive
- 
-diff -rupN badv2/configure good/configure
---- badv2/configure	2012-07-11 19:29:06.000000000 +0200
-+++ good/configure	2012-12-15 11:28:15.000000000 +0100
-@@ -13904,17 +13904,17 @@ save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
--#include <Python.h>
-+include <Python.h>
- _ACEOF
--if ac_fn_c_try_cpp "$LINENO"; then :
--  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
--$as_echo "found" >&6; }
--
--else
--  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
--$as_echo "not found" >&6; }
--as_fn_error $? "could not find Python headers" "$LINENO" 5
--fi
-+#if ac_fn_c_try_cpp "$LINENO"; then :
-+#  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
-+#$as_echo "found" >&6; }
-+#
-+#else
-+#  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-+#$as_echo "not found" >&6; }
-+#as_fn_error $? "could not find Python headers" "$LINENO" 5
-+#fi
- rm -f conftest.err conftest.i conftest.$ac_ext
- CPPFLAGS="$save_CPPFLAGS"
- 
-@@ -14358,7 +14358,7 @@ fi
- # Files
- ###########################
- 
--ac_config_files="$ac_config_files Makefile src/Makefile src/appindicator-0.1.pc src/appindicator3-0.1.pc bindings/Makefile bindings/python/Makefile bindings/python/appindicator.override bindings/vala/Makefile bindings/vala/examples/Makefile tests/Makefile example/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml docs/reference/libappindicator-docs.sgml"
-+ac_config_files="$ac_config_files Makefile src/Makefile src/appindicator-0.1.pc src/appindicator3-0.1.pc bindings/Makefile bindings/vala/Makefile bindings/vala/examples/Makefile tests/Makefile example/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml docs/reference/libappindicator-docs.sgml"
- 
- 
- if test "x$has_mono" = "xtrue" ; then
-@@ -15437,8 +15437,6 @@ do
-     "src/appindicator-0.1.pc") CONFIG_FILES="$CONFIG_FILES src/appindicator-0.1.pc" ;;
-     "src/appindicator3-0.1.pc") CONFIG_FILES="$CONFIG_FILES src/appindicator3-0.1.pc" ;;
-     "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
--    "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
--    "bindings/python/appindicator.override") CONFIG_FILES="$CONFIG_FILES bindings/python/appindicator.override" ;;
-     "bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
-     "bindings/vala/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/examples/Makefile" ;;
-     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;

Copied: libappindicator/repos/community-x86_64/no-python.patch (from rev 409695, libappindicator/trunk/no-python.patch)
===================================================================
--- no-python.patch	                        (rev 0)
+++ no-python.patch	2018-11-25 15:35:23 UTC (rev 409696)
@@ -0,0 +1,81 @@
+diff -rupN badv2/bindings/Makefile.am good/bindings/Makefile.am
+--- badv2/bindings/Makefile.am  2012-07-11 19:28:34.000000000 +0200
++++ good/bindings/Makefile.am	2012-12-15 11:26:57.000000000 +0100
+@@ -3,7 +3,6 @@ SUBDIRS =	\
+ 	vala
+ else
+ SUBDIRS =		\
+-	python		\
+ 	vala
+ endif
+ 
+diff -rupN badv2/bindings/Makefile.in good/bindings/Makefile.in
+--- badv2/bindings/Makefile.in	2012-07-11 19:29:07.000000000 +0200
++++ good/bindings/Makefile.in	2012-12-15 11:27:45.000000000 +0100
+@@ -93,7 +93,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
+ 	distdir
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = python vala mono
++DIST_SUBDIRS = vala mono
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ am__relativize = \
+   dir0=`pwd`; \
+@@ -301,7 +301,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+- at USE_GTK3_FALSE@SUBDIRS = python vala $(am__append_1)
++ at USE_GTK3_FALSE@SUBDIRS = vala $(am__append_1)
+ @USE_GTK3_TRUE at SUBDIRS = vala $(am__append_1)
+ all: all-recursive
+ 
+diff -rupN badv2/configure good/configure
+--- badv2/configure	2012-07-11 19:29:06.000000000 +0200
++++ good/configure	2012-12-15 11:28:15.000000000 +0100
+@@ -13904,17 +13904,17 @@ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+-#include <Python.h>
++include <Python.h>
+ _ACEOF
+-if ac_fn_c_try_cpp "$LINENO"; then :
+-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+-$as_echo "found" >&6; }
+-
+-else
+-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+-$as_echo "not found" >&6; }
+-as_fn_error $? "could not find Python headers" "$LINENO" 5
+-fi
++#if ac_fn_c_try_cpp "$LINENO"; then :
++#  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
++#$as_echo "found" >&6; }
++#
++#else
++#  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
++#$as_echo "not found" >&6; }
++#as_fn_error $? "could not find Python headers" "$LINENO" 5
++#fi
+ rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+ 
+@@ -14358,7 +14358,7 @@ fi
+ # Files
+ ###########################
+ 
+-ac_config_files="$ac_config_files Makefile src/Makefile src/appindicator-0.1.pc src/appindicator3-0.1.pc bindings/Makefile bindings/python/Makefile bindings/python/appindicator.override bindings/vala/Makefile bindings/vala/examples/Makefile tests/Makefile example/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml docs/reference/libappindicator-docs.sgml"
++ac_config_files="$ac_config_files Makefile src/Makefile src/appindicator-0.1.pc src/appindicator3-0.1.pc bindings/Makefile bindings/vala/Makefile bindings/vala/examples/Makefile tests/Makefile example/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml docs/reference/libappindicator-docs.sgml"
+ 
+ 
+ if test "x$has_mono" = "xtrue" ; then
+@@ -15437,8 +15437,6 @@ do
+     "src/appindicator-0.1.pc") CONFIG_FILES="$CONFIG_FILES src/appindicator-0.1.pc" ;;
+     "src/appindicator3-0.1.pc") CONFIG_FILES="$CONFIG_FILES src/appindicator3-0.1.pc" ;;
+     "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
+-    "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
+-    "bindings/python/appindicator.override") CONFIG_FILES="$CONFIG_FILES bindings/python/appindicator.override" ;;
+     "bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
+     "bindings/vala/examples/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/examples/Makefile" ;;
+     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;



More information about the arch-commits mailing list