update to 0.6.92
This commit is contained in:
parent
b67b09615f
commit
521c40734a
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@
|
||||
/libpinyin-0.5.91.tar.gz
|
||||
/libpinyin-0.5.92.tar.gz
|
||||
/libpinyin-0.6.0.tar.gz
|
||||
/libpinyin-0.6.92.tar.gz
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
From 7a1e07bce049bddefc7404cb6e12158ca1742463 Mon Sep 17 00:00:00 2001
|
||||
From: Peng Wu <alexepico@gmail.com>
|
||||
Date: Wed, 6 Jun 2012 11:20:03 +0800
|
||||
Subject: [PATCH] fixes jv,ju in ABC
|
||||
|
||||
---
|
||||
src/storage/pinyin_parser2.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
|
||||
index cebdf91..abea35c 100644
|
||||
--- a/src/storage/pinyin_parser2.cpp
|
||||
+++ b/src/storage/pinyin_parser2.cpp
|
||||
@@ -574,7 +574,7 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options,
|
||||
|
||||
ChewingTone tone = CHEWING_ZERO_TONE;
|
||||
options &= ~(PINYIN_INCOMPLETE|CHEWING_INCOMPLETE);
|
||||
- options |= PINYIN_CORRECT_UE_VE;
|
||||
+ options |= PINYIN_CORRECT_UE_VE | PINYIN_CORRECT_V_U;
|
||||
|
||||
/* parse tone */
|
||||
if (3 == len) {
|
||||
--
|
||||
1.7.10.2
|
||||
|
||||
0
libpinyin-0.7.x-head.patch
Normal file
0
libpinyin-0.7.x-head.patch
Normal file
@ -1,12 +1,12 @@
|
||||
Name: libpinyin
|
||||
Version: 0.6.0
|
||||
Release: 3%{?dist}
|
||||
Version: 0.6.92
|
||||
Release: 1%{?dist}
|
||||
Summary: Library to deal with pinyin
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/libpinyin/libpinyin
|
||||
Source0: https://github.com/downloads/libpinyin/libpinyin/%{name}-%{version}.tar.gz
|
||||
Patch0: libpinyin-0.6.x-head.patch
|
||||
Patch0: libpinyin-0.7.x-head.patch
|
||||
|
||||
BuildRequires: db4-devel, glib2-devel
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
@ -86,6 +86,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%{_mandir}/man1/*.1.*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 04 2012 Peng Wu <pwu@redhat.com> - 0.6.92-1
|
||||
- Update to 0.6.92
|
||||
|
||||
* Tue Jun 12 2012 Peng Wu <pwu@redhat.com> - 0.6.0-3
|
||||
- Removes provides ibus-pinyin-db
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user