[arch-commits] Commit in scim-chewing/repos/community-x86_64 (3 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Nov 26 05:09:30 UTC 2018
Date: Monday, November 26, 2018 @ 05:09:29
Author: yan12125
Revision: 409754
archrelease: copy trunk to community-x86_64
Added:
scim-chewing/repos/community-x86_64/PKGBUILD
(from rev 409753, scim-chewing/trunk/PKGBUILD)
Deleted:
scim-chewing/repos/community-x86_64/PKGBUILD
scim-chewing/repos/community-x86_64/scim-chewing-libchewing04.patch
---------------------------------+
PKGBUILD | 70 +++++++++++++++++++-------------------
scim-chewing-libchewing04.patch | 53 ----------------------------
2 files changed, 35 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-26 05:09:14 UTC (rev 409753)
+++ PKGBUILD 2018-11-26 05:09:29 UTC (rev 409754)
@@ -1,35 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: whisky <archlinux.cle(at)gmail.com>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=scim-chewing
-pkgver=0.3.5
-pkgrel=4
-pkgdesc='Traditional Chinese input method module for SCIM'
-url='http://chewing.im/'
-license=('GPL')
-arch=('x86_64')
-makedepends=('intltool')
-depends=('scim' 'libchewing')
-source=("https://github.com/chewing/scim-chewing/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- scim-chewing-libchewing04.patch)
-sha256sums=('e7ae2356a6ca11c342795e3a14ad7667f76a0af4be23e01ea60acc6d4af72d64'
- '0dd0ecc6b4f03b599dec97812a7c4534a9edca0243477222a87cd75da74d1c93')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i ../scim-chewing-libchewing04.patch # Fix build with libchewing 0.4 (Fedora)
- autoreconf -vfi
- intltoolize --force
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: scim-chewing/repos/community-x86_64/PKGBUILD (from rev 409753, scim-chewing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-26 05:09:29 UTC (rev 409754)
@@ -0,0 +1,35 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: whisky <archlinux.cle(at)gmail.com>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=scim-chewing
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='Traditional Chinese input method module for SCIM'
+url='http://chewing.im/'
+license=('GPL')
+arch=('x86_64')
+makedepends=('intltool')
+depends=('scim' 'libchewing')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/chewing/scim-chewing/archive/v$pkgver.tar.gz")
+sha256sums=('491b127784fa38734f3062fd57ea57e54f5f44d37b551ab25aab10c565cf6ebb')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # ChangeLog is deprecated, but autotool expects one.
+ touch ChangeLog
+ autoreconf -vfi
+ intltoolize --force
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Deleted: scim-chewing-libchewing04.patch
===================================================================
--- scim-chewing-libchewing04.patch 2018-11-26 05:09:14 UTC (rev 409753)
+++ scim-chewing-libchewing04.patch 2018-11-26 05:09:29 UTC (rev 409754)
@@ -1,53 +0,0 @@
-Upstream commits: 545279e 1f3c42d 1e12860
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -48,7 +48,7 @@ AC_TYPE_SIZE_T
- # Checks for libraries.
-
- SCIM_VERSION=1.0.0
--CHEWING_VERSION=0.3.4
-+CHEWING_VERSION=0.4.0
-
- PKG_CHECK_MODULES(SCIM, [scim >= $SCIM_VERSION])
-
-@@ -59,7 +59,7 @@ PKG_CHECK_MODULES(SCIM_GTKUTILS,[scim-gtkutils >= $SCIM_VERSION],
-
- AC_SUBST(SCIM_VERSION)
-
--PKG_CHECK_MODULES(CHEWING, [chewing = $CHEWING_VERSION])
-+PKG_CHECK_MODULES(CHEWING, [chewing >= $CHEWING_VERSION])
- AC_SUBST(CHEWING_VERSION)
-
- AM_CONDITIONAL(SCIM_BUILD_SETUP, [test "$SCIM_HAS_GTKUTILS" = "yes"])
---- a/src/scim_chewing_imengine.cpp
-+++ b/src/scim_chewing_imengine.cpp
-@@ -73,8 +73,6 @@ extern "C" {
- void scim_module_exit()
- {
- _scim_config.reset();
-- /* New API introduced in libchewing 0.2.7 */
-- chewing_Terminate();
- }
-
- unsigned int scim_imengine_module_init( const ConfigPointer& config )
-@@ -122,10 +120,6 @@ ChewingIMEngineFactory::ChewingIMEngineFactory( const ConfigPointer& config )
-
- bool ChewingIMEngineFactory::init()
- {
-- char prefix[] = CHEWING_DATADIR;
-- char hash_postfix[] = "/.chewing/";
--
-- chewing_Init(prefix, (char *)(scim_get_home_dir() + hash_postfix).c_str() );
- return true;
- }
-
-@@ -670,7 +664,7 @@ bool ChewingIMEngineInstance::commit( ChewingContext* ctx )
-
- // cursor decoration
- int current_cursor = chewing_cursor_Current( ctx );
-- if( chewing_zuin_Check( ctx ) ) {
-+ if( chewing_bopomofo_Check( ctx ) ) {
- attr.push_back(
- Attribute(
- current_cursor,
More information about the arch-commits
mailing list