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 694224 - Cogl-1.0? Cogl-2.0? Let's make up our mind
Cogl-1.0? Cogl-2.0? Let's make up our mind
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-20 00:17 UTC by Florian Müllner
Modified: 2013-02-20 01:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
compositor: Don't use deprecated Cogl-1.0 API (30.86 KB, patch)
2013-02-20 00:45 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Florian Müllner 2013-02-20 00:17:46 UTC
The recently landed background patches use functions like cogl_material_new()/cogl_material_copy(), which are strictly 1.0. Cogl defines those in a -compat.h header, which is only included when not enabling the experimental 2.0 API. We do the latter, so I end up with a build failure (using -Werror minus deprecation warnings).
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-02-20 00:45:49 UTC
Created attachment 236863 [details] [review]
compositor: Don't use deprecated Cogl-1.0 API
Comment 2 Ray Strode [halfline] 2013-02-20 01:05:53 UTC
(pushed with minor changes)
Attachment 236863 [details] pushed as 7f6a772 - compositor: Don't use deprecated Cogl-1.0 API