Summary: | kdelibs: build fails against cups-1.3 | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | Rex Dieter <rdieter> |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | jlayt |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
use new cups_server access methods, compatible with cups-1.3
+cups-1.3 compatibility |
Description
Rex Dieter
2007-07-19 14:02:45 UTC
Created attachment 21186 [details]
use new cups_server access methods, compatible with cups-1.3
Thanks a lot for this. Did you happen to investigate at what version of CUPS the new API was introduced? I will look myself as soon as I get some time. Depending on this, we might need to use a version-defined macro, that will be translated either to the old call or the new call that you present here, so that we can still compile with older CUPS versions. Thanks. I will take a look. The patch appears to be incomplete (ie, doesn't fix all cups-1.3 issues). I was assured by our cups maintainer that this is compatible with cups-1.2 at least. See also downstream bug: http://bugzilla.redhat.com/248717 That code's all being ripped out on Monday, when I up the minimum CUPS version to 1.1.20. The code in question is compatibility code copied out of CUPS itself, implementing functions available in CUPS 1.1.20. To make it clear: only the functions cupsGetConf() and cupsPutConf() will remain in that file after Monday. Regardless, I'll attach a stop-gap patch for kde-3.5.7. Created attachment 21204 [details]
+cups-1.3 compatibility
Be aware that CUPS 1.3 is not yet final. There's only the first Beta out currently. There may still be some changes in the pipeline for the final 1.3.0. Wasn't a CUPS 1.3 support committed in both kdeprint 3.5 and 4.0, already? yes, confirmed fixed in latest releases. (thanks). Closing old Resolved status bug. |