[arch-commits] Commit in libpinyin/repos (8 files)

Felix Yan fyan at nymeria.archlinux.org
Thu Apr 11 09:30:03 UTC 2013


    Date: Thursday, April 11, 2013 @ 11:30:02
  Author: fyan
Revision: 88087

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libpinyin/repos/community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
    (from rev 88086, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
  libpinyin/repos/community-i686/PKGBUILD
    (from rev 88086, libpinyin/trunk/PKGBUILD)
  libpinyin/repos/community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
    (from rev 88086, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
  libpinyin/repos/community-x86_64/PKGBUILD
    (from rev 88086, libpinyin/trunk/PKGBUILD)
Deleted:
  libpinyin/repos/community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
  libpinyin/repos/community-i686/PKGBUILD
  libpinyin/repos/community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
  libpinyin/repos/community-x86_64/PKGBUILD

-----------------------------------------------------------------+
 /00fec992f5c760f546a1db933fb08325fc9cccbf.patch                 |   50 +++++++
 /PKGBUILD                                                       |   68 ++++++++++
 community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch   |   25 ---
 community-i686/PKGBUILD                                         |   37 -----
 community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch |   25 ---
 community-x86_64/PKGBUILD                                       |   37 -----
 6 files changed, 118 insertions(+), 124 deletions(-)

Deleted: community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
===================================================================
--- community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:23:40 UTC (rev 88086)
+++ community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:30:02 UTC (rev 88087)
@@ -1,25 +0,0 @@
-From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
-From: Peng Wu <alexepico at 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
-

Copied: libpinyin/repos/community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch (from rev 88086, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
===================================================================
--- community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	                        (rev 0)
+++ community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:30:02 UTC (rev 88087)
@@ -0,0 +1,25 @@
+From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexepico at 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
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-04-11 09:23:40 UTC (rev 88086)
+++ community-i686/PKGBUILD	2013-04-11 09:30:02 UTC (rev 88087)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Yangtse <yangtsesu at gmail.com> 
-# Contributor: WU Jun <quark at lihdd dot net>
-
-pkgname=libpinyin
-pkgver=0.8.93
-pkgrel=2
-pkgdesc="Library to deal with pinyin"
-arch=('i686' 'x86_64')
-url="https://github.com/libpinyin/libpinyin"
-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"
-	"https://github.com/epico/libpinyin/commit/00fec992f5c760f546a1db933fb08325fc9cccbf.patch")
-noextract=("model5.text.tar.gz")
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 -i ../00fec992f5c760f546a1db933fb08325fc9cccbf.patch
-
-  cp "${srcdir}/model5.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
-  sed -i '/wget.*model5\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
-
-  aclocal && libtoolize --force && autoheader && automake -a && autoconf
-  ./configure --prefix=/usr && make
-}
-
-package() {
-  cd "${srcdir}/libpinyin-$pkgver"
-  make DESTDIR="${pkgdir}" install
-}
-md5sums=('1d9a768496c8a4368d3488639cadd554'
-         'a83812e2d3be5695be54f95d9d7a3aa0'
-         '2163a85183c36f69d65d19b2bc9e2c9b')

Copied: libpinyin/repos/community-i686/PKGBUILD (from rev 88086, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-04-11 09:30:02 UTC (rev 88087)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com> 
+# Contributor: WU Jun <quark at lihdd dot net>
+
+pkgname=libpinyin
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+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")
+
+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
+
+  aclocal && libtoolize --force && autoheader && automake -a && autoconf
+  ./configure --prefix=/usr && make
+}
+
+package() {
+  cd "${srcdir}/libpinyin-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('e2237be88c6b9f1ed4f7c6e75a1738b4'
+         'a83812e2d3be5695be54f95d9d7a3aa0')

Deleted: community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch
===================================================================
--- community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:23:40 UTC (rev 88086)
+++ community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:30:02 UTC (rev 88087)
@@ -1,25 +0,0 @@
-From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
-From: Peng Wu <alexepico at 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
-

Copied: libpinyin/repos/community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch (from rev 88086, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
===================================================================
--- community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	                        (rev 0)
+++ community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch	2013-04-11 09:30:02 UTC (rev 88087)
@@ -0,0 +1,25 @@
+From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexepico at 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
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-04-11 09:23:40 UTC (rev 88086)
+++ community-x86_64/PKGBUILD	2013-04-11 09:30:02 UTC (rev 88087)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Yangtse <yangtsesu at gmail.com> 
-# Contributor: WU Jun <quark at lihdd dot net>
-
-pkgname=libpinyin
-pkgver=0.8.93
-pkgrel=2
-pkgdesc="Library to deal with pinyin"
-arch=('i686' 'x86_64')
-url="https://github.com/libpinyin/libpinyin"
-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"
-	"https://github.com/epico/libpinyin/commit/00fec992f5c760f546a1db933fb08325fc9cccbf.patch")
-noextract=("model5.text.tar.gz")
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 -i ../00fec992f5c760f546a1db933fb08325fc9cccbf.patch
-
-  cp "${srcdir}/model5.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
-  sed -i '/wget.*model5\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
-
-  aclocal && libtoolize --force && autoheader && automake -a && autoconf
-  ./configure --prefix=/usr && make
-}
-
-package() {
-  cd "${srcdir}/libpinyin-$pkgver"
-  make DESTDIR="${pkgdir}" install
-}
-md5sums=('1d9a768496c8a4368d3488639cadd554'
-         'a83812e2d3be5695be54f95d9d7a3aa0'
-         '2163a85183c36f69d65d19b2bc9e2c9b')

Copied: libpinyin/repos/community-x86_64/PKGBUILD (from rev 88086, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-04-11 09:30:02 UTC (rev 88087)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com> 
+# Contributor: WU Jun <quark at lihdd dot net>
+
+pkgname=libpinyin
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+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")
+
+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
+
+  aclocal && libtoolize --force && autoheader && automake -a && autoconf
+  ./configure --prefix=/usr && make
+}
+
+package() {
+  cd "${srcdir}/libpinyin-$pkgver"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('e2237be88c6b9f1ed4f7c6e75a1738b4'
+         'a83812e2d3be5695be54f95d9d7a3aa0')




More information about the arch-commits mailing list