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 @@
     <param name="submodule">master</param>
     <param name="changesgenerate">enable</param>
   </service>
+  <service name="tar_scm" mode="disabled">
+    <param name="url">https://github.com/hchunhui/librime-lua.git</param>
+    <param name="scm">git</param>
+    <param name="exclude">.git</param>
+    <param name="version">_none_</param>
+    <param name="revision">master</param>
+  </service>
   <service name="recompress" mode="disabled">
     <param name="file">librime-*.tar</param>
     <param name="compression">xz</param>


Reply via email to