GNOME Bugzilla – Bug 677122
Compile warnings with Clutter 0.10.4
Last modified: 2018-08-17 19:57:40 UTC
Compiling on Fedora 17, I get the following: In file included from /usr/include/clutter-1.0/clutter/clutter.h:103:0, from pinpoint.h:31, from pp-clutter.c:28: /usr/include/clutter-1.0/clutter/clutter-text.h:114:23: note: expected ‘struct ClutterText *’ but argument is of type ‘struct ClutterActor *’ pp-clutter.c: In function ‘setup_camera’: pp-clutter.c:1123:3: attention : ‘clutter_gst_video_sink_new’ is deprecated (declared at /usr/include/clutter-1.0/clutter-gst/clutter-gst-util.h:48) [-Wdeprecated-declarations] pp-clutter.c: In function ‘update_speaker_screen’: pp-clutter.c:1982:9: attention : ‘clutter_cairo_texture_create’ is deprecated (declared at /usr/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h:47): Use 'clutter_cairo_texture_invalidate' instead [-Wdeprecated-declarations] pp-clutter.c:1996:9: attention : ‘clutter_cairo_texture_create’ is deprecated (declared at /usr/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h:47): Use 'clutter_cairo_texture_invalidate' instead [-Wdeprecated-declarations] pp-clutter.c:2006:9: attention : ‘clutter_cairo_texture_create’ is deprecated (declared at /usr/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h:47): Use 'clutter_cairo_texture_invalidate' instead [-Wdeprecated-declarations] CCLD pinpoint
I removed quite a bit of the deprecated API calls. The ClutterCairoTexture removal is a bit more tricky though, because it changes the way to render stuff quite a bit. Also I don't think there a replacement for ClutterMedia yet. Same thing for ClutterState, it has been deprecated without something to replace it.
Pinpoint should probably build releases with CLUTTER_DISABLE_DEPRECATION_WARNINGS, and keep the warnings for building from Git.
Disabled deprecated warnings by default.
pinpoint is not under active development anymore since 2015. Its codebase has been archived: https://gitlab.gnome.org/Archive/pinpoint/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.