[arch-commits] Commit in gcin/trunk (PKGBUILD missing.patch)
Gaetan Bisson
bisson at archlinux.org
Wed Sep 7 08:35:19 UTC 2011
Date: Wednesday, September 7, 2011 @ 04:35:19
Author: bisson
Revision: 137331
upstream update, add missing patch from gen-gtk3 (cf. tarball)
Added:
gcin/trunk/missing.patch
Modified:
gcin/trunk/PKGBUILD
---------------+
PKGBUILD | 11 +++++++----
missing.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-07 08:27:57 UTC (rev 137330)
+++ PKGBUILD 2011-09-07 08:35:19 UTC (rev 137331)
@@ -4,7 +4,7 @@
# Contributor: damir <damir at archlinux.org>
pkgname=gcin
-pkgver=1.6.6
+pkgver=1.6.8
pkgrel=1
pkgdesc='Input method server supporting various input methods'
arch=('i686' 'x86_64')
@@ -17,15 +17,18 @@
'anthy: support for anthy input method'
'libchewing: support for chewing input method')
source=("http://www.csie.nctu.edu.tw/~cp76/gcin/download/${pkgname}-${pkgver}.tar.xz"
- 'qt4-lib64.patch')
-sha1sums=('d230f8cd0bd1d16321a49e51e42869fd18c3f399'
- '4307b0d7d6dc10f15909c94973c4357caf31de7e')
+ 'qt4-lib64.patch'
+ 'missing.patch')
+sha1sums=('c400924a8827723d7d69183bbafae13ae9e1949d'
+ '4307b0d7d6dc10f15909c94973c4357caf31de7e'
+ '284b497c79ed6c46c2f60f7134695795bbf903e6')
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../missing.patch
patch -p1 -i ../qt4-lib64.patch
sed '/include suffixes-rule/a \
CFLAGS+='"${CFLAGS}"' \
Added: missing.patch
===================================================================
--- missing.patch (rev 0)
+++ missing.patch 2011-09-07 08:35:19 UTC (rev 137331)
@@ -0,0 +1,12 @@
+diff -aur old/gtk3-im/gtkimcontextgcin.c new/gtk3-im/gtkimcontextgcin.c
+--- old/gtk3-im/gtkimcontextgcin.c 2011-09-07 01:15:55.789537810 -0700
++++ new/gtk3-im/gtkimcontextgcin.c 2011-09-07 01:16:14.822829130 -0700
+@@ -137,7 +137,7 @@
+ return;
+
+ if (!context_xim->gcin_ch) {
+- if (!(context_xim->gcin_ch = gcin_im_client_open(GDK_DISPLAY())))
++ if (!(context_xim->gcin_ch = gcin_im_client_open(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()))))
+ perror("cannot open gcin_ch");
+ #if 1
+ context_xim->timeout_handle = 0;
More information about the arch-commits
mailing list