Skip to content

Commit

Permalink
mate-extra/mate-indicator-applet: Fix configure.ac for indicator-ng #…
Browse files Browse the repository at this point in the history
…593680

Package-Manager: portage-2.3.0
  • Loading branch information
NP-Hardass authored and mudler committed Nov 21, 2016
1 parent 62c7afc commit dbe6362
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 06f6db28648cdeff02cc07f9a7f1410b228450a4 Mon Sep 17 00:00:00 2001
From: monsta <[email protected]>
Date: Wed, 14 Sep 2016 18:20:25 +0300
Subject: [PATCH] check for libindicator 12.10.2 for new style indicators
support

fixes build on Gentoo which has 12.10.1 - turned out this version
had no indicator-ng yet.

note that (as of now) 12.10.2 isn't officially released upstream,
and Ubuntu has post-12.10.1 repo snapshot packaged and labeled as
12.10.2. however, that snapshot already has 12.10.2 version in .pc
file, so the build works with it.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5e9c505..9b4dafc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ case "$with_gtk" in
esac

INDICATOR_REQUIRED_VERSION=0.3.90
-INDICATOR_NG_VERSION=12.10
+INDICATOR_NG_VERSION=12.10.2
INDICATOR_PKG=indicator$INDICATOR_API_VERSION-0.4

PKG_CHECK_MODULES(APPLET, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.35.0
virtual/pkgconfig"

PATCHES=( "${FILESDIR}/${P}-indicator-ng-configure-fix.patch" )

src_configure() {
mate_src_configure \
--with-gtk=$(usex gtk3 3.0 2.0)
Expand Down

0 comments on commit dbe6362

Please sign in to comment.