Date: Saturday, March 23, 2013 @ 09:32:34
  Author: fyan
Revision: 86857

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

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

-----------------------------------------------------------------+
 /PKGBUILD                                                       |   74 
++++++++++
 community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch   |   25 +++
 community-i686/PKGBUILD                                         |   33 ----
 community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch |   25 +++
 community-x86_64/PKGBUILD                                       |   33 ----
 5 files changed, 124 insertions(+), 66 deletions(-)

Copied: 
libpinyin/repos/community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch 
(from rev 86856, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
===================================================================
--- community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch               
                (rev 0)
+++ community-i686/00fec992f5c760f546a1db933fb08325fc9cccbf.patch       
2013-03-23 08:32:34 UTC (rev 86857)
@@ -0,0 +1,25 @@
+From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexep...@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-03-23 08:09:33 UTC (rev 86856)
+++ community-i686/PKGBUILD     2013-03-23 08:32:34 UTC (rev 86857)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
-# Contributor: Yangtse <yangts...@gmail.com> 
-# Contributor: WU Jun <quark at lihdd dot net>
-
-pkgname=libpinyin
-pkgver=0.8.93
-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=('1d9a768496c8a4368d3488639cadd554'
-         'a83812e2d3be5695be54f95d9d7a3aa0')

Copied: libpinyin/repos/community-i686/PKGBUILD (from rev 86856, 
libpinyin/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2013-03-23 08:32:34 UTC (rev 86857)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Yangtse <yangts...@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/00fec992f5c760f546a1db933fb08325fc9cccbf.patch 
(from rev 86856, libpinyin/trunk/00fec992f5c760f546a1db933fb08325fc9cccbf.patch)
===================================================================
--- community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch             
                (rev 0)
+++ community-x86_64/00fec992f5c760f546a1db933fb08325fc9cccbf.patch     
2013-03-23 08:32:34 UTC (rev 86857)
@@ -0,0 +1,25 @@
+From 00fec992f5c760f546a1db933fb08325fc9cccbf Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexep...@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-03-23 08:09:33 UTC (rev 86856)
+++ community-x86_64/PKGBUILD   2013-03-23 08:32:34 UTC (rev 86857)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
-# Contributor: Yangtse <yangts...@gmail.com> 
-# Contributor: WU Jun <quark at lihdd dot net>
-
-pkgname=libpinyin
-pkgver=0.8.93
-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=('1d9a768496c8a4368d3488639cadd554'
-         'a83812e2d3be5695be54f95d9d7a3aa0')

Copied: libpinyin/repos/community-x86_64/PKGBUILD (from rev 86856, 
libpinyin/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2013-03-23 08:32:34 UTC (rev 86857)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Yangtse <yangts...@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')

Reply via email to