diff -Nru gtk+2.0-2.24.12/debian/changelog gtk+2.0-2.24.12/debian/changelog --- gtk+2.0-2.24.12/debian/changelog 2012-09-05 07:28:08.000000000 +0200 +++ gtk+2.0-2.24.12/debian/changelog 2012-09-24 13:19:44.000000000 +0200 @@ -1,3 +1,11 @@ +gtk+2.0 (2.24.12-0ubuntu2) quantal; urgency=low + + * debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch: + Make printing on remote DNS-SD/Bonjour-shared printers working + (LP: #1053891). + + -- Till Kamppeter Mon, 24 Sep 2012 13:19:30 +0200 + gtk+2.0 (2.24.12-0ubuntu1) quantal; urgency=low * New upstream bugfix release diff -Nru gtk+2.0-2.24.12/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch gtk+2.0-2.24.12/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch --- gtk+2.0-2.24.12/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch 1970-01-01 01:00:00.000000000 +0100 +++ gtk+2.0-2.24.12/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch 2012-09-24 13:17:59.000000000 +0200 @@ -0,0 +1,22 @@ +--- a/modules/printbackends/cups/gtkprintbackendcups.c ++++ b/modules/printbackends/cups/gtkprintbackendcups.c +@@ -1928,6 +1928,19 @@ + resource); + #endif + ++ if (strncmp (method, "dnssd", 5) == 0) ++ { ++ _httpResolveURI(cups_printer->printer_uri, ++ uri, sizeof(uri), 0, NULL, NULL); ++ httpSeparateURI (HTTP_URI_CODING_ALL, ++ uri, ++ method, sizeof (method), ++ username, sizeof (username), ++ hostname, sizeof (hostname), ++ &port, ++ resource, sizeof (resource)); ++ } ++ + if (strncmp (resource, "/printers/", 10) == 0) + { + cups_printer->ppd_name = g_strdup (resource + 10); diff -Nru gtk+2.0-2.24.12/debian/patches/series gtk+2.0-2.24.12/debian/patches/series --- gtk+2.0-2.24.12/debian/patches/series 2012-09-05 07:28:08.000000000 +0200 +++ gtk+2.0-2.24.12/debian/patches/series 2012-09-24 13:17:25.000000000 +0200 @@ -25,3 +25,4 @@ 099_printer_filename_fix.patch 100_overlay_scrollbar_loading.patch +print-dialog-show-options-of-remote-dnssd-printers.patch