diff -Nru gtk+3.0-3.5.18/debian/changelog gtk+3.0-3.5.18/debian/changelog --- gtk+3.0-3.5.18/debian/changelog 2012-09-19 18:10:27.000000000 +0200 +++ gtk+3.0-3.5.18/debian/changelog 2012-09-21 10:56:55.000000000 +0200 @@ -1,3 +1,11 @@ +gtk+3.0 (3.5.18-0ubuntu3) 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 Fri, 21 Sep 2012 10:56:30 +0200 + gtk+3.0 (3.5.18-0ubuntu2) quantal-proposed; urgency=low * Merge fix from Albert Astals Cid to not hijack mnemonics for non-menubar diff -Nru gtk+3.0-3.5.18/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch gtk+3.0-3.5.18/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch --- gtk+3.0-3.5.18/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch 1970-01-01 01:00:00.000000000 +0100 +++ gtk+3.0-3.5.18/debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch 2012-09-21 10:52:04.000000000 +0200 @@ -0,0 +1,22 @@ +--- a/modules/printbackends/cups/gtkprintbackendcups.c ++++ b/modules/printbackends/cups/gtkprintbackendcups.c +@@ -1896,6 +1896,19 @@ + &port, + resource, sizeof (resource)); + ++ 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+3.0-3.5.18/debian/patches/series gtk+3.0-3.5.18/debian/patches/series --- gtk+3.0-3.5.18/debian/patches/series 2012-09-19 18:10:27.000000000 +0200 +++ gtk+3.0-3.5.18/debian/patches/series 2012-09-21 10:51:41.000000000 +0200 @@ -13,3 +13,4 @@ git_gtkcellrenderer_grabbing_modifier.patch ubuntu_gtk_custom_menu_items.patch +print-dialog-show-options-of-remote-dnssd-printers.patch