[libpinyin] enable parallel make

Peng Wu pwu at fedoraproject.org
Thu Dec 29 02:55:09 UTC 2011


commit 60e1268e2dc1eb9c1978f5789195ee09e00f4bf0
Author: Peng Wu <alexepico at gmail.com>
Date:   Thu Dec 29 10:55:00 2011 +0800

    enable parallel make

 libpinyin-0.5.x-head.patch |   66 +++++++++++++++++++++++++++++++++++++++++--
 libpinyin.spec             |    3 +-
 2 files changed, 63 insertions(+), 6 deletions(-)
---
diff --git a/libpinyin-0.5.x-head.patch b/libpinyin-0.5.x-head.patch
index a18ee90..f331d6d 100644
--- a/libpinyin-0.5.x-head.patch
+++ b/libpinyin-0.5.x-head.patch
@@ -1,7 +1,7 @@
 From 11dfb3b72c7128e05e8608ff501d06b80a2788c1 Mon Sep 17 00:00:00 2001
 From: Peng Wu <alexepico at gmail.com>
 Date: Mon, 26 Dec 2011 14:56:09 +0800
-Subject: [PATCH 1/4] fixes pinyin_translate_token
+Subject: [PATCH 1/6] fixes pinyin_translate_token
 
 ---
  src/pinyin.cpp |    4 ++--
@@ -32,7 +32,7 @@ index f4a20fe..a3fd37d 100644
 From 49869f6917edf488f0daca22e32a8166cf6e0325 Mon Sep 17 00:00:00 2001
 From: Peng Wu <alexepico at gmail.com>
 Date: Mon, 26 Dec 2011 15:17:46 +0800
-Subject: [PATCH 2/4] increase train factor
+Subject: [PATCH 2/6] increase train factor
 
 ---
  src/lookup/pinyin_lookup.cpp |    2 +-
@@ -72,7 +72,7 @@ index a3fd37d..5a1b683 100644
 From 2fd2eea102bfa32d662dca823bf1cfeed3a94c1c Mon Sep 17 00:00:00 2001
 From: Peng Wu <alexepico at gmail.com>
 Date: Mon, 26 Dec 2011 18:34:49 +0800
-Subject: [PATCH 3/4] fixes parallel make
+Subject: [PATCH 3/6] fixes parallel make
 
 ---
  data/Makefile.am |   10 ++++++++--
@@ -114,7 +114,7 @@ index 25e4683..6f74f4e 100644
 From 13aac5af9c6e3f3a2e243806f102e7477b686c91 Mon Sep 17 00:00:00 2001
 From: Peng Wu <alexepico at gmail.com>
 Date: Tue, 27 Dec 2011 11:09:06 +0800
-Subject: [PATCH 4/4] fixes data/Makefile.am
+Subject: [PATCH 4/6] fixes data/Makefile.am
 
 ---
  data/Makefile.am |    4 +---
@@ -139,3 +139,61 @@ index 6f74f4e..2964bb9 100644
 -- 
 1.7.7.4
 
+
+From be97324565a43072744dc73a21ee4a2ae18f786c Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexepico at gmail.com>
+Date: Thu, 29 Dec 2011 10:50:21 +0800
+Subject: [PATCH 5/6] update ChangeLog
+
+---
+ ChangeLog |   14 ++++++++++++--
+ 1 files changed, 12 insertions(+), 2 deletions(-)
+
+diff --git a/ChangeLog b/ChangeLog
+index fed9c34..5c0237b 100644
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -1,2 +1,12 @@
+-2010-08-03 version 0.2.99 <alexepico at gmail.com>
+-* Import from pinyin.
++version 0.4.91
++* New parsers for full pinyin/double pinyin/chewing.
++  * libpinyin now fully supports all pinyin auto corrections in
++ibus-pinyin;
++  * libpinyin now better supports an/ang, en/eng, in/ing fuzzy
++pinyin match.
++
++version 0.3.0
++* the first official release of 0.3.x.
++
++version 0.2.99
++* import from pinyin.
+-- 
+1.7.7.4
+
+
+From d3eda7ee46fdab4f4b5bf3cf4e0e2ab1db447b9b Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexepico at gmail.com>
+Date: Thu, 29 Dec 2011 10:52:03 +0800
+Subject: [PATCH 6/6] update libpinyin.spec.in
+
+---
+ libpinyin.spec.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/libpinyin.spec.in b/libpinyin.spec.in
+index c0d50d9..39f52bc 100644
+--- a/libpinyin.spec.in
++++ b/libpinyin.spec.in
+@@ -38,7 +38,7 @@ The %{name}-data package contains data files.
+ 
+ %build
+ %configure --disable-static
+-make
++make %{?_smp_mflags}
+ 
+ 
+ %install
+-- 
+1.7.7.4
+
diff --git a/libpinyin.spec b/libpinyin.spec
index 0c0d22d..4e5f5ea 100644
--- a/libpinyin.spec
+++ b/libpinyin.spec
@@ -40,8 +40,7 @@ The %{name}-data package contains data files.
 
 %build
 %configure --disable-static
-make
-
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT


More information about the scm-commits mailing list