- Apply parsing equal sign patch.
This commit is contained in:
parent
fd3fdd056e
commit
9802741adb
15
ibus-table-1.2.0.20090904-2.equalsign.patch
Normal file
15
ibus-table-1.2.0.20090904-2.equalsign.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -up ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig ibus-table-1.2.0.20090912/engine/tabcreatedb.py
|
||||
--- ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig 2010-01-06 12:14:40.098086168 +1000
|
||||
+++ ibus-table-1.2.0.20090912/engine/tabcreatedb.py 2010-01-06 12:14:57.293835609 +1000
|
||||
@@ -173,9 +173,9 @@ def main ():
|
||||
def attribute_parser (f):
|
||||
for l in f:
|
||||
try:
|
||||
- attr,val = unicode (l,"utf-8").strip().split ('=')
|
||||
+ attr,val = unicode (l,"utf-8").strip().split ('=', 1)
|
||||
except:
|
||||
- attr,val = unicode (l,"utf-8").strip().split ('==')
|
||||
+ attr,val = unicode (l,"utf-8").strip().split ('==', 1)
|
||||
attr = attr.strip()
|
||||
origin_attr = attr
|
||||
attr = attr.lower()
|
@ -1,12 +1,13 @@
|
||||
Name: ibus-table
|
||||
Version: 1.2.0.20090912
|
||||
Release: 1%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: The Table engine for IBus platform
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://code.google.com/p/ibus/
|
||||
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
Patch0: ibus-table-1.2.0.20090912-1.disable_speedmeter.patch
|
||||
Patch1: ibus-table-1.2.0.20090904-2.equalsign.patch
|
||||
|
||||
Requires: ibus > 1.2.0
|
||||
BuildRequires: ibus-devel > 1.2.0
|
||||
@ -28,6 +29,7 @@ This package contains additional tables.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .1-disable_speedmeter
|
||||
%patch1 -p1 -b .2-equalsign
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -108,6 +110,9 @@ ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
|
||||
%{_datadir}/ibus-table/icons/latex.svg
|
||||
|
||||
%changelog
|
||||
* Wed Jan 06 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090912-3.fc13
|
||||
- Apply parsing equal sign patch.
|
||||
|
||||
* Wed Nov 11 2009 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20090912-2.fc13
|
||||
- Fix crashing caused by speedmeter.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user