Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fcitx5-kkc for openSUSE:Factory checked in at 2026-02-09 11:43:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx5-kkc (Old) and /work/SRC/openSUSE:Factory/.fcitx5-kkc.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcitx5-kkc" Mon Feb 9 11:43:18 2026 rev:12 rq:1331822 version:5.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx5-kkc/fcitx5-kkc.changes 2025-06-23 15:05:25.958133743 +0200 +++ /work/SRC/openSUSE:Factory/.fcitx5-kkc.new.1670/fcitx5-kkc.changes 2026-02-09 11:43:58.019279166 +0100 @@ -1,0 +2,7 @@ +Sun Feb 8 06:11:15 UTC 2026 - Marguerite Su <[email protected]> + +- update to 5.1.9 + * interpret dictionary path starting with $XDG_DATA_DIRS + * fix FindLibKKC + +------------------------------------------------------------------- Old: ---- fcitx5-kkc-5.1.7.tar.zst New: ---- fcitx5-kkc-5.1.9.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx5-kkc.spec ++++++ --- /var/tmp/diff_new_pack.WWqfmO/_old 2026-02-09 11:43:58.475298350 +0100 +++ /var/tmp/diff_new_pack.WWqfmO/_new 2026-02-09 11:43:58.479298519 +0100 @@ -1,7 +1,7 @@ # # spec file for package fcitx5-kkc # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: fcitx5-kkc -Version: 5.1.7 +Version: 5.1.9 Release: 0 Summary: Libkkc input method support for Fcitx5 License: GPL-3.0-or-later ++++++ fcitx5-kkc-5.1.7.tar.zst -> fcitx5-kkc-5.1.9.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-kkc-5.1.7/CMakeLists.txt new/fcitx5-kkc-5.1.9/CMakeLists.txt --- old/fcitx5-kkc-5.1.7/CMakeLists.txt 2025-06-16 08:25:39.000000000 +0200 +++ new/fcitx5-kkc-5.1.9/CMakeLists.txt 2025-12-22 07:18:12.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.6) # The Project Name -project(fcitx5-kkc VERSION 5.1.7) +project(fcitx5-kkc VERSION 5.1.9) 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-kkc-5.1.7/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in new/fcitx5-kkc-5.1.9/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in --- old/fcitx5-kkc-5.1.7/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in 2025-06-16 08:25:39.000000000 +0200 +++ new/fcitx5-kkc-5.1.9/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in 2025-12-22 07:18:12.000000000 +0100 @@ -14,6 +14,8 @@ <url type="vcs-browser">https://github.com/fcitx/fcitx5-kkc</url> <project_group>Fcitx</project_group> <releases> + <release version="5.1.9" date="2025-12-21"/> + <release version="5.1.8" date="2025-10-16"/> <release version="5.1.7" date="2025-06-15"/> <release version="5.1.6" date="2025-01-22"/> <release version="5.1.5" date="2024-10-08"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-kkc-5.1.7/po/LINGUAS new/fcitx5-kkc-5.1.9/po/LINGUAS --- old/fcitx5-kkc-5.1.7/po/LINGUAS 2025-06-16 08:25:39.000000000 +0200 +++ new/fcitx5-kkc-5.1.9/po/LINGUAS 2025-12-22 07:18:12.000000000 +0100 @@ -2,6 +2,7 @@ ca da de +fr he ja ko diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-kkc-5.1.7/po/fr.po new/fcitx5-kkc-5.1.9/po/fr.po --- old/fcitx5-kkc-5.1.7/po/fr.po 1970-01-01 01:00:00.000000000 +0100 +++ new/fcitx5-kkc-5.1.9/po/fr.po 2025-12-22 07:18:12.000000000 +0100 @@ -0,0 +1,254 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fcitx5-kkc package. +# +# Translators: +# Popolon_Github, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: fcitx5-kkc\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2025-09-12 20:24+0000\n" +"PO-Revision-Date: 2017-12-19 22:05+0000\n" +"Last-Translator: Popolon_Github, 2025\n" +"Language-Team: French (https://app.transifex.com/fcitx/teams/12005/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % " +"1000000 == 0 ? 1 : 2;\n" + +#. i18n: file: gui/addshortcutdialog.ui:42 +#. i18n: ectx: property (text), widget (QLabel, commandLabel_) +#: rc.cpp:9 +#, kde-format +msgid "&Command:" +msgstr "&Commande :" + +#. i18n: file: gui/addshortcutdialog.ui:22 +#. i18n: ectx: property (text), widget (QLabel, inputModeLabel_) +#: rc.cpp:6 +#, kde-format +msgid "&Input Mode:" +msgstr "&Mode de saisie :" + +#. i18n: file: gui/addshortcutdialog.ui:71 +#. i18n: ectx: property (text), widget (QLabel, keyLabel_) +#: rc.cpp:12 +#, kde-format +msgid "&Key:" +msgstr "&Touche :" + +#. i18n: file: gui/adddictdialog.ui:42 +#. i18n: ectx: property (text), widget (QLabel, pathLabel_) +#: rc.cpp:24 +#, kde-format +msgid "&Path:" +msgstr "&Chemin :" + +#. i18n: file: gui/adddictdialog.ui:22 +#. i18n: ectx: property (text), widget (QLabel, typeLabel_) +#: rc.cpp:21 +#, kde-format +msgid "&Type:" +msgstr "&Type :" + +#: src/kkc.h:98 +msgid "Auto Correct" +msgstr "Correction automatique" + +#: src/kkc.h:96 +msgid "Candidate Layout" +msgstr "Disposition des propositions" + +#: src/kkc.h:108 +msgid "Candidates Page Down" +msgstr "Page bas propositions" + +#: src/kkc.h:102 +msgid "Candidates Page Up" +msgstr "Page haut propositions" + +#: src/kkc.h:120 +msgid "Cursor Down" +msgstr "Curseur bas" + +#: src/kkc.h:114 +msgid "Cursor Up" +msgstr "Curseur haut" + +#. i18n: file: gui/addshortcutdialog.ui:14 +#. i18n: ectx: property (windowTitle), widget (QDialog, AddShortcutDialog) +#. i18n: file: gui/adddictdialog.ui:14 +#. i18n: ectx: property (windowTitle), widget (QDialog, AddDictDialog) +#: rc.cpp:3 rc.cpp:18 +#, kde-format +msgid "Dialog" +msgstr "Dialogue" + +#: src/kkc.h:131 +msgid "Dictionary" +msgstr "Dictionnaire" + +#: gui/dictwidget.cpp:36 +msgid "Dictionary Manager" +msgstr "Gestionnaire de dictionnaires" + +#: gui/shortcutmodel.cpp:38 src/kkc.cpp:144 src/kkc.h:48 +msgid "Direct input" +msgstr "Saisie directe" + +#. i18n: file: gui/dictwidget.ui:14 +#. i18n: ectx: property (windowTitle), widget (QWidget, KkcDictWidget) +#. i18n: file: gui/shortcutwidget.ui:20 +#. i18n: ectx: property (windowTitle), widget (QWidget, KkcShortcutWidget) +#: rc.cpp:15 rc.cpp:27 +#, kde-format +msgid "Form" +msgstr "Formulaire" + +#: gui/shortcutmodel.cpp:83 +msgid "Function" +msgstr "Fonction" + +#: gui/shortcutmodel.cpp:37 src/kkc.cpp:141 src/kkc.h:47 +msgid "Half width Katakana" +msgstr "Katakana demi-largeur" + +#: gui/shortcutmodel.cpp:37 src/kkc.cpp:139 src/kkc.h:46 +msgid "Hiragana" +msgstr "Hiragana" + +#: src/kkc.h:40 +msgid "Horizontal" +msgstr "Horizontal" + +#: src/kkc.h:91 +msgid "Initial Input Mode" +msgstr "Mode de saisie initial" + +#: gui/shortcutmodel.cpp:79 +msgid "Input Mode" +msgstr "Mode de saisie" + +#: src/kkc.h:42 +msgid "Japanese" +msgstr "Japonais" + +#: org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in:8 +msgid "Japanese input method" +msgstr "Méthode de saisie du japonais" + +#: org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in:7 +msgid "KKC" +msgstr "KKC" + +#: src/kkc-addon.conf.in.in:2 +msgid "KKC Addon of Fcitx" +msgstr "Extension KKC de Fcitx" + +#: src/kkc.conf.in:2 +msgid "Kana Kanji" +msgstr "Kana Kanji" + +#: gui/shortcutmodel.cpp:37 src/kkc.cpp:140 src/kkc.h:46 +msgid "Katakana" +msgstr "Katakana" + +#: gui/shortcutmodel.cpp:81 +msgid "Key" +msgstr "Touche" + +#: gui/shortcutwidget.cpp:91 +msgid "Key Conflict" +msgstr "Conflit de touches" + +#: gui/shortcutwidget.cpp:92 +msgid "Key to add is conflict with existing shortcut." +msgstr "La touche à ajouter est en conflit avec un raccourci clavier existant" + +#: gui/shortcutmodel.cpp:38 src/kkc.cpp:142 src/kkc.h:43 src/kkc.h:47 +msgid "Latin" +msgstr "Latin" + +#: src/kkc.h:39 +msgid "Not set" +msgstr "Non définit" + +#: src/kkc.h:127 +msgid "Number candidate of Triggers To Show Candidate Window" +msgstr "" +"Nombre de propositions à déclencher pour afficher la fenêtre de propositions" + +#: src/kkc.h:93 +msgid "Page size" +msgstr "Taille de page" + +#: src/kkc.h:88 +msgid "Punctuation Style" +msgstr "Style de ponctuation" + +#. i18n: file: gui/shortcutwidget.ui:28 +#. i18n: ectx: property (text), widget (QLabel, ruleLabel_) +#: rc.cpp:30 +#, kde-format +msgid "R&ule:" +msgstr "&Règle :" + +#: src/kkc.h:86 +msgid "Rule" +msgstr "Règle" + +#: src/kkc.h:129 +msgid "Rule Editor" +msgstr "Éditeur de règles" + +#: gui/shortcutwidget.cpp:67 +msgid "Save Changes" +msgstr "Sauvegarder les changements" + +#: gui/adddictdialog.cpp:73 +msgid "Select Dictionary Directory" +msgstr "Sélectionner le dossier des dictionnaires" + +#: gui/adddictdialog.cpp:58 +msgid "Select Dictionary File" +msgstr "Sélectionner le fichier de dictionnaire" + +#: gui/shortcutwidget.cpp:58 +msgid "Shortcut Manager" +msgstr "Gestionnaire de raccourcis clavier" + +#: src/kkc.h:123 +msgid "Show Annotation" +msgstr "Afficher les annotations" + +#: gui/adddictdialog.cpp:31 +msgid "System" +msgstr "Système" + +#: gui/shortcutwidget.cpp:68 +msgid "" +"The content has changed.\n" +"Do you want to save the changes or discard them?" +msgstr "" +"Le contenu à été modifié\n" +"Désirez-vous sauvegarder les changements ou les abandonner ?" + +#: gui/adddictdialog.cpp:32 +msgid "User" +msgstr "Utilisateur" + +#: src/kkc.h:40 +msgid "Vertical" +msgstr "Vertical" + +#: gui/shortcutmodel.cpp:38 src/kkc.cpp:143 src/kkc.h:43 src/kkc.h:48 +msgid "Wide latin" +msgstr "Latin large" + +#: src/kkc.h:44 +msgid "Wide latin Japanese" +msgstr "Japonais latin large" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx5-kkc-5.1.7/src/kkc.cpp new/fcitx5-kkc-5.1.9/src/kkc.cpp --- old/fcitx5-kkc-5.1.7/src/kkc.cpp 2025-06-16 08:25:39.000000000 +0200 +++ new/fcitx5-kkc-5.1.9/src/kkc.cpp 2025-12-22 07:18:12.000000000 +0100 @@ -637,6 +637,11 @@ } if (mode == 1) { + std::string_view partialpath = path; + if (stringutils::consumePrefix(partialpath, "$XDG_DATA_DIRS/")) { + path = StandardPaths::global().locate(StandardPathsType::Data, + partialpath); + } auto dict = makeGObjectUnique(reinterpret_cast<KkcDictionary *>( kkc_system_segment_dictionary_new(path.c_str(), "EUC-JP", NULL))); @@ -646,19 +651,17 @@ KKC_DICTIONARY(dict.get())); } } else { - constexpr char configDir[] = "$FCITX_CONFIG_DIR/"; - constexpr auto len = sizeof(configDir) - 1; - std::string realpath = path; - if (stringutils::startsWith(path, "$FCITX_CONFIG_DIR/")) { - realpath = StandardPaths::global().userDirectory( - StandardPathsType::PkgData) / - path.substr(len); + std::string_view partialpath = path; + if (stringutils::consumePrefix(partialpath, "$FCITX_CONFIG_DIR/")) { + path = StandardPaths::global().userDirectory( + StandardPathsType::PkgData) / + partialpath; } auto userdict = makeGObjectUnique(reinterpret_cast<KkcDictionary *>( - kkc_user_dictionary_new(realpath.c_str(), NULL))); + kkc_user_dictionary_new(path.c_str(), NULL))); if (userdict) { - KKC_DEBUG() << "Loaded user dict: " << realpath; + KKC_DEBUG() << "Loaded user dict: " << path; kkc_dictionary_list_add(dictionaries_.get(), KKC_DICTIONARY(userdict.get())); }
