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 663077 - mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES need to be reordered
mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES need to be reordered
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-10-31 06:53 UTC by Alexandre Rostovtsev
Modified: 2012-02-17 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES (1.27 KB, patch)
2011-10-31 06:55 UTC, Alexandre Rostovtsev
none Details | Review
reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES (1.28 KB, patch)
2011-10-31 06:57 UTC, Alexandre Rostovtsev
committed Details | Review

Description Alexandre Rostovtsev 2011-10-31 06:53:40 UTC
clutter-gtk-1.0 installs headers in /usr/include/clutter-gtk-1.0/clutter-gtk; clutter-gtk-0.10 installs headers in /usr/include/clutter-1.0/clutter-gtk

To ensure that clutter-gtk-1.0's headers (and not 0.10's) are used, -I/usr/include/clutter-gtk-1.0 comes before -I/usr/include/clutter-1.0 in CLUTTER_CFLAGS. And that means clutter-gtk-1.0 must come before mx-1.0 in PKG_CHECK_MODULES.

Otherwise, building evolution with --with-clutter on a system that has both clutter-gtk-1.0 and clutter-gtk-0.10 fails:

e-mail-notebook-view.c: In function 'create_gtk_actor':
e-mail-notebook-view.c:453:3: error: implicit declaration of function 'gtk_clutter_actor_new' [-Werror=implicit-function-declaration]
e-mail-notebook-view.c:453:3: warning: nested extern declaration of 'gtk_clutter_actor_new' [-Wnested-externs]
e-mail-notebook-view.c:453:13: warning: assignment makes pointer from integer without a cast [enabled by default]
e-mail-notebook-view.c:454:3: error: implicit declaration of function 'gtk_clutter_actor_get_widget' [-Werror=implicit-function-declaration]
e-mail-notebook-view.c:454:3: warning: nested extern declaration of 'gtk_clutter_actor_get_widget' [-Wnested-externs]
e-mail-notebook-view.c:454:3: error: implicit declaration of function 'GTK_CLUTTER_ACTOR' [-Werror=implicit-function-declaration]
e-mail-notebook-view.c:454:3: warning: nested extern declaration of 'GTK_CLUTTER_ACTOR' [-Wnested-externs]
e-mail-notebook-view.c:454:7: warning: assignment makes pointer from integer without a cast [enabled by default]
Comment 1 Alexandre Rostovtsev 2011-10-31 06:55:03 UTC
Created attachment 200319 [details] [review]
reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES
Comment 2 Alexandre Rostovtsev 2011-10-31 06:57:20 UTC
Created attachment 200320 [details] [review]
reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES

sorry, had a typo in the patch comment
Comment 3 Nirbheek Chauhan 2011-10-31 07:41:46 UTC
Similar bug reports: bug 643077, bug 643078
Comment 4 Milan Crha 2012-02-17 10:59:11 UTC
Thanks for a bug report and patch.

Created commit da499c0 in evo master (3.3.90+)