wok diff wicd/receipt @ rev 15140
brscan: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:35:33 2013 +0000 (2013-08-15) |
parents | e3a30fd8f61d |
children | 2a21689b0af7 |
line diff
1.1 --- a/wicd/receipt Tue Sep 21 03:46:53 2010 +0000 1.2 +++ b/wicd/receipt Thu Aug 15 11:35:33 2013 +0000 1.3 @@ -1,24 +1,30 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="wicd" 1.7 -VERSION="1.7.0" 1.8 +VERSION="1.7.2.4" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Network connection manager" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 DEPENDS="python dbus-python ethtool wpa_supplicant pygtk" 1.13 -BUILD_DEPENDS="python-dev dbus-python-dev python" 1.14 +BUILD_DEPENDS="python-distribute python-babel python-dev dbus-python-dev" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://heanet.dl.sourceforge.net/sourceforge/wicd/" 1.17 -WGET_URL="$WEB_SITE/$TARBALL" 1.18 +WEB_SITE="http://wicd.sourceforge.net/" 1.19 +WGET_URL="https://launchpad.net/wicd/${VERSION:0:3}/$VERSION/+download/$TARBALL" 1.20 TAGS="wireless ethernet" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 cd $src 1.26 + # Fix problem with new urwid FS#33378 LP#1075399 1.27 + patch -Np0 -i $stuff/831_830.patch 1.28 + patch -Np0 -i $stuff/835_834.patch 1.29 + patch -Np0 -i $stuff/dbus_string_fix.patch 1.30 python setup.py configure 1.31 - python setup.py install --root=$PWD/_pkg 1.32 - 1.33 + #HACK for https://bugs.launchpad.net/wicd/+bug/928589 1.34 + mkdir -p translations/ast/LC_MESSAGES 1.35 + msgfmt po/ast.po -o translations/ast/LC_MESSAGES/wicd.mo 1.36 + python setup.py install --root=$DESTDIR 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 @@ -27,19 +33,19 @@ 1.41 mkdir -p $fs/usr 1.42 mkdir -p $fs/etc 1.43 mkdir -p $fs/var 1.44 - cp -a $_pkg/usr/* $fs/usr 1.45 - cp -a $_pkg/etc/* $fs/etc 1.46 - cp -a $_pkg/var/* $fs/var 1.47 + cp -a $install/usr/* $fs/usr 1.48 + cp -a $install/etc/* $fs/etc 1.49 + cp -a $install/var/* $fs/var 1.50 rm -f -r $fs/usr/share/doc 1.51 rm -f -r $fs/usr/share/man 1.52 rm -f -r $fs/usr/share/icons/hicolor/* 1.53 rm -f -r $fs/usr/share/locale 1.54 - cp -a $_pkg/usr/share/icons/hicolor/scalable $fs/usr/share/icons/hicolor 1.55 - cp -a $_pkg/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor 1.56 + cp -a $install/usr/share/icons/hicolor/scalable $fs/usr/share/icons/hicolor 1.57 + cp -a $install/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor 1.58 mkdir -p $fs/etc/init.d 1.59 - cp -a stuff/wicd $fs/etc/init.d 1.60 + cp -a $stuff/wicd $fs/etc/init.d 1.61 # dhclient as fake udhcpc wrapper 1.62 - cp -a stuff/dhclient $fs/usr/bin 1.63 + cp -a $stuff/dhclient $fs/usr/bin 1.64 # set permissions 1.65 chmod +x $fs/usr/bin/dhclient 1.66