[Lunar-commits] <moonbase> wicd: DEPENDS and BUILD update.

Florin Braescu florin at lunar-linux.org
Sun Oct 24 09:10:48 CEST 2010


commit 7f8524e317476a605190d1e60cf415b0469f35b5
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Oct 24 10:10:48 2010 +0300

    wicd: DEPENDS and BUILD update.
    
    added pygobject dependency since it is required for the daemon to run
    added BUILD $OPTS for building optional gtk and curses client
    which includes changes in deps.
    
    Thanks to Christian Krause for the submission.
---
 wifi/wicd/BUILD   |    8 ++++----
 wifi/wicd/DEPENDS |    7 +++++--
 wifi/wicd/DETAILS |    3 ++-
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/wifi/wicd/BUILD b/wifi/wicd/BUILD
index ffe4880..eb24204 100644
--- a/wifi/wicd/BUILD
+++ b/wifi/wicd/BUILD
@@ -2,10 +2,10 @@
 
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
 
-  python setup.py configure  &&
-  python setup.py build      &&
-  prepare_install            &&
-  python setup.py install    &&
+  python setup.py configure $OPTS    &&
+  python setup.py build              &&
+  prepare_install                    &&
+  python setup.py install            &&
   install -m644 $SCRIPT_DIRECTORY/wicd.desktop /usr/share/applications/
 
 ) > $C_FIFO 2>&1
diff --git a/wifi/wicd/DEPENDS b/wifi/wicd/DEPENDS
index 3229b50..5631941 100644
--- a/wifi/wicd/DEPENDS
+++ b/wifi/wicd/DEPENDS
@@ -1,4 +1,7 @@
-depends libglade
-depends pygtk
 depends wpa_supplicant
 depends dbus-python
+depends pygobject # not needed to compile but to run the daemon!
+
+optional_depends "urwid"    "" "--no-install-ncurses" "for the curses client"
+optional_depends "pygtk"    "" "--no-install-gtk"     "for the gtk client"
+optional_depends "libglade" "" "--no-install-gtk"     "for the gtk client"
diff --git a/wifi/wicd/DETAILS b/wifi/wicd/DETAILS
index ad8f3fb..23bac17 100644
--- a/wifi/wicd/DETAILS
+++ b/wifi/wicd/DETAILS
@@ -12,5 +12,6 @@
            SHORT="wireless/wired internet connection daemon"
 
 cat << EOF
-A wireless/wired interenet connection daemon.
+A wireless/wired internet connection daemon with both curses
+and gtk client.
 EOF


More information about the Lunar-commits mailing list