remove gtk im module

This commit is contained in:
Weng 2013-01-30 22:27:06 +00:00
parent 88827dc407
commit 66e641f355
2 changed files with 8 additions and 9 deletions

View File

@ -9,15 +9,15 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=fcitx
pkgver=4.2.7
pkgrel=1
pkgrel=2
pkgdesc="A Flexible Input Method Framework"
arch=("i686" "x86_64")
license=('GPL')
url="http://code.google.com/p/fcitx"
depends=('pango' 'dbus-core' 'opencc' 'lua' 'iso-codes' 'icu' 'libxkbfile')
replaces=('fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-keyboard')
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard' 'fcitx-qt' 'fcitx-gtk2' 'fcitx-gtk3')
makedepends=('cmake' 'qt' 'icu' 'wget' 'gtk2' 'gtk3' 'opencc' 'lua' 'iso-codes' 'enchant')
replaces=('fcitx-qt' 'fcitx-keyboard')
conflicts=('fcitx-utf8-svn' 'fcitx-svn' 'fcitx-hg' 'fcitx-keyboard' 'fcitx-qt')
makedepends=('cmake' 'qt' 'icu' 'wget' 'opencc' 'lua' 'iso-codes' 'enchant')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
categories=('localization')
install=fcitx.install
@ -33,8 +33,8 @@ build() {
cd $srcdir/build
cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DENABLE_QT_IM_MODULE=On \
-DENABLE_GTK2_IM_MODULE=On \
-DENABLE_GTK3_IM_MODULE=On \
-DENABLE_GTK2_IM_MODULE=Off \
-DENABLE_GTK3_IM_MODULE=Off \
-DENABLE_OPENCC=On \
-DENABLE_LUA=On \
-DENABLE_GIR=Off

View File

@ -1,7 +1,6 @@
post_install() {
which gtk-query-immodules-2.0 > /dev/null 2>&1 && gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
which gtk-query-immodules-3.0 > /dev/null 2>&1 && gtk-query-immodules-3.0 --update-cache
echo "fcitx doesn't provides gtk im module anymore in this package."
echo "please install fcitx-gtk2 and fcitx-gtk3 from ccr if you need them."
update-desktop-database -q
update-mime-database usr/share/mime &> /dev/null