commit librime for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2020-10-27 18:59:20

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.3463 (New)


Package is "librime"

Tue Oct 27 18:59:20 2020 rev:24 rq:844098 version:1.6.2~git20200921.4e518b9

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2020-10-23 
12:24:45.556892894 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new.3463/librime.changes
2020-10-27 18:59:44.710778174 +0100
@@ -1,0 +2,9 @@
+Sun Oct 25 14:05:02 UTC 2020 - Marguerite Su 
+
+- revert: Add plugin librime-lua
+  * different upstream, bundling not possible
+  * no LICENSE
+  * can be and should be built separately
+- expose internal headers for librime plugins
+
+---

Old:

  librime-lua.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.1XHod1/_old  2020-10-27 18:59:45.710778902 +0100
+++ /var/tmp/diff_new_pack.1XHod1/_new  2020-10-27 18:59:45.714778905 +0100
@@ -24,7 +24,6 @@
 Group:  System/I18n/Chinese
 URL:https://github.com/rime/librime
 Source: %{name}-%{version}.tar.xz
-Source1:librime-lua.tar.xz
 Source99:   baselibs.conf
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
@@ -50,8 +49,6 @@
 %else
 BuildRequires:  boost-devel
 %endif
-# for plugins
-BuildRequires:  pkgconfig(lua) >= 5.1
 
 %description
 Rime is an Traditional Chinese input method engine.
@@ -94,27 +91,12 @@
 
 This package is the development headers of Rime.
 
-%package -n librime-lua
-Summary:Extending RIME with Lua scripts
-Group:  System/Libraries
-Requires:   rime = %{version}
-
-%description -n librime-lua
-Extending RIME with lua scripts.
-Features:
-Supports extending RIME processors, segmentors, translators and filters
-Provides high-level programming model for translators and filters
-Loaded dynamically as a librime plugin
-
-This package is a plugin of librime.
-
 %prep
 %setup -q
 %if 0%{?suse_version} <= 1230
 %patch1 -p1
 %patch2 -p1
 %endif
-tar xf %{S:1} -C plugins
 
 %build
 # build internal capnproto
@@ -125,12 +107,23 @@
 make install
 popd
 
-%cmake -DCapnProto_DIR=thirdparty/src/%{_lib}/cmake/CapnProto \
-   -DBUILD_MERGED_PLUGINS=OFF
+%cmake -DCapnProto_DIR=thirdparty/src/%{_lib}/cmake/CapnProto
 make %{?_smp_mflags}
 
 %install
 %cmake_install
+# librime-lua
+mkdir -p %{buildroot}%{_includedir}/rime
+for i in $(find src/rime/ -type f -name "*.h"); do
+  dir=$(dirname $i);
+  if [ "$dir" != "src/rime" ]; then
+target_dir=$(basename $dir);
+mkdir -p %{buildroot}%{_includedir}/rime/$target_dir;
+cp -r $i %{buildroot}%{_includedir}/rime/$target_dir/;
+  else
+cp -r $i %{buildroot}%{_includedir}/rime/;
+  fi
+done
 
 %post -n librime1 -p /sbin/ldconfig
 %postun -n librime1 -p /sbin/ldconfig
@@ -149,11 +142,9 @@
 %files devel
 %{_includedir}/rime_api.h
 %{_includedir}/rime_levers_api.h
+%{_includedir}/rime
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/rime.pc
 %{_datadir}/cmake/rime/
 
-%files -n librime-lua
-%{_libdir}/librime-lua.so
-
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.1XHod1/_old  2020-10-27 18:59:45.754778933 +0100
+++ /var/tmp/diff_new_pack.1XHod1/_new  2020-10-27 18:59:45.754778933 +0100
@@ -8,13 +8,6 @@
 master
 enable
   
-  
-https://github.com/hchunhui/librime-lua.git
-git
-.git
-_none_
-master
-  
   
 librime-*.tar
 xz




commit librime for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2020-10-23 12:22:56

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.3463 (New)


Package is "librime"

Fri Oct 23 12:22:56 2020 rev:23 rq:843571 version:1.6.2~git20200921.4e518b9

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2020-09-29 
19:01:24.173744296 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new.3463/librime.changes
2020-10-23 12:24:45.556892894 +0200
@@ -1,0 +2,5 @@
+Mon Oct 19 06:28:16 UTC 2020 - emri...@gmail.com
+
+- Add plugin librime-lua
+
+---

New:

  librime-lua.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.b66x9x/_old  2020-10-23 12:24:46.372895235 +0200
+++ /var/tmp/diff_new_pack.b66x9x/_new  2020-10-23 12:24:46.372895235 +0200
@@ -24,6 +24,7 @@
 Group:  System/I18n/Chinese
 URL:https://github.com/rime/librime
 Source: %{name}-%{version}.tar.xz
+Source1:librime-lua.tar.xz
 Source99:   baselibs.conf
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
@@ -49,6 +50,8 @@
 %else
 BuildRequires:  boost-devel
 %endif
+# for plugins
+BuildRequires:  pkgconfig(lua) >= 5.1
 
 %description
 Rime is an Traditional Chinese input method engine.
@@ -91,12 +94,27 @@
 
 This package is the development headers of Rime.
 
+%package -n librime-lua
+Summary:Extending RIME with Lua scripts
+Group:  System/Libraries
+Requires:   rime = %{version}
+
+%description -n librime-lua
+Extending RIME with lua scripts.
+Features:
+Supports extending RIME processors, segmentors, translators and filters
+Provides high-level programming model for translators and filters
+Loaded dynamically as a librime plugin
+
+This package is a plugin of librime.
+
 %prep
 %setup -q
 %if 0%{?suse_version} <= 1230
 %patch1 -p1
 %patch2 -p1
 %endif
+tar xf %{S:1} -C plugins
 
 %build
 # build internal capnproto
@@ -107,7 +125,8 @@
 make install
 popd
 
-%cmake -DCapnProto_DIR=thirdparty/src/%{_lib}/cmake/CapnProto
+%cmake -DCapnProto_DIR=thirdparty/src/%{_lib}/cmake/CapnProto \
+   -DBUILD_MERGED_PLUGINS=OFF
 make %{?_smp_mflags}
 
 %install
@@ -134,4 +153,7 @@
 %{_libdir}/pkgconfig/rime.pc
 %{_datadir}/cmake/rime/
 
+%files -n librime-lua
+%{_libdir}/librime-lua.so
+
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.b66x9x/_old  2020-10-23 12:24:46.408895338 +0200
+++ /var/tmp/diff_new_pack.b66x9x/_new  2020-10-23 12:24:46.408895338 +0200
@@ -8,6 +8,13 @@
 master
 enable
   
+  
+https://github.com/hchunhui/librime-lua.git
+git
+.git
+_none_
+master
+  
   
 librime-*.tar
 xz




commit librime for openSUSE:Factory

2020-09-29 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2020-09-29 19:01:07

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.4249 (New)


Package is "librime"

Tue Sep 29 19:01:07 2020 rev:22 rq:837815 version:1.6.2~git20200921.4e518b9

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2020-01-07 
23:53:16.908029079 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new.4249/librime.changes
2020-09-29 19:01:24.173744296 +0200
@@ -1,0 +2,12 @@
+Fri Sep 25 03:13:30 UTC 2020 - i...@marguerite.su
+
+- Update to version 1.6.2~git20200921.4e518b9:
+  * chore: fix rime_deployer
+  * fix(rime_api.cc): dangling pointer returned from RimeGetSharedDataDir
+  * feat(chord_composer): use Control, Alt, Shift to input chord
+  * feat(tools/rime_proto_console): demo for proto api
+  * feat(api): include candidate labels in proto message
+  * feat(selector): support 4 combinations of horizontal/vertical text
+orientation and stacked/linear candidate list layout
+
+---

Old:

  librime-1.5.3.tar.gz

New:

  librime-1.6.2~git20200921.4e518b9.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.0Wd3zv/_old  2020-09-29 19:01:26.389746988 +0200
+++ /var/tmp/diff_new_pack.0Wd3zv/_new  2020-09-29 19:01:26.393746993 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   librime
-Version:1.5.3
+Version:1.6.2~git20200921.4e518b9
 Release:0
 Summary:Rime Input Method Engine
 License:BSD-3-Clause
 Group:  System/I18n/Chinese
 URL:https://github.com/rime/librime
-Source: %{name}-%{version}.tar.gz
+Source: %{name}-%{version}.tar.xz
 Source99:   baselibs.conf
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
@@ -99,8 +99,15 @@
 %endif
 
 %build
-%cmake \
-  -DCMAKE_BUILD_TYPE=RelWithDebInfo
+# build internal capnproto
+mkdir -p thirdparty/src/capnproto/build
+pushd thirdparty/src/capnproto/build
+cmake -DCMAKE_INSTALL_PREFIX=../../../ -DCMAKE_CXX_FLAGS="%{optflags} -fPIC" ..
+make
+make install
+popd
+
+%cmake -DCapnProto_DIR=thirdparty/src/%{_lib}/cmake/CapnProto
 make %{?_smp_mflags}
 
 %install
@@ -114,10 +121,11 @@
 %doc README.md
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
+%{_bindir}/rime_patch
 
 %files -n librime1
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.%{version}
+%{_libdir}/%{name}.so.1.6.1
 
 %files devel
 %{_includedir}/rime_api.h

++ _service ++
--- /var/tmp/diff_new_pack.0Wd3zv/_old  2020-09-29 19:01:26.429747037 +0200
+++ /var/tmp/diff_new_pack.0Wd3zv/_new  2020-09-29 19:01:26.429747037 +0200
@@ -3,8 +3,9 @@
 https://github.com/rime/librime
 git
 .git
-1.4.1~git%cd.%h
+1.6.2~git%cd.%h
 master
+master
 enable
   
   




commit librime for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2020-01-07 23:52:55

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.6675 (New)


Package is "librime"

Tue Jan  7 23:52:55 2020 rev:21 rq:761289 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2019-07-21 
11:35:17.464766657 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new.6675/librime.changes
2020-01-07 23:53:16.908029079 +0100
@@ -1,0 +2,10 @@
+Mon Jan  6 18:23:35 UTC 2020 - Xu Zhao 
+
+- Update to version 1.5.3:
+  * fix(cmake): find optional dependency icu [skip appveyor] (17a80f8)
+  * fix(single_char_filter): broken in librime 1.5.2 (6948a62)
+  * feat(appveyor): build variant "rime-with-plugins" for tagged commits [skip 
travis] (eef8c30)
+- changes in 1.5.2:
+  * fix(user_dictionary, contextual_translation): fix user phrase quality; 
order contextual suggestions by type (695c32)
+
+---

Old:

  librime-1.4.1~git20190324.dcdc301.tar.xz

New:

  librime-1.5.3.tar.gz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.5bpM2u/_old  2020-01-07 23:53:17.916029602 +0100
+++ /var/tmp/diff_new_pack.5bpM2u/_new  2020-01-07 23:53:17.920029604 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   librime
-Version:1.4.1~git20190324.dcdc301
+Version:1.5.3
 Release:0
 Summary:Rime Input Method Engine
 License:BSD-3-Clause
 Group:  System/I18n/Chinese
 URL:https://github.com/rime/librime
-Source: %{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.gz
 Source99:   baselibs.conf
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
@@ -66,8 +66,8 @@
 
 %package -n librime1
 Summary:Rime Input Method Engine
-Group:  System/Libraries
 # dictionaries
+Group:  System/Libraries
 Recommends: brise
 # configuration manager
 Requires:   rime-plum
@@ -97,7 +97,6 @@
 %patch1 -p1
 %patch2 -p1
 %endif
-sed -i "s/1.46.0/1.36.0/" CMakeLists.txt
 
 %build
 %cmake \
@@ -118,7 +117,7 @@
 
 %files -n librime1
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.4.0
+%{_libdir}/%{name}.so.%{version}
 
 %files devel
 %{_includedir}/rime_api.h




commit librime for openSUSE:Factory

2019-07-21 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2019-07-21 11:35:16

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.4126 (New)


Package is "librime"

Sun Jul 21 11:35:16 2019 rev:20 rq:717226 version:1.4.1~git20190324.dcdc301

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2019-03-27 
16:21:51.471524083 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new.4126/librime.changes
2019-07-21 11:35:17.464766657 +0200
@@ -1,0 +2,8 @@
+Sat Jul 20 13:22:57 UTC 2019 - Marguerite Su 
+
+- Don't rely on brise anymore.
+  * brise is no longer the only way to install dictionaries.
+rime-plum can install dictionaries at runtime. If you still
+need prebuilt dictionaries, brise is still recommended.
+
+---



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.wkWaD3/_old  2019-07-21 11:35:17.948766558 +0200
+++ /var/tmp/diff_new_pack.wkWaD3/_new  2019-07-21 11:35:17.952766557 +0200
@@ -67,7 +67,10 @@
 %package -n librime1
 Summary:Rime Input Method Engine
 Group:  System/Libraries
-Requires:   brise
+# dictionaries
+Recommends: brise
+# configuration manager
+Requires:   rime-plum
 
 %description -n librime1
 Rime is an Traditional Chinese input method engine.




commit librime for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2019-03-27 16:21:35

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new.25356 (New)


Package is "librime"

Wed Mar 27 16:21:35 2019 rev:19 rq:688945 version:1.4.1~git20190324.dcdc301

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2018-10-15 
10:49:16.567016168 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new.25356/librime.changes   
2019-03-27 16:21:51.471524083 +0100
@@ -1,0 +2,34 @@
+Mon Mar 25 08:57:23 UTC 2019 - Marguerite Su 
+
+- move binaries to main package
+
+---
+Mon Mar 25 02:40:07 UTC 2019 - opensuse-packag...@opensuse.org
+
+- Update to version 1.4.1~git20190324.dcdc301:
+  * feat(dict): specify vocabulary db name in dict settings
+  * chore(syllabifier): code cleanup
+  * fix(syllabifier): enable_completion not working
+  * feat(grammar): compare homophones/homographs in sentence
+  * refactor(Makefile): rename makefiles and change build directories
+  * chore(README.md): add contributor  [ci skip]
+  * refactor(sample): migrate sample plugin to new plugin build system
+  * refactor(cmake, plugins): BUILD_SEPARATE_LIBS by module, plus rime-plugins 
library or separate plugin libraries
+  * feat(CMakeList.txt): add plugin build support (#257)
+  * fix(config/plugins.h): memory leak caused by non-virtual destructor
+
+---
+Sun Feb 24 06:02:33 UTC 2019 - opensuse-packag...@opensuse.org
+
+- Update to version 1.4.1~git20190219.c587900:
+  * feat(rime_api): get candidate list from index
+  * refactor(algo, dict, translators): use logarithmic weights internally
+  * fix(table_translator): null pointer exception when dict entries are 
filtered
+  * chore(table_translator): move collected dict entries to sentence 
translation
+  * perf(dictionary): refactor DictEntryIterator and do partial sort
+  * fix(rime_levers_api.h): customize_bool() misused `bool` type
+- changes in 1.4.0
+  * user_config should not fall back to shared data
+  * remove dangling symlinks
+
+---

Old:

  librime-1.3.1+git20180822.19cea07e.tar.xz

New:

  _service
  baselibs.conf
  librime-1.4.1~git20190324.dcdc301.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.ALZ3KL/_old  2019-03-27 16:21:52.039523964 +0100
+++ /var/tmp/diff_new_pack.ALZ3KL/_new  2019-03-27 16:21:52.039523964 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,13 +17,14 @@
 
 
 Name:   librime
-Version:1.3.1+git20180822.19cea07e
+Version:1.4.1~git20190324.dcdc301
 Release:0
 Summary:Rime Input Method Engine
 License:BSD-3-Clause
 Group:  System/I18n/Chinese
 URL:https://github.com/rime/librime
 Source: %{name}-%{version}.tar.xz
+Source99:   baselibs.conf
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
 #PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower
@@ -44,7 +45,7 @@
 BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_locale-devel
 BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_signals-devel
+BuildRequires:  libboost_system-devel
 %else
 BuildRequires:  boost-devel
 %endif
@@ -66,6 +67,7 @@
 %package -n librime1
 Summary:Rime Input Method Engine
 Group:  System/Libraries
+Requires:   brise
 
 %description -n librime1
 Rime is an Traditional Chinese input method engine.
@@ -77,7 +79,6 @@
 %package devel
 Summary:Development files of Rime
 Group:  Development/Libraries/C and C++
-Requires:   librime1 = %{version}
 Requires:   rime = %{version}
 
 %description devel
@@ -114,7 +115,7 @@
 
 %files -n librime1
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.3.1
+%{_libdir}/%{name}.so.1.4.0
 
 %files devel
 %{_includedir}/rime_api.h

++ _service ++

  
https://github.com/rime/librime
git
.git
1.4.1~git%cd.%h
master
enable
  
  
librime-*.tar
xz
  
  
librime
  

++ baselibs.conf ++
librime1
  post "/sbin/ldconfig"
  postun "/sbin/ldconfig"



commit librime for openSUSE:Factory

2018-10-15 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2018-10-15 10:49:08

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is "librime"

Mon Oct 15 10:49:08 2018 rev:18 rq:641404 version:1.3.1+git20180822.19cea07e

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2017-02-03 
17:48:27.217429949 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2018-10-15 
10:49:16.567016168 +0200
@@ -1,0 +2,20 @@
+Thu Oct 11 14:30:15 UTC 2018 - tsing...@outlook.com
+
+- Update to version 1.3.1+git20180822.19cea07e:
+  * feat: always_show_comments option
+  * feat(language): shared user dictionary per language
+  * fix(SchemaUpdate): read compiled schema from shared build if there is no 
user build
+  * feat(config): build config files if source files changed
+  * feat(dict): relocate binary files to $user_data_dir/build
+  * feat(dict): no conditional compilation on arm
+  * feat(config): support append and merge syntax
+  * feat(config): references to optional config resources, ending with "?"
+  * config_data: transactional copy on write
+  * fix(chord_composer): allow editor to define BackSpace key behavior
+  * feat(chord_composer): support chording with function keys
+  * feat(chord_composer): accept escaped chording keys
+  * feat(translator): add history_translator (#115)
+  * (feature) add codepoint_translator
+  * Fix memory leak at rime_candidate_copy. 
https://github.com/rime/home/issues/94
+
+---

Old:

  _service
  _servicedata
  librime-1.2.9+git20160226.df4192c.tar.xz

New:

  librime-1.3.1+git20180822.19cea07e.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.cKrTYB/_old  2018-10-15 10:49:17.443015234 +0200
+++ /var/tmp/diff_new_pack.cKrTYB/_new  2018-10-15 10:49:17.447015230 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# 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
@@ -12,30 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   librime
-Version:1.2.9+git20160226.df4192c
+Version:1.3.1+git20180822.19cea07e
 Release:0
 Summary:Rime Input Method Engine
 License:BSD-3-Clause
 Group:  System/I18n/Chinese
-Url:https://github.com/rime/librime
+URL:https://github.com/rime/librime
 Source: %{name}-%{version}.tar.xz
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
 #PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower
 Patch2: librime-1.2-BOOST_NO_SCOPED_ENUMS.patch
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_locale-devel
-BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_signals-devel
-%else
-BuildRequires:  boost-devel
-%endif
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  glog-devel
@@ -44,11 +36,18 @@
 BuildRequires:  libkyotocabinet-devel
 BuildRequires:  marisa-devel
 BuildRequires:  opencc-devel >= 1.0.2
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  xorg-x11-proto-devel
 BuildRequires:  yaml-cpp-devel
 BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_locale-devel
+BuildRequires:  libboost_regex-devel
+BuildRequires:  libboost_signals-devel
+%else
+BuildRequires:  boost-devel
+%endif
 
 %description
 Rime is an Traditional Chinese input method engine.
@@ -108,19 +107,18 @@
 %postun -n librime1 -p /sbin/ldconfig
 
 %files -n rime
-%defattr(-,root,root)
-%doc LICENSE README.md
+%license LICENSE
+%doc README.md
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
 
 %files -n librime1
-%defattr(-,root,root)
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.2.9
+%{_libdir}/%{name}.so.1.3.1
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/rime_api.h
+%{_includedir}/rime_levers_api.h
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/rime.pc
 %{_datadir}/cmake/rime/

++ librime-1.2.9+git20160226.df4192c.tar.xz -> 

commit librime for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2017-02-02 15:46:07

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is "librime"

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2016-04-22 
16:23:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2017-02-03 
17:48:27.217429949 +0100
@@ -1,0 +2,5 @@
+Wed Feb  1 13:16:36 UTC 2017 - adam.ma...@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+---



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.Fu0C9t/_old  2017-02-03 17:48:27.777351013 +0100
+++ /var/tmp/diff_new_pack.Fu0C9t/_new  2017-02-03 17:48:27.781350450 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# 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
@@ -28,7 +28,14 @@
 Patch1: librime-1.1-gcc53613.patch
 #PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower
 Patch2: librime-1.2-BOOST_NO_SCOPED_ENUMS.patch
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_locale-devel
+BuildRequires:  libboost_regex-devel
+BuildRequires:  libboost_signals-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  glog-devel




commit librime for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2016-04-22 16:23:01

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is "librime"

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2016-03-07 
13:26:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2016-04-22 
16:23:03.0 +0200
@@ -1,0 +2,13 @@
+Thu Mar 17 17:50:11 UTC 2016 - mplus...@suse.com
+
+- Use cmake macros
+- Drop useless conditional build dependencies for non-devel
+  packages
+
+
+Mon Mar 14 17:52:10 UTC 2016 - qz...@suse.com
+
+- Change LICENSE from GPL-3.0+ to BSD-3-Clause to keep consistent
+  with upstream.
+
+---



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.GcD4Yy/_old  2016-04-22 16:23:04.0 +0200
+++ /var/tmp/diff_new_pack.GcD4Yy/_new  2016-04-22 16:23:04.0 +0200
@@ -20,7 +20,7 @@
 Version:1.2.9+git20160226.df4192c
 Release:0
 Summary:Rime Input Method Engine
-License:GPL-3.0+
+License:BSD-3-Clause
 Group:  System/I18n/Chinese
 Url:https://github.com/rime/librime
 Source: %{name}-%{version}.tar.xz
@@ -34,30 +34,6 @@
 BuildRequires:  glog-devel
 BuildRequires:  googletest-devel
 BuildRequires:  leveldb-devel
-%if 0%{?suse_version} >= 1220
-BuildRequires:  boost-devel
-%endif
-%if 0%{?suse_version} == 1140
-BuildRequires:  libboost_filesystem1_44_0
-BuildRequires:  libboost_regex1_44_0
-BuildRequires:  libboost_signals1_44_0
-BuildRequires:  libboost_system1_44_0
-BuildRequires:  libboost_thread1_44_0
-%endif
-%if 0%{?suse_version} == 1210
-BuildRequires:  libboost_filesystem1_46_1
-BuildRequires:  libboost_regex1_46_1
-BuildRequires:  libboost_signals1_46_1
-BuildRequires:  libboost_system1_46_1
-BuildRequires:  libboost_thread1_46_1
-%endif
-%if 0%{?sles_version}
-BuildRequires:  libboost_filesystem1_36_0
-BuildRequires:  libboost_regex1_36_0
-BuildRequires:  libboost_signals1_36_0
-BuildRequires:  libboost_system1_36_0
-BuildRequires:  libboost_thread1_36_0
-%endif
 BuildRequires:  libkyotocabinet-devel
 BuildRequires:  marisa-devel
 BuildRequires:  opencc-devel >= 1.0.2
@@ -114,18 +90,14 @@
 sed -i "s/1.46.0/1.36.0/" CMakeLists.txt
 
 %build
-mkdir -pv build
-pushd build
-cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} \
-  -DCMAKE_CXX_FLAGS="%{optflags}" ..
+%cmake \
+  -DCMAKE_BUILD_TYPE=RelWithDebInfo
 make %{?_smp_mflags}
 
 %install
-pushd build
-make DESTDIR=%{buildroot} install
+%cmake_install
 
 %post -n librime1 -p /sbin/ldconfig
-
 %postun -n librime1 -p /sbin/ldconfig
 
 %files -n rime




commit librime for openSUSE:Factory

2016-03-07 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2016-03-07 13:26:31

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is "librime"

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2015-08-12 
15:14:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2016-03-07 
13:26:54.0 +0100
@@ -1,0 +2,15 @@
+Wed Mar 02 12:32:16 UTC 2016 - i...@marguerite.su
+
+- Update to version 1.2.9+git20160226.df4192c:
+  + pass function argument by value instead of by const reference.
+  + (feature) translation past caret pos.
+  + (fix) in horizontal mode, right arrow key should not fall back
+to moving caret when reached the end of candidate list.
+  + (feature) jump left by word only at stops of multiple spans.
+  + (feature) set caret between preedit and prompt string.
+  + (tools) show caret pos in rime_api_console.
+  + (fix) caret on the left side of input or the selected range.
+  + Fix issue #64.
+  + Add a comment for explanation.
+
+---

Old:

  librime-1.2.9+git20150802.ee3029e.tar.xz

New:

  _servicedata
  librime-1.2.9+git20160226.df4192c.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.zrzeIK/_old  2016-03-07 13:26:55.0 +0100
+++ /var/tmp/diff_new_pack.zrzeIK/_new  2016-03-07 13:26:55.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   librime
-Version:1.2.9+git20150802.ee3029e
+Version:1.2.9+git20160226.df4192c
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+

++ _service ++
--- /var/tmp/diff_new_pack.zrzeIK/_old  2016-03-07 13:26:55.0 +0100
+++ /var/tmp/diff_new_pack.zrzeIK/_new  2016-03-07 13:26:55.0 +0100
@@ -1,14 +1,17 @@
 
-   
-   https://github.com/rime/librime
-   1.2.9+git%cd.%h
-   git
-   develop
-   
-   
-   xz
-   *.tar
-   
-   
-   
+  
+https://github.com/rime/librime.git
+git
+.git
+1.2.9+git%cd.%h
+develop
+enable
+  
+  
+librime-*.tar
+xz
+  
+  
+librime
+  
 

++ _servicedata ++


https://github.com/rime/librime.git
  df4192cc0980b21bc45f4eb142ba24cfa78a50e0++
 librime-1.2.9+git20150802.ee3029e.tar.xz -> 
librime-1.2.9+git20160226.df4192c.tar.xz ++
 13973 lines of diff (skipped)




commit librime for openSUSE:Factory

2015-08-12 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2015-08-12 15:14:47

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2015-02-27 
10:59:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2015-08-12 
15:14:49.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug 11 17:31:40 UTC 2015 - i...@marguerite.su
+
+- update version 1.2.9+git20140802.ee3029e
+
+---

Old:

  librime-1.2.9.tar.gz

New:

  _service
  librime-1.2.9+git20150802.ee3029e.tar.xz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.Cs9has/_old  2015-08-12 15:14:50.0 +0200
+++ /var/tmp/diff_new_pack.Cs9has/_new  2015-08-12 15:14:50.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# Copyright (c) 2015 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
@@ -17,13 +17,13 @@
 
 
 Name:   librime
-Version:1.2.9
+Version:1.2.9+git20150802.ee3029e
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
 Group:  System/I18n/Chinese
-Url:http://code.google.com/p/rimeime/
-Source: %{name}-%{version}.tar.gz
+Url:https://github.com/rime/librime
+Source: %{name}-%{version}.tar.xz
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
 #PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower

++ _service ++
services
service name=tar_scm mode=disabled
param name=urlhttps://github.com/rime/librime/param
param name=versionformat1.2.9+git%cd.%h/param
param name=scmgit/param
param name=revisiondevelop/param
/service
service name=recompress mode=disabled
param name=compressionxz/param
param name=file*.tar/param
/service
service name=set_version mode=disabled
/service
/services



commit librime for openSUSE:Factory

2015-02-27 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2015-02-27 10:59:12

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2014-08-11 
10:08:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2015-02-27 
10:59:14.0 +0100
@@ -1,0 +2,26 @@
+Tue Feb 24 15:22:24 UTC 2015 - hillw...@linuxfans.org
+
+- update to 1.2.9
+  * CMakeLists.txt: bump version to 1.2.9.
+  * Makefile: add make targets 'thirdparty/*' to build individual libraries.
+  * include/rime_api.h: add RIME_MODULE_LIST, RIME_REGISTER_MODULE_GROUP.
+  * legacy/src/legacy_module.cc: plugin module 'rime-legacy' for GPL'd code,
+providing component 'legacy_userdb' for user dictionary upgrade.
+  * src/setup.cc: define module groups default and deployer, to avoid
+naming a list of built-bin modules in RimeTraits::modules.
+  * test/table_test.cc: fix random segment faults when run shuffled.
+  * thirdparty/src/leveldb: new dependency LevelDB, replacing Kyoto Cabinet.
+  * dict/level_db: userdb implementation based on LevelDB, replacing treeDb.
+  * dict/tree_db: moved to legacy/src/.
+  * dict/user_db: refactored and modularized to ease adding implementations.
+  * gear/memory: save cached phrases as soon as the next composition begins.
+  * gear/recognizer: match space iff set recognizer/use_space: true.
+  * gear/simplifier: catch and log OpenCC exceptions when loading.
+  * gear/single_char_filter: bring single character candidates to the front.
+  * lever/deployment_tasks: update and rename task 'user_dict_upgrade'. 
+  * gear/cjk_minifier: support CJK Extension E
+  * gear/simplifier: adapt to OpenCC 1.0 API.
+  * thirdparty/src/opencc: update OpenCC to v1.0.2 (incompatible with v0.4).
+
+ 
+---

Old:

  librime-1.2+git20140810.tar.gz

New:

  librime-1.2.9.tar.gz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.zajmfw/_old  2015-02-27 10:59:16.0 +0100
+++ /var/tmp/diff_new_pack.zajmfw/_new  2015-02-27 10:59:16.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:   librime
-Version:1.2+git20140810
+Version:1.2.9
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
@@ -33,6 +33,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  glog-devel
 BuildRequires:  googletest-devel
+BuildRequires:  leveldb-devel
 %if 0%{?suse_version} = 1220
 BuildRequires:  boost-devel
 %endif
@@ -59,7 +60,7 @@
 %endif
 BuildRequires:  libkyotocabinet-devel
 BuildRequires:  marisa-devel
-BuildRequires:  opencc-devel
+BuildRequires:  opencc-devel = 1.0.2
 BuildRequires:  pkg-config
 BuildRequires:  xorg-x11-proto-devel
 BuildRequires:  yaml-cpp-devel
@@ -129,14 +130,14 @@
 
 %files -n rime
 %defattr(-,root,root)
-%doc LICENSE README
+%doc LICENSE README.md
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
 
 %files -n librime1
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.2.0
+%{_libdir}/%{name}.so.1.2.9
 
 %files devel
 %defattr(-,root,root)

++ librime-1.2+git20140810.tar.gz - librime-1.2.9.tar.gz ++
/work/SRC/openSUSE:Factory/librime/librime-1.2+git20140810.tar.gz 
/work/SRC/openSUSE:Factory/.librime.new/librime-1.2.9.tar.gz differ: char 5, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2014-08-11 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2014-08-11 10:07:47

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2014-03-18 
13:49:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2014-08-11 
10:08:11.0 +0200
@@ -1,0 +2,40 @@
+Sun Aug 10 07:44:59 UTC 2014 - i...@marguerite.su
+
+- update version 1.2+git20140810
+  * config: support references to list elements in key paths.
+  * rime_api: add API functions to access complex structures 
+in config; add API to get the raw input and cursor 
+position, or to select a candidate.
+  * switcher: enable folding IME options in the switcher menu.
+  * dict_compiler: also detect changes in essay when updating
+a dictionary; support updating prism without the source 
+file of the dictionary.
+  * preset_vocabulary: load 'essay.txt' instead of 'essay.kct'.
+  * reverse_lookup_dictionary: adopt a new file format with 
+50% space saving.
+  * table: add support for a new binary format with 20% space 
+saving; fix alignment on ARM.
+  * ascii_composer: do not toggle IME states when long pressing 
+Shift key; support discarding unfinished input when 
+switching to ASCII mode.
+  * affix_segmentor: fix issues with selecting a partial-match 
+candidate.
+  * chord_composer: commit raw input composed with original 
+key strokes.
+  * navigator: do not use BackSpace to revert selecting a 
+candidate but to edit the input after moving the cursor 
+left or right.
+  * punctuator: support 'ascii_punct' option for switching 
+between Chinese and Western (ASCII) punctuations.
+  * speller: auto-select candidates by pattern matching against 
+the code; fix issues to cooperate with punctuator.
+  * CMakeLists.txt: add options ENABLE_LOGGING and BOOST_USE_CXX11;
+introduce a new dependency: libmarisa.
+  * cmake/FindYamlCpp.cmake: check the availability of the 
+new (v0.5) API.
+  * sample: the directory containing a sample plug-in module.
+  * tools/rime_patch.cc: a command line tool to create patches. 
+- drop librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
+- add librime-1.2-BOOST_NO_SCOPED_ENUMS.patch
+
+---

Old:

  librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
  librime-1.1git20140306.tar.gz

New:

  librime-1.2+git20140810.tar.gz
  librime-1.2-BOOST_NO_SCOPED_ENUMS.patch



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.tpKw8D/_old  2014-08-11 10:08:12.0 +0200
+++ /var/tmp/diff_new_pack.tpKw8D/_new  2014-08-11 10:08:12.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librime
-Version:1.1git20140306
+Version:1.2+git20140810
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
@@ -27,7 +27,7 @@
 #PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
 Patch1: librime-1.1-gcc53613.patch
 #PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower
-Patch2: librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
+Patch2: librime-1.2-BOOST_NO_SCOPED_ENUMS.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -58,6 +58,7 @@
 BuildRequires:  libboost_thread1_36_0
 %endif
 BuildRequires:  libkyotocabinet-devel
+BuildRequires:  marisa-devel
 BuildRequires:  opencc-devel
 BuildRequires:  pkg-config
 BuildRequires:  xorg-x11-proto-devel
@@ -135,7 +136,7 @@
 %files -n librime1
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.1.0
+%{_libdir}/%{name}.so.1.2.0
 
 %files devel
 %defattr(-,root,root)

++ librime-1.1-BOOST_NO_SCOPED_ENUMS.patch - 
librime-1.2-BOOST_NO_SCOPED_ENUMS.patch ++
--- /work/SRC/openSUSE:Factory/librime/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch  
2014-03-18 13:49:48.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.librime.new/librime-1.2-BOOST_NO_SCOPED_ENUMS.patch 
2014-08-11 10:08:11.0 +0200
@@ -1,21 +1,7 @@
-Index: librime-1.1git20140306/include/rime/lever/customizer.h
+Index: librime-1.2+git20140810/include/rime/lever/switcher_settings.h
 ===
 librime-1.1git20140306.orig/include/rime/lever/customizer.h
-+++ librime-1.1git20140306/include/rime/lever/customizer.h
-@@ -8,6 +8,9 @@
- #define RIME_CUSTOMIZER_H_
- 
- #include string
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #define BOOST_NO_CXX11_SCOPED_ENUMS
- #include boost/filesystem.hpp
- 
-Index: 

commit librime for openSUSE:Factory

2014-03-18 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2014-03-18 13:49:48

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2013-11-17 
20:19:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2014-03-18 
13:49:49.0 +0100
@@ -1,0 +2,19 @@
+Wed Mar  5 11:22:05 UTC 2014 - i...@marguerite.su
+
+- update version 1.1git20140306
+  * new build dependency: compiler with C++11 support.
+tested with GCC 4.8.2, Apple LLVM version 5.0, MSVC 12 (2013).
+  * encoder: disable warnings for phrase encode failures in log output;
+limit the number of results in encoding a phrase with multiple solutions.
+  * punctuator: fixed a bug in matching nested pairs of 'symbols'.
+  * speller: better support for auto-committing, allowing users of table
+based input schemata to omit explicitly selecting candidates in many cases.
+  * schema_list_translator: option for static schema list order.
+  * table_translator: fixed the range of CJK-D in charset filter.
+- added patch librime-1.1-gcc53613.patch
+  * workaround for gcc bug 53613: Cannot override a inline = default 
+virtual destructor.
+- added patch librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
+  * fix boost 1.49 filesystem linking on 12.3 and lower
+
+---

Old:

  librime-1.0.tar.gz

New:

  librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
  librime-1.1-gcc53613.patch
  librime-1.1git20140306.tar.gz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.BIytm0/_old  2014-03-18 13:49:49.0 +0100
+++ /var/tmp/diff_new_pack.BIytm0/_new  2014-03-18 13:49:49.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# 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
@@ -17,13 +17,17 @@
 
 
 Name:   librime
-Version:1.0
+Version:1.1git20140306
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
 Group:  System/I18n/Chinese
 Url:http://code.google.com/p/rimeime/
 Source: %{name}-%{version}.tar.gz
+#PATCH-FIX-OPENSUSE workaround for gcc bug 53613 on 12.3 and lower
+Patch1: librime-1.1-gcc53613.patch
+#PATCH-FIX-OPENSUSE fix boost 1.49 filesystem linking on 12.3 and lower
+Patch2: librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -100,7 +104,11 @@
 This package is the development headers of Rime.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%if 0%{?suse_version} = 1230
+%patch1 -p1
+%patch2 -p1
+%endif
 sed -i s/1.46.0/1.36.0/ CMakeLists.txt
 
 %build
@@ -127,7 +135,7 @@
 %files -n librime1
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.1.0.0
+%{_libdir}/%{name}.so.1.1.0
 
 %files devel
 %defattr(-,root,root)

++ librime-1.1-BOOST_NO_SCOPED_ENUMS.patch ++
Index: librime-1.1git20140306/include/rime/lever/customizer.h
===
--- librime-1.1git20140306.orig/include/rime/lever/customizer.h
+++ librime-1.1git20140306/include/rime/lever/customizer.h
@@ -8,6 +8,9 @@
 #define RIME_CUSTOMIZER_H_
 
 #include string
+#ifndef BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_SCOPED_ENUMS
+#endif // BOOST_NO_SCOPED_ENUMS
 #define BOOST_NO_CXX11_SCOPED_ENUMS
 #include boost/filesystem.hpp
 
Index: librime-1.1git20140306/include/rime/lever/switcher_settings.h
===
--- librime-1.1git20140306.orig/include/rime/lever/switcher_settings.h
+++ librime-1.1git20140306/include/rime/lever/switcher_settings.h
@@ -9,6 +9,9 @@
 
 #include string
 #include vector
+#ifndef BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_SCOPED_ENUMS
+#endif // BOOST_NO_SCOPED_ENUMS
 #include boost/filesystem.hpp
 #include custom_settings.h
 
Index: librime-1.1git20140306/include/rime/lever/user_dict_manager.h
===
--- librime-1.1git20140306.orig/include/rime/lever/user_dict_manager.h
+++ librime-1.1git20140306/include/rime/lever/user_dict_manager.h
@@ -9,6 +9,9 @@
 
 #include string
 #include vector
+#ifndef BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_SCOPED_ENUMS
+#endif // BOOST_NO_SCOPED_ENUMS
 #include boost/filesystem.hpp
 
 namespace rime {
Index: 

commit librime for openSUSE:Factory

2013-11-17 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2013-11-17 20:19:41

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2013-07-02 
12:25:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2013-11-17 
20:19:42.0 +0100
@@ -1,0 +2,30 @@
+Mon Nov 11 00:35:48 UTC 2013 - i...@marguerite.su
+
+- update version 1.0
+  * rime_api: version 1.0 breaks ABI compatiblility.
+
+the minimum changes in code required to migrate from rime 0.9 api is
+to initialize RimeTraits with either RIME_STRUCT or RIME_STRUCT_INIT macro.
+
+while source code compatibility is largely maintained with the exception
+of the aforementioned RimeTraits structure, rime 1.0 introduces a version
+controlled RimeApi structure which provides all the api functions.
+
+  * module: suppport adding modules; modulize 'gears' and 'levers'.
+  * ticket: used to instantiate compnents and to associate the instance with
+a name space in the configuration.
+  * encoder: encode new phrases for table_translator and script_translator
+using different rules.
+  * affix_segmentor: strip optional prefix and suffix from a code segment.
+  * reverse_lookup_filter: lookup candidate text for code in a specified
+dictonary.
+  * shape: add full-shape support.
+  * key_binder: switch input schemata and toggle options with hotkeys.
+  * switcher: list input schemata ordered by recency; support radio options.
+  * tsv: fix reading user dict snapshot files with DOS line endings.
+  * entry_collector: support custom order of table columns in *.dict.yaml.
+  * CMakeLists.txt: add options BUILD_TEST and BUILD_SEPARATE_LIBS.
+- removed patch: librime-0.9.9-fail_gtest.patch
+  * upstreamed
+
+---

Old:

  librime-0.9.9-fail_gtest.patch
  librime-0.9.9.tar.gz

New:

  librime-1.0.tar.gz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.TaBKq1/_old  2013-11-17 20:19:43.0 +0100
+++ /var/tmp/diff_new_pack.TaBKq1/_new  2013-11-17 20:19:43.0 +0100
@@ -17,15 +17,13 @@
 
 
 Name:   librime
-Version:0.9.9
+Version:1.0
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
 Group:  System/I18n/Chinese
 Url:http://code.google.com/p/rimeime/
 Source: %{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM marguer...@opensuse.org - fix 4 fail tests
-Patch:  librime-0.9.9-fail_gtest.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -77,11 +75,11 @@
 Its idea comes from ancient Chinese brush and carving art.
 Mainly it's about to express your thinking with your keystrokes.
 
-%package -n librime0
+%package -n librime1
 Summary:Rime Input Method Engine
 Group:  System/Libraries
 
-%description -n librime0
+%description -n librime1
 Rime is an Traditional Chinese input method engine.
 Its idea comes from ancient Chinese brush and carving art.
 Mainly it's about to express your thinking with your keystrokes.
@@ -91,7 +89,7 @@
 %package devel
 Summary:Development files of Rime
 Group:  Development/Libraries/C and C++
-Requires:   librime0 = %{version}
+Requires:   librime1 = %{version}
 Requires:   rime = %{version}
 
 %description devel
@@ -104,7 +102,6 @@
 %prep
 %setup -q -n %{name}
 sed -i s/1.46.0/1.36.0/ CMakeLists.txt
-%patch -p1
 
 %build
 mkdir -pv build
@@ -117,9 +114,9 @@
 pushd build
 make DESTDIR=%{buildroot} install
 
-%post -n librime0 -p /sbin/ldconfig
+%post -n librime1 -p /sbin/ldconfig
 
-%postun -n librime0 -p /sbin/ldconfig
+%postun -n librime1 -p /sbin/ldconfig
 
 %files -n rime
 %defattr(-,root,root)
@@ -127,10 +124,10 @@
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
 
-%files -n librime0
+%files -n librime1
 %defattr(-,root,root)
-%{_libdir}/%{name}.so.0
-%{_libdir}/%{name}.so.0.9.9
+%{_libdir}/%{name}.so.1
+%{_libdir}/%{name}.so.1.0.0
 
 %files devel
 %defattr(-,root,root)

++ librime-0.9.9.tar.gz - librime-1.0.tar.gz ++
 16303 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2013-07-02 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2013-07-02 12:25:25

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2013-06-17 
10:10:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2013-07-02 
12:25:26.0 +0200
@@ -1,0 +2,21 @@
+Sat Jun 29 09:48:03 UTC 2013 - i...@marguerite.su
+
+- update version 0.9.9
+  * config: update yaml-cpp to version 0.5 (with new API);
+emit prettier yaml.
+  * deployer: introduce a work thread for ordinary background tasks.
+  * algo/calculus: 'fuzz' calculation, to create lower quality spellings.
+  * dict/dict_compiler: importing external table files into *.dict.yaml.
+  * dict/entry_collector: support '# no comment' directive in *.dict.yaml.
+  * dict/table_db: 'tabledb' and 'stabledb' to support custom phrase.
+  * dict/user_db: implement 'plain_userdb', in plain text files.
+  * dict/user_dictionary: recover damaged userdb in work thread.
+  * gear/ascii_composer: fix unexpected mode switching with Caps Lock.
+  * gear/editor: delete previous syllable with Control+BackSpace.
+  * gear/*_translator: support multiple translator instances in a engine.
+  * gear/script_translator: rename r10n_translator to script_translator.
+  * lever/user_dict_manager: create snapshots in plain userdb format.
+  * rime_deployer: with command line option '--compile',
+dump table/prism contents into text files while compiling a dictionary.
+
+---

Old:

  brise-0.13.tar.gz
  brise.changes
  brise.spec
  librime-0.9.4.tar.gz

New:

  librime-0.9.9-fail_gtest.patch
  librime-0.9.9.tar.gz



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.rtwSxT/_old  2013-07-02 12:25:27.0 +0200
+++ /var/tmp/diff_new_pack.rtwSxT/_new  2013-07-02 12:25:27.0 +0200
@@ -17,13 +17,15 @@
 
 
 Name:   librime
-Version:0.9.4
+Version:0.9.9
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
 Group:  System/I18n/Chinese
 Url:http://code.google.com/p/rimeime/
 Source: %{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM marguer...@opensuse.org - fix 4 fail tests
+Patch:  librime-0.9.9-fail_gtest.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -102,6 +104,7 @@
 %prep
 %setup -q -n %{name}
 sed -i s/1.46.0/1.36.0/ CMakeLists.txt
+%patch -p1
 
 %build
 mkdir -pv build
@@ -120,14 +123,14 @@
 
 %files -n rime
 %defattr(-,root,root)
-%doc LICENSE README RELEASE_NOTES
+%doc LICENSE README
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
 
 %files -n librime0
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.0
-%{_libdir}/%{name}.so.0.9.4
+%{_libdir}/%{name}.so.0.9.9
 
 %files devel
 %defattr(-,root,root)

++ librime-0.9.9-fail_gtest.patch ++
Index: librime/data/test/dictionary_test.dict.yaml
===
--- librime.orig/data/test/dictionary_test.dict.yaml
+++ librime/data/test/dictionary_test.dict.yaml
@@ -5,7 +5,7 @@
 # http://android.git.kernel.org/?p=platform/packages/inputmethods/PinyinIME.git
 
 ---
-name: luna_pinyin
+name: dictionary_test
 version: 0.1
 sort: by_weight  # by_weight / original
 ...
++ librime-0.9.4.tar.gz - librime-0.9.9.tar.gz ++
 23105 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2013-06-17 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2013-06-17 10:10:49

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2013-06-06 
15:00:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2013-06-17 
10:10:50.0 +0200
@@ -1,0 +2,5 @@
+Sat Jun 15 19:37:31 UTC 2013 - sch...@linux-m68k.org
+
+- Build with %{optflags}
+
+---



Other differences:
--
++ librime.spec ++
--- /var/tmp/diff_new_pack.Eekf1q/_old  2013-06-17 10:10:51.0 +0200
+++ /var/tmp/diff_new_pack.Eekf1q/_new  2013-06-17 10:10:51.0 +0200
@@ -106,7 +106,8 @@
 %build
 mkdir -pv build
 pushd build
-cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} ..
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} \
+  -DCMAKE_CXX_FLAGS=%{optflags} ..
 make %{?_smp_mflags}
 
 %install

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2013-06-06 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2013-06-06 15:00:46

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime

Changes:

--- /work/SRC/openSUSE:Factory/librime/librime.changes  2012-11-02 
16:43:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2013-06-06 
15:00:48.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun  6 07:58:02 UTC 2013 - co...@suse.com
+
+- do not hardcode boost sonames
+
+---



Other differences:
--
++ brise.spec ++
--- /var/tmp/diff_new_pack.cu013A/_old  2013-06-06 15:00:48.0 +0200
+++ /var/tmp/diff_new_pack.cu013A/_new  2013-06-06 15:00:48.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package brise
 #
-# 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
@@ -15,13 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   brise
 Version:   0.13
 Release:   0
-License:   GPL-3.0+
 Summary:   Rime Input Schemas Collection
-Url:   http://code.google.com/p/rimeime
+License:GPL-3.0+
 Group: System/I18n/Chinese
+Url:http://code.google.com/p/rimeime
 Source:brise-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  librime-devel

++ librime.spec ++
--- /var/tmp/diff_new_pack.cu013A/_old  2013-06-06 15:00:48.0 +0200
+++ /var/tmp/diff_new_pack.cu013A/_new  2013-06-06 15:00:48.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librime
 #
-# 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
@@ -30,11 +30,7 @@
 BuildRequires:  glog-devel
 BuildRequires:  googletest-devel
 %if 0%{?suse_version} = 1220
-BuildRequires: libboost_filesystem1_49_0
-BuildRequires: libboost_regex1_49_0
-BuildRequires: libboost_signals1_49_0
-BuildRequires: libboost_system1_49_0
-BuildRequires: libboost_thread1_49_0
+BuildRequires:  boost-devel
 %endif
 %if 0%{?suse_version} == 1140
 BuildRequires: libboost_filesystem1_44_0
@@ -93,8 +89,8 @@
 %package devel
 Summary:Development files of Rime
 Group:  Development/Libraries/C and C++
-Requires:  rime = %{version}
 Requires:   librime0 = %{version}
+Requires:   rime = %{version}
 
 %description devel
 Rime is an Traditional Chinese input method engine.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2013-02-02 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2013-02-02 18:53:38

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/librime/brise.changes2012-11-02 
16:43:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.librime.new/brise.changes   2013-02-02 
18:53:40.0 +0100
@@ -1,0 +2,7 @@
+Fri Feb  1 17:01:31 UTC 2013 - i...@marguerite.su
+
+- although this package only have a /usr/share/rime-data,
+  but it need building, 32-bit and 64-bit results are different.
+  So remove BuildArch: noarch tag to fix ibus/fcitx-rime crash.
+
+---



Other differences:
--
++ brise.spec ++
--- /var/tmp/diff_new_pack.fSfPXa/_old  2013-02-02 18:53:41.0 +0100
+++ /var/tmp/diff_new_pack.fSfPXa/_new  2013-02-02 18:53:41.0 +0100
@@ -25,7 +25,6 @@
 Source:brise-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  librime-devel
-BuildArch: noarch
 
 %description
 Rime is an Traditional Chinese input method engine.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librime for openSUSE:Factory

2012-11-02 Thread h_root
Hello community,

here is the log from the commit of package librime for openSUSE:Factory checked 
in at 2012-11-02 16:42:57

Comparing /work/SRC/openSUSE:Factory/librime (Old)
 and  /work/SRC/openSUSE:Factory/.librime.new (New)


Package is librime, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/librime/brise.changes2012-08-26 
11:32:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/brise.changes   2012-11-02 
16:43:01.0 +0100
@@ -1,0 +2,9 @@
+Thu Oct 11 14:36:24 UTC 2012 - i...@marguerite.su
+
+- update version 0.13
+  * install data files from a separate package.
+  * update: luna_pinyin, terra_pinyin, jyutping tables.
+  * update: essay database.
+  * new schema: emoji.
+
+---
--- /work/SRC/openSUSE:Factory/librime/librime.changes  2012-08-26 
11:32:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.librime.new/librime.changes 2012-11-02 
16:43:01.0 +0100
@@ -1,0 +2,7 @@
+Thu Oct 11 14:40:51 UTC 2012 - i...@marguerite.su
+
+- update version 0.9.4
+  * document new dependency 'google-glog'.
+  * fix x64 build.
+
+---

Old:

  librime-0.9.2.tar.gz

New:

  brise-0.13.tar.gz
  librime-0.9.4.tar.gz



Other differences:
--
++ brise.spec ++
--- /var/tmp/diff_new_pack.2J0OeW/_old  2012-11-02 16:43:03.0 +0100
+++ /var/tmp/diff_new_pack.2J0OeW/_new  2012-11-02 16:43:03.0 +0100
@@ -16,14 +16,15 @@
 #
 
 Name:   brise
-Version:   0.9.2
+Version:   0.13
 Release:   0
 License:   GPL-3.0+
 Summary:   Rime Input Schemas Collection
 Url:   http://code.google.com/p/rimeime
 Group: System/I18n/Chinese
-Source:librime-%{version}.tar.gz
+Source:brise-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  librime-devel
 BuildArch: noarch
 
 %description
@@ -37,14 +38,13 @@
 %setup -q -n %{name}
 
 %build
-# no need to build
+make %{?_smp_mflags}
 
 %install
-install -d -m 755 %{buildroot}%{_datadir}/%{name}/
-cp -r * %{buildroot}%{_datadir}/%{name}/
+make DESTDIR=%{buildroot} install
 
 %files
 %defattr(-,root,root)
-%{_datadir}/%{name}/
+%{_datadir}/rime-data/
 
 %changelog

++ librime.spec ++
--- /var/tmp/diff_new_pack.2J0OeW/_old  2012-11-02 16:43:03.0 +0100
+++ /var/tmp/diff_new_pack.2J0OeW/_new  2012-11-02 16:43:03.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   librime
-Version:0.9.2
+Version:0.9.4
 Release:0
 Summary:Rime Input Method Engine
 License:GPL-3.0+
@@ -27,6 +27,7 @@
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  glog-devel
 BuildRequires:  googletest-devel
 %if 0%{?suse_version} = 1220
 BuildRequires: libboost_filesystem1_49_0
@@ -72,24 +73,12 @@
 %package -n rime
 Summary:Rime Input Method Engine
 Group:  System/I18n/Chinese
-Requires:   rime-data = %{version}
 
 %description -n rime
 Rime is an Traditional Chinese input method engine.
 Its idea comes from ancient Chinese brush and carving art.
 Mainly it's about to express your thinking with your keystrokes.
 
-%package -n rime-data
-Summary:Schemas of Rime
-Group:  System/I18n/Chinese
-
-%description -n rime-data
-Rime is an Traditional Chinese input method engine.
-Its idea comes from ancient Chinese brush and carving art.
-Mainly it's about to express your thinking with your keystrokes.
-
-This package is the resources and schemas of Rime.
-
 %package -n librime0
 Summary:Rime Input Method Engine
 Group:  System/Libraries
@@ -138,14 +127,10 @@
 %{_bindir}/rime_deployer
 %{_bindir}/rime_dict_manager
 
-%files -n rime-data
-%defattr(-,root,root)
-%{_datadir}/rime-data/
-
 %files -n librime0
 %defattr(-,root,root)
 %{_libdir}/%{name}.so.0
-%{_libdir}/%{name}.so.0.9.2
+%{_libdir}/%{name}.so.0.9.4
 
 %files devel
 %defattr(-,root,root)

++ librime-0.9.2.tar.gz - librime-0.9.4.tar.gz ++
/work/SRC/openSUSE:Factory/librime/librime-0.9.2.tar.gz 
/work/SRC/openSUSE:Factory/.librime.new/librime-0.9.4.tar.gz differ: char 5, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org