From 69b0425825bce479cfb9923934f24c2e382231c8 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Sun, 20 Dec 2009 18:37:21 +0800 Subject: [PATCH] Fix build rpm errors. --- configure.ac | 1 + xinput-ibus => xinput-ibus.in | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) rename xinput-ibus => xinput-ibus.in (70%) diff --git a/configure.ac b/configure.ac index 5d0a380..bc54049 100644 --- a/configure.ac +++ b/configure.ac @@ -228,6 +228,7 @@ AC_CONFIG_FILES([ po/Makefile.in Makefile ibus-1.0.pc ibus.spec +xinput-ibus ibus/_config.py ibus/Makefile ibus/interface/Makefile diff --git a/xinput-ibus b/xinput-ibus.in similarity index 70% rename from xinput-ibus rename to xinput-ibus.in index 1f49371..acc75cb 100644 --- a/xinput-ibus +++ b/xinput-ibus.in @@ -1,8 +1,11 @@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + XIM=ibus -XIM_PROGRAM="/usr/bin/ibus-daemon" -ICON="/usr/share/pixmaps/ibus.svg" +XIM_PROGRAM="@bindir@/ibus-daemon" +ICON=ibus XIM_ARGS="--xim" -PREFERENCE_PROGRAM=/usr/bin/ibus-setup +PREFERENCE_PROGRAM="@bindir@/ibus-setup" SHORT_DESC="IBus" GTK_IM_MODULE=ibus -- 2.7.4