diff -u system-config-printer-1.1.12+git20090826/debian/changelog system-config-printer-1.1.12+git20090826/debian/changelog --- system-config-printer-1.1.12+git20090826/debian/changelog +++ system-config-printer-1.1.12+git20090826/debian/changelog @@ -1,3 +1,15 @@ +system-config-printer (1.1.12+git20090826-0ubuntu8) karmic; urgency=low + + * debian/patches/77_dont-crash-on-dns-sd-broadcasted-mac-os-x-queues-with-utf8-chatracters.patch: + Prevent a crash when listing discovered printer devices in the new + printer wizard. The crash happened when their are CUPS queues from + Mac OS X systems with UTF-8 characters broadcasted via DNS-SD and + picked up by the local dnssd CUPS backend. This made setting up + print queues impossible whenthere was a Mac somewhere in the network. + (LP: #437997). + + -- Till Kamppeter Mon, 19 Oct 2009 16:32:09 +0200 + system-config-printer (1.1.12+git20090826-0ubuntu7) karmic; urgency=low * debian/patches/75_give-priority-to-hpijs.patch: Temporary workaround for only in patch2: unchanged: --- system-config-printer-1.1.12+git20090826.orig/debian/patches/77_dont-crash-on-dns-sd-broadcasted-mac-os-x-queues-with-utf8-chatracters.patch +++ system-config-printer-1.1.12+git20090826/debian/patches/77_dont-crash-on-dns-sd-broadcasted-mac-os-x-queues-with-utf8-chatracters.patch @@ -0,0 +1,11 @@ +diff -Nur -x '*.orig' -x '*~' system-config-printer-1.1.12+git20090826/PhysicalDevice.py system-config-printer-1.1.12+git20090826.new/PhysicalDevice.py +--- system-config-printer-1.1.12+git20090826/PhysicalDevice.py 2009-10-19 16:22:51.000000000 +0200 ++++ system-config-printer-1.1.12+git20090826.new/PhysicalDevice.py 2009-10-19 16:23:18.000000000 +0200 +@@ -60,6 +60,7 @@ + hostport = hostport[:p] + if hostport == '': + return None ++ hostport = hostport.encode('utf-8') + hostport = re.sub("%(?i)[\dabcdef]{2}", expandpercent, + hostport); + if not uri.endswith("/cups"):