Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fcitx5-m17n for openSUSE:Factory checked in at 2026-10-22 15:49:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx5-m17n (Old) and /work/SRC/openSUSE:Factory/.fcitx5-m17n.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcitx5-m17n" Thu Oct 22 15:49:08 2026 rev:10 rq:1386557 version:5.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx5-m17n/fcitx5-m17n.changes 2026-02-09 11:44:00.411379801 +0100 +++ /work/SRC/openSUSE:Factory/.fcitx5-m17n.new.2252680/fcitx5-m17n.changes 2026-10-22 15:50:18.581136837 +0200 @@ -1,0 +2,7 @@ +Sat Oct 17 15:56:16 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to 5.1.8 + * Fix override parser parsing + * Translation updates + +------------------------------------------------------------------- Old: ---- fcitx5-m17n-5.1.5.tar.zst New: ---- fcitx5-m17n-5.1.8.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx5-m17n.spec ++++++ --- /var/tmp/diff_new_pack.tWYPbG/_old 2026-10-22 15:50:19.256165134 +0200 +++ /var/tmp/diff_new_pack.tWYPbG/_new 2026-10-22 15:50:19.258165218 +0200 @@ -17,31 +17,34 @@ Name: fcitx5-m17n -Version: 5.1.5 +Version: 5.1.8 Release: 0 Summary: M17n input method engine for Fcitx5 License: LGPL-2.1-or-later -Group: System/I18n/Chinese URL: https://github.com/fcitx/fcitx5-m17n Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.zst BuildRequires: cmake BuildRequires: extra-cmake-modules -BuildRequires: fcitx5-devel -BuildRequires: fmt-devel -%if 0%{?suse_version} >= 1550 -BuildRequires: gcc-c++ -%else -BuildRequires: gcc13-c++ -%endif -BuildRequires: m17n-lib-devel BuildRequires: pkgconfig BuildRequires: zstd +BuildRequires: pkgconfig(Fcitx5Config) +BuildRequires: pkgconfig(Fcitx5Core) >= 5.1.13 +BuildRequires: pkgconfig(Fcitx5Module) +BuildRequires: pkgconfig(Fcitx5Utils) +BuildRequires: pkgconfig(m17n-db) +BuildRequires: pkgconfig(m17n-gui) >= 1.6.3 Requires: fcitx5 +# m17n-db is a data package, not a library: keep the package-name Requires Requires: m17n-db Provides: fcitx-m17n = %{version} Obsoletes: fcitx-m17n <= 0.2.4 +%if 0%{?suse_version} >= 1550 +BuildRequires: gcc-c++ +%else +BuildRequires: gcc13-c++ +%endif %if 0%{?suse_version} <= 1520 -BuildRequires: appstream-glib-devel +BuildRequires: pkgconfig(appstream-glib) %endif %description ++++++ fcitx5-m17n-5.1.5.tar.zst -> fcitx5-m17n-5.1.8.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/CMakeLists.txt new/fcitx5-m17n-5.1.8/CMakeLists.txt --- old/fcitx5-m17n-5.1.5/CMakeLists.txt 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/CMakeLists.txt 2026-09-24 03:35:10.000000000 +0200 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.6) -project(fcitx-m17n VERSION 5.1.5) +project(fcitx-m17n VERSION 5.1.8) set(REQUIRED_FCITX_VERSION 5.1.13) find_package(ECM REQUIRED 1.0.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/README.md new/fcitx5-m17n-5.1.8/README.md --- old/fcitx5-m17n-5.1.5/README.md 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/README.md 2026-09-24 03:35:10.000000000 +0200 @@ -5,7 +5,7 @@ m17n input method engine into a fcitx input method. -[](https://jenkins.fcitx-im.org/job/fcitx5-m17n/) +[](https://jenkins.fcitx-im.org/job/fcitx5-m17n/) [](https://scan.coverity.com/projects/fcitx-fcitx5-m17n) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/im/overrideparser.cpp new/fcitx5-m17n-5.1.8/im/overrideparser.cpp --- old/fcitx5-m17n-5.1.5/im/overrideparser.cpp 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/im/overrideparser.cpp 2026-09-24 03:35:10.000000000 +0200 @@ -24,11 +24,11 @@ std::istream in(&buf); std::string line; while (std::getline(in, line)) { + const auto trimmed = stringutils::trimView(line); /* ignore comments */ - if (!line.empty() || line[0] == '#') { + if (trimmed.empty() || trimmed[0] == '#') { continue; } - const auto trimmed = stringutils::trimView(line); auto strList = stringutils::split(trimmed, ":"); do { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in new/fcitx5-m17n-5.1.8/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in --- old/fcitx5-m17n-5.1.5/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in 2026-09-24 03:35:10.000000000 +0200 @@ -14,6 +14,9 @@ <url type="vcs-browser">https://github.com/fcitx/fcitx5-m17n</url> <project_group>Fcitx</project_group> <releases> + <release version="5.1.8" date="2026-09-23"/> + <release version="5.1.7" date="2026-09-05"/> + <release version="5.1.6" date="2026-03-17"/> <release version="5.1.5" date="2025-10-16"/> <release version="5.1.4" date="2025-06-15"/> <release version="5.1.3" date="2025-01-22"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/po/LINGUAS new/fcitx5-m17n-5.1.8/po/LINGUAS --- old/fcitx5-m17n-5.1.5/po/LINGUAS 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/po/LINGUAS 2026-09-24 03:35:10.000000000 +0200 @@ -5,8 +5,10 @@ fr he ja +ka ko ru +sv tr vi zh_CN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/po/ka.po new/fcitx5-m17n-5.1.8/po/ka.po --- old/fcitx5-m17n-5.1.5/po/ka.po 1970-01-01 01:00:00.000000000 +0100 +++ new/fcitx5-m17n-5.1.8/po/ka.po 2026-09-24 03:35:10.000000000 +0200 @@ -0,0 +1,86 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fcitx5-m17n package. +# +# Translators: +# Temuri Doghonadze <[email protected]>, 2026 +# +msgid "" +msgstr "" +"Project-Id-Version: fcitx5-m17n\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2026-02-01 20:24+0000\n" +"PO-Revision-Date: 2017-12-21 01:32+0000\n" +"Last-Translator: Temuri Doghonadze <[email protected]>, 2026\n" +"Language-Team: Georgian (https://app.transifex.com/fcitx/teams/12005/ka/)\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: im/i18nname.cpp:15 +msgid "Anthy" +msgstr "ანთი" + +#: im/i18nname.cpp:13 +msgid "Cangjie" +msgstr "კანჯი" + +#: im/i18nname.cpp:13 +msgid "Chewing Symbol" +msgstr "ღეჭვის სიმბოლო" + +#: im/engine.h:33 +msgid "Enable Deprecated" +msgstr "მოძველებულის ჩართვა" + +#: im/i18nname.cpp:15 +msgid "Hanja" +msgstr "ჰანჯა" + +#: im/i18nname.cpp:14 +msgid "Keyboard" +msgstr "კლავიატურა" + +#: im/m17n.conf.in.in:2 +msgid "M17N" +msgstr "M17N" + +#: im/m17n.conf.in.in:3 +msgid "M17N IM Support For Fcitx" +msgstr "M17N IM მხარდაჭერა Fcitx– ისთვის" + +#: org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in:8 +msgid "M17N Input method" +msgstr "M17N-ის შეყვანის მეთოდი" + +#: org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in:7 +msgid "M17N for Fcitx 5" +msgstr "" + +#: im/i18nname.cpp:14 +msgid "Pinyin" +msgstr "პინინი" + +#. remember to update "default" in the same directory. +#: im/i18nname.cpp:13 +msgid "Pinyin Symbol" +msgstr "პინინის სიმბოლო" + +#: im/i18nname.cpp:16 +msgid "Quick" +msgstr "სწრაფი" + +#: im/i18nname.cpp:15 +msgid "Romaja" +msgstr "რომაჯა" + +#: im/i18nname.cpp:14 +msgid "Tone Pinyin" +msgstr "ტონი პინინი" + +#: im/engine.cpp:353 +#, c++-format +msgid "{0} (M17N)" +msgstr "{0} (M17N)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/po/sv.po new/fcitx5-m17n-5.1.8/po/sv.po --- old/fcitx5-m17n-5.1.5/po/sv.po 1970-01-01 01:00:00.000000000 +0100 +++ new/fcitx5-m17n-5.1.8/po/sv.po 2026-09-24 03:35:10.000000000 +0200 @@ -0,0 +1,86 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fcitx5-m17n package. +# +# Translators: +# Daniel Nylander <[email protected]>, 2026 +# +msgid "" +msgstr "" +"Project-Id-Version: fcitx5-m17n\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2026-09-04 20:25+0000\n" +"PO-Revision-Date: 2017-12-21 01:32+0000\n" +"Last-Translator: Daniel Nylander <[email protected]>, 2026\n" +"Language-Team: Swedish (https://app.transifex.com/fcitx/teams/12005/sv/)\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. remember to update "default" in the same directory. +#: im/i18nname.cpp:13 +msgid "Pinyin Symbol" +msgstr "Pinyin-symbol" + +#: im/i18nname.cpp:13 +msgid "Chewing Symbol" +msgstr "Chewing-symbol" + +#: im/i18nname.cpp:13 +msgid "Cangjie" +msgstr "Cangjie" + +#: im/i18nname.cpp:14 +msgid "Pinyin" +msgstr "Pinyin" + +#: im/i18nname.cpp:14 +msgid "Tone Pinyin" +msgstr "Ton-Pinyin" + +#: im/i18nname.cpp:14 +msgid "Keyboard" +msgstr "Tangentbord" + +#: im/i18nname.cpp:15 +msgid "Anthy" +msgstr "Anthy" + +#: im/i18nname.cpp:15 +msgid "Hanja" +msgstr "Hanja" + +#: im/i18nname.cpp:15 +msgid "Romaja" +msgstr "Romaja" + +#: im/i18nname.cpp:16 +msgid "Quick" +msgstr "Snabb" + +#: im/engine.h:33 +msgid "Enable Deprecated" +msgstr "Aktivera föråldrade" + +#: im/engine.cpp:353 +#, c++-format +msgid "{0} (M17N)" +msgstr "{0} (M17N)" + +#: org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in:7 +msgid "M17N for Fcitx 5" +msgstr "M17N för Fcitx 5" + +#: org.fcitx.Fcitx5.Addon.M17N.metainfo.xml.in:8 +msgid "M17N Input method" +msgstr "M17N-inmatningsmetod" + +#: im/m17n.conf.in.in:2 +msgid "M17N" +msgstr "M17N" + +#: im/m17n.conf.in.in:3 +msgid "M17N IM Support For Fcitx" +msgstr "Stöd för M17N-inmatningsmetoder i Fcitx" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/test/CMakeLists.txt new/fcitx5-m17n-5.1.8/test/CMakeLists.txt --- old/fcitx5-m17n-5.1.5/test/CMakeLists.txt 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/test/CMakeLists.txt 2026-09-24 03:35:10.000000000 +0200 @@ -6,4 +6,9 @@ add_executable(testm17n testm17n.cpp) target_link_libraries(testm17n Fcitx5::Core Fcitx5::Module::TestFrontend) add_dependencies(testm17n m17n copy-addon) + +add_custom_command(TARGET testm17n POST_BUILD + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/m17n + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${PROJECT_SOURCE_DIR}/im/default ${CMAKE_CURRENT_BINARY_DIR}/m17n/default) + add_test(NAME testm17n COMMAND testm17n) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-m17n-5.1.5/test/testm17n.cpp new/fcitx5-m17n-5.1.8/test/testm17n.cpp --- old/fcitx5-m17n-5.1.5/test/testm17n.cpp 2025-10-25 22:31:25.000000000 +0200 +++ new/fcitx5-m17n-5.1.8/test/testm17n.cpp 2026-09-24 03:35:10.000000000 +0200 @@ -6,6 +6,7 @@ */ #include "testdir.h" #include "testfrontend_public.h" +#include <clocale> #include <fcitx-utils/eventdispatcher.h> #include <fcitx-utils/key.h> #include <fcitx-utils/keysym.h> @@ -14,6 +15,7 @@ #include <fcitx-utils/testing.h> #include <fcitx/addonmanager.h> #include <fcitx/inputcontextmanager.h> +#include <fcitx/inputmethodentry.h> #include <fcitx/inputmethodgroup.h> #include <fcitx/inputmethodmanager.h> #include <fcitx/inputpanel.h> @@ -117,7 +119,34 @@ }); } +void testDefaultNameOverride(Instance *instance) { + instance->eventDispatcher().schedule([instance]() { + auto *m17n = instance->addonManager().addon("m17n", true); + FCITX_ASSERT(m17n); + + bool sawPinyin = false; + bool sawBopomofo = false; + instance->inputMethodManager().foreachEntries( + [&](const InputMethodEntry &entry) { + if (entry.uniqueName() == "m17n_zh_pinyin") { + std::cerr << "pinyin name: " << entry.name() << "\n"; + FCITX_ASSERT(entry.name() == "Pinyin Symbol (M17N)"); + sawPinyin = true; + } + if (entry.uniqueName() == "m17n_zh_bopomofo") { + std::cerr << "bopomofo name: " << entry.name() << "\n"; + FCITX_ASSERT(entry.name() == "Chewing Symbol (M17N)"); + sawBopomofo = true; + } + return true; + }); + FCITX_ASSERT(sawPinyin); + FCITX_ASSERT(sawBopomofo); + }); +} + int main() { + std::setlocale(LC_ALL, "C"); setupTestingEnvironment(TESTING_BINARY_DIR, {"bin"}, {TESTING_BINARY_DIR "/test"}); // fcitx::Log::setLogRule("default=5,table=5,libime-table=5"); @@ -128,6 +157,7 @@ fcitx::Log::setLogRule("default=5,m17n=5"); Instance instance(FCITX_ARRAY_SIZE(argv), argv); instance.addonManager().registerDefaultLoader(nullptr); + testDefaultNameOverride(&instance); testWijesekara(&instance); testSwitchWithUnicode(&instance); instance.eventDispatcher().schedule([&instance]() { instance.exit(); });
