[arch-commits] Commit in fcitx/repos/community-x86_64 (8 files)

Antonio Rojas arojas at archlinux.org
Tue Apr 30 21:15:58 UTC 2019


    Date: Tuesday, April 30, 2019 @ 21:15:57
  Author: arojas
Revision: 457224

archrelease: copy trunk to community-x86_64

Added:
  fcitx/repos/community-x86_64/PKGBUILD
    (from rev 457223, fcitx/trunk/PKGBUILD)
  fcitx/repos/community-x86_64/fcitx-gtk2.install
    (from rev 457223, fcitx/trunk/fcitx-gtk2.install)
  fcitx/repos/community-x86_64/fcitx-gtk3.install
    (from rev 457223, fcitx/trunk/fcitx-gtk3.install)
  fcitx/repos/community-x86_64/fcitx.install
    (from rev 457223, fcitx/trunk/fcitx.install)
Deleted:
  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           |  181 ++++++++++++++++++++++-----------------------------
 fcitx-gtk2.install |   22 +++---
 fcitx-gtk3.install |   22 +++---
 fcitx.install      |    8 +-
 4 files changed, 107 insertions(+), 126 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-30 21:15:24 UTC (rev 457223)
+++ PKGBUILD	2019-04-30 21:15:57 UTC (rev 457224)
@@ -1,100 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# 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.9.6
-pkgrel=1
-groups=('fcitx-im')
-arch=('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=("https://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz"{,.sig})
-sha512sums=('dc8308d1a4e9b7595da285ca6521f33027f5b8e6968bc28f751bd4f40116166cabbe1c05e29072afbe88473d2a9d6999124476260785e07f62a243df6e896bb0'
-            'SKIP')
-validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9')  # Weng Xuetian
-
-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
-  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/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 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 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 457223, fcitx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-30 21:15:57 UTC (rev 457224)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgbase=fcitx
+pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3')
+pkgver=4.2.9.6
+pkgrel=2
+groups=('fcitx-im')
+arch=('x86_64')
+url="http://fcitx-im.org"
+license=('GPL' 'LGPL')
+makedepends=('extra-cmake-modules' 'doxygen' 'gtk2' 'gtk3' 'icu' 'mesa' 'opencc' \
+             'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant' 'python2')
+source=("https://download.fcitx-im.org/$pkgbase/$pkgbase-${pkgver}_dict.tar.xz"{,.sig})
+sha512sums=('dc8308d1a4e9b7595da285ca6521f33027f5b8e6968bc28f751bd4f40116166cabbe1c05e29072afbe88473d2a9d6999124476260785e07f62a243df6e896bb0'
+            'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9')  # Weng Xuetian
+
+prepare() {
+  mkdir build
+
+  sed -e 's|enchant/enchant.h|enchant-2/enchant.h|' -i $pkgbase-$pkgver/cmake/FindEnchant.cmake
+}
+
+build() {
+  cd build
+
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DSYSCONFDIR=/etc \
+    -DFORCE_OPENCC=ON \
+    -DFORCE_PRESAGE=ON \
+    -DFORCE_ENCHANT=ON \
+    -DENABLE_TEST=ON \
+    -DENABLE_QT=OFF \
+    -DENABLE_GTK2_IM_MODULE=ON \
+    -DENABLE_GTK3_IM_MODULE=ON \
+    -DENCHANT_INCLUDE_DIR=/usr/include/enchant-2/ \
+    -DENCHANT_LIBRARIES=/usr/lib/libenchant-2.so
+  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}
+}
+
+package_fcitx-gtk2() {
+  pkgdesc='GTK2 IM Module for fcitx'
+  depends=('gtk2' "fcitx>=$pkgver")
+  install=fcitx-gtk2.install
+
+  cd 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 build/src/frontend/gtk3
+  make DESTDIR="$pkgdir" install
+}

Deleted: fcitx-gtk2.install
===================================================================
--- fcitx-gtk2.install	2019-04-30 21:15:24 UTC (rev 457223)
+++ fcitx-gtk2.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -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 457223, fcitx/trunk/fcitx-gtk2.install)
===================================================================
--- fcitx-gtk2.install	                        (rev 0)
+++ fcitx-gtk2.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -0,0 +1,11 @@
+post_install() {
+    usr/bin/gtk-query-immodules-2.0 --update-cache
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Deleted: fcitx-gtk3.install
===================================================================
--- fcitx-gtk3.install	2019-04-30 21:15:24 UTC (rev 457223)
+++ fcitx-gtk3.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -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 457223, fcitx/trunk/fcitx-gtk3.install)
===================================================================
--- fcitx-gtk3.install	                        (rev 0)
+++ fcitx-gtk3.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -0,0 +1,11 @@
+post_install() {
+    usr/bin/gtk-query-immodules-3.0 --update-cache
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Deleted: fcitx.install
===================================================================
--- fcitx.install	2019-04-30 21:15:24 UTC (rev 457223)
+++ fcitx.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -1,4 +0,0 @@
-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."
-}
-

Copied: fcitx/repos/community-x86_64/fcitx.install (from rev 457223, fcitx/trunk/fcitx.install)
===================================================================
--- fcitx.install	                        (rev 0)
+++ fcitx.install	2019-04-30 21:15:57 UTC (rev 457224)
@@ -0,0 +1,4 @@
+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."
+}
+



More information about the arch-commits mailing list