[arch-commits] Commit in gcin/repos/community-x86_64 (4 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Wed Dec 30 16:56:37 UTC 2020
Date: Wednesday, December 30, 2020 @ 16:56:36
Author: yan12125
Revision: 799396
archrelease: copy trunk to community-x86_64
Added:
gcin/repos/community-x86_64/PKGBUILD
(from rev 799395, gcin/trunk/PKGBUILD)
gcin/repos/community-x86_64/fix-gtk-immodules-path.patch
(from rev 799395, gcin/trunk/fix-gtk-immodules-path.patch)
Deleted:
gcin/repos/community-x86_64/PKGBUILD
gcin/repos/community-x86_64/fix-gtk-immodules-path.patch
------------------------------+
PKGBUILD | 98 ++++++++++++++++++++---------------------
fix-gtk-immodules-path.patch | 48 ++++++++++----------
2 files changed, 74 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-30 16:56:16 UTC (rev 799395)
+++ PKGBUILD 2020-12-30 16:56:36 UTC (rev 799396)
@@ -1,48 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: 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.9.0
-pkgrel=2
-pkgdesc='Input method server supporting various input methods'
-url='https://hyperrate.com/dir.php?eid=67'
-license=('LGPL')
-arch=('x86_64')
-depends=('gtk3' 'libxtst')
-makedepends=('qt5-base' 'gtk2' 'anthy')
-optdepends=('qt5-base: support for qt5 input method'
- 'gtk2: support for gtk2 input method'
- 'anthy: support for anthy input method'
- 'curl: for downloading and uploading vocabulary databases via ts-edit')
-source=("https://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz"
- fix-gtk-immodules-path.patch)
-sha512sums=('f8ce9407e2cfce2b3ba6e6ba6ccca8eb9dacf5c0124438df525e1a9fb692a7aea3cb685965708091b0fdedf3b00efa77fb6cdfbd33cdb50e1938e9f3fcf7a5d6'
- '54e90b04de45acf9f8821c92234b9708281907cbdf24ebb29f9820945615669d82a8443e49fd49d6c08be4a7b9f2857c8e763f170ef879c8fab1f232bb67e85d')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -e 's/lib64/lib/g' \
- -e "s/^OPTFLAGS=.*/OPTFLAGS=\"$CFLAGS $CPPFLAGS\"/" \
- -e "s/echo \"LDFLAGS=/echo \"LDFLAGS=$LDFLAGS /" \
- -e "s/echo \"SO_FLAGS=/echo \"SO_FLAGS=$LDFLAGS /" \
- -i configure
- sed -e 's:QT=qt5:QT=qt:' \
- -e "s/^LDFLAGS=/LDFLAGS=$LDFLAGS /" \
- -i qt5-im/Makefile59
- patch -Np1 -i ../fix-gtk-immodules-path.patch
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --use_i18n=Y
- make -j1
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: gcin/repos/community-x86_64/PKGBUILD (from rev 799395, gcin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-30 16:56:36 UTC (rev 799396)
@@ -0,0 +1,50 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: 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.9.0
+pkgrel=3
+pkgdesc='Input method server supporting various input methods'
+url='https://hyperrate.com/dir.php?eid=67'
+license=('LGPL')
+arch=('x86_64')
+depends=('gtk3' 'libxtst' 'libappindicator-gtk3')
+makedepends=('qt5-base' 'gtk2' 'anthy')
+optdepends=('qt5-base: support for qt5 input method'
+ 'gtk2: support for gtk2 input method'
+ 'anthy: support for anthy input method'
+ 'curl: for downloading and uploading vocabulary databases via ts-edit')
+source=("https://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz"
+ fix-gtk-immodules-path.patch)
+sha512sums=('f8ce9407e2cfce2b3ba6e6ba6ccca8eb9dacf5c0124438df525e1a9fb692a7aea3cb685965708091b0fdedf3b00efa77fb6cdfbd33cdb50e1938e9f3fcf7a5d6'
+ '54e90b04de45acf9f8821c92234b9708281907cbdf24ebb29f9820945615669d82a8443e49fd49d6c08be4a7b9f2857c8e763f170ef879c8fab1f232bb67e85d')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -e 's/lib64/lib/g' \
+ -e 's/^OPTFLAGS=.*/OPTFLAGS="$CFLAGS $CPPFLAGS"/' \
+ -e 's/echo "LDFLAGS=/echo "LDFLAGS=$LDFLAGS /' \
+ -e 's/echo "SO_FLAGS=/echo "SO_FLAGS=$LDFLAGS /' \
+ -i configure
+ sed -e 's/QT=qt5/QT=qt/' \
+ -e 's/^LDFLAGS=/LDFLAGS+=/' \
+ -i qt5-im/Makefile59
+ # Don't strip programs - makepkg will handle it
+ sed -e 's/install -s/install/' -i Makefile
+ patch -Np1 -i ../fix-gtk-immodules-path.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --use_i18n=Y
+ make -j1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Deleted: fix-gtk-immodules-path.patch
===================================================================
--- fix-gtk-immodules-path.patch 2020-12-30 16:56:16 UTC (rev 799395)
+++ fix-gtk-immodules-path.patch 2020-12-30 16:56:36 UTC (rev 799396)
@@ -1,24 +0,0 @@
-diff -ur gcin-2.8.9.orig/gtk-im/Makefile gcin-2.8.9/gtk-im/Makefile
---- gcin-2.8.9.orig/gtk-im/Makefile 2019-03-14 21:31:09.553500793 +0800
-+++ gcin-2.8.9/gtk-im/Makefile 2019-03-14 22:07:00.917828776 +0800
-@@ -1,7 +1,7 @@
- include ../config.mak
-
- OBJS = imgcin.o gtkimcontextgcin.o
--GTK2IM=gtk-2.0/immodules
-+GTK2IM=gtk-2.0/`pkg-config --variable=gtk_binary_version gtk+-2.0`/immodules
- GTKINC=`pkg-config --cflags gtk+-2.0`
- LDFLAGS=`pkg-config --libs gtk+-2.0`
- IMMODULES=$(libdir)/$(GTK2IM)
-diff -ur gcin-2.8.9.orig/gtk3-im/Makefile gcin-2.8.9/gtk3-im/Makefile
---- gcin-2.8.9.orig/gtk3-im/Makefile 2019-03-14 21:31:09.553500793 +0800
-+++ gcin-2.8.9/gtk3-im/Makefile 2019-03-14 22:06:40.175065314 +0800
-@@ -1,7 +1,7 @@
- include ../config.mak
-
- OBJS = imgcin.o gtkimcontextgcin.o
--GTK3IM=gtk-3.0/immodules
-+GTK3IM=gtk-3.0/`pkg-config --variable=gtk_binary_version gtk+-3.0`/immodules
- GTKINC=`pkg-config --cflags gtk+-3.0`
- LDFLAGS=`pkg-config --libs gtk+-3.0`
- LDFLAGS+='-Wl,--as-needed'
Copied: gcin/repos/community-x86_64/fix-gtk-immodules-path.patch (from rev 799395, gcin/trunk/fix-gtk-immodules-path.patch)
===================================================================
--- fix-gtk-immodules-path.patch (rev 0)
+++ fix-gtk-immodules-path.patch 2020-12-30 16:56:36 UTC (rev 799396)
@@ -0,0 +1,24 @@
+diff -ur gcin-2.8.9.orig/gtk-im/Makefile gcin-2.8.9/gtk-im/Makefile
+--- gcin-2.8.9.orig/gtk-im/Makefile 2019-03-14 21:31:09.553500793 +0800
++++ gcin-2.8.9/gtk-im/Makefile 2019-03-14 22:07:00.917828776 +0800
+@@ -1,7 +1,7 @@
+ include ../config.mak
+
+ OBJS = imgcin.o gtkimcontextgcin.o
+-GTK2IM=gtk-2.0/immodules
++GTK2IM=gtk-2.0/`pkg-config --variable=gtk_binary_version gtk+-2.0`/immodules
+ GTKINC=`pkg-config --cflags gtk+-2.0`
+ LDFLAGS=`pkg-config --libs gtk+-2.0`
+ IMMODULES=$(libdir)/$(GTK2IM)
+diff -ur gcin-2.8.9.orig/gtk3-im/Makefile gcin-2.8.9/gtk3-im/Makefile
+--- gcin-2.8.9.orig/gtk3-im/Makefile 2019-03-14 21:31:09.553500793 +0800
++++ gcin-2.8.9/gtk3-im/Makefile 2019-03-14 22:06:40.175065314 +0800
+@@ -1,7 +1,7 @@
+ include ../config.mak
+
+ OBJS = imgcin.o gtkimcontextgcin.o
+-GTK3IM=gtk-3.0/immodules
++GTK3IM=gtk-3.0/`pkg-config --variable=gtk_binary_version gtk+-3.0`/immodules
+ GTKINC=`pkg-config --cflags gtk+-3.0`
+ LDFLAGS=`pkg-config --libs gtk+-3.0`
+ LDFLAGS+='-Wl,--as-needed'
More information about the arch-commits
mailing list