diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-05 16:43:59 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-05 16:43:59 +0200 |
commit | eea781ff51db0dcc8e7263625d9b206d8b498b14 (patch) | |
tree | 1c36f59ff34ac845dad77ddb50cde427c5dc1bd4 /community/libpinyin | |
parent | 64552a84f9eb436e191d738ef4ebc552a768048d (diff) | |
parent | 7a600dcabb6923ee79d36a4eaab2fc6867bdb807 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
core/dbus/PKGBUILD
extra/opus/PKGBUILD
extra/ypbind-mt/PKGBUILD
Diffstat (limited to 'community/libpinyin')
-rw-r--r-- | community/libpinyin/00fec992f5c760f546a1db933fb08325fc9cccbf.patch | 25 | ||||
-rw-r--r-- | community/libpinyin/PKGBUILD | 16 |
2 files changed, 8 insertions, 33 deletions
diff --git a/community/libpinyin/00fec992f5c760f546a1db933fb08325fc9cccbf.patch b/community/libpinyin/00fec992f5c760f546a1db933fb08325fc9cccbf.patch deleted file mode 100644 index c895adf4c..000000000 --- a/community/libpinyin/00fec992f5c760f546a1db933fb08325fc9cccbf.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001 -From: Peng Wu <alexepico@gmail.com> -Date: Sat, 23 Mar 2013 09:52:46 +0800 -Subject: [PATCH] fixes import dict - ---- - src/storage/phrase_large_table2.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h -index 368d03d..34bb12d 100644 ---- a/src/storage/phrase_large_table2.h -+++ b/src/storage/phrase_large_table2.h -@@ -133,7 +133,7 @@ static inline int reduce_tokens(const PhraseTokens tokens, - } - - /* the following line will be removed in future after code are verified. */ -- assert(0 == num || 1 == num); -+ assert(0 <= num && num <= 3); - - return num; - } --- -1.8.1.5 - diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 2243af6c0..7c697afde 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 88087 2013-04-11 09:30:02Z fyan $ +# $Id: PKGBUILD 89874 2013-05-04 04:07:02Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Yangtse <yangtsesu@gmail.com> # Contributor: WU Jun <quark at lihdd dot net> pkgname=libpinyin -pkgver=0.9.0 +pkgver=0.9.91 pkgrel=1 pkgdesc="Library to deal with pinyin" arch=('i686' 'x86_64' 'mips64el') @@ -13,14 +13,14 @@ license=('GPL') depends=('db' 'glib2') options=(!libtool) source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz" - "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz") -noextract=("model5.text.tar.gz") + "http://downloads.sourceforge.net/libpinyin/model6.text.tar.gz") +noextract=("model6.text.tar.gz") build() { cd "${srcdir}/${pkgname}-${pkgver}" - cp "${srcdir}/model5.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/" - sed -i '/wget.*model5\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am + cp "${srcdir}/model6.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/" + sed -i '/wget.*model6\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am aclocal && libtoolize --force && autoheader && automake -a && autoconf ./configure --prefix=/usr && make @@ -30,5 +30,5 @@ package() { cd "${srcdir}/libpinyin-$pkgver" make DESTDIR="${pkgdir}" install } -md5sums=('e2237be88c6b9f1ed4f7c6e75a1738b4' - 'a83812e2d3be5695be54f95d9d7a3aa0') +sha512sums=('40263ff3b0e4ac6f68ed51d90b07c9431beec70d2b93ab3c0fec36a35b662380a022478bf15d81305a5e84c0eb95d662fed70c7213ff5c0d11a964b232bf1be2' + '8719d99b2efb22438ec067c046f8d45addb3e0d336e8d6ec4b8ed22370fe81366d19a34934bb059230f86e74c379acb62822ee3458850437880d531de8ff3e0e') |