Version: (using KDE KDE 3.5.7) Installed from: Fedora RPMs Compiler: gcc version 4.1.2 20070502 (Red Hat 4.1.2-12) OS: Linux kdeprint/cups/cupsdconf2/cups-util.c uses a deprecated api to access fields within the cups-server structure, which has been removed in cups-1.3. Patch forthcoming.
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.