[Lunar-commits] <moonbase> wicd: add a patch for Python-2.7.

Florin Braescu florin at lunar-linux.org
Sat Oct 9 10:33:28 CEST 2010


commit b8ae2288cec7a6f5569e509514837ef012b888b2
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sat Oct 9 11:33:28 2010 +0300

    wicd: add a patch for Python-2.7.
---
 wifi/wicd/BUILD        |    6 ++++--
 wifi/wicd/DETAILS      |    3 +++
 wifi/wicd/wicd.desktop |   11 +++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/wifi/wicd/BUILD b/wifi/wicd/BUILD
index f8ba80a..ca6416e 100644
--- a/wifi/wicd/BUILD
+++ b/wifi/wicd/BUILD
@@ -1,9 +1,11 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
   python setup.py configure  &&
   python setup.py build      &&
   prepare_install            &&
-  python setup.py install
-
+  python setup.py install    &&
+  install -m644 SCRIPT_DIRECTORY/wicd.desktop /usr/share/applications/
 
 ) > $C_FIFO 2>&1
diff --git a/wifi/wicd/DETAILS b/wifi/wicd/DETAILS
index 039eec0..ad8f3fb 100644
--- a/wifi/wicd/DETAILS
+++ b/wifi/wicd/DETAILS
@@ -1,8 +1,11 @@
           MODULE=wicd
          VERSION=1.7.0
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-python-2.7.patch.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:76d9c0ad7b020ff1abac5c92c301739a04d5595e
+     SOURCE2_VFY=sha1:c307fe35fc77e7d6964226bc44fa371f8c1d6691
         WEB_SITE=http://wicd.sourceforge.net
          ENTERED=20090309
          UPDATED=20100117
diff --git a/wifi/wicd/wicd.desktop b/wifi/wicd/wicd.desktop
new file mode 100644
index 0000000..8682087
--- /dev/null
+++ b/wifi/wicd/wicd.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Categories=Network;
+Encoding=UTF-8
+Exec=/usr/bin/wicd-client
+GenericName=Network Manager
+Icon=wicd-gtk
+Comment=Manage Wired/Wireless Networks
+Name=Wicd
+Terminal=false
+Type=Application
+Version=1.0


More information about the Lunar-commits mailing list