[arch-commits] Commit in gcin/repos (8 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 23 16:12:01 UTC 2017


    Date: Monday, January 23, 2017 @ 16:12:01
  Author: felixonmars
Revision: 287235

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

Added:
  gcin/repos/staging-i686/
  gcin/repos/staging-i686/PKGBUILD
    (from rev 287234, gcin/trunk/PKGBUILD)
  gcin/repos/staging-i686/install
    (from rev 287234, gcin/trunk/install)
  gcin/repos/staging-i686/qt-5.5.patch
    (from rev 287234, gcin/trunk/qt-5.5.patch)
  gcin/repos/staging-x86_64/
  gcin/repos/staging-x86_64/PKGBUILD
    (from rev 287234, gcin/trunk/PKGBUILD)
  gcin/repos/staging-x86_64/install
    (from rev 287234, gcin/trunk/install)
  gcin/repos/staging-x86_64/qt-5.5.patch
    (from rev 287234, gcin/trunk/qt-5.5.patch)

-----------------------------+
 staging-i686/PKGBUILD       |   58 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/install        |   14 ++++++++++
 staging-i686/qt-5.5.patch   |   13 +++++++++
 staging-x86_64/PKGBUILD     |   58 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/install      |   14 ++++++++++
 staging-x86_64/qt-5.5.patch |   13 +++++++++
 6 files changed, 170 insertions(+)

Copied: gcin/repos/staging-i686/PKGBUILD (from rev 287234, gcin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gcin
+pkgver=2.8.4
+pkgrel=5
+pkgdesc='Input method server supporting various input methods'
+url='http://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('gtk2' 'libxtst')
+makedepends=('qt5-base' 'qt4' 'gtk3' 'anthy' 'libchewing')
+optdepends=('qt5-base: support for qt5 input method'
+            'qt4: support for qt4 input method'
+            'gtk3: support for gtk3 input method'
+            'anthy: support for anthy input method'
+            'libchewing: support for chewing input method')
+source=("http://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz"
+        qt-5.5.patch)
+sha1sums=('f422d58aecf65f1d674c79c5c5d346ae568d52d3'
+          'fd29b91d7b573546ecb3a8cb0341d4f11364cd1a')
+
+install=install
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed 's/lib64/lib/g' -i configure
+    sed '/include suffixes-rule/a \
+        CFLAGS+='"${CFLAGS}"' \
+        LDFLAGS+='"${LDFLAGS}"' \
+        OPTFLAGS=' \
+        -i Makefile
+    sed \
+        -e 's:usr/include/qt5:usr/include/qt:g' \
+        -e 's:QT=qt5:QT=qt:' \
+        -e '/^MODVERSION=/a INCS+=-I/usr/include/qt/QtGui/$(MODVERSION) -I/usr/include/qt/QtCore/$(MODVERSION)' \
+        -i qt5-im/Makefile
+
+    # FS#45732
+    patch -p1 -i ../qt-5.5.patch
+
+    # Qt 5.6 doesn't provide Qt5PlatformSupport.pc anymore
+    sed -i 's/Qt5PlatformSupport//' qt5-im/Makefile
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    ./configure --prefix=/usr --use_i18n=Y
+    make
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: gcin/repos/staging-i686/install (from rev 287234, gcin/trunk/install)
===================================================================
--- staging-i686/install	                        (rev 0)
+++ staging-i686/install	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,14 @@
+post_install() {
+	echo -n "updating gtk immodules... "
+	[ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+	[ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
+	echo "done."
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: gcin/repos/staging-i686/qt-5.5.patch (from rev 287234, gcin/trunk/qt-5.5.patch)
===================================================================
--- staging-i686/qt-5.5.patch	                        (rev 0)
+++ staging-i686/qt-5.5.patch	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,13 @@
+diff --git a/qt5-im/gcin-qt5.h.org b/qt5-im/gcin-qt5.h
+index 63aacc0..a72ea76 100644
+--- a/qt5-im/gcin-qt5.h.orig
++++ b/qt5-im/gcin-qt5.h
+@@ -9,7 +9,7 @@ class QGcinPlatformInputContextPlugin : public QPlatformInputContextPlugin
+ {
+     Q_OBJECT
+ public:
+-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface" FILE "gcin.json")
++    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1" FILE "gcin.json")
+     QStringList keys() const;
+     QGcinPlatformInputContext *create(const QString& system, const QStringList& paramList);
+ };

Copied: gcin/repos/staging-x86_64/PKGBUILD (from rev 287234, gcin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=gcin
+pkgver=2.8.4
+pkgrel=5
+pkgdesc='Input method server supporting various input methods'
+url='http://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('gtk2' 'libxtst')
+makedepends=('qt5-base' 'qt4' 'gtk3' 'anthy' 'libchewing')
+optdepends=('qt5-base: support for qt5 input method'
+            'qt4: support for qt4 input method'
+            'gtk3: support for gtk3 input method'
+            'anthy: support for anthy input method'
+            'libchewing: support for chewing input method')
+source=("http://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz"
+        qt-5.5.patch)
+sha1sums=('f422d58aecf65f1d674c79c5c5d346ae568d52d3'
+          'fd29b91d7b573546ecb3a8cb0341d4f11364cd1a')
+
+install=install
+
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    sed 's/lib64/lib/g' -i configure
+    sed '/include suffixes-rule/a \
+        CFLAGS+='"${CFLAGS}"' \
+        LDFLAGS+='"${LDFLAGS}"' \
+        OPTFLAGS=' \
+        -i Makefile
+    sed \
+        -e 's:usr/include/qt5:usr/include/qt:g' \
+        -e 's:QT=qt5:QT=qt:' \
+        -e '/^MODVERSION=/a INCS+=-I/usr/include/qt/QtGui/$(MODVERSION) -I/usr/include/qt/QtCore/$(MODVERSION)' \
+        -i qt5-im/Makefile
+
+    # FS#45732
+    patch -p1 -i ../qt-5.5.patch
+
+    # Qt 5.6 doesn't provide Qt5PlatformSupport.pc anymore
+    sed -i 's/Qt5PlatformSupport//' qt5-im/Makefile
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    ./configure --prefix=/usr --use_i18n=Y
+    make
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: gcin/repos/staging-x86_64/install (from rev 287234, gcin/trunk/install)
===================================================================
--- staging-x86_64/install	                        (rev 0)
+++ staging-x86_64/install	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,14 @@
+post_install() {
+	echo -n "updating gtk immodules... "
+	[ -x /usr/bin/gtk-query-immodules-2.0 ] && /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+	[ -x /usr/bin/gtk-query-immodules-3.0 ] && /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
+	echo "done."
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: gcin/repos/staging-x86_64/qt-5.5.patch (from rev 287234, gcin/trunk/qt-5.5.patch)
===================================================================
--- staging-x86_64/qt-5.5.patch	                        (rev 0)
+++ staging-x86_64/qt-5.5.patch	2017-01-23 16:12:01 UTC (rev 287235)
@@ -0,0 +1,13 @@
+diff --git a/qt5-im/gcin-qt5.h.org b/qt5-im/gcin-qt5.h
+index 63aacc0..a72ea76 100644
+--- a/qt5-im/gcin-qt5.h.orig
++++ b/qt5-im/gcin-qt5.h
+@@ -9,7 +9,7 @@ class QGcinPlatformInputContextPlugin : public QPlatformInputContextPlugin
+ {
+     Q_OBJECT
+ public:
+-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface" FILE "gcin.json")
++    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1" FILE "gcin.json")
+     QStringList keys() const;
+     QGcinPlatformInputContext *create(const QString& system, const QStringList& paramList);
+ };



More information about the arch-commits mailing list