diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-10-25 23:22:38 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-10-25 23:22:38 +0530 |
commit | b051462f7d285931963bfc523b19ae0849878fc2 (patch) | |
tree | 5b2f3be554b642a83e8181786b22732b4e43bc79 | |
parent | Add net-misc/NetworkManager-9999 (diff) | |
download | gnome-live-b051462f7d285931963bfc523b19ae0849878fc2.tar.gz gnome-live-b051462f7d285931963bfc523b19ae0849878fc2.tar.bz2 gnome-live-b051462f7d285931963bfc523b19ae0849878fc2.zip |
Add gnome-extra/network-manager-applet-9999
WARNING: It did NOT work for me, it will probably not work for you.
4 files changed, 74 insertions, 0 deletions
diff --git a/gnome-extra/network-manager-applet/Manifest b/gnome-extra/network-manager-applet/Manifest new file mode 100644 index 0000000..b58a74c --- /dev/null +++ b/gnome-extra/network-manager-applet/Manifest @@ -0,0 +1,2 @@ +AUX network-manager-applet-confchanges.patch 945 RMD160 d92b1fc5872ec3f350ab7a672542c5b8242a6151 SHA1 3876662b04ebc7c7b9fe35c4b43fda67dfe71fab SHA256 58906f3a7f0ea96078b122e0262d8f20e598910bfc5b9379f957d767504b590b +EBUILD network-manager-applet-9999.ebuild 1376 RMD160 33b121c74798b1c208b233aa8e73192f608231c4 SHA1 c5661636245434cc0d8cd684059533a52c1878e1 SHA256 b18ff2d2a1f27c2ef23e2870b59fd9e586e3396ee9abb3ecec2055e34b857b02 diff --git a/gnome-extra/network-manager-applet/files/network-manager-applet-confchanges.patch b/gnome-extra/network-manager-applet/files/network-manager-applet-confchanges.patch new file mode 100644 index 0000000..82b5d48 --- /dev/null +++ b/gnome-extra/network-manager-applet/files/network-manager-applet-confchanges.patch @@ -0,0 +1,21 @@ +diff -Naur nm-applet.orig/nm-applet.conf nm-applet.new/nm-applet.conf +--- nm-applet.orig/nm-applet.conf 2007-12-13 22:54:40.000000000 +0530 ++++ nm-applet.new/nm-applet.conf 2008-10-25 04:22:49.000000000 +0530 +@@ -11,7 +11,7 @@ + <!-- Only root can get secrets --> + <allow send_interface="org.freedesktop.NetworkManagerSettings.Secrets"/> + </policy> +- <policy at_console="true"> ++ <policy group="plugdev"> + <allow own="org.freedesktop.NetworkManagerUserSettings"/> + + <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/> +@@ -21,7 +21,7 @@ + <deny send_interface="org.freedesktop.NetworkManagerSettings.Secrets"/> + </policy> + <policy context="default"> +- <deny own="org.freedesktop.NetworkManagerUserSettings"/> ++ <allow own="org.freedesktop.NetworkManagerUserSettings"/> + + <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/> + <allow send_interface="org.freedesktop.NetworkManagerSettings"/> diff --git a/gnome-extra/network-manager-applet/network-manager-applet-9999.ebuild b/gnome-extra/network-manager-applet/network-manager-applet-9999.ebuild new file mode 100644 index 0000000..b87fc48 --- /dev/null +++ b/gnome-extra/network-manager-applet/network-manager-applet-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gnome2 eutils gnome2-live + +DESCRIPTION="Gnome applet for NetworkManager." +HOMEPAGE="http://www.gnome.org/projects/NetworkManager/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc libnotify" + +PROVIDE="gnome-extra/nm-applet" +# FIXME: Automagic PolicyKit-gnome +RDEPEND=">=sys-apps/dbus-0.60 + >=sys-apps/hal-0.5 + net-misc/NetworkManager + >=net-wireless/wireless-tools-28_pre9 + >=dev-libs/glib-2.10 + libnotify? ( >=x11-libs/libnotify-0.4.3 ) + >=x11-libs/gtk+-2.10 + >=gnome-base/libglade-2 + >=gnome-base/gnome-keyring-0.4 + >=gnome-base/gnome-panel-2 + >=gnome-base/gconf-2 + !gnome-extra/nm-applet" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.35" + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +USE_DESTDIR="1" + +G2CONF="${G2CONF} \ + --disable-more-warnings \ + --localstatedir=/var \ + --with-dbus-sys=/etc/dbus-1/system.d \ + $(use_with libnotify notify)" + +PATCHES="${PN}-confchanges.patch" + +pkg_postinst() { + gnome2_pkg_postinst + elog "Your user needs to be in the plugdev group in order to use this" + elog "package. If it doesn't start in Gnome for you automatically after" + elog 'you log back in, simply run "nm-applet --sm-disable"' + elog "You also need the notification area applet on your panel for" + elog "this to show up." +} diff --git a/profiles/package.mask b/profiles/package.mask index 43723f5..edcfd37 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -4,6 +4,7 @@ # Please append to the top of this list as ebuilds are added +=gnome-extra/network-manager-applet-9999 =net-misc/NetworkManager-9999 =dev-libs/libgweather-9999 =gnome-base/gnome-panel-9999 |