Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188993 - net-print/cups-1.3.0 version bump (ebuild attached)
Summary: net-print/cups-1.3.0 version bump (ebuild attached)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL: http://www.cups.org/documentation.php...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 13:45 UTC by Timo Gurr (RETIRED)
Modified: 2007-10-17 07:31 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cups-1.3.0.ebuild (cups-1.3.0.ebuild,6.91 KB, text/plain)
2007-08-15 13:46 UTC, Timo Gurr (RETIRED)
Details
cups-1.3.0-bindnow.patch (cups-1.3.0-bindnow.patch,1.87 KB, text/plain)
2007-08-15 13:47 UTC, Timo Gurr (RETIRED)
Details
cups-1.3.0.ebuild (cups-1.3.0.ebuild,6.98 KB, text/plain)
2007-08-16 09:29 UTC, Timo Gurr (RETIRED)
Details
cups-1.3.0-str2478.patch (cups-1.3.0-str2478.patch,1.57 KB, text/plain)
2007-08-16 09:29 UTC, Timo Gurr (RETIRED)
Details
gtk+-2.10.14-cups-1.3-compatibility.patch (gtk+-2.10.14-cups-1.3-compatibility.patch,1.85 KB, text/plain)
2007-09-24 23:09 UTC, Timo Gurr (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr (RETIRED) gentoo-dev 2007-08-15 13:45:58 UTC
I added avahi and kerberos USE flags and DEPENDs and updated the bindnow patch to work with 1.3.0.

If used with mit-krb5 I suppose a mit-krb5-1.6 version is needed, since it comes with some gssapi files cups checks for, see Bug#: 177522 for more info.

I also added a check if avahi was compiled with USE mdnsresponder-compat, it seems to be needed:

cups output with avahi compiled without USE mdnsresponder-compat:
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no

cups output with avahi compiled with USE mdnsresponder-compat:
checking dns_sd.h usability... yes
checking dns_sd.h presence... yes
checking for dns_sd.h... yes
checking for DNSServiceProcessResult in -ldns_sd... yes

Reproducible: Always

Steps to Reproduce:
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2007-08-15 13:46:46 UTC
Created attachment 128175 [details]
cups-1.3.0.ebuild
Comment 2 Timo Gurr (RETIRED) gentoo-dev 2007-08-15 13:47:29 UTC
Created attachment 128176 [details]
cups-1.3.0-bindnow.patch
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2007-08-16 09:29:23 UTC
Created attachment 128244 [details]
cups-1.3.0.ebuild

Added upstream patch http://www.cups.org/strfiles/2478/str2478.patch
to fix STR #2478 http://www.cups.org/str.php?L2478
Comment 4 Timo Gurr (RETIRED) gentoo-dev 2007-08-16 09:29:45 UTC
Created attachment 128245 [details]
cups-1.3.0-str2478.patch
Comment 5 Michiel Fokke 2007-08-24 12:07:57 UTC
I tried the ebuild and it fails to install /etc/init.d/cupsd
Comment 6 Timo Gurr (RETIRED) gentoo-dev 2007-08-25 18:10:02 UTC
You have to copy over the files directory from cups in portage, but apart from that there's definitely more work to do for cups 1.3 since both kdelibs and gtk+ need patches in order to compile with it.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-09-04 21:37:11 UTC
local use flags (searching: mdnsresponder-compat)
************************************************************
[-    ] mdnsresponder-compat (net-dns/avahi):
Enable compat libraries for mDNSResponder

		if ! built_with_use net-dns/avahi mdnsresponder-compat ; then
			eerror "You have to build net-dns/avahi with the mdnsresponder-compat USE flag for cups zeroconf support."
			die "You have to build net-dns/avahi with the mdnsresponder-compat USE flag for cups zeroconf support."
		fi

So couldn't the dep be || ( mdns avahi ) then?
Comment 8 Daniel Heule 2007-09-10 14:34:56 UTC
Hello gentoo team,

i have the problem like in 1.2.0 with the ssl keys.

If i make a new install (empty /etc/cups/ssl directory)
the server hangs when i accessed https://servername:631/admin.

The last lines in /var/log/cups/error.log:
E [10/Sep/2007:15:59:20 +0200] Unable to open listen socket for address :::631 - Address family not supported by protocol.
I [10/Sep/2007:15:59:20 +0200] Listening to /var/run/cups/cups.sock on fd 4...
I [10/Sep/2007:15:59:20 +0200] Resuming new connection processing...
I [10/Sep/2007:15:59:50 +0200] Generating SSL server key...


And now cups is hanging and not any more responding....

Please can somewone take a look at this issue ?

thx, Daniel
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2007-09-10 15:30:18 UTC
well, please wait an hour and I will believe you that it hangs .. but how you tell it, sounds like you are just too impatient.
Comment 10 Daniel Heule 2007-09-11 07:42:19 UTC
Hello Stefan,

sorry, you was right i was to impatient.
After a half an our, the certificate was generated !
This is an 2.4Ghz P4 System ...

I [11/Sep/2007:09:06:23 +0200] Generating SSL server key...
I [11/Sep/2007:09:28:54 +0200] Created SSL server key file "/etc/cups/ssl/server.key"...
I [11/Sep/2007:09:28:54 +0200] Generating self-signed SSL certificate...


Sorry.

Daniel 
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2007-09-22 23:56:33 UTC
Does 1.3.0 break API because kdelibs is failing to compile here:

cups-util.c: In function 'cups_local_auth':
cups-util.c:454: warning: passing argument 1 of 'httpAddrLocalhost' from incompatible pointer type
make[4]: *** [cups-util.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Comment 12 Mart Raudsepp gentoo-dev 2007-09-24 19:38:23 UTC
(In reply to comment #6)
> You have to copy over the files directory from cups in portage, but apart from
> that there's definitely more work to do for cups 1.3 since both kdelibs and
> gtk+ need patches in order to compile with it.

FYI, I'm pretty sure gtk+ is fixed for cups-1.3 quite some time ago. gtk+-2.10.14 should have the compile fix, if not earlier versions and gtk+-2.12.0 does too. However I haven't tested compilation myself, there were just upstream fixes for it so supposedly it's all good by now
Comment 13 Timo Gurr (RETIRED) gentoo-dev 2007-09-24 23:08:18 UTC
(In reply to comment #12)
> FYI, I'm pretty sure gtk+ is fixed for cups-1.3 quite some time ago.
> gtk+-2.10.14 should have the compile fix, if not earlier versions and
> gtk+-2.12.0 does too. However I haven't tested compilation myself, there were
> just upstream fixes for it so supposedly it's all good by now

gtk+-2.12.0 does compile without the need for a patch, 2.10.14 however needs one. I'll attach the one I used below, the upstream bug is: http://bugzilla.gnome.org/show_bug.cgi?id=467414
Comment 14 Timo Gurr (RETIRED) gentoo-dev 2007-09-24 23:09:17 UTC
Created attachment 131812 [details]
gtk+-2.10.14-cups-1.3-compatibility.patch
Comment 15 Jon 2007-09-28 19:11:19 UTC
CUPS 1.3.2 is out now. :D Any word yet on how compatible it is with all of KDE?

Thanks
Comment 16 Alex Waite 2007-10-07 02:07:31 UTC
(In reply to comment #15)
> CUPS 1.3.2 is out now. :D Any word yet on how compatible it is with all of KDE?
> 
> Thanks
> 

CUPS 1.3.3 is out now.  Apparently 1.3.1 was a screwed up release that was accidentally pulled from the 1.4 tree.  If there were some problems compiling with that then that might be why.

---Alex
Comment 17 Timo Gurr (RETIRED) gentoo-dev 2007-10-10 21:17:26 UTC
Fixed in CVS, committed cups-1.3.3.ebuild and package.masked for testing.
Comment 18 Andrei Ivanov 2007-10-17 07:31:51 UTC
Seems to work here... no kde or gtk installed though...