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 607215 - Cannot compile with gtk 2.19.3
Cannot compile with gtk 2.19.3
Status: RESOLVED FIXED
Product: gcompris
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bruno Coudoin
Rami Aubourg-Kaires
Depends on:
Blocks:
 
 
Reported: 2010-01-17 11:40 UTC by Johan Cwiklinski
Modified: 2010-01-18 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for gtk 2.19.3 deprecated functions (1.87 KB, application/octet-stream)
2010-01-17 11:40 UTC, Johan Cwiklinski
  Details
New patch version (compile with gtk<2.18) (2.06 KB, patch)
2010-01-17 22:28 UTC, Johan Cwiklinski
none Details | Review

Description Johan Cwiklinski 2010-01-17 11:40:08 UTC
Created attachment 151585 [details]
Fix for gtk 2.19.3 deprecated functions

Somme functions has been deprecated in gtk 2.19.3, causing gcompris fail to build.

I've made a small patch to fix this. 

Unfortunately, the attached patch allow gcompris to build correctly with gtk>=2.18 but not lower. I'll try to provide a better one that permit to compile also with gtk<2.18.

Hope that helps.
Comment 1 Johan Cwiklinski 2010-01-17 15:02:03 UTC
I've just realized that these issue is not related to gcompris ; but to the goocanvas sources embedded in the 9.0 release.

Sorry for the noise.
Comment 2 Johan Cwiklinski 2010-01-17 16:55:07 UTC
Hum ; I did'nt pay attention the goocanvas version embedded was so old.
I reopen the bug, so it can be fixed in gcompris directly.
Comment 3 Johan Cwiklinski 2010-01-17 22:28:40 UTC
Created attachment 151633 [details] [review]
New patch version (compile with gtk<2.18)

Ok, here is the new version for the patch. I've sucessfully compiled gcompris-9.0 with gtk in versions 2.16.6, 2.18.6 and 2.19.3.
Comment 4 Bruno Coudoin 2010-01-18 20:06:19 UTC
Applied in commit a8dd1667b2e90537af3de31b4826add8065df879