commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2018-12-03 10:11:36 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new.19453 (New) Package is "ibus-pinyin" Mon Dec 3 10:11:36 2018 rev:35 rq:653397 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2018-11-26 10:28:56.941123493 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new.19453/ibus-pinyin.changes 2018-12-03 10:12:04.943615081 +0100 @@ -1,0 +2,6 @@ +Fri Nov 30 13:22:56 UTC 2018 - qz...@suse.com + +- Update ibus-pinyin.spec: To adapt to tumbleweed's update to +python3. + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.OcYD0i/_old 2018-12-03 10:12:05.647614428 +0100 +++ /var/tmp/diff_new_pack.OcYD0i/_new 2018-12-03 10:12:05.655614421 +0100 @@ -55,7 +55,7 @@ BuildRequires: pkgconfig(uuid) Requires: ibus >= 1.4.99 Requires: opencc -Requires: python-xdg +Requires: python3-xdg Requires: pyzy-db-android Requires: pyzy-db-open-phrase
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2018-11-26 10:28:22 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new.19453 (New) Package is "ibus-pinyin" Mon Nov 26 10:28:22 2018 rev:34 rq:651094 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2017-06-01 16:34:48.165615450 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new.19453/ibus-pinyin.changes 2018-11-26 10:28:56.941123493 +0100 @@ -1,0 +2,7 @@ +Tue Nov 20 09:30:26 UTC 2018 - qz...@suse.com + +- Add ibus-pinyin-avoid-setup-crash.patch: To avoid + ibus-pinyin-setup crash in the mixed env of Python2 and Python3 + (boo#1116485). + +--- New: ibus-pinyin-avoid-setup-crash.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.Jcfq6y/_old 2018-11-26 10:28:57.585122737 +0100 +++ /var/tmp/diff_new_pack.Jcfq6y/_new 2018-11-26 10:28:57.585122737 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Version:1.5.0 Release:0 Summary:The PinYin engine for IBus platform -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/I18n/Chinese Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ @@ -35,6 +35,8 @@ Patch4: ibus-pinyin-default-full.patch # PATCH-FIX-UPSTREAM ibus-pinyin-select-words-could-be-cleared.patch hillw...@opensuse.org boo#980890 -- The selected words could be cleared while use ibus-pinyin in Firefox. Patch5: ibus-pinyin-fix-select-words-could-be-cleared.patch +# PATCH-FIX-OPENSUSE ibus-pinyin-avoid-setup-crash.patch qz...@suse.com boo#1116485 -- To avoid ibus-pinyin-setup crash in the mixed env of Python2 and Python3. +Patch6: ibus-pinyin-avoid-setup-crash.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else @@ -71,9 +73,12 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build -%configure --disable-static --libexecdir=%{_prefix}/%{_lib}/ibus +%configure --disable-static \ + --libexecdir=%{_prefix}/%{_lib}/ibus \ + --with-python=python3 # make -C po update-gmo make %{?_smp_mflags} @@ -88,7 +93,8 @@ %files -f %{name}.lang %defattr(-,root,root,-) -%doc AUTHORS COPYING README +%doc AUTHORS README +%license COPYING %{_datadir}/ibus-pinyin %{_datadir}/applications/ibus-*.desktop %dir %{_datadir}/ibus ++ ibus-pinyin-avoid-setup-crash.patch ++ diff -Nura ibus-pinyin-1.5.0/configure ibus-pinyin-1.5.0_new/configure --- ibus-pinyin-1.5.0/configure 2012-12-18 05:16:36.0 +0800 +++ ibus-pinyin-1.5.0_new/configure 2018-11-20 20:17:35.542730466 +0800 @@ -836,6 +836,7 @@ with_gnu_ld with_sysroot enable_libtool_lock +with_python enable_boost with_boost enable_lua_extension @@ -1512,6 +1513,7 @@ --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). + --with-python=PATH Select python2 or python3 --with-boost=DIRprefix of Boost 1.39 [guess] Some influential environment variables: @@ -17550,6 +17552,14 @@ +# Define python version + +# Check whether --with-python was given. +if test "${with_python+set}" = set; then : + withval=$with_python; PYTHON=$with_python +fi + + # check python @@ -17578,7 +17588,9 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - as_fn_error $? "too old" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error $? "Python interpreter is too old" "$LINENO" 5 fi am_display_PYTHON=$PYTHON else @@ -17590,7 +17602,7 @@ $as_echo_n "(cached) " >&6 else - for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do + for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do test "$am_cv_pathless_PYTHON" = none && break prog="import sys # split
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2017-06-01 16:34:46 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Thu Jun 1 16:34:46 2017 rev:33 rq:500225 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2017-04-13 10:45:26.502274019 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2017-06-01 16:34:48.165615450 +0200 @@ -27,2 +27,2 @@ -- Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses - warning. +- Add Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses + warning (boo#1041911). Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.yqVZ3p/_old 2017-06-01 16:34:49.205468766 +0200 +++ /var/tmp/diff_new_pack.yqVZ3p/_new 2017-06-01 16:34:49.205468766 +0200 @@ -25,11 +25,11 @@ Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz -# PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#123456 ti...@suse.de -- Fix visible password entry in GNOME lock screen. +# PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#847718 ti...@suse.de -- Fix visible password entry in GNOME lock screen. Patch1: ibus-pinyin-support-set-content-type-method.patch # PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- Fix build with lua 5.2 Patch2: ibus-pinyin-fixes-lua-compile.patch -# PATCH-FIX-UPSTREAM Wlogical-not-parentheses.patch sch...@suse.de -- Fix -Wlogical-not-parentheses warning. +# PATCH-FIX-OPENSUSE Wlogical-not-parentheses.patch sch...@suse.de boo#1041911 -- Fix -Wlogical-not-parentheses warning. Patch3: Wlogical-not-parentheses.patch # PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com bsc#955325 -- Set fullpinyin beyond dconf database as default. Patch4: ibus-pinyin-default-full.patch
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2017-04-13 10:45:24 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Thu Apr 13 10:45:24 2017 rev:32 rq:487485 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2017-03-24 02:22:48.298298070 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2017-04-13 10:45:26.502274019 +0200 @@ -9,2 +9,3 @@ -- add patch: ibus-pinyin-fix-select-words-could-be-cleared.patch - * Fix boo#980890: The select words could be cleared while use ibus-pinyin in Firefox +- Add patch: ibus-pinyin-fix-select-words-could-be-cleared.patch: + Forbidden selected words cleared by ibus-pinyin in Firefox + (boo#980890). @@ -119 +120,2 @@ - * Add Ctrl + Shift + F to switch between Simplified Chinese and Traditional Chinese. + * Add Ctrl + Shift + F to switch between Simplified Chinese and +Traditional Chinese. @@ -122,2 +124,4 @@ - * Add Several ZhuYin keyboard mappings (Standard GinYieh Eten IBM). - * Add Chinese ZhuYin input method, contributed by BYVoid more information + * Add Several ZhuYin keyboard mappings (Standard GinYieh Eten +IBM). + * Add Chinese ZhuYin input method, contributed by BYVoid more +information @@ -134,2 +138,4 @@ -* Clear preedit text, when user presses Shift to switch En/Ch mode -* Support auto correct: v=>u, ve=>ue, van=>uan, vn=>un, ven=>un, vang=>uang +* Clear preedit text, when user presses Shift to switch En/Ch + mode +* Support auto correct: v=>u, ve=>ue, van=>uan, vn=>un, + ven=>un, vang=>uang Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.wlZbGs/_old 2017-04-13 10:45:27.734099817 +0200 +++ /var/tmp/diff_new_pack.wlZbGs/_new 2017-04-13 10:45:27.738099252 +0200 @@ -25,16 +25,15 @@ Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz -# PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#847718 +# PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#123456 ti...@suse.de -- Fix visible password entry in GNOME lock screen. Patch1: ibus-pinyin-support-set-content-type-method.patch -# PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- fix build with lua 5.2 +# PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- Fix build with lua 5.2 Patch2: ibus-pinyin-fixes-lua-compile.patch -# PATCH-FIX-UPSTREAM Wlogical-not-parentheses.patch sch...@suse.de -- Fix -Wlogical-not-parentheses warning +# PATCH-FIX-UPSTREAM Wlogical-not-parentheses.patch sch...@suse.de -- Fix -Wlogical-not-parentheses warning. Patch3: Wlogical-not-parentheses.patch -# PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com -- set Fullpinyin beyond dconf database as default. +# PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com bsc#955325 -- Set fullpinyin beyond dconf database as default. Patch4: ibus-pinyin-default-full.patch -# PATCH-FIX-UPSTREAM ibus-pinyin-select-words-could-be-cleared.patch hillw...@opensuse.org -# Fix boo#980890 -- The select words could be cleared while use ibus-pinyin in Firefox +# PATCH-FIX-UPSTREAM ibus-pinyin-select-words-could-be-cleared.patch hillw...@opensuse.org boo#980890 -- The selected words could be cleared while use ibus-pinyin in Firefox. Patch5: ibus-pinyin-fix-select-words-could-be-cleared.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel @@ -74,8 +73,7 @@ %patch5 -p1 %build -%configure --disable-static \ - --libexecdir=%{_prefix}/%{_lib}/ibus +%configure --disable-static --libexecdir=%{_prefix}/%{_lib}/ibus # make -C po update-gmo make %{?_smp_mflags}
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2017-03-24 02:22:46 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Fri Mar 24 02:22:46 2017 rev:31 rq:481982 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2017-03-03 17:45:15.682970806 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2017-03-24 02:22:48.298298070 +0100 @@ -1,0 +2,5 @@ +Tue Mar 21 15:28:13 UTC 2017 - jeng...@inai.de + +- Remove redundant buildroot removal from %install. + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.NMjXo2/_old 2017-03-24 02:22:48.982201302 +0100 +++ /var/tmp/diff_new_pack.NMjXo2/_new 2017-03-24 02:22:48.982201302 +0100 @@ -81,7 +81,6 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT %make_install %find_lang %{name}
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2017-03-03 17:45:14 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Fri Mar 3 17:45:14 2017 rev:30 rq:461268 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2017-02-03 17:42:34.107365600 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2017-03-03 17:45:15.682970806 +0100 @@ -1,0 +2,6 @@ +Wed Mar 1 06:15:22 UTC 2017 - hillw...@opensuse.org + +- add patch: ibus-pinyin-fix-select-words-could-be-cleared.patch + * Fix boo#980890: The select words could be cleared while use ibus-pinyin in Firefox + +--- New: ibus-pinyin-fix-select-words-could-be-cleared.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.NhJ4wN/_old 2017-03-03 17:45:16.926795027 +0100 +++ /var/tmp/diff_new_pack.NhJ4wN/_new 2017-03-03 17:45:16.930794463 +0100 @@ -33,22 +33,25 @@ Patch3: Wlogical-not-parentheses.patch # PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com -- set Fullpinyin beyond dconf database as default. Patch4: ibus-pinyin-default-full.patch +# PATCH-FIX-UPSTREAM ibus-pinyin-select-words-could-be-cleared.patch hillw...@opensuse.org +# Fix boo#980890 -- The select words could be cleared while use ibus-pinyin in Firefox +Patch5: ibus-pinyin-fix-select-words-could-be-cleared.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else BuildRequires: boost-devel %endif BuildRequires: gcc-c++ -BuildRequires: gettext-devel -BuildRequires: ibus-devel >= 1.4.99 +BuildRequires: gettext-tools BuildRequires: intltool -BuildRequires: libuuid-devel -BuildRequires: lua-devel >= 5.1 BuildRequires: python >= 2.5 -BuildRequires: pyzy-devel >= 1.0 BuildRequires: sqlite3 -BuildRequires: sqlite3-devel BuildRequires: update-desktop-files +BuildRequires: pkgconfig(ibus-1.0) >= 1.4.99 +BuildRequires: pkgconfig(lua) >= 5.1 +BuildRequires: pkgconfig(pyzy-1.0) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(uuid) Requires: ibus >= 1.4.99 Requires: opencc Requires: python-xdg @@ -68,6 +71,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build %configure --disable-static \ @@ -78,7 +82,7 @@ %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=${RPM_BUILD_ROOT} install +%make_install %find_lang %{name} ++ ibus-pinyin-fix-select-words-could-be-cleared.patch ++ diff -Nur ibus-pinyin-1.5.0/src/PYPhoneticEditor.cc ibus-pinyin-1.5.0-new/src/PYPhoneticEditor.cc --- ibus-pinyin-1.5.0/src/PYPhoneticEditor.cc 2012-08-02 22:22:38.0 +0800 +++ ibus-pinyin-1.5.0-new/src/PYPhoneticEditor.cc 2017-03-01 14:07:10.359693690 +0800 @@ -32,7 +32,8 @@ PhoneticEditor::PhoneticEditor (PinyinProperties & props, Config & config) : Editor (props, config), m_observer (PinyinObserver(*this)), - m_lookup_table (m_config.pageSize ()) + m_lookup_table (m_config.pageSize ()), + m_dont_update_preedit (FALSE) { } @@ -382,7 +383,18 @@ void PhoneticEditor::reset (void) { +const String &selected_text = m_context->selectedText (); +const String &conversion_text = m_context->conversionText (); +const String &rest_text = m_context->restText (); + +if (selected_text.empty () && conversion_text.empty () && +rest_text.empty ()) +m_dont_update_preedit = TRUE; +else +m_dont_update_preedit = FALSE; + m_context->reset(); +m_dont_update_preedit = FALSE; } void @@ -424,6 +436,9 @@ void PhoneticEditor::updatePreeditText (void) { +if (m_dont_update_preedit) +return; + const String &selected_text = m_context->selectedText (); const String &conversion_text = m_context->conversionText (); const String &rest_text = m_context->restText (); diff -Nur ibus-pinyin-1.5.0/src/PYPhoneticEditor.h ibus-pinyin-1.5.0-new/src/PYPhoneticEditor.h --- ibus-pinyin-1.5.0/src/PYPhoneticEditor.h2012-08-02 22:22:38.0 +0800 +++ ibus-pinyin-1.5.0-new/src/PYPhoneticEditor.h2017-03-01 14:07:08.035693702 +0800 @@ -88,6 +88,7 @@ std::unique_ptr m_context; PinyinObserver m_observer; LookupTable m_lookup_table; +gboolean m_dont_update_preedit; }; };
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2017-02-02 15:46:22 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2016-09-07 11:45:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2017-02-03 17:42:34.107365600 +0100 @@ -1,0 +2,5 @@ +Wed Feb 1 11:26:50 UTC 2017 - adam.ma...@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.ERSyJj/_old 2017-02-03 17:42:34.531305594 +0100 +++ /var/tmp/diff_new_pack.ERSyJj/_new 2017-02-03 17:42:34.531305594 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,11 @@ Patch3: Wlogical-not-parentheses.patch # PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com -- set Fullpinyin beyond dconf database as default. Patch4: ibus-pinyin-default-full.patch +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_headers-devel +%else BuildRequires: boost-devel +%endif BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: ibus-devel >= 1.4.99
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2016-09-07 11:44:56 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2016-03-16 10:34:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2016-09-07 11:45:04.0 +0200 @@ -1 +1 @@ -- +--- @@ -4,2 +4,2 @@ -- Add ibus-pinyin-default-full.patch: Set ibus-pinyin engine to full - pinyin as default when dconf data not exist.(bnc#955325) +- Add ibus-pinyin-default-full.patch: Set ibus-pinyin engine to + full pinyin as default when dconf data not exist.(bnc#955325) @@ -10 +10,2 @@ -- Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses warning +- Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses + warning. @@ -135 +135,0 @@ - Other differences: --
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2016-03-16 10:34:37 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2015-11-06 00:04:21.0 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2016-03-16 10:34:38.0 +0100 @@ -0,0 +1,6 @@ +- +Fri Dec 25 13:57:28 CET 2015 - qz...@suse.com + +- Add ibus-pinyin-default-full.patch: Set ibus-pinyin engine to full + pinyin as default when dconf data not exist.(bnc#955325) + New: ibus-pinyin-default-full.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.FWkXMb/_old 2016-03-16 10:34:39.0 +0100 +++ /var/tmp/diff_new_pack.FWkXMb/_new 2016-03-16 10:34:39.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,8 +29,10 @@ Patch1: ibus-pinyin-support-set-content-type-method.patch # PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- fix build with lua 5.2 Patch2: ibus-pinyin-fixes-lua-compile.patch -# PATCH-FIX-UPSTREAM Fix -Wlogical-not-parentheses warning +# PATCH-FIX-UPSTREAM Wlogical-not-parentheses.patch sch...@suse.de -- Fix -Wlogical-not-parentheses warning Patch3: Wlogical-not-parentheses.patch +# PATFH-FIX-SUSE ibus-pinyin-default-full.patch qz...@suse.com -- set Fullpinyin beyond dconf database as default. +Patch4: ibus-pinyin-default-full.patch BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: gettext-devel @@ -61,6 +63,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %configure --disable-static \ ++ ibus-pinyin-default-full.patch ++ diff -Nura ibus-pinyin-1.5.0/src/PYConfig.cc ibus-pinyin-1.5.0_new/src/PYConfig.cc --- ibus-pinyin-1.5.0/src/PYConfig.cc 2012-08-02 14:22:38.0 + +++ ibus-pinyin-1.5.0_new/src/PYConfig.cc 2015-12-28 09:48:03.281401722 + @@ -103,7 +103,7 @@ PyZy::Variant::fromUnsignedInt (option ())); m_orientation = IBUS_ORIENTATION_HORIZONTAL; -m_page_size = 5; +m_page_size = 9; m_shift_select_candidate = FALSE; m_minus_equal_page = TRUE; m_comma_period_page = TRUE; @@ -111,6 +111,7 @@ m_init_chinese = TRUE; m_init_full = FALSE; +m_double_pinyin = FALSE; m_init_full_punct = TRUE; m_init_simp_chinese = TRUE; m_special_phrases = TRUE;
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2015-11-06 00:04:08 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2014-05-02 13:56:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2015-11-06 00:04:21.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 4 11:57:26 UTC 2015 - sch...@suse.de + +- Wlogical-not-parentheses.patch: fix -Wlogical-not-parentheses warning + +--- New: Wlogical-not-parentheses.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.NHQIqf/_old 2015-11-06 00:04:22.0 +0100 +++ /var/tmp/diff_new_pack.NHQIqf/_new 2015-11-06 00:04:22.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ Patch1: ibus-pinyin-support-set-content-type-method.patch # PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- fix build with lua 5.2 Patch2: ibus-pinyin-fixes-lua-compile.patch +# PATCH-FIX-UPSTREAM Fix -Wlogical-not-parentheses warning +Patch3: Wlogical-not-parentheses.patch BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: gettext-devel @@ -58,6 +60,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %configure --disable-static \ ++ Wlogical-not-parentheses.patch ++ >From 2574beed11360a6b14cd09f75986fbde3e1cf84f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 4 Nov 2015 12:51:44 +0100 Subject: [PATCH] Fix -Wlogical-not-parentheses warning --- src/PYExtEditor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc index 7b5d0e6..6e42d4c 100644 --- a/src/PYExtEditor.cc +++ b/src/PYExtEditor.cc @@ -494,7 +494,7 @@ ExtEditor::updateStateFromInput (void) return FALSE; } -if ( ! 'i' == m_text[0] ) { +if (m_text[0] != 'i') { g_warning ("i is expected in m_text string.\n"); return FALSE; } -- 2.6.2
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2014-05-02 13:56:07 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2013-11-24 12:03:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2014-05-02 13:56:08.0 +0200 @@ -1,0 +2,7 @@ +Tue Apr 29 11:09:49 UTC 2014 - fcro...@suse.com + +- Add ibus-pinyin-fixes-lua-compile.patch: fix build with Lua 5.2 + (Fedora). +- Switch BuildRequires to lua-devel. + +--- New: ibus-pinyin-fixes-lua-compile.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.HxQnWM/_old 2014-05-02 13:56:09.0 +0200 +++ /var/tmp/diff_new_pack.HxQnWM/_new 2014-05-02 13:56:09.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,13 +27,15 @@ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz # PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#847718 Patch1: ibus-pinyin-support-set-content-type-method.patch +# PATCH-FIX-FEDORA ibus-pinyin-fixes-lua-compile.patch fcro...@suse.com -- fix build with lua 5.2 +Patch2: ibus-pinyin-fixes-lua-compile.patch BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: ibus-devel >= 1.4.99 BuildRequires: intltool BuildRequires: libuuid-devel -BuildRequires: lua51-devel +BuildRequires: lua-devel >= 5.1 BuildRequires: python >= 2.5 BuildRequires: pyzy-devel >= 1.0 BuildRequires: sqlite3 @@ -55,6 +57,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure --disable-static \ ++ ibus-pinyin-fixes-lua-compile.patch ++ >From c42d0a870697e95301deabe0bcb770a68649c81d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 31 Jul 2013 10:53:14 +0800 Subject: [PATCH] fixes lua 5.2 compile --- lua/lua-plugin-init.c | 8 lua/lua-plugin.c | 9 + 2 files changed, 17 insertions(+) --- a/lua/lua-plugin-init.c +++ b/lua/lua-plugin-init.c @@ -26,6 +26,17 @@ #include "lua-plugin.h" +#if LUA_VERSION_NUM >= 502 +/* ugly hack for lua 5.2 */ + +#define lua_objlen lua_rawlen +#undef luaL_register +#define luaL_register(L,n,f) \ +{ if ((n) == NULL) luaL_setfuncs(L,f,0); else luaL_newlib(L,f); } + +#endif + + static const luaL_Reg lualibs[] = { {"", luaopen_base}, {LUA_TABLIBNAME, luaopen_table}, --- a/lua/lua-plugin.c +++ b/lua/lua-plugin.c @@ -25,6 +25,15 @@ #include "lua-plugin.h" +#if LUA_VERSION_NUM >= 502 +/* ugly hack for lua 5.2 */ + +#define lua_open luaL_newstate + +#define lua_objlen lua_rawlen + +#endif + #define IBUS_ENGINE_PLUGIN_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), IBUS_TYPE_ENGINE_PLUGIN, IBusEnginePluginPrivate)) struct _IBusEnginePluginPrivate{ --- a/lua/lmyoslib.c +++ b/lua/lmyoslib.c @@ -19,7 +19,15 @@ #include "lauxlib.h" #include "lualib.h" +#if LUA_VERSION_NUM >= 502 +/* ugly hack for lua 5.2 */ +#define lua_objlen lua_rawlen +#undef luaL_register +#define luaL_register(L,n,f) \ +{ if ((n) == NULL) luaL_setfuncs(L,f,0); else luaL_newlib(L,f); } + +#endif /* ** {== -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2013-11-24 12:03:35 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2013-10-31 16:03:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2013-11-24 12:03:36.0 +0100 @@ -1,0 +2,7 @@ +Thu Nov 21 08:32:02 CET 2013 - ti...@suse.de + +- ibus-pinyin-support-set-content-type-method.patch: + Fix visible password entry in GNOME lock screen (CVE-2013-4509, + bnc#847718); taken from Fedora package + +--- New: ibus-pinyin-support-set-content-type-method.patch Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.SlXFub/_old 2013-11-24 12:03:37.0 +0100 +++ /var/tmp/diff_new_pack.SlXFub/_new 2013-11-24 12:03:37.0 +0100 @@ -25,6 +25,8 @@ Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz +# PATCH-FIX-FEDORA ibus-pinyin-support-set-content-type-method.patch bnc#847718 +Patch1: ibus-pinyin-support-set-content-type-method.patch BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: gettext-devel @@ -39,9 +41,9 @@ BuildRequires: update-desktop-files Requires: ibus >= 1.4.99 Requires: opencc +Requires: python-xdg Requires: pyzy-db-android Requires: pyzy-db-open-phrase -Requires: python-xdg %description PinYin engine for IBus platform. It provides a Chinese PinYin input method. @@ -52,6 +54,7 @@ %prep %setup -q +%patch1 -p1 %build %configure --disable-static \ ++ ibus-pinyin-support-set-content-type-method.patch ++ >From f1accaa9a18bd4a1c7234b40e16ad9889c25a461 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 6 Nov 2013 13:16:14 +0800 Subject: [PATCH] support setContentType method --- src/PYBopomofoEngine.cc | 22 ++ src/PYBopomofoEngine.h | 7 +++ src/PYEngine.cc | 21 + src/PYEngine.h | 3 +++ src/PYPinyinEngine.cc | 22 ++ src/PYPinyinEngine.h| 7 +++ 6 files changed, 82 insertions(+) diff --git a/src/PYBopomofoEngine.cc b/src/PYBopomofoEngine.cc index 581c4cf..4dfbc2c 100644 --- a/src/PYBopomofoEngine.cc +++ b/src/PYBopomofoEngine.cc @@ -42,6 +42,10 @@ BopomofoEngine::BopomofoEngine (IBusEngine *engine) { gint i; +#if IBUS_CHECK_VERSION (1, 5, 4) +m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM; +#endif + /* create editors */ m_editors[MODE_INIT].reset (new BopomofoEditor (m_props, BopomofoConfig::instance ())); m_editors[MODE_PUNCT].reset (new PunctEditor (m_props, BopomofoConfig::instance ())); @@ -72,6 +76,11 @@ BopomofoEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers) { gboolean retval = FALSE; +#if IBUS_CHECK_VERSION (1, 5, 4) +if (IBUS_INPUT_PURPOSE_PASSWORD == m_input_purpose) +return retval; +#endif + /* check Shift + Release hotkey, * and then ignore other Release key event */ if (modifiers & IBUS_RELEASE_MASK) { @@ -139,9 +148,22 @@ BopomofoEngine::focusIn (void) void BopomofoEngine::focusOut (void) { + +#if IBUS_CHECK_VERSION (1, 5, 4) +m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM; +#endif + reset (); } +#if IBUS_CHECK_VERSION(1, 5, 4) +void +BopomofoEngine::setContentType (guint purpose, guint hints) +{ +m_input_purpose = (IBusInputPurpose) purpose; +} +#endif + void BopomofoEngine::reset (void) { diff --git a/src/PYBopomofoEngine.h b/src/PYBopomofoEngine.h index ce41ce8..14b6780 100644 --- a/src/PYBopomofoEngine.h +++ b/src/PYBopomofoEngine.h @@ -36,6 +36,9 @@ public: gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers); void focusIn (void); void focusOut (void); +#if IBUS_CHECK_VERSION (1, 5, 4) +void setContentType (guint purpose, guint hints); +#endif void reset (void); void enable (void); void disable (void); @@ -59,6 +62,10 @@ private: private: PinyinProperties m_props; +#if IBUS_CHECK_VERSION (1, 5, 4) +IBusInputPurpose m_input_purpose; +#endif + guintm_prev_pressed_key; enum { diff --git a/src/PYEngine.cc b/src/PYEngine.cc index d9fa04a..da047b2 100644 --- a/src/PYEngine.cc +++ b/src/PYEngine.cc @@ -67,6 +67,12 @@ static gboolean ibus_pinyin_engine_process_key_event guint modifiers);
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2013-10-31 16:03:33 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2013-07-12 20:47:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2013-10-31 16:03:34.0 +0100 @@ -1,0 +2,5 @@ +Wed Oct 30 00:00:37 CST 2013 - hillw...@linuxfans.org + +- add python-xdg as Requires + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.O97wfd/_old 2013-10-31 16:03:34.0 +0100 +++ /var/tmp/diff_new_pack.O97wfd/_new 2013-10-31 16:03:34.0 +0100 @@ -41,6 +41,7 @@ Requires: opencc Requires: pyzy-db-android Requires: pyzy-db-open-phrase +Requires: python-xdg %description PinYin engine for IBus platform. It provides a Chinese PinYin input method. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2013-07-12 20:47:47 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2013-07-08 21:44:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2013-07-12 20:47:49.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 12 12:06:14 CST 2013 - hillw...@linuxfans.org + +- enable lua support + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.w6XNEz/_old 2013-07-12 20:47:49.0 +0200 +++ /var/tmp/diff_new_pack.w6XNEz/_new 2013-07-12 20:47:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: ibus-pinyin Version:1.5.0 Release:0 @@ -26,17 +25,22 @@ Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3 opencc-devel sqlite3-devel -BuildRequires: python >= 2.5 -BuildRequires: intltool BuildRequires: boost-devel +BuildRequires: gcc-c++ +BuildRequires: gettext-devel BuildRequires: ibus-devel >= 1.4.99 -BuildRequires: update-desktop-files +BuildRequires: intltool +BuildRequires: libuuid-devel +BuildRequires: lua51-devel +BuildRequires: python >= 2.5 BuildRequires: pyzy-devel >= 1.0 +BuildRequires: sqlite3 +BuildRequires: sqlite3-devel +BuildRequires: update-desktop-files +Requires: ibus >= 1.4.99 +Requires: opencc Requires: pyzy-db-android Requires: pyzy-db-open-phrase -Requires: ibus >= 1.4.99 - %description PinYin engine for IBus platform. It provides a Chinese PinYin input method. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2013-07-08 21:44:11 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2012-07-06 09:37:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2013-07-08 21:44:13.0 +0200 @@ -1,0 +2,22 @@ +Thu Dec 20 23:35:11 CST 2012 - hillw...@linuxfans.org + +- update to 1.5.0 + * Add setup tag. + * Quote $@ in autogen.sh + * Fixes pinyin.xml +Change the keyboard layout from us to default +Update the symbols same as the icons + +--- +Thu Sep 6 00:02:17 CST 2012 - hillw...@linuxfans.org + +- update to 1.4.99.20120808 + Integrates pyzy + Fix make dist & rpm errors. + +--- +Tue Jul 24 21:20:21 CST 2012 - hillw...@linuxfans.org + +- add a .desktop file for ibus-setup-pinyin from upstream + +--- @@ -4 +26,6 @@ -- add opencc as a require package. +- add a requires package, opencc is needed by ibus-pinyin + +--- +Mon Jul 1 09:44:31 CST 2012 - hillw...@linuxfans.org + +- add a .desktop file Old: ibus-pinyin-1.4.0.tar.gz ibus-pinyin-fsf-address.diff pinyin-database-1.2.99.tar.bz2 New: ibus-pinyin-1.5.0.tar.gz Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.0yT3Kl/_old 2013-07-08 21:44:14.0 +0200 +++ /var/tmp/diff_new_pack.0yT3Kl/_new 2013-07-08 21:44:14.0 +0200 @@ -18,7 +18,7 @@ Name: ibus-pinyin -Version:1.4.0 +Version:1.5.0 Release:0 Summary:The PinYin engine for IBus platform License:GPL-2.0+ @@ -26,16 +26,16 @@ Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz -Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 -Patch: ibus-pinyin-fsf-address.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3 opencc-devel sqlite3-devel BuildRequires: python >= 2.5 BuildRequires: intltool BuildRequires: boost-devel -BuildRequires: ibus-devel -Requires: ibus -Requires: opencc +BuildRequires: ibus-devel >= 1.4.99 +BuildRequires: update-desktop-files +BuildRequires: pyzy-devel >= 1.0 +Requires: pyzy-db-android +Requires: pyzy-db-open-phrase +Requires: ibus >= 1.4.99 %description @@ -47,13 +47,9 @@ %prep %setup -q -%patch -p1 -cp %{SOURCE1} data/db/open-phrase %build %configure --disable-static \ - --enable-db-open-phrase\ - --enable-opencc\ --libexecdir=%{_prefix}/%{_lib}/ibus # make -C po update-gmo @@ -65,10 +61,14 @@ %find_lang %{name} +%suse_update_desktop_file ibus-setup-pinyin Utility DesktopUtility System +%suse_update_desktop_file ibus-setup-bopomofo Utility DesktopUtility System + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_datadir}/ibus-pinyin +%{_datadir}/applications/ibus-*.desktop %dir %{_datadir}/ibus %dir %{_datadir}/ibus/component %{_datadir}/ibus/component/* ++ ibus-pinyin-1.4.0.tar.gz -> ibus-pinyin-1.5.0.tar.gz ++ 92763 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2012-07-06 09:37:21 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2012-06-01 22:31:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2012-07-06 09:37:26.0 +0200 @@ -2 +2,6 @@ -Fri Jun 1 23:09:14 UTC+8 2012 - hillw...@linuxfans.org +Wed Jul 4 21:31:27 CST 2012 - hillw...@linuxfans.org + +- add opencc as a require package. + +--- +Fri Jun 1 23:09:14 CST 2012 - hillw...@linuxfans.org @@ -8 +13 @@ -Tue Mar 20 22:24:17 UTC+8 2012 - hillw...@linuxfans.org +Tue Mar 20 22:24:17 CST 2012 - hillw...@linuxfans.org Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.QelyiO/_old 2012-07-06 09:37:29.0 +0200 +++ /var/tmp/diff_new_pack.QelyiO/_new 2012-07-06 09:37:29.0 +0200 @@ -35,6 +35,7 @@ BuildRequires: boost-devel BuildRequires: ibus-devel Requires: ibus +Requires: opencc %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2012-06-01 22:30:56 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2012-03-22 12:33:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2012-06-01 22:31:41.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 1 23:09:14 UTC+8 2012 - hillw...@linuxfans.org + +- enable opencc support +- fix build in Factory + +--- Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.L7r6ph/_old 2012-06-01 22:31:43.0 +0200 +++ /var/tmp/diff_new_pack.L7r6ph/_new 2012-06-01 22:31:43.0 +0200 @@ -29,13 +29,14 @@ Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 Patch: ibus-pinyin-fsf-address.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3-devel +BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3 opencc-devel sqlite3-devel BuildRequires: python >= 2.5 BuildRequires: intltool BuildRequires: boost-devel BuildRequires: ibus-devel Requires: ibus + %description PinYin engine for IBus platform. It provides a Chinese PinYin input method. @@ -50,7 +51,8 @@ %build %configure --disable-static \ - --enable-db-open-phrase \ + --enable-db-open-phrase\ + --enable-opencc\ --libexecdir=%{_prefix}/%{_lib}/ibus # make -C po update-gmo -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2012-03-22 12:32:45 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes 2011-10-13 19:43:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-pinyin.new/ibus-pinyin.changes 2012-03-22 12:33:04.0 +0100 @@ -1,0 +2,6 @@ +Tue Mar 20 22:24:17 UTC+8 2012 - hillw...@linuxfans.org + +- Update to 1.4.0 +- Fix FSF-address warnings in RPMLINT report + +--- Old: ibus-pinyin-1.3.11.tar.gz ibus-pinyin-ibus-1.4-build.diff New: ibus-pinyin-1.4.0.tar.gz ibus-pinyin-fsf-address.diff Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.56Nm4S/_old 2012-03-22 12:33:08.0 +0100 +++ /var/tmp/diff_new_pack.56Nm4S/_new 2012-03-22 12:33:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package ibus-pinyin # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,8 @@ Name: ibus-pinyin -Version:1.3.11 -Release:3 +Version:1.4.0 +Release:0 Summary:The PinYin engine for IBus platform License:GPL-2.0+ Group: System/I18n/Chinese @@ -27,21 +27,21 @@ Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 -Patch: ibus-pinyin-ibus-1.4-build.diff - +Patch: ibus-pinyin-fsf-address.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3-devel BuildRequires: python >= 2.5 BuildRequires: intltool BuildRequires: boost-devel BuildRequires: ibus-devel - Requires: ibus %description PinYin engine for IBus platform. It provides a Chinese PinYin input method. -拼音输入法 + + +%description -l zh_CN +IBus 输入平台的拼音输入法支持引擎,本软件包为 IBus 提供中文拼音输入支持。 %prep %setup -q @@ -62,9 +62,6 @@ %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README ++ ibus-pinyin-1.3.11.tar.gz -> ibus-pinyin-1.4.0.tar.gz ++ 55688 lines of diff (skipped) ++ ibus-pinyin-fsf-address.diff ++ diff -Nur ibus-pinyin-1.4.0/setup/ibus-setup-pinyin.in ibus-pinyin-1.4.0-new/setup/ibus-setup-pinyin.in --- ibus-pinyin-1.4.0/setup/ibus-setup-pinyin.in2011-09-17 10:43:37.0 +0800 +++ ibus-pinyin-1.4.0-new/setup/ibus-setup-pinyin.in2012-03-20 23:02:51.122057748 +0800 @@ -17,7 +17,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. prefix=@prefix@ exec_prefix=@exec_prefix@ diff -Nur ibus-pinyin-1.4.0/setup/main.py ibus-pinyin-1.4.0-new/setup/main.py --- ibus-pinyin-1.4.0/setup/main.py 2011-09-17 10:43:37.0 +0800 +++ ibus-pinyin-1.4.0-new/setup/main.py 2012-03-20 23:03:48.634059716 +0800 @@ -18,7 +18,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. import sys import gtk import ibus diff -Nur ibus-pinyin-1.4.0/setup/version.py ibus-pinyin-1.4.0-new/setup/version.py --- ibus-pinyin-1.4.0/setup/version.py 2011-12-21 11:13:00.0 +0800 +++ ibus-pinyin-1.4.0-new/setup/version.py 2012-03-20 23:02:09.472056323 +0800 @@ -16,6 +16,6 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. def get_version(): return "1.4.0" diff -Nur ibus-pinyin-1.4.0/setup/version.py.in ibus-pinyin-1.4.0-new/setup/version.py.in --- ibus-pinyin-1.4.0/setup/version.py.in 2011-09-17 10:43:37.0 +0800 +++ ibus-pinyin-1.4.0-new/setup/version.py.in 2012-03-20
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at 2011-12-06 18:18:42 Comparing /work/SRC/openSUSE:Factory/ibus-pinyin (Old) and /work/SRC/openSUSE:Factory/.ibus-pinyin.new (New) Package is "ibus-pinyin", Maintainer is "" Changes: Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.UdxQw8/_old 2011-12-06 18:32:35.0 +0100 +++ /var/tmp/diff_new_pack.UdxQw8/_new 2011-12-06 18:32:35.0 +0100 @@ -21,7 +21,7 @@ Version:1.3.11 Release:3 Summary:The PinYin engine for IBus platform -License:GPLv2+ +License:GPL-2.0+ Group: System/I18n/Chinese Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at Thu Oct 13 19:41:51 CEST 2011. --- openSUSE:Factory/ibus-pinyin/ibus-pinyin.changes2011-09-23 02:03:07.0 +0200 +++ /mounts/work_src_done/STABLE/ibus-pinyin/ibus-pinyin.changes 2011-10-12 14:29:45.0 +0200 @@ -1,0 +2,5 @@ +Wed Oct 12 12:38:49 CEST 2011 - ti...@suse.de + +- Fix build with ibus-1.4 (bnc#723591) + +--- calling whatdependson for head-i586 New: ibus-pinyin-ibus-1.4-build.diff Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.rTiFQa/_old 2011-10-13 19:41:47.0 +0200 +++ /var/tmp/diff_new_pack.rTiFQa/_new 2011-10-13 19:41:47.0 +0200 @@ -27,6 +27,7 @@ Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 +Patch: ibus-pinyin-ibus-1.4-build.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,6 +45,7 @@ %prep %setup -q +%patch -p1 cp %{SOURCE1} data/db/open-phrase %build ++ ibus-pinyin-ibus-1.4-build.diff ++ --- src/PYConfig.cc | 77 +--- src/PYConfig.h | 16 --- 2 files changed, 85 insertions(+), 8 deletions(-) --- a/src/PYConfig.cc +++ b/src/PYConfig.cc @@ -153,6 +153,18 @@ Config::read (const gchar * name, bool defval) { +#if IBUS_CHECK_VERSION(1,3,99) +GVariant *value = NULL; +value = ibus_config_get_value (get (), m_section.c_str (), name); +if (value) { +if (g_variant_classify (value) == G_VARIANT_CLASS_BOOLEAN) +return g_variant_get_boolean (value); +} + +// write default value to config +value = g_variant_new ("b", defval); +ibus_config_set_value (get (), m_section.c_str (), name, value); +#else GValue value = {0}; if (ibus_config_get_value (get (), m_section.c_str (), name, &value)) { if (G_VALUE_TYPE (&value) == G_TYPE_BOOLEAN) @@ -163,6 +175,7 @@ g_value_init (&value, G_TYPE_BOOLEAN); g_value_set_boolean (&value, defval); ibus_config_set_value (get (), m_section.c_str (), name, &value); +#endif return defval; } @@ -171,6 +184,18 @@ Config::read (const gchar * name, gint defval) { +#if IBUS_CHECK_VERSION(1,3,99) +GVariant *value = NULL; +value = ibus_config_get_value (get (), m_section.c_str (), name); +if (value) { + if (g_variant_classify (value) == G_VARIANT_CLASS_INT32) + return g_variant_get_int32 (value); +} + +// write default value to config +value = g_variant_new ("i", defval); +ibus_config_set_value (get (), m_section.c_str (), name, value); +#else GValue value = {0}; if (ibus_config_get_value (get (), m_section.c_str (), name, &value)) { if (G_VALUE_TYPE (&value) == G_TYPE_INT) @@ -181,6 +206,7 @@ g_value_init (&value, G_TYPE_INT); g_value_set_int (&value, defval); ibus_config_set_value (get (), m_section.c_str (), name, &value); +#endif return defval; } @@ -189,6 +215,18 @@ Config::read (const gchar * name, const gchar * defval) { +#if IBUS_CHECK_VERSION(1,3,99) +GVariant *value = NULL; +value = ibus_config_get_value (get (), m_section.c_str (), name); +if (value) { + if (g_variant_classify (value) == G_VARIANT_CLASS_STRING) +return g_variant_get_string (value, NULL); +} + +// write default value to config +value = g_variant_new ("s", defval); +ibus_config_set_value (get (), m_section.c_str (), name, value); +#else GValue value = {0}; if (ibus_config_get_value (get (), m_section.c_str (), name, &value)) { if (G_VALUE_TYPE (&value) == G_TYPE_STRING) @@ -199,10 +237,20 @@ g_value_init (&value, G_TYPE_STRING); g_value_set_static_string (&value, defval); ibus_config_set_value (get (), m_section.c_str (), name, &value); +#endif return defval; } +#if IBUS_CHECK_VERSION(1,3,99) +static inline bool +normalizeGValue (GVariant *value, bool defval) +{ +if (value == NULL || g_variant_classify (value) != G_VARIANT_CLASS_BOOLEAN) +return defval; +return g_variant_get_boolean (value); +} +#else static inline bool normalizeGValue (const GValue *value, bool defval) { @@ -210,7 +258,17 @@ return defval; return g_value_get_boolean (value); } +#endif +#if IBUS_CHECK_VERSION(1,3,99) +static inline gint +normalizeGValue (GVariant *value, gint defval) +{ +if (value == NULL || g_variant_classify (value) != G_VARIANT_CLASS_INT32) +return defval; +return g_variant_get_int32 (value); +} +#else s
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at Mon Jul 25 10:24:57 CEST 2011. --- ibus-pinyin/ibus-pinyin.changes 2011-06-27 12:57:17.0 +0200 +++ /mounts/work_src_done/STABLE/ibus-pinyin/ibus-pinyin.changes 2011-07-22 16:59:29.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 22 16:59:16 CEST 2011 - ti...@suse.de + +- Add locale-specific provides tag (bnc#707712) + +--- calling whatdependson for head-i586 Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.dRCVYk/_old 2011-07-25 10:22:08.0 +0200 +++ /var/tmp/diff_new_pack.dRCVYk/_new 2011-07-25 10:22:08.0 +0200 @@ -19,10 +19,11 @@ Name: ibus-pinyin Version:1.3.11 -Release:1 +Release:3 Summary:The PinYin engine for IBus platform License:GPLv2+ Group: System/I18n/Chinese +Provides: locale(ibus:zh) Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ibus-pinyin for openSUSE:Factory
Hello community, here is the log from the commit of package ibus-pinyin for openSUSE:Factory checked in at Mon Jun 27 15:02:23 CEST 2011. --- ibus-pinyin/ibus-pinyin.changes 2010-07-12 10:58:28.0 +0200 +++ /mounts/work_src_done/STABLE/ibus-pinyin/ibus-pinyin.changes 2011-06-27 12:57:17.0 +0200 @@ -1,0 +2,6 @@ +Tue Jun 14 04:33:57 UTC 2011 - swy...@gmail.com + +- Update to 1.3.11; + including fixes for new ibus + +--- calling whatdependson for head-i586 Old: ibus-pinyin-1.3.8.tar.gz New: ibus-pinyin-1.3.11.tar.gz Other differences: -- ++ ibus-pinyin.spec ++ --- /var/tmp/diff_new_pack.wi2cKN/_old 2011-06-27 14:59:41.0 +0200 +++ /var/tmp/diff_new_pack.wi2cKN/_new 2011-06-27 14:59:41.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package ibus-pinyin (Version 1.3.8) +# spec file for package ibus-pinyin # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ Name: ibus-pinyin -Version:1.3.8 +Version:1.3.11 Release:1 Summary:The PinYin engine for IBus platform License:GPLv2+ -Group: System Environment/Libraries +Group: System/I18n/Chinese Url:http://code.google.com/p/ibus/ Source0:http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: http://scim-python.googlecode.com/files/pinyin-database-1.2.99.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -#BuildArch: noarch BuildRequires: gcc-c++ gettext-devel libuuid-devel sqlite3-devel BuildRequires: python >= 2.5 @@ -63,15 +62,15 @@ %clean rm -rf $RPM_BUILD_ROOT -#%post -#cd /usr/share/ibus-pinyin/engine -#python -c "import pysqlitedb; db = pysqlitedb.PYSQLiteDB (); db.create_indexes ();" >/dev/null - %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_datadir}/ibus-pinyin -%{_datadir}/ibus -%{_prefix}/%{_lib}/ibus/ +%dir %{_datadir}/ibus +%dir %{_datadir}/ibus/component +%{_datadir}/ibus/component/* +%dir %{_libdir}/ibus +%{_libdir}/ibus/ibus-engine-pinyin +%{_libdir}/ibus/ibus-setup-pinyin %changelog ++ ibus-pinyin-1.3.8.tar.gz -> ibus-pinyin-1.3.11.tar.gz ++ 65273 lines of diff (skipped) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org