Date: Tuesday, December 22, 2015 @ 14:38:04 Author: fyan Revision: 154206
archrelease: copy trunk to community-i686, community-x86_64 Added: fcitx/repos/community-i686/PKGBUILD (from rev 154205, fcitx/trunk/PKGBUILD) fcitx/repos/community-i686/fcitx-gtk2.install (from rev 154205, fcitx/trunk/fcitx-gtk2.install) fcitx/repos/community-i686/fcitx-gtk3.install (from rev 154205, fcitx/trunk/fcitx-gtk3.install) fcitx/repos/community-i686/fcitx.install (from rev 154205, fcitx/trunk/fcitx.install) fcitx/repos/community-x86_64/PKGBUILD (from rev 154205, fcitx/trunk/PKGBUILD) fcitx/repos/community-x86_64/fcitx-gtk2.install (from rev 154205, fcitx/trunk/fcitx-gtk2.install) fcitx/repos/community-x86_64/fcitx-gtk3.install (from rev 154205, fcitx/trunk/fcitx-gtk3.install) fcitx/repos/community-x86_64/fcitx.install (from rev 154205, fcitx/trunk/fcitx.install) Deleted: fcitx/repos/community-i686/PKGBUILD fcitx/repos/community-i686/fcitx-gtk2.install fcitx/repos/community-i686/fcitx-gtk3.install fcitx/repos/community-i686/fcitx.install fcitx/repos/community-x86_64/PKGBUILD fcitx/repos/community-x86_64/fcitx-gtk2.install fcitx/repos/community-x86_64/fcitx-gtk3.install fcitx/repos/community-x86_64/fcitx.install -------------------------------------+ /PKGBUILD | 202 ++++++++++++++++++++++++++++++++++ /fcitx-gtk2.install | 22 +++ /fcitx-gtk3.install | 22 +++ /fcitx.install | 28 ++++ community-i686/PKGBUILD | 101 ----------------- community-i686/fcitx-gtk2.install | 11 - community-i686/fcitx-gtk3.install | 11 - community-i686/fcitx.install | 14 -- community-x86_64/PKGBUILD | 101 ----------------- community-x86_64/fcitx-gtk2.install | 11 - community-x86_64/fcitx-gtk3.install | 11 - community-x86_64/fcitx.install | 14 -- 12 files changed, 274 insertions(+), 274 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-12-22 13:37:03 UTC (rev 154205) +++ community-i686/PKGBUILD 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,101 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgbase=fcitx -pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4') -pkgver=4.2.9 -pkgrel=2 -groups=('fcitx-im') -arch=('i686' 'x86_64') -url="http://fcitx-im.org" -license=('GPL' 'LGPL') -makedepends=('extra-cmake-modules' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' 'opencc' \ - 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant' 'python2') -source=("http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz") -sha512sums=('4bad2efc283858bf9af7f7f283f7beefb210aa361ff034464ff97ea0e536f084c99d876f3595a5375114b68cd51714bd0b5c622a53efc57154a4e629fd416093') - -prepare() { - mkdir build -} - -build() { - cd build - - cmake ../${pkgbase}-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONFDIR=/etc \ - -DFORCE_OPENCC=ON \ - -DFORCE_PRESAGE=ON \ - -DFORCE_ENCHANT=ON \ - -DENABLE_TEST=ON \ - -DENABLE_GTK2_IM_MODULE=ON \ - -DENABLE_GTK3_IM_MODULE=ON \ - -DENABLE_QT_IM_MODULE=ON \ - -DQT_QMAKE_EXECUTABLE=qmake-qt4 - make -} - -check() { - cd build - make test -} - -package_fcitx() { - pkgdesc="Flexible Context-aware Input Tool with eXtension" - depends=('pango' 'libxinerama' 'gtk-update-icon-cache' 'shared-mime-info' \ - 'hicolor-icon-theme' 'desktop-file-utils' 'libxkbfile' \ - 'libxfixes' 'dbus' 'icu' 'libxkbcommon') - optdepends=('enchant: for word predication support' - 'opencc: optional engine to do chinese convert' - 'gettext: for fcitx-po-parser') - install=fcitx.install - - cd build - make DESTDIR="${pkgdir}" install - - rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4} - rm -r "${pkgdir}/usr/lib/fcitx/qt" - rm -r "${pkgdir}/usr/include/fcitx-qt" - rm "${pkgdir}/usr/lib/fcitx/libexec/fcitx-qt-gui-wrapper" - rm "${pkgdir}/usr/lib/"libfcitx-qt.so* - rm "${pkgdir}/usr/lib/pkgconfig/fcitx-qt.pc" -} - -package_fcitx-gtk2() { - pkgdesc='GTK2 IM Module for fcitx' - depends=('gtk2' "fcitx>=$pkgver") - install=fcitx-gtk2.install - - cd "${srcdir}/build/src/frontend/gtk2" - make DESTDIR="${pkgdir}" install -} - -package_fcitx-gtk3() { - pkgdesc='GTK3 IM Module for fcitx' - depends=('gtk3' "fcitx>=$pkgver") - install=fcitx-gtk3.install - - cd "${srcdir}/build/src/frontend/gtk3" - make DESTDIR="${pkgdir}" install -} - -package_fcitx-qt4() { - pkgdesc='Qt4 IM Module for fcitx' - depends=('qt4' "fcitx>=$pkgver") - replaces=('fcitx-qt') - provides=('fcitx-qt') - conflicts=('fcitx-qt') - - cd "${srcdir}/build/src/frontend/qt" - make DESTDIR="${pkgdir}" install - - cd "${srcdir}/build/tools/gui" - make DESTDIR="${pkgdir}" install - - cd "${srcdir}/build/src/lib/fcitx-qt" - make DESTDIR="${pkgdir}" install -} - Copied: fcitx/repos/community-i686/PKGBUILD (from rev 154205, fcitx/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgbase=fcitx +pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4') +pkgver=4.2.9.1 +pkgrel=1 +groups=('fcitx-im') +arch=('i686' 'x86_64') +url="http://fcitx-im.org" +license=('GPL' 'LGPL') +makedepends=('extra-cmake-modules' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' 'opencc' \ + 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant' 'python2') +source=("http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz") +sha512sums=('5d3b669ed97423f976116385571d07f832e9e18007e6a3c2aef12957219739a81fbf2343825fea4a1b01a83a6bf9e40e9ffa88466c651876602517c6da1fb25d') + +prepare() { + mkdir build +} + +build() { + cd build + + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DFORCE_OPENCC=ON \ + -DFORCE_PRESAGE=ON \ + -DFORCE_ENCHANT=ON \ + -DENABLE_TEST=ON \ + -DENABLE_GTK2_IM_MODULE=ON \ + -DENABLE_GTK3_IM_MODULE=ON \ + -DENABLE_QT_IM_MODULE=ON \ + -DQT_QMAKE_EXECUTABLE=qmake-qt4 + make +} + +check() { + cd build + make test +} + +package_fcitx() { + pkgdesc="Flexible Context-aware Input Tool with eXtension" + depends=('pango' 'libxinerama' 'gtk-update-icon-cache' 'shared-mime-info' \ + 'hicolor-icon-theme' 'desktop-file-utils' 'libxkbfile' \ + 'libxfixes' 'dbus' 'icu' 'libxkbcommon') + optdepends=('enchant: for word predication support' + 'opencc: optional engine to do chinese convert' + 'gettext: for fcitx-po-parser') + install=fcitx.install + + cd build + make DESTDIR="${pkgdir}" install + + rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4} + rm -r "${pkgdir}/usr/lib/fcitx/qt" + rm -r "${pkgdir}/usr/include/fcitx-qt" + rm "${pkgdir}/usr/lib/fcitx/libexec/fcitx-qt-gui-wrapper" + rm "${pkgdir}/usr/lib/"libfcitx-qt.so* + rm "${pkgdir}/usr/lib/pkgconfig/fcitx-qt.pc" +} + +package_fcitx-gtk2() { + pkgdesc='GTK2 IM Module for fcitx' + depends=('gtk2' "fcitx>=$pkgver") + install=fcitx-gtk2.install + + cd "${srcdir}/build/src/frontend/gtk2" + make DESTDIR="${pkgdir}" install +} + +package_fcitx-gtk3() { + pkgdesc='GTK3 IM Module for fcitx' + depends=('gtk3' "fcitx>=$pkgver") + install=fcitx-gtk3.install + + cd "${srcdir}/build/src/frontend/gtk3" + make DESTDIR="${pkgdir}" install +} + +package_fcitx-qt4() { + pkgdesc='Qt4 IM Module for fcitx' + depends=('qt4' "fcitx>=$pkgver") + replaces=('fcitx-qt') + provides=('fcitx-qt') + conflicts=('fcitx-qt') + + cd "${srcdir}/build/src/frontend/qt" + make DESTDIR="${pkgdir}" install + + cd "${srcdir}/build/tools/gui" + make DESTDIR="${pkgdir}" install + + cd "${srcdir}/build/src/lib/fcitx-qt" + make DESTDIR="${pkgdir}" install +} + Deleted: community-i686/fcitx-gtk2.install =================================================================== --- community-i686/fcitx-gtk2.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-i686/fcitx-gtk2.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,11 +0,0 @@ -post_install() { - usr/bin/gtk-query-immodules-2.0 --update-cache -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: fcitx/repos/community-i686/fcitx-gtk2.install (from rev 154205, fcitx/trunk/fcitx-gtk2.install) =================================================================== --- community-i686/fcitx-gtk2.install (rev 0) +++ community-i686/fcitx-gtk2.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gtk-query-immodules-2.0 --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-i686/fcitx-gtk3.install =================================================================== --- community-i686/fcitx-gtk3.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-i686/fcitx-gtk3.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,11 +0,0 @@ -post_install() { - usr/bin/gtk-query-immodules-3.0 --update-cache -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: fcitx/repos/community-i686/fcitx-gtk3.install (from rev 154205, fcitx/trunk/fcitx-gtk3.install) =================================================================== --- community-i686/fcitx-gtk3.install (rev 0) +++ community-i686/fcitx-gtk3.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gtk-query-immodules-3.0 --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-i686/fcitx.install =================================================================== --- community-i686/fcitx.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-i686/fcitx.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,14 +0,0 @@ -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q - update-mime-database usr/share/mime &> /dev/null -} - -post_install() { - echo "You should at least install one of kcm-fcitx (For Qt/KDE users) or fcitx-configtool (For GTK+ users) to enable Fcitx configuration GUI." - post_upgrade -} - -post_remove() { - post_upgrade -} Copied: fcitx/repos/community-i686/fcitx.install (from rev 154205, fcitx/trunk/fcitx.install) =================================================================== --- community-i686/fcitx.install (rev 0) +++ community-i686/fcitx.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,14 @@ +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_install() { + echo "You should at least install one of kcm-fcitx (For Qt/KDE users) or fcitx-configtool (For GTK+ users) to enable Fcitx configuration GUI." + post_upgrade +} + +post_remove() { + post_upgrade +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2015-12-22 13:37:03 UTC (rev 154205) +++ community-x86_64/PKGBUILD 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,101 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: csslayer <wengxt AT gmail com> - -pkgbase=fcitx -pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4') -pkgver=4.2.9 -pkgrel=2 -groups=('fcitx-im') -arch=('i686' 'x86_64') -url="http://fcitx-im.org" -license=('GPL' 'LGPL') -makedepends=('extra-cmake-modules' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' 'opencc' \ - 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant' 'python2') -source=("http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz") -sha512sums=('4bad2efc283858bf9af7f7f283f7beefb210aa361ff034464ff97ea0e536f084c99d876f3595a5375114b68cd51714bd0b5c622a53efc57154a4e629fd416093') - -prepare() { - mkdir build -} - -build() { - cd build - - cmake ../${pkgbase}-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONFDIR=/etc \ - -DFORCE_OPENCC=ON \ - -DFORCE_PRESAGE=ON \ - -DFORCE_ENCHANT=ON \ - -DENABLE_TEST=ON \ - -DENABLE_GTK2_IM_MODULE=ON \ - -DENABLE_GTK3_IM_MODULE=ON \ - -DENABLE_QT_IM_MODULE=ON \ - -DQT_QMAKE_EXECUTABLE=qmake-qt4 - make -} - -check() { - cd build - make test -} - -package_fcitx() { - pkgdesc="Flexible Context-aware Input Tool with eXtension" - depends=('pango' 'libxinerama' 'gtk-update-icon-cache' 'shared-mime-info' \ - 'hicolor-icon-theme' 'desktop-file-utils' 'libxkbfile' \ - 'libxfixes' 'dbus' 'icu' 'libxkbcommon') - optdepends=('enchant: for word predication support' - 'opencc: optional engine to do chinese convert' - 'gettext: for fcitx-po-parser') - install=fcitx.install - - cd build - make DESTDIR="${pkgdir}" install - - rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4} - rm -r "${pkgdir}/usr/lib/fcitx/qt" - rm -r "${pkgdir}/usr/include/fcitx-qt" - rm "${pkgdir}/usr/lib/fcitx/libexec/fcitx-qt-gui-wrapper" - rm "${pkgdir}/usr/lib/"libfcitx-qt.so* - rm "${pkgdir}/usr/lib/pkgconfig/fcitx-qt.pc" -} - -package_fcitx-gtk2() { - pkgdesc='GTK2 IM Module for fcitx' - depends=('gtk2' "fcitx>=$pkgver") - install=fcitx-gtk2.install - - cd "${srcdir}/build/src/frontend/gtk2" - make DESTDIR="${pkgdir}" install -} - -package_fcitx-gtk3() { - pkgdesc='GTK3 IM Module for fcitx' - depends=('gtk3' "fcitx>=$pkgver") - install=fcitx-gtk3.install - - cd "${srcdir}/build/src/frontend/gtk3" - make DESTDIR="${pkgdir}" install -} - -package_fcitx-qt4() { - pkgdesc='Qt4 IM Module for fcitx' - depends=('qt4' "fcitx>=$pkgver") - replaces=('fcitx-qt') - provides=('fcitx-qt') - conflicts=('fcitx-qt') - - cd "${srcdir}/build/src/frontend/qt" - make DESTDIR="${pkgdir}" install - - cd "${srcdir}/build/tools/gui" - make DESTDIR="${pkgdir}" install - - cd "${srcdir}/build/src/lib/fcitx-qt" - make DESTDIR="${pkgdir}" install -} - Copied: fcitx/repos/community-x86_64/PKGBUILD (from rev 154205, fcitx/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgbase=fcitx +pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4') +pkgver=4.2.9.1 +pkgrel=1 +groups=('fcitx-im') +arch=('i686' 'x86_64') +url="http://fcitx-im.org" +license=('GPL' 'LGPL') +makedepends=('extra-cmake-modules' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' 'opencc' \ + 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant' 'python2') +source=("http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz") +sha512sums=('5d3b669ed97423f976116385571d07f832e9e18007e6a3c2aef12957219739a81fbf2343825fea4a1b01a83a6bf9e40e9ffa88466c651876602517c6da1fb25d') + +prepare() { + mkdir build +} + +build() { + cd build + + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DFORCE_OPENCC=ON \ + -DFORCE_PRESAGE=ON \ + -DFORCE_ENCHANT=ON \ + -DENABLE_TEST=ON \ + -DENABLE_GTK2_IM_MODULE=ON \ + -DENABLE_GTK3_IM_MODULE=ON \ + -DENABLE_QT_IM_MODULE=ON \ + -DQT_QMAKE_EXECUTABLE=qmake-qt4 + make +} + +check() { + cd build + make test +} + +package_fcitx() { + pkgdesc="Flexible Context-aware Input Tool with eXtension" + depends=('pango' 'libxinerama' 'gtk-update-icon-cache' 'shared-mime-info' \ + 'hicolor-icon-theme' 'desktop-file-utils' 'libxkbfile' \ + 'libxfixes' 'dbus' 'icu' 'libxkbcommon') + optdepends=('enchant: for word predication support' + 'opencc: optional engine to do chinese convert' + 'gettext: for fcitx-po-parser') + install=fcitx.install + + cd build + make DESTDIR="${pkgdir}" install + + rm -r "${pkgdir}/usr/lib/"{gtk-2.0,gtk-3.0,qt4} + rm -r "${pkgdir}/usr/lib/fcitx/qt" + rm -r "${pkgdir}/usr/include/fcitx-qt" + rm "${pkgdir}/usr/lib/fcitx/libexec/fcitx-qt-gui-wrapper" + rm "${pkgdir}/usr/lib/"libfcitx-qt.so* + rm "${pkgdir}/usr/lib/pkgconfig/fcitx-qt.pc" +} + +package_fcitx-gtk2() { + pkgdesc='GTK2 IM Module for fcitx' + depends=('gtk2' "fcitx>=$pkgver") + install=fcitx-gtk2.install + + cd "${srcdir}/build/src/frontend/gtk2" + make DESTDIR="${pkgdir}" install +} + +package_fcitx-gtk3() { + pkgdesc='GTK3 IM Module for fcitx' + depends=('gtk3' "fcitx>=$pkgver") + install=fcitx-gtk3.install + + cd "${srcdir}/build/src/frontend/gtk3" + make DESTDIR="${pkgdir}" install +} + +package_fcitx-qt4() { + pkgdesc='Qt4 IM Module for fcitx' + depends=('qt4' "fcitx>=$pkgver") + replaces=('fcitx-qt') + provides=('fcitx-qt') + conflicts=('fcitx-qt') + + cd "${srcdir}/build/src/frontend/qt" + make DESTDIR="${pkgdir}" install + + cd "${srcdir}/build/tools/gui" + make DESTDIR="${pkgdir}" install + + cd "${srcdir}/build/src/lib/fcitx-qt" + make DESTDIR="${pkgdir}" install +} + Deleted: community-x86_64/fcitx-gtk2.install =================================================================== --- community-x86_64/fcitx-gtk2.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-x86_64/fcitx-gtk2.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,11 +0,0 @@ -post_install() { - usr/bin/gtk-query-immodules-2.0 --update-cache -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: fcitx/repos/community-x86_64/fcitx-gtk2.install (from rev 154205, fcitx/trunk/fcitx-gtk2.install) =================================================================== --- community-x86_64/fcitx-gtk2.install (rev 0) +++ community-x86_64/fcitx-gtk2.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gtk-query-immodules-2.0 --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-x86_64/fcitx-gtk3.install =================================================================== --- community-x86_64/fcitx-gtk3.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-x86_64/fcitx-gtk3.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,11 +0,0 @@ -post_install() { - usr/bin/gtk-query-immodules-3.0 --update-cache -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: fcitx/repos/community-x86_64/fcitx-gtk3.install (from rev 154205, fcitx/trunk/fcitx-gtk3.install) =================================================================== --- community-x86_64/fcitx-gtk3.install (rev 0) +++ community-x86_64/fcitx-gtk3.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,11 @@ +post_install() { + usr/bin/gtk-query-immodules-3.0 --update-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-x86_64/fcitx.install =================================================================== --- community-x86_64/fcitx.install 2015-12-22 13:37:03 UTC (rev 154205) +++ community-x86_64/fcitx.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -1,14 +0,0 @@ -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q - update-mime-database usr/share/mime &> /dev/null -} - -post_install() { - echo "You should at least install one of kcm-fcitx (For Qt/KDE users) or fcitx-configtool (For GTK+ users) to enable Fcitx configuration GUI." - post_upgrade -} - -post_remove() { - post_upgrade -} Copied: fcitx/repos/community-x86_64/fcitx.install (from rev 154205, fcitx/trunk/fcitx.install) =================================================================== --- community-x86_64/fcitx.install (rev 0) +++ community-x86_64/fcitx.install 2015-12-22 13:38:04 UTC (rev 154206) @@ -0,0 +1,14 @@ +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_install() { + echo "You should at least install one of kcm-fcitx (For Qt/KDE users) or fcitx-configtool (For GTK+ users) to enable Fcitx configuration GUI." + post_upgrade +} + +post_remove() { + post_upgrade +}