Exo-1 export gi18n-lib.h header, and fail to compile applications that depend on this for double definition. Well. Now use exo-1 to add support to session restore on Pragha. Please.. Take this opportunity to ask for opinions. Complete patch to see here: http://code.google.com/p/dissonance/source/detail?r=327 Wen compile with exo: CC pragha-cdda.o CC pragha-cmdline.o CC pragha-current-playlist.o CC pragha-db.o In file included from pragha.h:60:0, from cdda.c:19: /usr/include/glib-2.0/glib/gi18n.h:28:0: error: se redefinió "_" [-Werror] In file included from pragha.h:60:0, from cmdline.c:19: /usr/include/glib-2.0/glib/gi18n.h:28:0: error: se redefinió "_" [-Werror]/usr/include/glib-2.0/glib/gi18n-lib.h:32:0: nota: esta es la ubicación de la definición previa /usr/include/glib-2.0/glib/gi18n.h:29:0: error: se redefinió "Q_" [-Werror] /usr/include/glib-2.0/glib/gi18n-lib.h:32:0: nota: esta es la ubicación de la definición previa/usr/include/glib-2.0/glib/gi18n-lib.h:33:0: nota: esta es la ubicación de la definición previa /usr/include/glib-2.0/glib/gi18n.h:31:0: error: se redefinió "C_" [-Werror]/usr/include/glib-2.0/glib/gi18n.h:29:0: error: se redefinió "Q_" [-Werror] /usr/include/glib-2.0/glib/gi18n-lib.h:33:0: nota: esta es la ubicación de la definición previa/usr/include/glib-2.0/glib/gi18n-lib.h:35:0: nota: esta es la ubicación de la definición previa /usr/include/glib-2.0/glib/gi18n.h:31:0: error: se redefinió "C_" [-Werror] /usr/include/glib-2.0/glib/gi18n-lib.h:35:0: nota: esta es la ubicación de la definición previa Etc.. etc.. etc.. Compile without exo-1 (./autogen.sh --disable-exo-1) work fine.. Exo 0.6.2-3 with Fedora 16 Regards.
For session management it is better to use XfceSMClient in libxfce4util (also a smaller dependency). But the bug is on your side: you should use gi18n-lib.h if GETTEXT_PACKAGE is defined, else gi18n.h. See http://git.xfce.org/xfce/libxfce4util/tree/libxfce4util/xfce-i18n.h
Ohh.. Thanks. I do not understand exactly why the change but works fine.. About XfceSMClient seem found in libxfce4ui that is a more larger dependence (At least considering that is not an application xfce!-) Well. Thanks you very much. Regards.
exo-1 depends on 4ui (the package), so it is in fact lighter ;-)