[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-14 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.4.6-5ubuntu1.2 --- cups (1.4.6-5ubuntu1.2) natty-proposed; urgency=low * debian/patches/cups-avahi.dpatch: Updated Avahi patch so that it does not generate too long service names which Avahi does not accept. Printers did not get

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Hadmut Danisch
Thanks, my iPad now finds all the printers my ubuntu machine offers. (The next problem is that the default printer names like Hewlett- Packard hp LaserJet 1320 series @ ... are too long for the iPad and thus truncated, but that's a different Problem.) -- You received this bug notification

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Till Kamppeter
Hadmut, with this you confirmed the fix of this bug and bug 711779 (AirPrint). Thank you very much. ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Till Kamppeter
Hadmut, and are you actually able to print from your iPad? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port numbers on avahi -- ubuntu-bugs mailing list

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Hadmut Danisch
Yes, works. Printing was not affected by the bug. It already worked before the patch, it was just a problem of finding the printer. Ironically I did not even know that the ubuntu cups automatically does advertise it's printer over avahi. I had made a manual entry under /etc/avahi/services which

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Till Kamppeter
Hadmut, thanks. Now you can remove your manual entry in /etc/avahi/services and your iPad will see all your printers and you are able to print on all of them. Please check whether this will work. We have enabled Avahi-based mDNS/DNS-SD printer broadcasting in Natty with the help of a patch from

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Hadmut Danisch
Till, of course I have checked that and removed my manual entries before confirming the bug to be fixed. With my manual entries still active (which's names slightly differed from what cups advertieses) my printers occured twice on the iPad. -- You received this bug notification because you are

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Till Kamppeter
Hadmut, OK, thank you very much. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port numbers on avahi -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/cups ** Branch linked: lp:ubuntu/cups -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port numbers on avahi --

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-06 Thread Till Kamppeter
A fixed CUPS package for Natty is now uploaded the -proposed queue. As soon as it gets approved please test the new package. A comment with instructions will be posted here then. A debdiff of the changes is attached. The new CUPS package does not fix only this bug, but in total five bugs

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-06 Thread Martin Pitt
Accepted cups into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed --

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.4.6-7 --- cups (1.4.6-7) unstable; urgency=low * debian/patches/cups-avahi.dpatch: Updated Avahi patch so that it does not generate too long service names which Avahi does not accept. Printers did not get advertized via DNS-SD

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Hadmut Danisch
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port numbers on avahi -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
Tim, there seems to be a byte-order problem in your Avahi patch. Can you have a look into this? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
This bug can also have caused bug 711779. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/792309 Title: cups announcing wrong port numbers on avahi -- ubuntu-bugs mailing list

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
To reproduce without need of a printing client, run the command avahi-browse -a -v -t -r in a terminal window. Then look for entries arising from CUPS queues. They report port = [30466]. Entries from IPP printers report correctly port = [631] (what CUPS as an IPP-based printing system should do

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Tim Waugh
Oops, this came about because the libdns_sd and Avahi APIs differ in which byte order they require the port number. The Avahi API requires it in host order. Remove the htons() calls from avahi_entry_group_add_service() and avahi_entry_group_add_service_strlst(). -- You received this bug

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
Tim, thanks, this confirms which I have found out by simply guessing. I will apply it. ** Changed in: cups (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
Fix committed to the CUPS BZR repository at Debian. So the next CUPS packages in Debian unstable and Ubuntu Oneiric will contain the fix. ** Changed in: cups (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
** Also affects: cups (Ubuntu Natty) Importance: Undecided Status: New ** Changed in: cups (Ubuntu Natty) Status: New = In Progress ** Changed in: cups (Ubuntu Natty) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu

[Bug 792309] Re: cups announcing wrong port numbers on avahi

2011-06-03 Thread Till Kamppeter
Uploaded the fixed CUPS package as an SRU for Natty to -proposed. Please test it as soon as it gets approved (a comment with testing instructions will get posted here). A debdiff of the changes is attached. ** Patch added: debdiff to fix the bug in Natty