Hello community,
here is the log from the commit of package ibus-googlepinyin for openSUSE:Factory checked in at 2012-06-12 07:08:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-googlepinyin (Old)
and /work/SRC/openSUSE:Factory/.ibus-googlepinyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus-googlepinyin", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-googlepinyin/ibus-googlepinyin.changes 2012-06-05 15:31:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ibus-googlepinyin.new/ibus-googlepinyin.changes 2012-06-12 07:09:07.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jun 11 12:16:17 UTC+8 2012 - hillwood@linuxfans.org
+
+- update to 0.1.2
+
+-------------------------------------------------------------------
Old:
----
ibus-googlepinyin-0.1.1.tar.bz2
New:
----
ibus-googlepinyin-0.1.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ibus-googlepinyin.spec ++++++
--- /var/tmp/diff_new_pack.M16APC/_old 2012-06-12 07:09:09.000000000 +0200
+++ /var/tmp/diff_new_pack.M16APC/_new 2012-06-12 07:09:09.000000000 +0200
@@ -18,7 +18,7 @@
# norootforbuild
Name: ibus-googlepinyin
-Version: 0.1.1
+Version: 0.1.2
Release: 1
Summary: This package is for IBus to use libgooglepinyin
Group: System/I18n/Chinese
@@ -57,7 +57,7 @@
%prep
-%setup -q
+%setup -q -n %{name}
%patch -p1
%build
++++++ ibus-googlepinyin-0.1.1.tar.bz2 -> ibus-googlepinyin-0.1.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/.hg_archival.txt new/ibus-googlepinyin/.hg_archival.txt
--- old/ibus-googlepinyin-0.1.1/.hg_archival.txt 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/.hg_archival.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-repo: daa8128a17bd008d7313e7c127bd9575a54b1968
-node: 323c187af001afe8e9332fbf4abbd689a69a140e
-branch: default
-tag: 0.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/.hgignore new/ibus-googlepinyin/.hgignore
--- old/ibus-googlepinyin-0.1.1/.hgignore 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/.hgignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-# use glob syntax.
-syntax: glob
-*~
-build/*
-data/pinyin.tar.gz
-data/pinyin.tar.gz.md5
-data/table/table.tar.gz
-data/table/table.tar.gz.md5
-libgooglepinyin.kdev4
-tools/pybase.mb
-tools/pyphrase.mb
-data/desc.po
-.kdev_include_paths
-.kdev4
-.directory
-*.kate-swp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/CMakeLists.txt new/ibus-googlepinyin/CMakeLists.txt
--- old/ibus-googlepinyin-0.1.1/CMakeLists.txt 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/CMakeLists.txt 2012-05-07 09:05:25.000000000 +0200
@@ -3,7 +3,7 @@
set(IBUS_PREFIX /usr)
set(IBUS_GOOGLEPINYIN_PKGDATADIR ${IBUS_PREFIX}/share/ibus-googlepinyin)
-set(IBUS_GOOGLEPINYIN_VERSION 0.1.1)
+set(IBUS_GOOGLEPINYIN_VERSION 0.1.2)
configure_file(googlepinyin.xml.in ${CMAKE_CURRENT_BINARY_DIR}/googlepinyin.xml)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/INSTALL new/ibus-googlepinyin/INSTALL
--- old/ibus-googlepinyin-0.1.1/INSTALL 1970-01-01 01:00:00.000000000 +0100
+++ new/ibus-googlepinyin/INSTALL 2011-09-07 11:38:57.000000000 +0200
@@ -0,0 +1,15 @@
+googlepinyin install instructions
+=================================================
+
+
+Dependencies: cmake build-essential opencc mercurial ibus python
+
+
+To compile and install, go in the source directory and type:
+
+ mkdir build; cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ sudo make install
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/engine.py new/ibus-googlepinyin/engine.py
--- old/ibus-googlepinyin-0.1.1/engine.py 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/engine.py 2011-10-15 14:09:49.000000000 +0200
@@ -64,6 +64,7 @@
self.__is_invalidate = False
self.__prepinyin_string = u""
self.__lookup_table = ibus.LookupTable()
+ self.__lookup_table.set_page_size(5)
# 0 = english input mode
# 1 = chinese input mode
Files old/ibus-googlepinyin-0.1.1/engine.pyc and new/ibus-googlepinyin/engine.pyc differ
Files old/ibus-googlepinyin-0.1.1/factory.pyc and new/ibus-googlepinyin/factory.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/googlepinyin.py new/ibus-googlepinyin/googlepinyin.py
--- old/ibus-googlepinyin-0.1.1/googlepinyin.py 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/googlepinyin.py 2012-03-21 00:36:23.000000000 +0100
@@ -9,12 +9,15 @@
import ctypes.util
import os
import sys
+import glob
libc = ctypes.CDLL("libc.so.6")
ime_pinyin = ctypes.CDLL(ctypes.util.find_library('googlepinyin'), use_errno=True)
_a = lambda path: os.path.exists(path) and path or ""
FN_SYS_DICT = _a('/usr/share/googlepinyin/dict_pinyin.dat')\
+ or _a('/usr/lib/googlepinyin/data/dict_pinyin.dat')\
+ or (glob.glob('/usr/lib/*/googlepinyin/data/dict_pinyin.dat') + [''])[0]\
or _a('/usr/local/share/googlepinyin/dict_pinyin.dat')
FN_USR_DICT = os.path.expanduser('~/.config/ibus/googlepinyin/userdict_pinyin.dat')
Files old/ibus-googlepinyin-0.1.1/googlepinyin.pyc and new/ibus-googlepinyin/googlepinyin.pyc differ
Files old/ibus-googlepinyin-0.1.1/libopencc.pyc and new/ibus-googlepinyin/libopencc.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-googlepinyin-0.1.1/main.py new/ibus-googlepinyin/main.py
--- old/ibus-googlepinyin-0.1.1/main.py 2011-09-06 07:20:54.000000000 +0200
+++ new/ibus-googlepinyin/main.py 2012-05-07 09:05:19.000000000 +0200
@@ -30,7 +30,7 @@
def __init__(self, exec_by_ibus):
self.__component = ibus.Component("org.freedesktop.IBus.GooglePinyin",
"GooglePinyin Component",
- "0.1.1",
+ "0.1.2",
"GPL",
"Jiahua Huang