GNOME Bugzilla – Bug 663077
mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES need to be reordered
Last modified: 2012-02-17 10:59:35 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]
Created attachment 200319 [details] [review] reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES
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
Similar bug reports: bug 643077, bug 643078
Thanks for a bug report and patch. Created commit da499c0 in evo master (3.3.90+)