public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gnome-shell/
Date: Mon, 21 Feb 2011 07:17:52 +0000 (UTC)	[thread overview]
Message-ID: <24bb3651ef66bac3a8d032728a688745017bc063.nirbheek@gentoo> (raw)

commit:     24bb3651ef66bac3a8d032728a688745017bc063
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 07:16:19 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 07:16:19 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=24bb3651

gnome-base/gnome-shell: make experimental applet optional, fix its deps

---
 gnome-base/gnome-shell/gnome-shell-9999.ebuild |   26 +++++++++++++----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/gnome-base/gnome-shell/gnome-shell-9999.ebuild b/gnome-base/gnome-shell/gnome-shell-9999.ebuild
index 7f31f64..5e46849 100644
--- a/gnome-base/gnome-shell/gnome-shell-9999.ebuild
+++ b/gnome-base/gnome-shell/gnome-shell-9999.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://live.gnome.org/GnomeShell"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE=""
+IUSE="nm-applet"
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 	KEYWORDS=""
@@ -47,7 +47,6 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9
 	>=media-libs/gst-plugins-base-0.10.16
 	media-libs/libcanberra
 	media-sound/pulseaudio
-	>=net-misc/networkmanager-9999
 	>=net-wireless/gnome-bluetooth-2.90.0[introspection]
 
 	x11-libs/startup-notification
@@ -56,7 +55,9 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9
 	x11-apps/mesa-progs
 
 	dev-python/dbus-python
-	dev-python/gconf-python"
+	dev-python/gconf-python
+
+	nm-applet? ( >=net-misc/networkmanager-9999[introspection] )"
 # Runtime-only deps are probably incomplete and approximate.
 # nm-applet is only needed temporarily for the secrets and wireless dialogs.
 RDEPEND="${COMMON_DEPEND}
@@ -65,7 +66,8 @@ RDEPEND="${COMMON_DEPEND}
 	>=gnome-base/gnome-settings-daemon-2.91
 	>=gnome-base/gnome-control-center-2.91
 	>=gnome-base/libgnomekbd-2.91.4[introspection]
-	>=gnome-extra/nm-applet-9999"
+
+	nm-applet? ( >=gnome-extra/nm-applet-9999 )"
 DEPEND="${COMMON_DEPEND}
 	sys-devel/gettext
 	>=dev-util/pkgconfig-0.22
@@ -77,13 +79,15 @@ G2CONF="--enable-compile-warnings=maximum
 --disable-schemas-compile"
 
 src_prepare() {
-	# See https://bugzilla.gnome.org/show_bug.cgi?id=621707"
-	ewarn "Adding support for the experimental NetworkManager applet."
-	ewarn "This needs the latest NetworkManager & nm-applet trunk."
-	ewarn "Report bugs about this to 'nirbheek' on #gentoo-desktop @ FreeNode."
-	epatch "${FILESDIR}/${PN}-nm-1.patch"
-	epatch "${FILESDIR}/${PN}-nm-2.patch"
-	epatch "${FILESDIR}/${PN}-nm-3.patch"
+	if use nm-applet; then
+		# See https://bugzilla.gnome.org/show_bug.cgi?id=621707"
+		ewarn "Adding support for the experimental NetworkManager applet."
+		ewarn "This needs the latest NetworkManager & nm-applet trunk."
+		ewarn "Report bugs about this to 'nirbheek' on #gentoo-desktop @ FreeNode."
+		epatch "${FILESDIR}/${PN}-nm-1.patch"
+		epatch "${FILESDIR}/${PN}-nm-2.patch"
+		epatch "${FILESDIR}/${PN}-nm-3.patch"
+	fi
 
 	gnome2_src_prepare
 }



             reply	other threads:[~2011-02-21  7:18 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21  7:17 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-26 22:14 [gentoo-commits] proj/gnome:master commit in: gnome-base/gnome-shell/ Mart Raudsepp
2018-09-26 22:14 Mart Raudsepp
2018-05-11  7:10 Sobhan Mohammadpour
2018-05-11  6:09 Sobhan Mohammadpour
2018-01-12 13:15 Dennis Lamm
2016-05-11  6:10 Remi Cardona
2016-03-25  0:56 Ole Reifschneider
2015-10-02 12:50 Ole Reifschneider
2015-09-13 22:52 Ole Reifschneider
2015-09-13 22:03 Ole Reifschneider
2015-05-14 18:22 Gilles Dartiguelongue
2015-04-23  7:05 Ole Reifschneider
2015-04-19 11:43 Ole Reifschneider
2014-12-26 21:53 Gilles Dartiguelongue
2014-11-24  7:26 Remi Cardona
2014-11-03 23:24 Gilles Dartiguelongue
2014-10-18 14:55 Gilles Dartiguelongue
2014-04-21 22:31 Gilles Dartiguelongue
2012-12-26 22:49 Gilles Dartiguelongue
2012-11-22 22:49 Gilles Dartiguelongue
2012-10-28 19:26 Alexandre Rostovtsev
2012-10-28 17:29 Gilles Dartiguelongue
2012-10-10  0:23 Alexandre Rostovtsev
2012-09-30  0:15 Alexandre Rostovtsev
2012-09-09  0:39 Nirbheek Chauhan
2012-09-03 18:32 Priit Laes
2012-07-21 18:01 Alexandre Restovtsev
2012-05-24  9:11 Alexandre Restovtsev
2012-04-20  7:12 Alexandre Restovtsev
2012-04-10 13:23 Priit Laes
2012-03-26  8:20 Nirbheek Chauhan
2011-10-21  2:14 Alexandre Restovtsev
2011-07-30  4:21 Alexandre Restovtsev
2011-07-27  5:51 Alexandre Restovtsev
2011-06-07 20:58 Gilles Dartiguelongue
2011-05-30 17:11 Nirbheek Chauhan
2011-05-21 22:06 Nirbheek Chauhan
2011-05-21 18:37 Nirbheek Chauhan
2011-04-26 21:41 Gilles Dartiguelongue
2011-04-08 10:52 Gilles Dartiguelongue
2011-04-07 13:44 Nirbheek Chauhan
2011-04-05 21:38 Nirbheek Chauhan
2011-03-26  2:09 Nirbheek Chauhan
2011-03-23  6:11 Nirbheek Chauhan
2011-03-18  8:23 Nirbheek Chauhan
2011-03-15 18:02 Nirbheek Chauhan
2011-03-04 11:22 Nirbheek Chauhan
2011-02-25 23:34 Nirbheek Chauhan
2011-02-23 14:40 Nirbheek Chauhan
2011-02-21 11:44 Nirbheek Chauhan
2011-02-18  6:31 Nirbheek Chauhan
2011-02-18  4:40 Nirbheek Chauhan
2011-02-12 10:24 Nirbheek Chauhan
2011-02-12  9:30 Nirbheek Chauhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24bb3651ef66bac3a8d032728a688745017bc063.nirbheek@gentoo \
    --to=nirbheek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox