[arch-commits] Commit in fcitx/repos (16 files)

Felix Yan fyan at nymeria.archlinux.org
Sat Sep 28 08:49:25 UTC 2013


    Date: Saturday, September 28, 2013 @ 10:49:25
  Author: fyan
Revision: 97747

archrelease: copy trunk to community-i686, community-x86_64

Added:
  fcitx/repos/community-i686/PKGBUILD
    (from rev 97746, fcitx/trunk/PKGBUILD)
  fcitx/repos/community-i686/fcitx-gtk2.install
    (from rev 97746, fcitx/trunk/fcitx-gtk2.install)
  fcitx/repos/community-i686/fcitx-gtk3.install
    (from rev 97746, fcitx/trunk/fcitx-gtk3.install)
  fcitx/repos/community-i686/fcitx.install
    (from rev 97746, fcitx/trunk/fcitx.install)
  fcitx/repos/community-x86_64/PKGBUILD
    (from rev 97746, fcitx/trunk/PKGBUILD)
  fcitx/repos/community-x86_64/fcitx-gtk2.install
    (from rev 97746, fcitx/trunk/fcitx-gtk2.install)
  fcitx/repos/community-x86_64/fcitx-gtk3.install
    (from rev 97746, fcitx/trunk/fcitx-gtk3.install)
  fcitx/repos/community-x86_64/fcitx.install
    (from rev 97746, 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                           |  244 ++++++++++++++++++++++++++++++++++
 /fcitx-gtk2.install                 |   22 +++
 /fcitx-gtk3.install                 |   22 +++
 /fcitx.install                      |   28 +++
 community-i686/PKGBUILD             |  122 -----------------
 community-i686/fcitx-gtk2.install   |   11 -
 community-i686/fcitx-gtk3.install   |   11 -
 community-i686/fcitx.install        |   14 -
 community-x86_64/PKGBUILD           |  122 -----------------
 community-x86_64/fcitx-gtk2.install |   11 -
 community-x86_64/fcitx-gtk3.install |   11 -
 community-x86_64/fcitx.install      |   14 -
 12 files changed, 316 insertions(+), 316 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-i686/PKGBUILD	2013-09-28 08:49:25 UTC (rev 97747)
@@ -1,122 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: csslayer <wengxt AT gmail com>
-
-pkgbase=fcitx
-pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
-pkgver=4.2.8.2
-pkgrel=1
-groups=('fcitx-im')
-arch=('i686' 'x86_64')
-url="http://fcitx-im.org"
-license=('GPL')
-makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
-             'iso-codes' 'gobject-introspection' 'libxkbfile')
-source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz)
-
-build() {
-  cd "$srcdir"
-  mkdir -p 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 "${srcdir}/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-core' 'icu')
-  optdepends=('enchant: for word predication support'
-              'opencc: optional engine to do chinese convert'
-  	      'fcitx-anthy: Hiragana text to Kana Kanji mixed text Japanese input method'
-	      'fcitx-chewing: Intelligent Zhuyin input method library for traditional Chinese'
-	      'fcitx-cloudpinyin: Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates'
-	      'fcitx-configtool: GTK based config tool for Fcitx'
-	      'fcitx-fbterm: Fbterm support for Fcitx'
-	      'fcitx-googlepinyin: A fork from google pinyin on android for Fcitx'
-	      'fcitx-gtk2: GTK2 IM Module for fcitx'
-	      'fcitx-gtk3: GTK3 IM Module for fcitx'
-	      'fcitx-hangul: Hangul (Korean) support for fcitx'
-	      'fcitx-kkc: libkkc (Japanese Kana Kanji input method) engine for fcitx'
-	      'fcitx-libpinyin: Fcitx Wrapper for libpinyin, Library to deal with pinyin'
-	      'fcitx-m17n: Multilingual text processing library'
-	      'fcitx-mozc: Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)'
-	      'fcitx-qt4: QT4 IM Module for fcitx'
-	      'fcitx-qt5: QT5 IM Module for fcitx'
-	      'fcitx-rime: Rime input method engine (Traditional Chinese)'
-	      'fcitx-sayura: Sinhala Transe IME engine for fcitx'
-  	      'fcitx-sunpinyin: Statistical Language Model based pinyin IME by Sun'
-	      'fcitx-table-extra: Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie3, Cangjie5'
-	      'fcitx-table-other: Provides some other tables for Fcitx, fork from ibus-table-others, scim-tables'
-	      'fcitx-ui-light: Light weight xlib and xft based ui for fcitx'
-	      'fcitx-unikey: Fcitx Wrapper for unikey'
-	      'kcm-fcitx: KDE Config Module for Fcitx'
-	      'gettext: for fcitx-po-parser')
-  install=fcitx.install
-
-  cd "${srcdir}/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
-}
-
-sha512sums=('57945d1bacf80b112a4c5fd8454931f7014036ad1b7b81161be184c3c4d6e31c501f90361bd7327ebaef651f162eb450a6def4c726bd7159c3794b7606b3c2e2')

Copied: fcitx/repos/community-i686/PKGBUILD (from rev 97746, fcitx/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-09-28 08:49:25 UTC (rev 97747)
@@ -0,0 +1,122 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgbase=fcitx
+pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
+pkgver=4.2.8.3
+pkgrel=1
+groups=('fcitx-im')
+arch=('i686' 'x86_64')
+url="http://fcitx-im.org"
+license=('GPL')
+makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
+             'iso-codes' 'gobject-introspection' 'libxkbfile')
+source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz)
+
+build() {
+  cd "$srcdir"
+  mkdir -p 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 "${srcdir}/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-core' 'icu')
+  optdepends=('enchant: for word predication support'
+              'opencc: optional engine to do chinese convert'
+  	      'fcitx-anthy: Hiragana text to Kana Kanji mixed text Japanese input method'
+	      'fcitx-chewing: Intelligent Zhuyin input method library for traditional Chinese'
+	      'fcitx-cloudpinyin: Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates'
+	      'fcitx-configtool: GTK based config tool for Fcitx'
+	      'fcitx-fbterm: Fbterm support for Fcitx'
+	      'fcitx-googlepinyin: A fork from google pinyin on android for Fcitx'
+	      'fcitx-gtk2: GTK2 IM Module for fcitx'
+	      'fcitx-gtk3: GTK3 IM Module for fcitx'
+	      'fcitx-hangul: Hangul (Korean) support for fcitx'
+	      'fcitx-kkc: libkkc (Japanese Kana Kanji input method) engine for fcitx'
+	      'fcitx-libpinyin: Fcitx Wrapper for libpinyin, Library to deal with pinyin'
+	      'fcitx-m17n: Multilingual text processing library'
+	      'fcitx-mozc: Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)'
+	      'fcitx-qt4: QT4 IM Module for fcitx'
+	      'fcitx-qt5: QT5 IM Module for fcitx'
+	      'fcitx-rime: Rime input method engine (Traditional Chinese)'
+	      'fcitx-sayura: Sinhala Transe IME engine for fcitx'
+  	      'fcitx-sunpinyin: Statistical Language Model based pinyin IME by Sun'
+	      'fcitx-table-extra: Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie3, Cangjie5'
+	      'fcitx-table-other: Provides some other tables for Fcitx, fork from ibus-table-others, scim-tables'
+	      'fcitx-ui-light: Light weight xlib and xft based ui for fcitx'
+	      'fcitx-unikey: Fcitx Wrapper for unikey'
+	      'kcm-fcitx: KDE Config Module for Fcitx'
+	      'gettext: for fcitx-po-parser')
+  install=fcitx.install
+
+  cd "${srcdir}/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
+}
+
+sha512sums=('93c7aa5209f344e1e89addb1dca7a76cde884e4467c0db5f79e758ea8ffb0fe1207ba1c507fb6574fe8223fa873ed5d1dd44835b70cf9254f5149df8e242e92d')

Deleted: community-i686/fcitx-gtk2.install
===================================================================
--- community-i686/fcitx-gtk2.install	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-i686/fcitx-gtk2.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx-gtk2.install)
===================================================================
--- community-i686/fcitx-gtk2.install	                        (rev 0)
+++ community-i686/fcitx-gtk2.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-i686/fcitx-gtk3.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx-gtk3.install)
===================================================================
--- community-i686/fcitx-gtk3.install	                        (rev 0)
+++ community-i686/fcitx-gtk3.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-i686/fcitx.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx.install)
===================================================================
--- community-i686/fcitx.install	                        (rev 0)
+++ community-i686/fcitx.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-x86_64/PKGBUILD	2013-09-28 08:49:25 UTC (rev 97747)
@@ -1,122 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: csslayer <wengxt AT gmail com>
-
-pkgbase=fcitx
-pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
-pkgver=4.2.8.2
-pkgrel=1
-groups=('fcitx-im')
-arch=('i686' 'x86_64')
-url="http://fcitx-im.org"
-license=('GPL')
-makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
-             'iso-codes' 'gobject-introspection' 'libxkbfile')
-source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz)
-
-build() {
-  cd "$srcdir"
-  mkdir -p 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 "${srcdir}/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-core' 'icu')
-  optdepends=('enchant: for word predication support'
-              'opencc: optional engine to do chinese convert'
-  	      'fcitx-anthy: Hiragana text to Kana Kanji mixed text Japanese input method'
-	      'fcitx-chewing: Intelligent Zhuyin input method library for traditional Chinese'
-	      'fcitx-cloudpinyin: Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates'
-	      'fcitx-configtool: GTK based config tool for Fcitx'
-	      'fcitx-fbterm: Fbterm support for Fcitx'
-	      'fcitx-googlepinyin: A fork from google pinyin on android for Fcitx'
-	      'fcitx-gtk2: GTK2 IM Module for fcitx'
-	      'fcitx-gtk3: GTK3 IM Module for fcitx'
-	      'fcitx-hangul: Hangul (Korean) support for fcitx'
-	      'fcitx-kkc: libkkc (Japanese Kana Kanji input method) engine for fcitx'
-	      'fcitx-libpinyin: Fcitx Wrapper for libpinyin, Library to deal with pinyin'
-	      'fcitx-m17n: Multilingual text processing library'
-	      'fcitx-mozc: Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)'
-	      'fcitx-qt4: QT4 IM Module for fcitx'
-	      'fcitx-qt5: QT5 IM Module for fcitx'
-	      'fcitx-rime: Rime input method engine (Traditional Chinese)'
-	      'fcitx-sayura: Sinhala Transe IME engine for fcitx'
-  	      'fcitx-sunpinyin: Statistical Language Model based pinyin IME by Sun'
-	      'fcitx-table-extra: Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie3, Cangjie5'
-	      'fcitx-table-other: Provides some other tables for Fcitx, fork from ibus-table-others, scim-tables'
-	      'fcitx-ui-light: Light weight xlib and xft based ui for fcitx'
-	      'fcitx-unikey: Fcitx Wrapper for unikey'
-	      'kcm-fcitx: KDE Config Module for Fcitx'
-	      'gettext: for fcitx-po-parser')
-  install=fcitx.install
-
-  cd "${srcdir}/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
-}
-
-sha512sums=('57945d1bacf80b112a4c5fd8454931f7014036ad1b7b81161be184c3c4d6e31c501f90361bd7327ebaef651f162eb450a6def4c726bd7159c3794b7606b3c2e2')

Copied: fcitx/repos/community-x86_64/PKGBUILD (from rev 97746, fcitx/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-09-28 08:49:25 UTC (rev 97747)
@@ -0,0 +1,122 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgbase=fcitx
+pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt4')
+pkgver=4.2.8.3
+pkgrel=1
+groups=('fcitx-im')
+arch=('i686' 'x86_64')
+url="http://fcitx-im.org"
+license=('GPL')
+makedepends=('cmake' 'doxygen' 'gtk2' 'gtk3' 'qt4' 'icu' 'mesa' \
+             'iso-codes' 'gobject-introspection' 'libxkbfile')
+source=(http://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz)
+
+build() {
+  cd "$srcdir"
+  mkdir -p 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 "${srcdir}/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-core' 'icu')
+  optdepends=('enchant: for word predication support'
+              'opencc: optional engine to do chinese convert'
+  	      'fcitx-anthy: Hiragana text to Kana Kanji mixed text Japanese input method'
+	      'fcitx-chewing: Intelligent Zhuyin input method library for traditional Chinese'
+	      'fcitx-cloudpinyin: Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates'
+	      'fcitx-configtool: GTK based config tool for Fcitx'
+	      'fcitx-fbterm: Fbterm support for Fcitx'
+	      'fcitx-googlepinyin: A fork from google pinyin on android for Fcitx'
+	      'fcitx-gtk2: GTK2 IM Module for fcitx'
+	      'fcitx-gtk3: GTK3 IM Module for fcitx'
+	      'fcitx-hangul: Hangul (Korean) support for fcitx'
+	      'fcitx-kkc: libkkc (Japanese Kana Kanji input method) engine for fcitx'
+	      'fcitx-libpinyin: Fcitx Wrapper for libpinyin, Library to deal with pinyin'
+	      'fcitx-m17n: Multilingual text processing library'
+	      'fcitx-mozc: Fcitx Module of A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)'
+	      'fcitx-qt4: QT4 IM Module for fcitx'
+	      'fcitx-qt5: QT5 IM Module for fcitx'
+	      'fcitx-rime: Rime input method engine (Traditional Chinese)'
+	      'fcitx-sayura: Sinhala Transe IME engine for fcitx'
+  	      'fcitx-sunpinyin: Statistical Language Model based pinyin IME by Sun'
+	      'fcitx-table-extra: Extra tables for Fcitx, including Boshiamy, Zhengma, Cangjie3, Cangjie5'
+	      'fcitx-table-other: Provides some other tables for Fcitx, fork from ibus-table-others, scim-tables'
+	      'fcitx-ui-light: Light weight xlib and xft based ui for fcitx'
+	      'fcitx-unikey: Fcitx Wrapper for unikey'
+	      'kcm-fcitx: KDE Config Module for Fcitx'
+	      'gettext: for fcitx-po-parser')
+  install=fcitx.install
+
+  cd "${srcdir}/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
+}
+
+sha512sums=('93c7aa5209f344e1e89addb1dca7a76cde884e4467c0db5f79e758ea8ffb0fe1207ba1c507fb6574fe8223fa873ed5d1dd44835b70cf9254f5149df8e242e92d')

Deleted: community-x86_64/fcitx-gtk2.install
===================================================================
--- community-x86_64/fcitx-gtk2.install	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-x86_64/fcitx-gtk2.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx-gtk2.install)
===================================================================
--- community-x86_64/fcitx-gtk2.install	                        (rev 0)
+++ community-x86_64/fcitx-gtk2.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-x86_64/fcitx-gtk3.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx-gtk3.install)
===================================================================
--- community-x86_64/fcitx-gtk3.install	                        (rev 0)
+++ community-x86_64/fcitx-gtk3.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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	2013-09-28 08:47:45 UTC (rev 97746)
+++ community-x86_64/fcitx.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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 97746, fcitx/trunk/fcitx.install)
===================================================================
--- community-x86_64/fcitx.install	                        (rev 0)
+++ community-x86_64/fcitx.install	2013-09-28 08:49:25 UTC (rev 97747)
@@ -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
+}




More information about the arch-commits mailing list