""" I can't compile [xfce4-places-plugin v0.2] ... First I notised I didn't have thunar-vfs-dev installed but when installing it didn't help. Running Debian Testing: Thunar-vfs-1-dev 0.5.0rc2 libexo-0.3-dev 0.3.1.12 xfce4-pandel-dev 4.3.99.2 xfce4-dev-tools 4.4.0 xfce4 4.3.99.2 Do you have any idea whats wrong? The error follows below. Best regards, Martin make[2]: Entering directory `/home/martin/projekt/xfce/panel/xfce4-places-plugin-0.2.0/panel-plugin' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -pthread -I/usr/include/thunar-vfs-1 -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -MT xfce4_places_plugin-model_volumes.o -MD -MP -MF ".deps/xfce4_places_plugin-model_volumes.Tpo" -c -o xfce4_places_plugin-model_volumes.o `test -f 'model_volumes.c' || echo './'`model_volumes.c; \ then mv -f ".deps/xfce4_places_plugin-model_volumes.Tpo" ".deps/xfce4_places_plugin-model_volumes.Po"; else rm -f ".deps/xfce4_places_plugin-model_volumes.Tpo"; exit 1; fi In file included from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs-enum-types.h:6, from /usr/include/thunar-vfs-1/thunar-vfs/thunar-vfs.h:26, from model_volumes.c:26: /usr/include/exo-0.3/exo/exo.h:27:2: error: #error "Please define EXO_API_SUBJECT_TO_CHANGE to acknoledge your understanding that libexo hasn't reached 1.0 and is subject to API churn. See the README for a full explanation." make[2]: *** [xfce4_places_plugin-model_volumes.o] Fel 1 make[2]: Leaving directory `/home/martin/projekt/xfce/panel/xfce4-places-plugin-0.2.0/panel-plugin' make[1]: *** [all-recursive] Fel 1 make[1]: Leaving directory `/home/martin/projekt/xfce/panel/xfce4-places-plugin-0.2.0' make: *** [all] Fel 2 """
Created attachment 1141 Possible fix for places v0.2.0 The exo library before version 0.3.2 requires a preprocessor macro EXO_API_SUBJECT_TO_CHANGE to be set. While the Places plugin doesn't directly use exo, thunar-vfs does. This patch (against v0.2.0) sets the macro before including the thunar-vfs headers. Martin: please test the patch and let me know if it works, either by commenting here or via email.
It woked with the patch! Great, thanks. Now new media shows to! /Martin
Applied fix to trunk (svn r2754).