summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/pynetworkmanager')
-rw-r--r--xfce-extra/pynetworkmanager/ChangeLog8
-rw-r--r--xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.23
-rw-r--r--xfce-extra/pynetworkmanager/files/pynetworkmanager-0.2-gentoo.patch26
-rw-r--r--xfce-extra/pynetworkmanager/pynetworkmanager-0.2.ebuild58
4 files changed, 94 insertions, 1 deletions
diff --git a/xfce-extra/pynetworkmanager/ChangeLog b/xfce-extra/pynetworkmanager/ChangeLog
index 8af515f1865c..6da246c596fc 100644
--- a/xfce-extra/pynetworkmanager/ChangeLog
+++ b/xfce-extra/pynetworkmanager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for xfce-extra/pynetworkmanager
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/pynetworkmanager/ChangeLog,v 1.1 2007/05/22 19:34:35 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/pynetworkmanager/ChangeLog,v 1.2 2007/07/01 06:54:06 drac Exp $
+
+*pynetworkmanager-0.2 (01 Jul 2007)
+
+ 01 Jul 2007; Samuli Suominen <drac@gentoo.org>
+ +files/pynetworkmanager-0.2-gentoo.patch, +pynetworkmanager-0.2.ebuild:
+ Version bump for bug 183547.
*pynetworkmanager-0.1 (22 May 2007)
diff --git a/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.2 b/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.2
new file mode 100644
index 000000000000..e49c6d19e0dc
--- /dev/null
+++ b/xfce-extra/pynetworkmanager/files/digest-pynetworkmanager-0.2
@@ -0,0 +1,3 @@
+MD5 76c12a21d8aacacb2c2cedc227583f6a pyNetworkManager-0.2.tar.bz2 37652
+RMD160 3429b9f3e89a4124298f977b4f3015209a187239 pyNetworkManager-0.2.tar.bz2 37652
+SHA256 7adb83432f7e4e905da672dd775fd8e344917c3402cc950e33f7d5f4ddca6473 pyNetworkManager-0.2.tar.bz2 37652
diff --git a/xfce-extra/pynetworkmanager/files/pynetworkmanager-0.2-gentoo.patch b/xfce-extra/pynetworkmanager/files/pynetworkmanager-0.2-gentoo.patch
new file mode 100644
index 000000000000..bdbfcacd8efc
--- /dev/null
+++ b/xfce-extra/pynetworkmanager/files/pynetworkmanager-0.2-gentoo.patch
@@ -0,0 +1,26 @@
+diff -ur pyNetworkManager-0.2.orig/pyNetworkManager.desktop pyNetworkManager-0.2/pyNetworkManager.desktop
+--- pyNetworkManager-0.2.orig/pyNetworkManager.desktop 2007-06-29 22:19:30.000000000 +0300
++++ pyNetworkManager-0.2/pyNetworkManager.desktop 2007-07-01 09:32:57.000000000 +0300
+@@ -1,8 +1,8 @@
+ [Xfce Panel]
+ Encoding=UTF-8
+-Name=Network Mangager
++Name=Network Manager
+ Comment=Easy network manager also displaying network information
+ Icon=nm-device-wireless
+ Type=Panel
+ X-XFCE-Unique=true
+-X-XFCE-Exec=/home/martin/projekt/xfce/panel/pyNetworkManager/current/pyNMxfcePanel.py
++X-XFCE-Exec=/usr/share/xfce4/pyNetworkManager/pyNMxfcePanel.py
+diff -ur pyNetworkManager-0.2.orig/pyNetworkManager.py pyNetworkManager-0.2/pyNetworkManager.py
+--- pyNetworkManager-0.2.orig/pyNetworkManager.py 2007-06-29 22:06:16.000000000 +0300
++++ pyNetworkManager-0.2/pyNetworkManager.py 2007-07-01 09:31:49.000000000 +0300
+@@ -11,7 +11,7 @@
+ # Filesystem
+
+ # Change to suit your system.
+-FILES_PATH='/home/martin/projekt/xfce/panel/pyNetworkManager/'
++FILES_PATH='/usr/share/xfce4/pyNetworkManager/'
+
+ # DBus
+ # Networkmanager
diff --git a/xfce-extra/pynetworkmanager/pynetworkmanager-0.2.ebuild b/xfce-extra/pynetworkmanager/pynetworkmanager-0.2.ebuild
new file mode 100644
index 000000000000..e0b40db6ce02
--- /dev/null
+++ b/xfce-extra/pynetworkmanager/pynetworkmanager-0.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/pynetworkmanager/pynetworkmanager-0.2.ebuild,v 1.1 2007/07/01 06:54:06 drac Exp $
+
+MY_PN="${PN/n/N}" ; MY_PN="${MY_PN/m/M}" ; MY_P="${MY_PN}-${PV}"
+
+inherit eutils python xfce44
+
+DESCRIPTION="Xfce4 Panel Plugin that connects to NetworkManager through DBUS."
+HOMEPAGE="http://www.tfd.chalmers.se/~mk0foma/pyNetworkManager"
+SRC_URI="http://www.tfd.chalmers.se/~mk0foma/${MY_PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RDEPEND="net-misc/networkmanager
+ dev-python/dbus-python
+ dev-python/pyxfce
+ dev-python/configobj
+ xfce-base/xfce4-panel"
+DEPEND=""
+
+S="${WORKDIR}"/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ echo "Nothing to compile."
+}
+
+src_install() {
+ exeinto /usr/share/xfce4/${MY_PN}
+ doexe *.py
+
+ insinto /usr/share/xfce4/${MY_PN}/icons
+ doins icons/*.png
+
+ insinto /usr/share/xfce4/panel-plugins
+ doins ${MY_PN}.desktop
+
+ use doc && dohtml *.html *.png
+}
+
+pkg_postinst() {
+ xfce44_pkg_postinst
+ python_mod_optimize /usr/share/xfce4/${MY_PN}
+}
+
+pkg_postrm() {
+ xfce44_pkg_postrm
+ python_mod_cleanup /usr/share/xfce4/${MY_PN}
+}