[arch-commits] Commit in gcin/trunk (PKGBUILD qt-5.5.patch)

Felix Yan fyan at archlinux.org
Fri Sep 11 07:39:52 UTC 2015


    Date: Friday, September 11, 2015 @ 09:39:52
  Author: fyan
Revision: 245763

upgpkg: gcin 2.8.3-4

add a patch for qt-5.5 (FS#45732)

Added:
  gcin/trunk/qt-5.5.patch
Modified:
  gcin/trunk/PKGBUILD

--------------+
 PKGBUILD     |   14 ++++++++++----
 qt-5.5.patch |   13 +++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-11 06:53:05 UTC (rev 245762)
+++ PKGBUILD	2015-09-11 07:39:52 UTC (rev 245763)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# 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.3
-pkgrel=3
+pkgrel=4
 pkgdesc='Input method server supporting various input methods'
 url='http://hyperrate.com/dir.php?eid=67'
 license=('LGPL')
@@ -17,8 +18,10 @@
             '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")
-sha1sums=('95b980f7cf9dc2ad91803113cdbb4ac831f056de')
+source=("http://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz"
+	    qt-5.5.patch)
+sha1sums=('95b980f7cf9dc2ad91803113cdbb4ac831f056de'
+          'fd29b91d7b573546ecb3a8cb0341d4f11364cd1a')
 
 install=install
 
@@ -34,6 +37,9 @@
 		-e 's:qt5/QtGui/5.2.1:qt/QtGui/5.5.0:g' \
 		-e 's:QT=qt5:QT=qt:' \
 		-i qt5-im/Makefile
+
+	# FS#45732
+	patch -p1 -i ../qt-5.5.patch
 }
 
 build() {

Added: qt-5.5.patch
===================================================================
--- qt-5.5.patch	                        (rev 0)
+++ qt-5.5.patch	2015-09-11 07:39:52 UTC (rev 245763)
@@ -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