[wicd/f17] Fix some Unicode text handling problems (#845749)
David Cantrell
dcantrel at fedoraproject.org
Tue Oct 23 18:20:12 UTC 2012
commit 7f1ae9466e7ccf65476811e845c9fcb8e4e2475f
Author: David Cantrell <dcantrell at redhat.com>
Date: Tue Oct 23 14:20:03 2012 -0400
Fix some Unicode text handling problems (#845749)
wicd-1.7.2.1-unicode.patch | 21 +++++++++++++++++++++
wicd.spec | 9 ++++++++-
2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/wicd-1.7.2.1-unicode.patch b/wicd-1.7.2.1-unicode.patch
new file mode 100644
index 0000000..4c3b225
--- /dev/null
+++ b/wicd-1.7.2.1-unicode.patch
@@ -0,0 +1,21 @@
+diff -up wicd-1.7.2.1/curses/netentry_curses.py.unicode wicd-1.7.2.1/curses/netentry_curses.py
+--- wicd-1.7.2.1/curses/netentry_curses.py.unicode 2012-02-11 15:35:45.000000000 -0500
++++ wicd-1.7.2.1/curses/netentry_curses.py 2012-10-23 14:18:22.243926856 -0400
+@@ -264,7 +264,7 @@ class WiredSettingsDialog(AdvancedSettin
+ self.set_values()
+
+ self.prof_name = name
+- title = _('Configuring preferences for wired profile "$A"').replace('$A',self.prof_name)
++ title = ''.join([_('Configuring preferences for wired profile'), self.prog_name])
+ self._w.header = urwid.Text( ('header',title),align='right' )
+
+ self.set_values()
+@@ -386,7 +386,7 @@ class WirelessSettingsDialog(AdvancedSet
+ self.encrypt_types = misc.LoadEncryptionMethods()
+ self.set_values()
+
+- title = _('Configuring preferences for wireless network "$A" ($B)').replace('$A',wireless.GetWirelessProperty(networkID,'essid')).replace('$B',wireless.GetWirelessProperty(networkID,'bssid'))
++ title = ''.join([_('Configuring preferences for wireless network'), wireless.GetWirelessProperty(networkID,'essid'), "(%s)" % wireless.GetWirelessProperty(networkID,'bssid')])
+ self._w.header = urwid.Text(('header',title),align='right' )
+
+ def set_values(self):
diff --git a/wicd.spec b/wicd.spec
index f7d0bb6..3ee1d68 100644
--- a/wicd.spec
+++ b/wicd.spec
@@ -9,7 +9,7 @@
Name: wicd
Version: 1.7.2.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Wireless and wired network connection manager
Group: System Environment/Base
@@ -23,6 +23,7 @@ Patch1: wicd-1.7.1-dbus-failure.patch
Patch2: wicd-1.7.0-dbus-policy.patch
Patch3: wicd-1.7.1-DaemonClosing.patch
Patch4: wicd-1.7.2.1-CVE-2012-2095.patch
+Patch5: wicd-1.7.2.1-unicode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRequires: babel
@@ -106,6 +107,9 @@ Client program for wicd that uses a GTK+ interface.
# (see f16 branch for more details on this change)
%patch4 -p1
+# Fix some Unicode text handling problems
+%patch5 -p1
+
%build
rm -f po/ast.po
%{__python} setup.py configure \
@@ -291,6 +295,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/icons/hicolor/scalable/apps/wicd-gtk.svg
%changelog
+* Tue Oct 23 2012 David Cantrell <dcantrell at redhat.com> - 1.7.2.1-4
+- Fix some Unicode text handling problems (#845749)
+
* Thu Aug 02 2012 David Cantrell <dcantrell at redhat.com> - 1.7.2.1-3
- Fix property handling for CVE-2012-2095 upstream patch (#820166)
More information about the scm-commits
mailing list