gtk2+: " Build Configuration: * Toolkit: GTK+-2 * Debugging Support: full --- cc1: all warnings being treated as errors Makefile:588: recipe for target 'xfce4_appfinder-appfinder-gdbus.o' failed make[3]: *** [xfce4_appfinder-appfinder-gdbus.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-category-model.o In file included from /usr/include/string.h:25:0, from appfinder-category-model.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:574: recipe for target 'xfce4_appfinder-appfinder-category-model.o' failed make[3]: *** [xfce4_appfinder-appfinder-category-model.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-actions.o In file included from /usr/include/string.h:25:0, from appfinder-actions.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:560: recipe for target 'xfce4_appfinder-appfinder-actions.o' failed make[3]: *** [xfce4_appfinder-appfinder-actions.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-model.o In file included from /usr/include/string.h:25:0, from appfinder-model.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:602: recipe for target 'xfce4_appfinder-appfinder-model.o' failed make[3]: *** [xfce4_appfinder-appfinder-model.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' Makefile:437: recipe for target 'all' failed make[2]: *** [all] Error 2 Makefile:473: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:405: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /home/quait/src/tmp/rpm-tmp.2edH2x (%build) --- " gtk+3 " Build Configuration: * Toolkit: GTK+-3 * Debugging Support: full --- + make -O -j4 make all-recursive Making all in src make all-am make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-category-model.o In file included from /usr/include/string.h:25:0, from appfinder-category-model.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:574: recipe for target 'xfce4_appfinder-appfinder-category-model.o' failed make[3]: *** [xfce4_appfinder-appfinder-category-model.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-actions.o In file included from /usr/include/string.h:25:0, from appfinder-actions.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:560: recipe for target 'xfce4_appfinder-appfinder-actions.o' failed make[3]: *** [xfce4_appfinder-appfinder-actions.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-gdbus.o In file included from /usr/include/limits.h:25:0, from /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.9.2/include/limits.h:168, from /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.9.2/include/syslimits.h:7, from /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.9.2/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/xfce4/libxfce4util/libxfce4util-config.h:29, from /usr/include/xfce4/libxfce4util/libxfce4util.h:27, from /usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h:23, from appfinder-gdbus.c:23: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors Makefile:588: recipe for target 'xfce4_appfinder-appfinder-gdbus.o' failed make[3]: *** [xfce4_appfinder-appfinder-gdbus.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' CC xfce4_appfinder-appfinder-model.o In file included from /usr/include/string.h:25:0, from appfinder-model.c:24: /usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ appfinder-model.c: In function 'xfce_appfinder_model_init': appfinder-model.c:235:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations] model->command_icon = xfce_appfinder_model_load_pixbuf (GTK_STOCK_EXECUTE, model->icon_size); ^ appfinder-model.c:236:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations] model->command_icon_large = xfce_appfinder_model_load_pixbuf (GTK_STOCK_EXECUTE, XFCE_APPFINDER_ICON_SIZE_48); ^ appfinder-model.c: In function 'xfce_appfinder_model_collect_idle': appfinder-model.c:742:3: error: 'gdk_threads_enter' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:46) [-Werror=deprecated-declarations] GDK_THREADS_ENTER (); ^ appfinder-model.c:798:3: error: 'gdk_threads_leave' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Werror=deprecated-declarations] GDK_THREADS_LEAVE (); ^ appfinder-model.c: In function 'xfce_appfinder_model_icon_theme_changed': appfinder-model.c:2347:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations] model->command_icon = xfce_appfinder_model_load_pixbuf (GTK_STOCK_EXECUTE, model->icon_size); ^ appfinder-model.c:2351:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations] model->command_icon_large = xfce_appfinder_model_load_pixbuf (GTK_STOCK_EXECUTE, XFCE_APPFINDER_ICON_SIZE_48); ^ appfinder-model.c: In function 'xfce_appfinder_model_get_command_category': appfinder-model.c:2522:32: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations] "icon-name", GTK_STOCK_EXECUTE, ^ cc1: all warnings being treated as errors Makefile:602: recipe for target 'xfce4_appfinder-appfinder-model.o' failed make[3]: *** [xfce4_appfinder-appfinder-model.o] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-appfinder-4.12.0/src' Makefile:437: recipe for target 'all' failed make[2]: *** [all] Error 2 Makefile:473: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:405: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /home/quait/src/tmp/rpm-tmp.1o8wfi (%build) --- "
with ./autogen.sh --prefix=/usr --libdir=%{_libdir} --sysconfdir=%{_sysconfdir}/X11 --enable-gtk3 %configure2_5x --prefix=/usr --libdir=%{_libdir} --sysconfdir=%{_sysconfdir}/X11 --enable-gtk3 --disable-debug --> --disable-debug the build works - not test after installation, need to change session for testing.... more later
The problem has been handled in current master, but appfinder is gtk3 only now. Let me know otherwise.
(In reply to Andre Miranda from comment #2) > The problem has been handled in current master, but appfinder is gtk3 only > now. > Let me know otherwise. Ok, must testing it, and for "gtk3 only" no problem, i can hold a older version for gtk2? Thank You!
Yes, you can use the gtk2 version, i.e. the current 4.12 release or up to commit a9d13e1. You can try to have both versions installed, but you'll void your warranty :)