summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2008-08-18 19:19:54 +0000
committerRobert Buchholz <rbu@gentoo.org>2008-08-18 19:19:54 +0000
commit479d5f99e9fe39dbb319c97ec2d6f8141005ada1 (patch)
treebe93c3051c6bb6a5f78d24a5e34c460f92ba96f0
parentNetworkManager 0.7 SVN snapshot (diff)
downloadoverlay-479d5f99e9fe39dbb319c97ec2d6f8141005ada1.tar.gz
overlay-479d5f99e9fe39dbb319c97ec2d6f8141005ada1.tar.bz2
overlay-479d5f99e9fe39dbb319c97ec2d6f8141005ada1.zip
nm-applet for 0.7
svn path=/overlay/; revision=31
-rw-r--r--gnome-extra/nm-applet/Manifest5
-rw-r--r--gnome-extra/nm-applet/files/nm-applet-0.7.0-confchanges.patch13
-rw-r--r--gnome-extra/nm-applet/files/nm-applet-9999-confchanges.patch22
-rw-r--r--gnome-extra/nm-applet/nm-applet-0.7.0_pre20080815.ebuild59
-rw-r--r--gnome-extra/nm-applet/nm-applet-9999.ebuild70
5 files changed, 169 insertions, 0 deletions
diff --git a/gnome-extra/nm-applet/Manifest b/gnome-extra/nm-applet/Manifest
new file mode 100644
index 0000000..967c9ce
--- /dev/null
+++ b/gnome-extra/nm-applet/Manifest
@@ -0,0 +1,5 @@
+AUX nm-applet-0.7.0-confchanges.patch 488 RMD160 14e971a69a04f246f718960e10d2565a06b80b19 SHA1 0dc8bf207536603c9852838abf87bb53eb609c31 SHA256 f38ea0296927388ee66f671b4cac06d1c17f70b0822b3374008fca33c3d9cdfa
+AUX nm-applet-9999-confchanges.patch 906 RMD160 5de99593d5613cebfcfb052e707e12a6a1370632 SHA1 61363aa751e9572ea5ffdce279e0438b1f8f2f8a SHA256 438f068119859e0cba08a8213b197f6ec73f92d64c8bddc46bdadc9bc7485fa0
+DIST nm-applet-0.7.0_pre20080815.tar.bz2 716241 RMD160 14ae950a1be9182c46381ed21b34844d568ac6a3 SHA1 e43cf35ffdec2fb6f8dd4fa52df0de166a05390e SHA256 91aeaa68fedfbd178ad4aa52f44d977cde3013ada7d4803645ed6bdcf2988ee8
+EBUILD nm-applet-0.7.0_pre20080815.ebuild 1782 RMD160 f8dc7be7c42ff95612b746a837ea229d7240bd47 SHA1 0cfb4a3958fc6976fc87f214f634c6a7b0475c81 SHA256 c38b325963869ccfbebbccbd88bea4c0c4571b4d9c9c5078732419dba5899079
+EBUILD nm-applet-9999.ebuild 1790 RMD160 08b7182c6c09d2064263f394a623bbd6e0d8458c SHA1 afbd61d296946fa61e6e32a149337bb8b704efe8 SHA256 a4c61eb45223cfc194142831736646a2e6a2bceb25009ba35cdf70c2e270af16
diff --git a/gnome-extra/nm-applet/files/nm-applet-0.7.0-confchanges.patch b/gnome-extra/nm-applet/files/nm-applet-0.7.0-confchanges.patch
new file mode 100644
index 0000000..c0b8ab8
--- /dev/null
+++ b/gnome-extra/nm-applet/files/nm-applet-0.7.0-confchanges.patch
@@ -0,0 +1,13 @@
+Index: trunk/nm-applet.conf
+===================================================================
+--- trunk.orig/nm-applet.conf
++++ trunk/nm-applet.conf
+@@ -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"/>
diff --git a/gnome-extra/nm-applet/files/nm-applet-9999-confchanges.patch b/gnome-extra/nm-applet/files/nm-applet-9999-confchanges.patch
new file mode 100644
index 0000000..7ba015d
--- /dev/null
+++ b/gnome-extra/nm-applet/files/nm-applet-9999-confchanges.patch
@@ -0,0 +1,22 @@
+Index: trunk/nm-applet.conf
+===================================================================
+--- trunk.orig/nm-applet.conf
++++ trunk/nm-applet.conf
+@@ -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/nm-applet/nm-applet-0.7.0_pre20080815.ebuild b/gnome-extra/nm-applet/nm-applet-0.7.0_pre20080815.ebuild
new file mode 100644
index 0000000..ad365a2
--- /dev/null
+++ b/gnome-extra/nm-applet/nm-applet-0.7.0_pre20080815.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.6.6.ebuild,v 1.3 2008/07/28 18:47:49 ken69267 Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="Gnome applet for NetworkManager."
+HOMEPAGE="http://people.redhat.com/dcbw/NetworkManager/"
+#SRC_URI="http://ftp.gnome.org/pub/gnome/sources/network-manager-applet/0.6/network-manager-applet-0.6.5.tar.gz"
+SRC_URI="http://dev.gentoo.org/~rbu/distfiles/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~x86"
+IUSE="debug doc libnotify"
+
+RDEPEND=">=sys-apps/dbus-0.60
+ >=sys-apps/hal-0.5
+ sys-apps/iproute2
+ >=net-misc/dhcdbd-1.4
+ >=net-misc/networkmanager-0.6.5_p20080130
+ >=net-wireless/wireless-tools-28_pre9
+ >=net-wireless/wpa_supplicant-0.4.8
+ >=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-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.35"
+
+DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+# USE_DESTDIR="1"
+
+pkg_setup () {
+ G2CONF="${G2CONF} \
+ --disable-more-warnings \
+ --localstatedir=/var \
+ --with-dbus-sys=/etc/dbus-1/system.d \
+ $(use_with libnotify notify)"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-0.7.0-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/gnome-extra/nm-applet/nm-applet-9999.ebuild b/gnome-extra/nm-applet/nm-applet-9999.ebuild
new file mode 100644
index 0000000..37beb0b
--- /dev/null
+++ b/gnome-extra/nm-applet/nm-applet-9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# Ebuild from http://forums.gentoo.org/viewtopic-t-629987.html
+
+inherit gnome2 subversion autotools eutils
+
+MY_PV=${PV/_*/}
+
+DESCRIPTION="SVN snap of Gnome applet for NetworkManager."
+HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
+ESVN_REPO_URI="svn://svn.gnome.org/svn/network-manager-applet/trunk"
+
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug doc libnotify"
+
+RDEPEND=">=sys-apps/dbus-1.2
+ >=sys-apps/hal-0.5.9
+ >=dev-libs/libnl-1.1
+ >=net-misc/networkmanager-9999
+ >=net-wireless/wireless-tools-28_pre9
+ >=net-wireless/wpa_supplicant-0.5
+ >=dev-libs/glib-2.16
+ >=x11-libs/libnotify-0.4.3
+ >=x11-libs/gtk+-2.10
+ >=gnome-base/libglade-2
+ >=gnome-base/gnome-keyring-0.4
+ >=gnome-base/gconf-2
+ >=gnome-extra/policykit-gnome-0.8"
+# >=gnome-base/libgnomeui-2
+# >=gnome-base/gnome-panel-2"
+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)"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+
+src_compile() {
+ # Fix up the dbus conf file to use plugdev group
+ epatch ${FILESDIR}/${P}-confchanges.patch
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var ${G2CONF}
+ emake
+
+}
+
+
+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."
+}