Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libime for openSUSE:Factory checked 
in at 2022-07-26 19:43:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libime (Old)
 and      /work/SRC/openSUSE:Factory/.libime.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libime"

Tue Jul 26 19:43:13 2022 rev:2 rq:991010 version:1.0.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/libime/libime.changes    2022-02-09 
20:39:28.318414997 +0100
+++ /work/SRC/openSUSE:Factory/.libime.new.1533/libime.changes  2022-07-26 
19:43:35.947456703 +0200
@@ -1,0 +2,22 @@
+Mon Jul 25 11:30:42 UTC 2022 - Takashi Iwai <[email protected]>
+
+- Remove yet another stale file, table.tar.gz
+
+-------------------------------------------------------------------
+Sun Jul 24 12:02:08 UTC 2022 - Fusion Future <[email protected]>
+
+- Remove one unused file
+  * libime-1.0.13.tar.xz
+
+-------------------------------------------------------------------
+Tue Jul  5 13:59:07 UTC 2022 - Fusion Future <[email protected]>
+
+- Update to 1.0.13
+  * fix a crash in pinyin under certain rare cases
+- Use _dict tar which contains all the needed dictionaries
+- Fix build by adding return statement (gh#kpu/kenlm#391)
+  * libime-1.0.13-return-0.0-for-other-platforms-in-usage.patch
+- Remove unneeded patch
+  * libime-no-download.patch
+
+-------------------------------------------------------------------

Old:
----
  dict.utf8-20211021.tar.xz
  libime-1.0.11.tar.xz
  libime-no-download.patch
  lm_sc.3gm.arpa-20140820.tar.bz2
  table.tar.gz

New:
----
  libime-1.0.13-return-0.0-for-other-platforms-in-usage.patch
  libime-1.0.13_dict.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libime.spec ++++++
--- /var/tmp/diff_new_pack.rcLRmp/_old  2022-07-26 19:43:37.175266975 +0200
+++ /var/tmp/diff_new_pack.rcLRmp/_new  2022-07-26 19:43:37.179266357 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libime
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,24 @@
 
 
 Name:           libime
-Version:        1.0.11
+Version:        1.0.13
 Release:        0
 Summary:        Generic input method implementation
 License:        LGPL-2.1-or-later
 Group:          System/I18n/Chinese
 URL:            https://github.com/fcitx/libime
-Source:         
https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz
-Source1:        https://download.fcitx-im.org/data/dict.utf8-20211021.tar.xz
-Source2:        
https://download.fcitx-im.org/data/lm_sc.3gm.arpa-20140820.tar.bz2
-Source3:        https://download.fcitx-im.org/data/table.tar.gz
-Patch0:         libime-no-download.patch
+Source:         
https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}_dict.tar.xz
+# PATCH-FIX-UPSTREAM gh#kpu/kenlm#391
+Patch0:         libime-1.0.13-return-0.0-for-other-platforms-in-usage.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake
 BuildRequires:  extra-cmake-modules
 BuildRequires:  fcitx5-devel
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_iostreams-devel
 BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_filesystem-devel
 
 %description
 This is a library to support generic input method implementation.
@@ -90,11 +88,7 @@
 This package provides dictionary files for libime.
 
 %prep
-%setup -q
-%autopatch -p1
-cp -r %{SOURCE1} data/
-cp -r %{SOURCE2} data/
-cp -r %{SOURCE3} data/
+%autosetup -p1
 
 %build
 export LANG=en_US.UTF-8

++++++ libime-1.0.13-return-0.0-for-other-platforms-in-usage.patch ++++++
>From 568df4a23827f409f132146e93ab0f7c191296df Mon Sep 17 00:00:00 2001
From: Kenneth Heafield <[email protected]>
Date: Sun, 3 Jul 2022 17:18:27 +0100
Subject: [PATCH] return 0.0 for other platforms in usage fixes #391

 
Index: libime-1.0.13/src/libime/core/kenlm/util/usage.cc
===================================================================
--- libime-1.0.13.orig/src/libime/core/kenlm/util/usage.cc
+++ libime-1.0.13/src/libime/core/kenlm/util/usage.cc
@@ -181,6 +181,8 @@ double ThreadTime() {
   task_info(mach_task_self(), TASK_BASIC_INFO, (task_info_t)&t_info, 
&t_info_count);
   
   return 0.0;
+#else
+  return 0.0;
 #endif
 }
 

Reply via email to