[arch-commits] Commit in wicd/repos (5 files)

Giovanni Scafora giovanni at archlinux.org
Wed Sep 3 16:46:00 UTC 2008


    Date: Wednesday, September 3, 2008 @ 12:46:00
  Author: giovanni
Revision: 11810

Merged revisions 11809 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/wicd/trunk

................
  r11809 | giovanni | 2008-09-03 18:44:49 +0200 (mer, 03 set 2008) | 9 lines
  
  Merged revisions 2-11808 via svnmerge from 
  svn+ssh://archlinux.org/home/svn-packages/wicd/trunk
  
  ........
    r356 | aaron | 2008-04-19 00:56:27 +0200 (sab, 19 apr 2008) | 1 line
    
    Added svn:keywords to all PKGBUILDs
  ........
................

Modified:
  wicd/repos/extra-i686/	(properties)
  wicd/repos/extra-i686/ChangeLog
  wicd/repos/extra-i686/PKGBUILD
  wicd/repos/extra-i686/wicd.desktop
  wicd/repos/extra-i686/wicd.install

--------------+
 ChangeLog    |    7 ++---
 PKGBUILD     |   77 ++++++++++++---------------------------------------------
 wicd.desktop |    4 +-
 wicd.install |    2 -
 4 files changed, 24 insertions(+), 66 deletions(-)


Property changes on: wicd/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /wicd/trunk:1-11808
   + /wicd/trunk:1-11809

Modified: extra-i686/ChangeLog
===================================================================
--- extra-i686/ChangeLog	2008-09-03 16:44:49 UTC (rev 11809)
+++ extra-i686/ChangeLog	2008-09-03 16:46:00 UTC (rev 11810)
@@ -1,3 +1,7 @@
+2008-09-03 Giovanni Scafora <giovanni at archlinux.org>
+
+	* wicd-1.5.1
+
 2008-01-11 Varun Acharya <varun at archlinux.org>
 
 	* wicd-1.4.1-4 moved to extra
@@ -6,7 +10,6 @@
 	* dhclient,wpa_supplicant are now deps
 	* wicd.install cleaned up
 
-
 2008-01-09 Varun Acharya <varun at archlinux.org>
 
 	* wicd-1.4.1-3 now in testing
@@ -31,5 +34,3 @@
 
 	* Cleaned up PKGBUILD, defaults to /usr/share
 	* Adopted from AUR and moved to testing/extra
-
-

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-09-03 16:44:49 UTC (rev 11809)
+++ extra-i686/PKGBUILD	2008-09-03 16:46:00 UTC (rev 11810)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Varun Acharya <varun at archlinux.org>
 # Contributor: Rashif "Don Ray" Rahman <rayrashif at gmail.com>
 
@@ -2,4 +3,4 @@
 pkgname=wicd
-pkgver=1.4.1
-pkgrel=4
+pkgver=1.5.1
+pkgrel=1
 pkgdesc="New and alternative wireless/wired network management utility"
@@ -11,67 +12,23 @@
 depends=('dbus-python' 'pygtk' 'dhclient' 'wpa_supplicant' 'ethtool')
 conflicts=('wicd-svn')
 install=wicd.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/wicd_$pkgver-src.tar.bz2 \
-        wicd-daemon wicd.desktop wicd_in_usr.patch wicd-locale.patch)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz wicd-daemon wicd.desktop)
+
 options=(emptydirs)
-md5sums=('c5dccf8df6d3995ad0aae0324af2302d' \
-         '8835ed1d4aba7effe3f157eeb0b66443' \
-         'a37f63a6c82491116d5b69540ae13d25' \
-         '97736bc03057542e4184fe1bd33cbd20' \
-         'b8edd56cf084347b0ae6dc0e02d1b747')         
-                       
+md5sums=('dda372b0778de24552850d3d877d1b65' '8835ed1d4aba7effe3f157eeb0b66443' \
+         'c1f3e9a18470568893a5a8f7c27d4e46')
   
 build() {
-   
-  #Change default location to /usr/lib
-   patch -Np1 -i ${startdir}/wicd_in_usr.patch
-   patch -Np1 -i ${startdir}/wicd-locale.patch
-  
-  #Create Directories
-  mkdir -p ${startdir}/pkg/usr/lib
-  mkdir -p ${startdir}/pkg/usr/share/locale
-  mkdir -p ${startdir}/pkg/usr/share/wicd
-  
-  #Copying 
-  cp -R ${startdir}/src/opt/wicd ${startdir}/pkg/usr/lib
-  cp -R ${startdir}/src/usr/share/* ${startdir}/pkg/usr/share/
- 
-  #Moving stuff around to the right locations
-  mv ${startdir}/pkg/usr/lib/wicd/translations/* ${startdir}/pkg/usr/share/locale/
-  mv ${startdir}/pkg/usr/lib/wicd/images/ ${startdir}/pkg/usr/share/wicd
-  rm -rf ${startdir}/pkg/usr/lib/wicd/translations
-  ln -sf /usr/share/wicd/images/no-signal.png ${startdir}/pkg/usr/share/wicd/images/idle-signal.png
-  
-  
-  #Remove unwanted .desktop file/broken symlinks
-  rm ${startdir}/pkg/usr/share/applications/hammer-00186ddbac.desktop || return 1
-  rm ${startdir}/pkg/usr/share/wicd/images/wicd.png
-  rm ${startdir}/pkg/usr/share/pixmaps/wicd.png 
-  rm ${startdir}/pkg/usr/lib/wicd/data/wicd.png
+  cd $startdir/src/$pkgname-$pkgver
+  python setup.py configure --no-install-init --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
+  python setup.py install --root=$startdir/pkg
 
-  # Leave init.d pseudo-daemon and add custom rc.d script
-  cd ${startdir}
-  install -D -m755 wicd-daemon pkg/etc/rc.d/wicd
-    
-  # Copy other system files
-  cd $startdir/src/etc
-  install -D -m644 dbus-1/system.d/wicd.conf \
-  ${startdir}/pkg/etc/dbus-1/system.d/wicd.conf
-  install -D -m755 acpi/resume.d/80-wicd-connect.sh \
-  ${startdir}/pkg/etc/acpi/resume.d/80-wicd-connexct.sh
-  install -D -m644 ${startdir}/src/opt/wicd/images/wicd-purple.png \
-  ${startdir}/pkg/usr/share/pixmaps/wicd.png
-  install -D -m644 ${startdir}/src/opt/wicd/images/wicd-purple.png \
-  ${startdir}/pkg/usr/share/wicd/images/wicd.png
-  install -D -m644 ${startdir}/src/opt/wicd/images/wicd-purple.png \
-  ${startdir}/pkg/usr/lib/wicd/data/wicd.png
-  install -D -m644 ${startdir}/wicd.desktop \
-  ${startdir}/pkg/usr/share/applications/wicd.desktop
+  # Add custom rc.d script
+  install -Dm755 ../wicd-daemon $startdir/pkg/etc/rc.d/wicd
+  install -Dm644 ../wicd.desktop ${startdir}/pkg/usr/share/applications/wicd.desktop
 
-
-  #Fix permissions
-  chmod -R 755 ${startdir}/pkg/usr/lib/wicd
-  find ${startdir}/pkg/usr/share -type d -exec chmod 755 {} \;
-  find ${startdir}/pkg/usr/share -type f -exec chmod 644 {} \;
-
+  cd build/lib/wicd
+  for i in *.py; do
+    install -Dm 755 $i $startdir/pkg/usr/lib/wicd/$i
+  done
 }

Modified: extra-i686/wicd.desktop
===================================================================
--- extra-i686/wicd.desktop	2008-09-03 16:44:49 UTC (rev 11809)
+++ extra-i686/wicd.desktop	2008-09-03 16:46:00 UTC (rev 11810)
@@ -1,9 +1,9 @@
 [Desktop Entry]
 Categories=Application;Network;Internet;
 Encoding=UTF-8
-Exec=/usr/lib/wicd/gui.py
+Exec=/usr/lib/wicd/wicd-client.py
 GenericName=Network Manager
-Icon=/usr/share/pixmaps/wicd.png
+Icon=/usr/share/pixmaps/wicd/wicd-client.png
 Comment=Manage Wired/Wireless Networks
 Name=Wicd
 Terminal=false

Modified: extra-i686/wicd.install
===================================================================
--- extra-i686/wicd.install	2008-09-03 16:44:49 UTC (rev 11809)
+++ extra-i686/wicd.install	2008-09-03 16:46:00 UTC (rev 11810)
@@ -15,7 +15,7 @@
   sleep 1
   
   echo
-  echo "==> Tray: /usr/lib/wicd/tray.py"
+  echo "==> Tray: /usr/lib/wicd/wicd-client.py"
   echo "==> Add it to your autostart folder"
   echo "==> to have the wicd tray applet appear at startup."
   sleep 1




More information about the arch-commits mailing list