commit: 47efeceda4d8bbf17daa47d36d1c4d683e4b4460 Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> AuthorDate: Sun Jul 24 22:57:41 2016 +0000 Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org> CommitDate: Sun Jul 24 22:57:41 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=47efeced
mate-base/mate-control-center: Fix appindicator3 configure, #589624 Package-Manager: portage-2.2.28 ...er-1.12.1-backport-appindicator-configure.patch | 67 ++++++++++++++++++++++ ...ebuild => mate-control-center-1.12.1-r1.ebuild} | 2 + 2 files changed, 69 insertions(+) diff --git a/mate-base/mate-control-center/files/mate-control-center-1.12.1-backport-appindicator-configure.patch b/mate-base/mate-control-center/files/mate-control-center-1.12.1-backport-appindicator-configure.patch new file mode 100644 index 0000000..b713b7f --- /dev/null +++ b/mate-base/mate-control-center/files/mate-control-center-1.12.1-backport-appindicator-configure.patch @@ -0,0 +1,67 @@ +From 90195c0c2e3f45a355286f1640c2f0020a5556b8 Mon Sep 17 00:00:00 2001 +From: raveit65 <[email protected]> +Date: Fri, 17 Jun 2016 20:34:06 +0200 +Subject: [PATCH] configure: fix build with libappindicator3 + +--- + configure.ac | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9b27671..a11bfdc 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -63,6 +63,8 @@ dnl ============================================== + dnl Check GTK+ API version + dnl ============================================== + ++APPINDICATOR_REQUIRED=0.0.13 ++ + AC_MSG_CHECKING([which gtk+ version to compile against]) + AC_ARG_WITH([gtk], + [AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 2.0)])], +@@ -80,6 +82,7 @@ case "$with_gtk" in + LIBCANBERRA_API_VERSION= + LIBUNIQUE_API_VERSION=1.0 + ENGINES_FOLDER="engines" ++ APPINDICATOR_API_VERSION= + ;; + 3.0) GTK_API_VERSION=3.0 + GTK_REQUIRED=3.0.0 +@@ -87,6 +90,7 @@ case "$with_gtk" in + LIBCANBERRA_API_VERSION=3 + LIBUNIQUE_API_VERSION=3.0 + ENGINES_FOLDER="theming-engines" ++ APPINDICATOR_API_VERSION=3 + ;; + esac + AC_SUBST(GTK_API_VERSION) +@@ -101,7 +105,7 @@ AM_CONDITIONAL(HAVE_LIBCANBERRA_GTK, test "x$CANBERRA_GTK" = "x1") + AM_CONDITIONAL(HAVE_TYPING_BREAK, test "x$TYPING_BREAK" = xtyping-break) + + dnl app indicator +-APPINDICATOR_REQUIRED=0.0.7 ++APPINDICATOR_PKG=appindicator$APPINDICATOR_API_VERSION-0.1 + + AC_ARG_ENABLE(appindicator, + AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]), +@@ -109,16 +113,16 @@ AC_ARG_ENABLE(appindicator, + [enable_appindicator="auto"]) + + if test x$enable_appindicator = xauto ; then +- PKG_CHECK_EXISTS([appindicator-0.1 >= $APPINDICATOR_REQUIRED], ++ PKG_CHECK_EXISTS([$APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED], + enable_appindicator="yes", + enable_appindicator="no") + fi + + if test x$enable_appindicator = xyes ; then +- PKG_CHECK_EXISTS([appindicator-0.1 >= $APPINDICATOR_REQUIRED],, ++ PKG_CHECK_EXISTS([$APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED],, + AC_MSG_ERROR([appindicator-0.1 is not installed])) + PKG_CHECK_MODULES(APP_INDICATOR, +- appindicator-0.1 >= $APPINDICATOR_REQUIRED) ++ $APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED) + AC_SUBST(APP_INDICATOR_CFLAGS) + AC_SUBST(APP_INDICATOR_LIBS) + AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator]) diff --git a/mate-base/mate-control-center/mate-control-center-1.12.1.ebuild b/mate-base/mate-control-center/mate-control-center-1.12.1-r1.ebuild similarity index 96% rename from mate-base/mate-control-center/mate-control-center-1.12.1.ebuild rename to mate-base/mate-control-center/mate-control-center-1.12.1-r1.ebuild index 979e2fc..7267d70 100644 --- a/mate-base/mate-control-center/mate-control-center-1.12.1.ebuild +++ b/mate-base/mate-control-center/mate-control-center-1.12.1-r1.ebuild @@ -76,6 +76,8 @@ DEPEND="${RDEPEND} x11-proto/xproto:0 virtual/pkgconfig:*" +PATCHES=( "${FILESDIR}/${PN}-1.12.1-backport-appindicator-configure.patch" ) + src_configure() { mate_src_configure \ --disable-update-mimedb \
