Fix compatibility with Xfce 4.7+

Make the dependency on libxfcegui4 explicit, instead of relying on some
other component to link to it for us.

Fixes bug 6466.
master
Alex Dedul 2010-10-12 10:19:09 +09:00 committed by Florian Rivoal
parent 46061efe17
commit 3d15b6fb40
2 changed files with 8 additions and 3 deletions

View File

@ -54,6 +54,9 @@ AC_SUBST(SOLLIBS)
dnl configure the panel plugin dnl configure the panel plugin
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20]) XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
dnl configure the libxfcegui4
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
dnl Check for i18n support dnl Check for i18n support
XDT_I18N([@LINGUAS@]) XDT_I18N([@LINGUAS@])

View File

@ -16,11 +16,13 @@ xfce4_netload_plugin_SOURCES = \
xfce4_netload_plugin_CFLAGS = \ xfce4_netload_plugin_CFLAGS = \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
@LIBXFCE4PANEL_CFLAGS@ @LIBXFCE4PANEL_CFLAGS@ \
@LIBXFCEGUI4_CFLAGS@
xfce4_netload_plugin_LDFLAGS = \ xfce4_netload_plugin_LDADD = \
@SOLLIBS@ \ @SOLLIBS@ \
@LIBXFCE4PANEL_LIBS@ @LIBXFCE4PANEL_LIBS@ \
@LIBXFCEGUI4_LIBS@
# .desktop file # .desktop file
# #