Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0b28b76d75ab5a02add205ef3102a412b92c7e01

commit 0b28b76d75ab5a02add205ef3102a412b92c7e01
Author: Melko <[email protected]>
Date:   Sun Jun 10 16:01:55 2012 +0200

wicd-1.7.2.4-2-i686

* add patch to fix dbus string
* change m8r

diff --git a/source/xapps-extra/wicd/FrugalBuild 
b/source/xapps-extra/wicd/FrugalBuild
index 7c583dd..221de16 100644
--- a/source/xapps-extra/wicd/FrugalBuild
+++ b/source/xapps-extra/wicd/FrugalBuild
@@ -1,10 +1,11 @@
# Compiling time: 0 SBU
-# Maintainer: Devil505 <[email protected]>
-# Maintainer: bouleetbil <[email protected]>
+# Maintainer: Melko <[email protected]>
+# Contribuer: Devil505 <[email protected]>
+# Contribuer: bouleetbil <[email protected]>

pkgname=wicd
pkgver=1.7.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="A wired and wireless network manager for Linux"
depends=('pygtk')
makedepends=('python-distribute' 'babel')
@@ -16,7 +17,9 @@ _F_gnome_iconcache="y"
_F_gnome_desktop="y"
_F_launchpad_branch="1.7"
Finclude launchpad gnome-scriptlet
-sha1sums=('043321f59bef1eb1d1e49c4c14316deca7e5e1c6')
+source=("${source[@]}" dbus_string_fix.patch)
+sha1sums=('043321f59bef1eb1d1e49c4c14316deca7e5e1c6' \
+          '4299671706d0c1014b6d35037e74386bed2d076b')

subpkgs=("${subpkgs[@]}"'wicd-cli')
subdescs=("${subdescs[@]}" 'Curses client for wicd')
diff --git a/source/xapps-extra/wicd/dbus_string_fix.patch 
b/source/xapps-extra/wicd/dbus_string_fix.patch
new file mode 100644
index 0000000..b2de51d
--- /dev/null
+++ b/source/xapps-extra/wicd/dbus_string_fix.patch
@@ -0,0 +1,15 @@
+=== modified file 'wicd/misc.py'
+--- wicd/misc.py       2012-04-30 19:20:47 +0000
++++ wicd/misc.py       2012-05-03 16:01:49 +0000
+@@ -430,7 +430,10 @@
+     """ Sanitize property names to be used in config-files. """
+     allowed = string.ascii_letters + '_' + string.digits
+     table = string.maketrans(allowed, ' ' * len(allowed))
+-    return s.translate(None, table)
++
++    # s is a dbus.String -- since we don't allow unicode property keys,
++    # make it simple.
++    return str(s).translate(None, table)
+
+ def sanitize_escaped(s):
+     """ Sanitize double-escaped unicode strings. """
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to