Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fcitx5-anthy for openSUSE:Factory checked in at 2024-05-24 19:53:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx5-anthy (Old) and /work/SRC/openSUSE:Factory/.fcitx5-anthy.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcitx5-anthy" Fri May 24 19:53:33 2024 rev:10 rq:1176753 version:5.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx5-anthy/fcitx5-anthy.changes 2024-02-05 22:02:44.346352273 +0100 +++ /work/SRC/openSUSE:Factory/.fcitx5-anthy.new.24587/fcitx5-anthy.changes 2024-05-24 19:53:56.847669562 +0200 @@ -1,0 +2,11 @@ +Thu May 23 08:19:33 UTC 2024 - Marguerite Su <[email protected]> + +- update to 5.1.4 + * Cache dict files + * Add fmt to dependency +- add fcitx5-anthy-leap15.5.patch + * lower the version requirement for Fcitx5Core, the + newer version introduced isAndroid() and isApple() + functions, which is not useful for Linux at all + +------------------------------------------------------------------- Old: ---- fcitx5-anthy-5.1.3.tar.xz New: ---- fcitx5-anthy-5.1.4.tar.zst fcitx5-anthy-leap15.5.patch BETA DEBUG BEGIN: New: * Add fmt to dependency - add fcitx5-anthy-leap15.5.patch * lower the version requirement for Fcitx5Core, the BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx5-anthy.spec ++++++ --- /var/tmp/diff_new_pack.QzQN4B/_old 2024-05-24 19:53:57.527694445 +0200 +++ /var/tmp/diff_new_pack.QzQN4B/_new 2024-05-24 19:53:57.527694445 +0200 @@ -17,12 +17,13 @@ Name: fcitx5-anthy -Version: 5.1.3 +Version: 5.1.4 Release: 0 Summary: Anthy Wrapper for Fcitx5 License: GPL-2.0-or-later URL: https://github.com/fcitx/fcitx5-anthy -Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz +Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.zst +Patch0: %{name}-leap15.5.patch BuildRequires: anthy-devel BuildRequires: cmake BuildRequires: extra-cmake-modules @@ -30,6 +31,7 @@ BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig +BuildRequires: zstd Requires: anthy Requires: fcitx5 Provides: fcitx-anthy = %{version} @@ -43,6 +45,7 @@ %prep %setup -q +%autopatch -p1 %build %cmake ++++++ fcitx5-anthy-leap15.5.patch ++++++ Index: fcitx5-anthy-5.1.4/CMakeLists.txt =================================================================== --- fcitx5-anthy-5.1.4.orig/CMakeLists.txt +++ fcitx5-anthy-5.1.4/CMakeLists.txt @@ -11,7 +11,7 @@ include(ECMUninstallTarget) option(ENABLE_TEST "Build Test" On) option(ENABLE_COVERAGE "Build the project with gcov support (Need ENABLE_TEST=On)" Off) -find_package(Fcitx5Core 5.1.2 REQUIRED) +find_package(Fcitx5Core 5.0.18 REQUIRED) find_package(Fcitx5Module REQUIRED COMPONENTS Clipboard) find_package(Gettext REQUIRED) find_package(PkgConfig REQUIRED) Index: fcitx5-anthy-5.1.4/src/engine.cpp =================================================================== --- fcitx5-anthy-5.1.4.orig/src/engine.cpp +++ fcitx5-anthy-5.1.4/src/engine.cpp @@ -276,7 +276,7 @@ AnthyEngine::AnthyEngine(fcitx::Instance FCITX_ANTHY_INFO() << "Anthy: " << msg; }, 0); - if constexpr (fcitx::isAndroid() || fcitx::isApple()) { + /*if constexpr (fcitx::isAndroid() || fcitx::isApple()) { const auto &sp = fcitx::StandardPath::global(); std::string anthy_conf = sp.locate(fcitx::StandardPath::Type::Data, "anthy/anthy-unicode.conf"); @@ -292,7 +292,7 @@ AnthyEngine::AnthyEngine(fcitx::Instance anthy_conf_override( "XDG_CONFIG_HOME", sp.userDirectory(fcitx::StandardPath::Type::Data).c_str()); - } + }*/ if (anthy_init()) { throw std::runtime_error("Failed to init anthy library."); }
