Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package librime for openSUSE:Factory checked in at 2021-08-23 10:07:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librime (Old) and /work/SRC/openSUSE:Factory/.librime.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librime" Mon Aug 23 10:07:43 2021 rev:29 rq:911955 version:1.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/librime/librime.changes 2021-05-05 20:41:03.314639784 +0200 +++ /work/SRC/openSUSE:Factory/.librime.new.1899/librime.changes 2021-08-23 10:08:05.432251948 +0200 @@ -1,0 +2,22 @@ +Thu Aug 12 14:59:42 UTC 2021 - Fusion Future <[email protected]> + +- Update to 1.7.3 + Bug Fixes + * memory: possibly dereferencing null pointer (1c2644d), closes + #441 + * plugins: buffer overflow in plugin lotem/librime-octagram + (b0b435b), closes rime/squirrel#512 +- Add librime-1.7.3-ensure_std_exp_can_be_found_after_including_cmath.patch + to ensure std::exp can be found after including <cmath>. + +------------------------------------------------------------------- +Sun May 9 02:39:13 UTC 2021 - Fusion Future <[email protected]> + +- Revert "Change the recommended package of librime1 from rime-plum to rime-plum-go" + +------------------------------------------------------------------- +Thu May 6 12:39:11 UTC 2021 - Fusion Future <[email protected]> + +- Change the recommended package of librime1 from rime-plum to rime-plum-go + +------------------------------------------------------------------- Old: ---- librime-1.7.2.tar.gz New: ---- librime-1.7.3-ensure_std_exp_can_be_found_after_including_cmath.patch librime-1.7.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librime.spec ++++++ --- /var/tmp/diff_new_pack.mGU6qA/_old 2021-08-23 10:08:06.036251243 +0200 +++ /var/tmp/diff_new_pack.mGU6qA/_new 2021-08-23 10:08:06.040251239 +0200 @@ -17,15 +17,17 @@ Name: librime -Version: 1.7.2 +Version: 1.7.3 Release: 0 Summary: Rime Input Method Engine License: BSD-3-Clause Group: System/I18n/Chinese URL: https://github.com/rime/librime Source: https://github.com/rime/librime/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -#PATCH-FIX-OPENSUSE fix compilation errors due to missing cmath header (boo#1185458) +#PATCH-FIX-UPSTREAM Fix compilation errors due to missing cmath header (boo#1185458) https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db Patch1: librime-1.7.2-add_cmath_header.patch +#PATCH-FIX-UPSTREAM Ensure std::exp can be found after including cmath https://github.com/rime/librime/pull/476 +Patch2: librime-1.7.3-ensure_std_exp_can_be_found_after_including_cmath.patch BuildRequires: capnproto >= 0.7.0 BuildRequires: cmake >= 3.1.0 BuildRequires: gcc-c++ @@ -96,6 +98,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %cmake -DCMAKE_BUILD_TYPE=Release \ ++++++ librime-1.7.3-ensure_std_exp_can_be_found_after_including_cmath.patch ++++++ --- a/src/rime/gear/script_translator.cc +++ b/src/rime/gear/script_translator.cc @@ -32,6 +32,8 @@ namespace rime { +using std::exp; + namespace { struct SyllabifyTask { --- a/src/rime/gear/table_translator.cc +++ b/src/rime/gear/table_translator.cc @@ -26,6 +26,8 @@ namespace rime { +using std::exp; + static const char* kUnitySymbol = " \xe2\x98\xaf "; // TableTranslation ++++++ librime-1.7.2.tar.gz -> librime-1.7.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librime-1.7.2/CHANGELOG.md new/librime-1.7.3/CHANGELOG.md --- old/librime-1.7.2/CHANGELOG.md 2021-02-07 13:37:26.000000000 +0100 +++ new/librime-1.7.3/CHANGELOG.md 2021-02-11 16:17:48.000000000 +0100 @@ -1,3 +1,14 @@ +<a name="1.7.3"></a> +## [1.7.3](https://github.com/rime/librime/compare/1.7.2...1.7.3) (2021-02-11) + + +### Bug Fixes + +* **memory:** possibly dereferencing null pointer ([1c2644d](https://github.com/rime/librime/commit/1c2644d)), closes [#441](https://github.com/rime/librime/issues/441) +* **plugins:** buffer overflow in plugin lotem/librime-octagram ([b0b435b](https://github.com/rime/librime/commit/b0b435b)), closes [rime/squirrel#512](https://github.com/rime/squirrel/issues/512) + + + <a name="1.7.2"></a> ## [1.7.2](https://github.com/rime/librime/compare/1.7.1...1.7.2) (2021-02-07) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librime-1.7.2/CMakeLists.txt new/librime-1.7.3/CMakeLists.txt --- old/librime-1.7.2/CMakeLists.txt 2021-02-07 13:37:26.000000000 +0100 +++ new/librime-1.7.3/CMakeLists.txt 2021-02-11 16:17:48.000000000 +0100 @@ -4,7 +4,7 @@ project(rime) cmake_minimum_required(VERSION 3.10) -set(rime_version 1.7.2) +set(rime_version 1.7.3) set(rime_soversion 1) add_definitions(-DRIME_VERSION="${rime_version}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librime-1.7.2/package-lock.json new/librime-1.7.3/package-lock.json --- old/librime-1.7.2/package-lock.json 2021-02-07 13:37:26.000000000 +0100 +++ new/librime-1.7.3/package-lock.json 2021-02-11 16:17:48.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "librime", - "version": "1.7.2", + "version": "1.7.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librime-1.7.2/package.json new/librime-1.7.3/package.json --- old/librime-1.7.2/package.json 2021-02-07 13:37:26.000000000 +0100 +++ new/librime-1.7.3/package.json 2021-02-11 16:17:48.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "librime", - "version": "1.7.2", + "version": "1.7.3", "description": "Rime Input Method Engine", "main": "index.js", "directories": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librime-1.7.2/src/rime/gear/memory.cc new/librime-1.7.3/src/rime/gear/memory.cc --- old/librime-1.7.2/src/rime/gear/memory.cc 2021-02-07 13:37:26.000000000 +0100 +++ new/librime-1.7.3/src/rime/gear/memory.cc 2021-02-11 16:17:48.000000000 +0100 @@ -68,10 +68,10 @@ // user dictionary is named after language; dictionary name may have an // optional suffix separated from the language component by dot. - language_.reset(new Language{ - user_dict_ ? user_dict_->name() : - Language::get_language_component(dict_->name()) - }); + language_.reset( + user_dict_ ? new Language{user_dict_->name()} : + dict_ ? new Language{Language::get_language_component(dict_->name())} : + nullptr); Context* ctx = ticket.engine->context(); commit_connection_ = ctx->commit_notifier().connect(
