summaryrefslogtreecommitdiffstats
path: root/extra/wicd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wicd')
-rw-r--r--extra/wicd/.footprint241
-rw-r--r--extra/wicd/.md5sum5
-rw-r--r--extra/wicd/Pkgfile42
-rw-r--r--extra/wicd/wicd37
-rw-r--r--extra/wicd/wicd-locale.patch12
-rw-r--r--extra/wicd/wicd.desktop11
-rw-r--r--extra/wicd/wicd_in_usr.patch208
7 files changed, 556 insertions, 0 deletions
diff --git a/extra/wicd/.footprint b/extra/wicd/.footprint
new file mode 100644
index 000000000..c5b266af1
--- /dev/null
+++ b/extra/wicd/.footprint
@@ -0,0 +1,241 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/dbus-1/
+drwxr-xr-x root/root etc/dbus-1/system.d/
+-rw-r--r-- root/root etc/dbus-1/system.d/wicd.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K80wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K80wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K80wicd -> ../init.d/wicd
+drwxr-xr-x root/root etc/wicd/
+drwxr-xr-x root/root etc/wicd/encryption/
+drwxr-xr-x root/root etc/wicd/encryption/templates/
+-rw-r--r-- root/root etc/wicd/encryption/templates/active
+-rw-r--r-- root/root etc/wicd/encryption/templates/eap
+-rw-r--r-- root/root etc/wicd/encryption/templates/eap-tls
+-rw-r--r-- root/root etc/wicd/encryption/templates/leap
+-rw-r--r-- root/root etc/wicd/encryption/templates/peap
+-rw-r--r-- root/root etc/wicd/encryption/templates/peap-tkip
+-rw-r--r-- root/root etc/wicd/encryption/templates/ttls
+-rw-r--r-- root/root etc/wicd/encryption/templates/wep-hex
+-rw-r--r-- root/root etc/wicd/encryption/templates/wep-passphrase
+-rw-r--r-- root/root etc/wicd/encryption/templates/wep-shared
+-rw-r--r-- root/root etc/wicd/encryption/templates/wpa
+-rw-r--r-- root/root etc/wicd/encryption/templates/wpa-psk
+drwxr-xr-x root/root etc/wicd/scripts/
+drwxr-xr-x root/root etc/wicd/scripts/postconnect/
+drwxr-xr-x root/root etc/wicd/scripts/postdisconnect/
+drwxr-xr-x root/root etc/wicd/scripts/preconnect/
+drwxr-xr-x root/root etc/wicd/scripts/predisconnect/
+drwxr-xr-x root/root etc/xdg/
+drwxr-xr-x root/root etc/xdg/autostart/
+-rw-r--r-- root/root etc/xdg/autostart/wicd-tray.desktop
+drwxr-xr-x root/root opt/
+drwxr-xr-x root/root opt/kde/
+drwxr-xr-x root/root opt/kde/share/
+drwxr-xr-x root/root opt/kde/share/autostart/
+-rw-r--r-- root/root opt/kde/share/autostart/wicd-tray.desktop
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/wicd-client
+-rwxr-xr-x root/root usr/bin/wicd-curses
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/pm-utils/
+drwxr-xr-x root/root usr/lib/pm-utils/sleep.d/
+-rwxr-xr-x root/root usr/lib/pm-utils/sleep.d/55wicd
+drwxr-xr-x root/root usr/lib/python2.6/
+drwxr-xr-x root/root usr/lib/python2.6/site-packages/
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/Wicd-1.6.2-py2.6.egg-info
+drwxr-xr-x root/root usr/lib/python2.6/site-packages/wicd/
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/__init__.py (EMPTY)
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/backend.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/backend.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/configmanager.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/configmanager.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/dbusmanager.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/dbusmanager.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/gui.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/gui.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/guiutil.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/guiutil.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/logfile.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/logfile.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/misc.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/misc.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/netentry.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/netentry.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/networking.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/networking.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/prefs.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/prefs.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/translations.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/translations.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/wnettools.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/wnettools.pyc
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/wpath.py
+-rw-r--r-- root/root usr/lib/python2.6/site-packages/wicd/wpath.pyc
+drwxr-xr-x root/root usr/lib/wicd/
+-rwxr-xr-x root/root usr/lib/wicd/__init__.py (EMPTY)
+-rwxr-xr-x root/root usr/lib/wicd/autoconnect.py
+-rwxr-xr-x root/root usr/lib/wicd/backend.py
+drwxr-xr-x root/root usr/lib/wicd/backends/
+-rw-r--r-- root/root usr/lib/wicd/backends/be-external.py
+-rw-r--r-- root/root usr/lib/wicd/backends/be-ioctl.py
+-rwxr-xr-x root/root usr/lib/wicd/configmanager.py
+-rwxr-xr-x root/root usr/lib/wicd/configscript.py
+-rwxr-xr-x root/root usr/lib/wicd/configscript_curses.py
+-rw-r--r-- root/root usr/lib/wicd/curses_misc.py
+-rwxr-xr-x root/root usr/lib/wicd/dbusmanager.py
+-rwxr-xr-x root/root usr/lib/wicd/gui.py
+-rwxr-xr-x root/root usr/lib/wicd/guiutil.py
+-rwxr-xr-x root/root usr/lib/wicd/logfile.py
+-rwxr-xr-x root/root usr/lib/wicd/misc.py
+-rwxr-xr-x root/root usr/lib/wicd/monitor.py
+-rwxr-xr-x root/root usr/lib/wicd/netentry.py
+-rw-r--r-- root/root usr/lib/wicd/netentry_curses.py
+-rwxr-xr-x root/root usr/lib/wicd/networking.py
+-rwxr-xr-x root/root usr/lib/wicd/prefs.py
+-rw-r--r-- root/root usr/lib/wicd/prefs_curses.py
+-rwxr-xr-x root/root usr/lib/wicd/suspend.py
+-rwxr-xr-x root/root usr/lib/wicd/translations.py
+-rwxr-xr-x root/root usr/lib/wicd/wicd-client.py
+-rwxr-xr-x root/root usr/lib/wicd/wicd-curses.py
+-rwxr-xr-x root/root usr/lib/wicd/wicd-daemon.py
+-rwxr-xr-x root/root usr/lib/wicd/wnettools.py
+-rwxr-xr-x root/root usr/lib/wicd/wpath.py
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/wicd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/wicd.desktop
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/wicd/
+-rw-r--r-- root/root usr/share/doc/wicd/AUTHORS
+-rw-r--r-- root/root usr/share/doc/wicd/CHANGES
+-rw-r--r-- root/root usr/share/doc/wicd/INSTALL
+-rw-r--r-- root/root usr/share/doc/wicd/LICENSE
+-rw-r--r-- root/root usr/share/doc/wicd/README
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
+drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
+drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/192x192/
+drwxr-xr-x root/root usr/share/icons/hicolor/192x192/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/192x192/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/
+drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
+drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
+drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/36x36/
+drwxr-xr-x root/root usr/share/icons/hicolor/36x36/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/36x36/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
+drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/72x72/
+drwxr-xr-x root/root usr/share/icons/hicolor/72x72/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/72x72/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/96x96/
+drwxr-xr-x root/root usr/share/icons/hicolor/96x96/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/96x96/apps/wicd-client.png
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
+drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/wicd-client.svg
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/wicd.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/wicd-client.1.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/wicd-manager-settings.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/wicd-wired-settings.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/wicd-wireless-settings.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/wicd-curses.8.gz
+-rw-r--r-- root/root usr/share/man/man8/wicd.8.gz
+drwxr-xr-x root/root usr/share/pixmaps/
+drwxr-xr-x root/root usr/share/pixmaps/wicd/
+-rw-r--r-- root/root usr/share/pixmaps/wicd/bad-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/bad-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-bad-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-bad-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-good-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-good-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-high-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-high-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-low-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/both-low-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/good-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/good-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/high-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/high-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-bad-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-bad-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-good-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-good-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-high-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-high-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-low-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/idle-low-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/low-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/low-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/no-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-bad-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-bad-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-good-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-good-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-high-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-high-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-low-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/receiving-low-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/signal-100.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/signal-25.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/signal-50.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/signal-75.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-bad-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-bad-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-good-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-good-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-high-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-high-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-low-signal-lock.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/transmitting-low-signal.png
+-rw-r--r-- root/root usr/share/pixmaps/wicd/wired-gui.svg
+-rw-r--r-- root/root usr/share/pixmaps/wicd/wired.png
+drwxr-xr-x root/root usr/share/wicd/
+drwxr-xr-x root/root usr/share/wicd/scripts/
+-rwxr-xr-x root/root usr/share/wicd/scripts/50-wicd-suspend.sh
+-rwxr-xr-x root/root usr/share/wicd/scripts/80-wicd-connect.sh
+-rw-r--r-- root/root usr/share/wicd/wicd.glade
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/wicd/
+-rw-r--r-- root/root var/lib/wicd/WHEREAREMYFILES
+drwxr-xr-x root/root var/lib/wicd/configurations/
+drwxr-xr-x root/root var/log/
+drwxr-xr-x root/root var/log/wicd/
diff --git a/extra/wicd/.md5sum b/extra/wicd/.md5sum
new file mode 100644
index 000000000..1966b953b
--- /dev/null
+++ b/extra/wicd/.md5sum
@@ -0,0 +1,5 @@
+498472a13498e568216edea673b6c084 wicd
+29c418355610574e35490e340198ce08 wicd-1.6.2.tar.gz
+b8edd56cf084347b0ae6dc0e02d1b747 wicd-locale.patch
+a37f63a6c82491116d5b69540ae13d25 wicd.desktop
+97736bc03057542e4184fe1bd33cbd20 wicd_in_usr.patch
diff --git a/extra/wicd/Pkgfile b/extra/wicd/Pkgfile
new file mode 100644
index 000000000..a6c0e8b1b
--- /dev/null
+++ b/extra/wicd/Pkgfile
@@ -0,0 +1,42 @@
+# Description: Interface graphique pour gérer le wifi
+# URL: http://wicd.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pygtk, wpa_supplicant, ethtool, dhcpcd, dbus-python, wireless_tools
+
+name=wicd
+version=1.6.2
+release=1
+source=(http://downloads.sourceforge.net/$name/wicd-$version.tar.gz \
+ wicd wicd_in_usr.patch wicd-locale.patch wicd.desktop )
+
+build() {
+ cd $name-$version
+ python setup.py configure --no-install-init \
+ --resume=/usr/share/wicd/scripts/ \
+ --suspend=/usr/share/wicd/scripts --verbose
+ python setup.py install --root=$PKG
+ # Add custom rc.d script
+ install -Dm644 ../wicd.desktop $PKG/usr/share/applications/wicd.desktop
+
+ cd build/lib/wicd
+ for i in *.py; do
+ install -D -m755 $i $PKG/usr/lib/wicd/$i
+ done
+ chmod 755 $PKG/usr/lib/wicd/wicd-daemon.py
+ rm -rf $PKG/usr/share/autostart
+
+ #Install the daemon service
+
+ mkdir -v -p $PKG/etc/rc.d/init.d
+ mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
+ install -D -m 755 $SRC/wicd $PKG/etc/rc.d/init.d/wicd
+
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc3.d/S20wicd
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc5.d/S20wicd
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc4.d/S20wicd
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc0.d/K80wicd
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc1.d/K80wicd
+ ln -svf ../init.d/wicd $PKG/etc/rc.d/rc6.d/K80wicd
+ chown -R 0:0 $PKG/
+}
diff --git a/extra/wicd/wicd b/extra/wicd/wicd
new file mode 100644
index 000000000..0bda4053b
--- /dev/null
+++ b/extra/wicd/wicd
@@ -0,0 +1,37 @@
+#!/bin/sh
+# Begin $rc_base/init.d/wicd
+
+# Based on sysklogd script from LFS-3.1 and earlier.
+# Rewritten by thierryn1@hispeed.ch
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case "$1" in
+ start)
+ boot_mesg "Starting the wicd Daemon..."
+ loadproc /usr/lib/wicd/wicd-daemon.py
+ ;;
+
+ stop)
+ boot_mesg "Stopping the wicd Daemon..."
+ killproc /usr/lib/wicd/wicd-daemon.py
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ status)
+ statusproc /usr/lib/wicd/wicd-daemon.py
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/wicd
diff --git a/extra/wicd/wicd-locale.patch b/extra/wicd/wicd-locale.patch
new file mode 100644
index 000000000..7da38b041
--- /dev/null
+++ b/extra/wicd/wicd-locale.patch
@@ -0,0 +1,12 @@
+diff -aur wicd-old/opt/wicd/gui.py wicd-new/opt/wicd/gui.py
+--- wicd-old/opt/wicd/gui.py 2008-01-03 23:18:40.000000000 +0530
++++ wicd-new/opt/wicd/gui.py 2008-01-09 00:27:29.000000000 +0530
+@@ -44,7 +44,7 @@
+ #which is also under GPLv2
+
+ #Get the local directory since we are not installing anything
+-local_path = os.path.realpath(os.path.dirname(sys.argv[0])) + '/translations'
++local_path = ('/usr/share/locale')
+ # Init the list of languages to support
+ langs = list()
+ #Check the default locale
diff --git a/extra/wicd/wicd.desktop b/extra/wicd/wicd.desktop
new file mode 100644
index 000000000..2da8281e8
--- /dev/null
+++ b/extra/wicd/wicd.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Categories=Application;Network;Internet;
+Encoding=UTF-8
+Exec=/usr/lib/wicd/gui.py
+GenericName=Network Manager
+Icon=/usr/share/pixmaps/wicd.png
+Comment=Manage Wired/Wireless Networks
+Name=Wicd
+Terminal=false
+Type=Application
+Version=1.0
diff --git a/extra/wicd/wicd_in_usr.patch b/extra/wicd/wicd_in_usr.patch
new file mode 100644
index 000000000..1975c85bb
--- /dev/null
+++ b/extra/wicd/wicd_in_usr.patch
@@ -0,0 +1,208 @@
+diff -aur wicd-old/etc/acpi/resume.d/80-wicd-connect.sh wicd-new/etc/acpi/resume.d/80-wicd-connect.sh
+--- wicd-old/etc/acpi/resume.d/80-wicd-connect.sh 2007-07-25 20:34:25.000000000 +0530
++++ wicd-new/etc/acpi/resume.d/80-wicd-connect.sh 2007-12-20 07:19:00.000000000 +0530
+@@ -1,4 +1,4 @@
+ #!/bin/sh
+ # Bring wifi network interface back up.
+
+-/opt/wicd/autoconnect.py
++/usr/lib/wicd/autoconnect.py
+diff -aur wicd-old/etc/init.d/wicd wicd-new/etc/init.d/wicd
+--- wicd-old/etc/init.d/wicd 2007-07-25 20:34:25.000000000 +0530
++++ wicd-new/etc/init.d/wicd 2007-12-20 07:19:15.000000000 +0530
+@@ -5,7 +5,7 @@
+ echo "Stopping any running daemons..."
+ killall daemon.py 2> /dev/null
+ echo "Starting wicd daemon..."
+- /opt/wicd/daemon.py 2> /dev/null
++ /usr/lib/wicd/daemon.py 2> /dev/null
+ fi
+
+ if [[ $1 = "stop" ]]
+diff -aur wicd-old/opt/wicd/dapper.py wicd-new/opt/wicd/dapper.py
+--- wicd-old/opt/wicd/dapper.py 2007-12-01 19:47:51.000000000 +0530
++++ wicd-new/opt/wicd/dapper.py 2007-12-20 07:20:35.000000000 +0530
+@@ -76,7 +76,7 @@
+ if wired.CheckPluggedIn() == True and wired_ip != None:
+ # Only set image/tooltip if it hasn't been set already
+ if stillWired == False:
+- pic.set_from_file("images/wired.png")
++ pic.set_from_file("/usr/share/wicd/images/wired.png")
+ tooltip.set_tip(eb,language['connected_to_wired'].replace('$A',
+ wired_ip))
+ stillWired = True
+@@ -85,7 +85,7 @@
+ # Check to see if we were using a wired connection that has now become
+ # unplugged or disabled.
+ if stillWired == True:
+- pic.set_from_file("images/no-signal.png")
++ pic.set_from_file("/usr/share/wicd/images/no-signal.png")
+ tooltip.set_tip(eb,language['not_connected'])
+ stillWired = False
+
+@@ -124,28 +124,28 @@
+
+ if daemon.GetSignalDisplayType()== 0:
+ if wireless_signal > 75:
+- pic.set_from_file("images/high-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/high-signal" + lock + ".png")
+ elif wireless_signal > 50:
+- pic.set_from_file("images/good-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/good-signal" + lock + ".png")
+ elif wireless_signal > 25:
+- pic.set_from_file("images/low-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/low-signal" + lock + ".png")
+ elif wireless_signal > 0:
+- pic.set_from_file("images/bad-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/bad-signal" + lock + ".png")
+ elif wireless_signal == 0:
+- pic.set_from_file("images/no-signal.png")
++ pic.set_from_file("/usr/share/wicd/images/no-signal.png")
+ auto_reconnect()
+ else:
+ if wireless_signal >= -60:
+- pic.set_from_file("images/high-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/high-signal" + lock + ".png")
+ elif wireless_signal >= -70:
+- pic.set_from_file("images/good-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/good-signal" + lock + ".png")
+ elif wireless_signal >= -80:
+- pic.set_from_file("images/low-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/low-signal" + lock + ".png")
+ else:
+- pic.set_from_file("images/bad-signal" + lock + ".png")
++ pic.set_from_file("/usr/share/wicd/images/bad-signal" + lock + ".png")
+
+ elif wireless_ip is None and wired_ip is None:
+- pic.set_from_file("images/no-signal")
++ pic.set_from_file("/usr/share/wicd/images/no-signal")
+ tooltip.set_tip(eb,language['not_connected'])
+ auto_reconnect()
+
+@@ -247,7 +247,7 @@
+
+ gobject.timeout_add(3000,set_signal_image)
+ tooltip.set_tip(eb, "Wicd Systray")
+-pic.set_from_file("images/no-signal.png")
++pic.set_from_file("/usr/share/wicd/images/no-signal.png")
+
+ eb.connect('button_press_event',tray_clicked)
+ eb.add(pic)
+diff -aur wicd-old/opt/wicd/edgy.py wicd-new/opt/wicd/edgy.py
+--- wicd-old/opt/wicd/edgy.py 2007-12-01 19:47:51.000000000 +0530
++++ wicd-new/opt/wicd/edgy.py 2007-12-20 07:20:35.000000000 +0530
+@@ -158,7 +158,7 @@
+ if wired.CheckPluggedIn() == True and wired_ip != None:
+ # Only set image/tooltip if it hasn't been set already
+ if stillWired == False:
+- tr.set_from_file("images/wired.png")
++ tr.set_from_file("/usr/share/wicd/images/wired.png")
+ tr.set_tooltip(language['connected_to_wired'].replace('$A',
+ wired_ip))
+ stillWired = True
+@@ -167,7 +167,7 @@
+ # Check to see if we were using a wired connection that has now become
+ # unplugged or disabled.
+ if stillWired == True:
+- tr.set_from_file("images/no-signal.png")
++ tr.set_from_file("/usr/share/wicd/images/no-signal.png")
+ tr.set_tooltip(language['not_connected'])
+ stillWired = False
+
+@@ -209,35 +209,35 @@
+
+ if daemon.GetSignalDisplayType()== 0:
+ if wireless_signal > 75:
+- tr.set_from_file("images/" + data_string + "high-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "high-signal" + lock + ".png")
+ elif wireless_signal > 50:
+- tr.set_from_file("images/" + data_string + "good-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "good-signal" + lock + ".png")
+ elif wireless_signal > 25:
+- tr.set_from_file("images/" + data_string + "low-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "low-signal" + lock + ".png")
+ elif wireless_signal > 0:
+- tr.set_from_file("images/" + data_string + "bad-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "bad-signal" + lock + ".png")
+ elif wireless_signal == 0:
+- tr.set_from_file("images/no-signal.png")
++ tr.set_from_file("/usr/share/wicd/images/no-signal.png")
+ auto_reconnect()
+ else:
+ if wireless_signal >= -60:
+- tr.set_from_file("images/" + data_string + "high-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "high-signal" + lock + ".png")
+ elif wireless_signal >= -70:
+- tr.set_from_file("images/" + data_string + "good-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "good-signal" + lock + ".png")
+ elif wireless_signal >= -80:
+- tr.set_from_file("images/" + data_string + "low-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/" + data_string + "low-signal" + lock + ".png")
+ else:
+- tr.set_from_file("images/bad-signal" + lock + ".png")
++ tr.set_from_file("/usr/share/wicd/images/bad-signal" + lock + ".png")
+
+ elif wireless_ip is None and wired_ip is None:
+- tr.set_from_file("images/no-signal.png")
++ tr.set_from_file("/usr/share/wicd/images/no-signal.png")
+ tr.set_tooltip(language['not_connected'])
+ auto_reconnect()
+
+ elif tr.current_icon_path.startswith(data_string) == False:
+ print ":"+tr.current_icon_path
+ print "|"+data_string+tr.current_icon_path[tr.current_icon_path.find('-')+1:]
+- tr.set_from_file("images/"+data_string+tr.current_icon_path[tr.current_icon_path.find('-')+1:])
++ tr.set_from_file("/usr/share/wicd/images/"+data_string+tr.current_icon_path[tr.current_icon_path.find('-')+1:])
+
+ if not daemon.GetDebugMode():
+ config.EnableLogging()
+@@ -301,11 +301,11 @@
+ self.manager.add_ui_from_string(menu)
+ self.menu = self.manager.get_widget('/Menubar/Menu/About').props.parent
+ self.current_icon_path = ''
+- self.set_from_file("images/no-signal.png")
++ self.set_from_file("/usr/share/wicd/images/no-signal.png")
+ self.set_visible(True)
+ self.connect('activate', self.on_activate)
+ self.connect('popup-menu', self.on_popup_menu)
+- self.set_from_file("images/no-signal.png")
++ self.set_from_file("/usr/share/wicd/images/no-signal.png")
+ self.set_tooltip("Initializing wicd...")
+
+ wireless.SetForcedDisconnect(False)
+diff -aur wicd-old/opt/wicd/gui.py wicd-new/opt/wicd/gui.py
+--- wicd-old/opt/wicd/gui.py 2007-12-01 19:47:51.000000000 +0530
++++ wicd-new/opt/wicd/gui.py 2007-12-20 07:20:35.000000000 +0530
+@@ -350,24 +350,24 @@
+ # "converted" to strength bars, so suggestions from people
+ # for a better way would be welcome.
+ if dbm_strength >= -60:
+- self.image.set_from_file('images/signal-100.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-100.png')
+ elif dbm_strength >= -70:
+- self.image.set_from_file('images/signal-75.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-75.png')
+ elif dbm_strength >= -80:
+- self.image.set_from_file('images/signal-50.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-50.png')
+ else:
+- self.image.set_from_file('images/signal-25.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-25.png')
+
+ else:
+ # Uses normal link quality, should be fine in most cases
+ if strength > 75:
+- self.image.set_from_file('images/signal-100.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-100.png')
+ elif strength > 50:
+- self.image.set_from_file('images/signal-75.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-75.png')
+ elif strength > 25:
+- self.image.set_from_file('images/signal-50.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-50.png')
+ else:
+- self.image.set_from_file('images/signal-25.png')
++ self.image.set_from_file('/usr/share/wicd/images/signal-25.png')
+ self.expander.setSignalStrength(strength, dbm_strength)
+
+ def setMACAddress(self,address):