From 47d2e814821e7e26e2f80454078be970ea8b5a39 Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Oct 12 2011 12:54:03 +0000 Subject: "Fixed 727018, 726335; Fixed Google issue 1274, 1281, 1303" --- diff --git a/.gitignore b/.gitignore index 6d57d05..b4742de 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ ibus-chewing-1.3.6.20100730-Source.tar.gz /ibus-chewing-1.3.8-Source.tar.gz /ibus-chewing-1.3.9-Source.tar.gz /ibus-chewing-1.3.9.2-Source.tar.gz +/ibus-chewing-1.3.10-Source.tar.gz diff --git a/ibus-chewing.spec b/ibus-chewing.spec index 7ea8e5d..11444fe 100644 --- a/ibus-chewing.spec +++ b/ibus-chewing.spec @@ -1,5 +1,5 @@ Name: ibus-chewing -Version: 1.3.9.2 +Version: 1.3.10 Release: 1%{?dist} Summary: The Chewing engine for IBus input platform Summary(zh_TW): IBus新酷音輸入法 @@ -9,12 +9,18 @@ URL: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildRequires: gettext-devel BuildRequires: gtk2-devel BuildRequires: ibus-devel >= 1.1 BuildRequires: cmake >= 2.4 +%if 0%{?fedora} >= 14 +BuildRequires: cmake-fedora >= 0.8.1 +%else +Source1: https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-0.8.1-modules-only.tar.gz +%endif + + # Make sure gob2 is patched against https://bugzilla.redhat.com/show_bug.cgi?id=519108 %if 0%{?fedora} == 11 BuildRequires: gob2 >= 2.0.15-5 @@ -50,8 +56,20 @@ IBus-chewing 是新酷音輸入法的IBus前端。 %prep %setup -q -n %{name}-%{version}-Source +# RHEL does not have cmake-fedora yet +%if 0%{?fedora} < 13 +tar xzvf %{SOURCE1} +%endif + + %build # $RPM_OPT_FLAGS should be loaded from cmake macro. +%if 0%{?fedora} >= 15 +%cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DGNOME_SHELL=1 . +%else +%cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo . +%endif + %cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo . %__make VERBOSE=1 %{?_smp_mflags} @@ -59,7 +77,7 @@ IBus-chewing 是新酷音輸入法的IBus前端。 %__rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT # We install document using %doc -(cd $RPM_BUILD_ROOT//usr/share/doc/ibus-chewing-1.3.9.2 +(cd $RPM_BUILD_ROOT//usr/share/doc/ibus-chewing-1.3.10 %__rm -rf RELEASE-NOTES.txt AUTHORS README ChangeLog COPYING USER-GUIDE ) @@ -67,12 +85,15 @@ IBus-chewing 是新酷音輸入法的IBus前端。 %pre if [ "$1" -gt 1 ] ; then -export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` -[ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] && -gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + [ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] && + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas\ + >/dev/null || : + # Upgrading 1.0.2.20090302-1.fc11 or older? -[ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] && -gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null || : + [ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] && + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schema\ + >/dev/null || : fi %post @@ -97,6 +118,26 @@ fi %config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas %changelog +* Wed Oct 12 2011 Ding-Yi Chen - 1.3.10-1 +- Fixed Bug 726335 (Google issue 1281)- [abrt] ibus-chewing-1.3.9.2-3.fc15: g_atomic_int_get: + Process /usr/libexec/ibus-engine-chewing was killed by signal 11 (SIGSEGV) using patch from Scott Tsai +- Fixed Bug 727018 - ibus compose file needs a symbol tag for gnome-shell +- Fixed characters duplication problem (Google issue 1245, GitHub ibus-chewing issue 2) +- Fixed KP-Enter not been able to commit preedit buffer. (Google issue 1303, GitHub ibus-chewing issue 4) +- Depends on cmake-fedora now. +- Fixed issue 1274, which is addressed by yusake's comments on d9009bf. +- Add compile flag for GNOME3. +- Add command line option: showFlags +- ibus-gnome special symbol +- Thanks Fred Chien's patch against that candidate window cannot be closed + with escape key since selected tone. +- Thanks Fourdollar's patch for Fix plain zhuyin with space as selection problem. +- Remove support for ibus-1.2 and prior. + +* Tue Feb 01 2011 Ding-Yi Chen - 1.3.5.20100714-3 +- Resolves: #627794 +- Add USER-GUIDE + * Fri Nov 19 2010 Ding-Yi Chen - 1.3.9.2-1 - Fixed Bug 652909 - Added back a Changlog item that mention Nils Philippsen's change. @@ -113,7 +154,7 @@ fi - Input style of ibus-chewing is decommissioned under ibus >=1.3. Now the input style is determined solely on the setting of "Embed preedit in application window" in IBus. -- Resolves: #608991, #632043 +- Fixed: #608991, #632043 - Fixed Issue 1022: chewing commit some text in reset method (patched by Peng Huang). - Fixed Issue 1032: [ibus-chewing] Chewing not commit some single Chinese diff --git a/sources b/sources index 7c5c493..7dbce72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8d177d67647944f5d1f9cca0654eaccb ibus-chewing-1.3.9.2-Source.tar.gz +2a447828ca9290dd6bdf2336b2889bb0 ibus-chewing-1.3.10-Source.tar.gz