uim/uim-fix-gnome-compilation.patch

24 lines
1.3 KiB
Diff

Index: uim-1.2.1/configure.ac
===================================================================
--- uim-1.2.1.orig/configure.ac
+++ uim-1.2.1/configure.ac
@@ -378,14 +378,14 @@ AC_ARG_ENABLE(applet,
use_applet="no"
;;
yes|*)
- PKG_CHECK_MODULES(APPLET, libpanelapplet-2.0, use_applet="yes",use_applet="no")
- PKG_CHECK_MODULES(APPLET_2_14, libpanelapplet-2.0 >= 2.14.0, panelapplet_have_set_background_api="yes",panelapplet_have_set_background_api="no")
+ PKG_CHECK_MODULES(APPLET, libpanelapplet-2.0 libgnomeui-2.0, use_applet="yes",use_applet="no")
+ PKG_CHECK_MODULES(APPLET_2_14, libpanelapplet-2.0 >= 2.14.0 libgnomeui-2.0, panelapplet_have_set_background_api="yes",panelapplet_have_set_background_api="no")
;;
esac
],
[
- PKG_CHECK_MODULES(APPLET, libpanelapplet-2.0, use_applet="yes",use_applet="no")
- PKG_CHECK_MODULES(APPLET_2_14, libpanelapplet-2.0 >= 2.14.0, panelapplet_have_set_background_api="yes",panelapplet_have_set_background_api="no")
+ PKG_CHECK_MODULES(APPLET, libpanelapplet-2.0 libgnomeui-2.0, use_applet="yes",use_applet="no")
+ PKG_CHECK_MODULES(APPLET_2_14, libpanelapplet-2.0 >= 2.14.0 libgnomeui-2.0, panelapplet_have_set_background_api="yes",panelapplet_have_set_background_api="no")
])
if test x"$panelapplet_have_set_background_api" = xyes; then