After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696571 - Hide deprecation warnings
Hide deprecation warnings
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: printers
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-25 17:21 UTC by Marek Kašík
Modified: 2013-03-26 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hide deprecation warnings (1.97 KB, patch)
2013-03-25 17:22 UTC, Marek Kašík
committed Details | Review

Description Marek Kašík 2013-03-25 17:21:28 UTC
PPD API present in cups/ppd.h is deprecated in CUPS since 1.6. There is no replacement for it and IPP API should be used if possible. Unfortunately there is no such IPP replacement for function ppdLocalizeIPPReason() (correct me if I'm wrong). So the only thing we can do now is to just hide those deprecation warnings.
Comment 1 Marek Kašík 2013-03-25 17:22:24 UTC
Created attachment 239799 [details] [review]
hide deprecation warnings

Attached patch hides the deprecation warnings.
Comment 2 Bastien Nocera 2013-03-26 15:11:48 UTC
Review of attachment 239799 [details] [review]:

Please commit to gnome-3-8 and master.

::: configure.ac
@@ +370,3 @@
    fi
 
+   CUPS_CPPFLAGS=""

Please add an explanation here as to why you're doing that. A link to the bugzilla is fine.
Comment 3 Marek Kašík 2013-03-26 16:26:22 UTC
Comment on attachment 239799 [details] [review]
hide deprecation warnings

(In reply to comment #2)
> Please add an explanation here as to why you're doing that. A link to the
> bugzilla is fine.

Thank you for the review. I've added the link there and committed it to gnome-3-8 and master.