Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ibus-m17n for openSUSE:Factory checked in at 2022-09-18 17:32:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibus-m17n (Old) and /work/SRC/openSUSE:Factory/.ibus-m17n.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus-m17n" Sun Sep 18 17:32:18 2022 rev:31 rq:1004408 version:1.4.17 Changes: -------- --- /work/SRC/openSUSE:Factory/ibus-m17n/ibus-m17n.changes 2022-09-09 18:29:10.093211216 +0200 +++ /work/SRC/openSUSE:Factory/.ibus-m17n.new.2083/ibus-m17n.changes 2022-09-18 17:32:19.661789312 +0200 @@ -1,0 +2,9 @@ +Sun Sep 18 05:53:54 UTC 2022 - Gordon Leung <piratec...@protonmail.com> + +update: 1.4.13 -> 1.4.17 +- Fix problem that sa-IAST input method cannot be activated and make settings of sa-IAST work + * https://github.com/ibus/ibus-m17n/issues/52 +- Let IBusM17nEngine inherit from IBusEngineSimple to enable compose support + * https://github.com/ibus/ibus-m17n/issues/51 + +------------------------------------------------------------------- Old: ---- ibus-m17n-1.4.13.tar.gz New: ---- ibus-m17n-1.4.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibus-m17n.spec ++++++ --- /var/tmp/diff_new_pack.CBfcC2/_old 2022-09-18 17:32:20.453791623 +0200 +++ /var/tmp/diff_new_pack.CBfcC2/_new 2022-09-18 17:32:20.457791635 +0200 @@ -17,7 +17,7 @@ Name: ibus-m17n -Version: 1.4.13 +Version: 1.4.17 Release: 0 Summary: The M17N engine for IBus platform License: GPL-2.0-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.CBfcC2/_old 2022-09-18 17:32:20.489791728 +0200 +++ /var/tmp/diff_new_pack.CBfcC2/_new 2022-09-18 17:32:20.493791739 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/ibus/ibus-m17n</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">1.4.13</param> + <param name="revision">1.4.17</param> <param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> </service> ++++++ ibus-m17n-1.4.13.tar.gz -> ibus-m17n-1.4.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/configure new/ibus-m17n-1.4.17/configure --- old/ibus-m17n-1.4.13/configure 2022-09-08 10:19:05.000000000 +0200 +++ new/ibus-m17n-1.4.17/configure 2022-09-17 20:46:14.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for ibus-m17n 1.4.13. +# Generated by GNU Autoconf 2.71 for ibus-m17n 1.4.17. # # Report bugs to <http://code.google.com/p/ibus/issues/entry>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='ibus-m17n' PACKAGE_TARNAME='ibus-m17n' -PACKAGE_VERSION='1.4.13' -PACKAGE_STRING='ibus-m17n 1.4.13' +PACKAGE_VERSION='1.4.17' +PACKAGE_STRING='ibus-m17n 1.4.17' PACKAGE_BUGREPORT='http://code.google.com/p/ibus/issues/entry' PACKAGE_URL='' @@ -1416,7 +1416,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ibus-m17n 1.4.13 to adapt to many kinds of systems. +\`configure' configures ibus-m17n 1.4.17 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1487,7 +1487,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ibus-m17n 1.4.13:";; + short | recursive ) echo "Configuration of ibus-m17n 1.4.17:";; esac cat <<\_ACEOF @@ -1623,7 +1623,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ibus-m17n configure 1.4.13 +ibus-m17n configure 1.4.17 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2046,7 +2046,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ibus-m17n $as_me 1.4.13, which was +It was created by ibus-m17n $as_me 1.4.17, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3534,7 +3534,7 @@ # Define the identity of the package. PACKAGE='ibus-m17n' - VERSION='1.4.13' + VERSION='1.4.17' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -5106,9 +5106,9 @@ # define PACKAGE_VERSION_* variables - PACKAGE_VERSION_MAJOR=$(echo 1.4.13 | cut -d'.' -f1) - PACKAGE_VERSION_MINOR=$(echo 1.4.13 | cut -d'.' -f2) - PACKAGE_VERSION_MICRO=$(echo 1.4.13 | cut -d'.' -f3) + PACKAGE_VERSION_MAJOR=$(echo 1.4.17 | cut -d'.' -f1) + PACKAGE_VERSION_MINOR=$(echo 1.4.17 | cut -d'.' -f2) + PACKAGE_VERSION_MICRO=$(echo 1.4.17 | cut -d'.' -f3) @@ -5118,7 +5118,7 @@ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 printf %s "checking nano version... " >&6; } - NANO=$(echo 1.4.13 | cut -d'.' -f4) + NANO=$(echo 1.4.17 | cut -d'.' -f4) if test x"$NANO" = x || test "x$NANO" = "x0" ; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 @@ -21463,7 +21463,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ibus-m17n $as_me 1.4.13, which was +This file was extended by ibus-m17n $as_me 1.4.17, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21531,7 +21531,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -ibus-m17n config.status 1.4.13 +ibus-m17n config.status 1.4.17 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/configure.ac new/ibus-m17n-1.4.17/configure.ac --- old/ibus-m17n-1.4.13/configure.ac 2022-09-08 10:17:04.000000000 +0200 +++ new/ibus-m17n-1.4.17/configure.ac 2022-09-17 20:45:44.000000000 +0200 @@ -22,7 +22,7 @@ m4_define([ibus_released], [1]) m4_define([ibus_major_version], [1]) m4_define([ibus_minor_version], [4]) -m4_define([ibus_micro_version], [13]) +m4_define([ibus_micro_version], [17]) m4_define(ibus_maybe_datestamp, m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi])) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/m17n.appdata.xml new/ibus-m17n-1.4.17/m17n.appdata.xml --- old/ibus-m17n-1.4.13/m17n.appdata.xml 2022-09-08 10:17:17.000000000 +0200 +++ new/ibus-m17n-1.4.17/m17n.appdata.xml 2022-09-17 20:45:44.000000000 +0200 @@ -33,6 +33,21 @@ <url type="translate">https://translate.fedoraproject.org/projects/ibus-m17n/</url> <content_rating type="oars-1.1" /> <releases> + <release version="1.4.17" date="2022-09-17" urgency="medium"> + <description> + <p>This new stable release includes these changes:</p> + </description> + <url>https://github.com/ibus/ibus-m17n/releases/tag/1.4.17</url> + <issues> + <issue url="https://github.com/ibus/ibus-m17n/issues/52"> + Fix problem that sa-IAST input method cannot be activated and + make settings of sa-IAST work. + </issue> + <issue url="https://github.com/ibus/ibus-m17n/pull/51"> + Let IBusM17nEngine inherit from IBusEngineSimple to enable compose support + </issue> + </issues> + </release> <release version="1.4.13" date="2022-09-08" urgency="medium"> <description> <p>This new stable release includes these changes:</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/ar.po new/ibus-m17n-1.4.17/po/ar.po --- old/ibus-m17n-1.4.13/po/ar.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/ar.po 2022-09-17 20:46:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.9\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2022-09-04 07:05+0000\n" "Last-Translator: Avid Seeker <avidseek...@protonmail.com>\n" "Language-Team: Arabic <https://translate.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/bn.po new/ibus-m17n-1.4.17/po/bn.po --- old/ibus-m17n-1.4.13/po/bn.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/bn.po 2022-09-17 20:46:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.3\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2021-04-04 09:01+0000\n" "Last-Translator: Abu Huraira <abuhura...@tutamail.com>\n" "Language-Team: Bengali <https://translate.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/de.po new/ibus-m17n-1.4.17/po/de.po --- old/ibus-m17n-1.4.13/po/de.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/de.po 2022-09-17 20:46:22.000000000 +0200 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.0\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2019-12-19 09:38+0000\n" "Last-Translator: Mike FABIAN <mfab...@redhat.com>\n" "Language-Team: German <https://translate.stg.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/es.po new/ibus-m17n-1.4.17/po/es.po --- old/ibus-m17n-1.4.13/po/es.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/es.po 2022-09-17 20:46:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2020-06-19 12:40+0000\n" "Last-Translator: Emilio Herrera <ehespinos...@gmail.com>\n" "Language-Team: Spanish <https://translate.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/fa.po new/ibus-m17n-1.4.17/po/fa.po --- old/ibus-m17n-1.4.13/po/fa.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/fa.po 2022-09-17 20:46:22.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/fr.po new/ibus-m17n-1.4.17/po/fr.po --- old/ibus-m17n-1.4.13/po/fr.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/fr.po 2022-09-17 20:46:22.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2020-01-18 16:32+0000\n" "Last-Translator: Julien Humbert <julro...@gmail.com>\n" "Language-Team: French <https://translate.stg.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/ibus-m17n.pot new/ibus-m17n-1.4.17/po/ibus-m17n.pot --- old/ibus-m17n-1.4.13/po/ibus-m17n.pot 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/ibus-m17n.pot 2022-09-17 20:45:44.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: ibus-m17n 1.4.13\n" +"Project-Id-Version: ibus-m17n 1.4.17\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/id.po new/ibus-m17n-1.4.17/po/id.po --- old/ibus-m17n-1.4.13/po/id.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/id.po 2022-09-17 20:46:22.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2019-12-20 00:06+0000\n" "Last-Translator: Mike FABIAN <mfab...@redhat.com>\n" "Language-Team: Indonesian <https://translate.stg.fedoraproject.org/projects/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/ja.po new/ibus-m17n-1.4.17/po/ja.po --- old/ibus-m17n-1.4.13/po/ja.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/ja.po 2022-09-17 20:46:22.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2019-12-19 09:38+0000\n" "Last-Translator: Mike FABIAN <mfab...@redhat.com>\n" "Language-Team: Japanese <https://translate.stg.fedoraproject.org/projects/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/ka.po new/ibus-m17n-1.4.17/po/ka.po --- old/ibus-m17n-1.4.13/po/ka.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/ka.po 2022-09-17 20:46:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.10\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/pt_BR.po new/ibus-m17n-1.4.17/po/pt_BR.po --- old/ibus-m17n-1.4.13/po/pt_BR.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/pt_BR.po 2022-09-17 20:46:22.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2021-03-08 02:01+0000\n" "Last-Translator: Rafael Fontenelle <rafae...@gnome.org>\n" "Language-Team: Portuguese (Brazil) <https://translate.fedoraproject.org/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/si.po new/ibus-m17n-1.4.17/po/si.po --- old/ibus-m17n-1.4.13/po/si.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/si.po 2022-09-17 20:46:23.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.3\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2021-08-18 09:19+0000\n" "Last-Translator: Hela Basa <r45xv...@pm.me>\n" "Language-Team: Sinhala <https://translate.fedoraproject.org/projects/ibus-" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/tr.po new/ibus-m17n-1.4.17/po/tr.po --- old/ibus-m17n-1.4.13/po/tr.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/tr.po 2022-09-17 20:46:22.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.0\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2019-12-19 11:20+0000\n" "Last-Translator: O??uz Ersen <oguzer...@protonmail.com>\n" "Language-Team: Turkish <https://translate.stg.fedoraproject.org/projects/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/uk.po new/ibus-m17n-1.4.17/po/uk.po --- old/ibus-m17n-1.4.13/po/uk.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/uk.po 2022-09-17 20:46:22.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2020-01-17 17:15+0000\n" "Last-Translator: Yuri Chornoivan <yurc...@ukr.net>\n" "Language-Team: Ukrainian <https://translate.stg.fedoraproject.org/projects/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/zh_CN.po new/ibus-m17n-1.4.17/po/zh_CN.po --- old/ibus-m17n-1.4.13/po/zh_CN.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/zh_CN.po 2022-09-17 20:46:22.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2021-01-28 17:40+0000\n" "Last-Translator: Dingzhong Chen <wsxy...@gmail.com>\n" "Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/po/zh_TW.po new/ibus-m17n-1.4.17/po/zh_TW.po --- old/ibus-m17n-1.4.13/po/zh_TW.po 2022-09-08 10:19:15.000000000 +0200 +++ new/ibus-m17n-1.4.17/po/zh_TW.po 2022-09-17 20:46:22.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ibus-m17n 1.4.1\n" "Report-Msgid-Bugs-To: http://code.google.com/p/ibus/issues/entry\n" -"POT-Creation-Date: 2022-09-08 10:19+0200\n" +"POT-Creation-Date: 2022-09-17 20:44+0200\n" "PO-Revision-Date: 2022-07-21 06:42+0000\n" "Last-Translator: Mike FABIAN <mfab...@redhat.com>\n" "Language-Team: Chinese (Traditional) <https://translate.fedoraproject.org/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ibus-m17n-1.4.13/src/engine.c new/ibus-m17n-1.4.17/src/engine.c --- old/ibus-m17n-1.4.13/src/engine.c 2022-09-02 09:38:46.000000000 +0200 +++ new/ibus-m17n-1.4.17/src/engine.c 2022-09-17 17:48:01.000000000 +0200 @@ -14,7 +14,7 @@ typedef struct _IBusM17NEngineClass IBusM17NEngineClass; struct _IBusM17NEngine { - IBusEngine parent; + IBusEngineSimple parent; /* members */ MInputContext *context; @@ -30,7 +30,7 @@ }; struct _IBusM17NEngineClass { - IBusEngineClass parent; + IBusEngineSimpleClass parent; /* configurations are per class */ GSettings *gsettings; @@ -94,7 +94,7 @@ static void ibus_m17n_engine_update_lookup_table (IBusM17NEngine *m17n); -static IBusEngineClass *parent_class = NULL; +static IBusEngineSimpleClass *parent_class = NULL; void ibus_m17n_init (IBusBus *bus) @@ -160,6 +160,7 @@ { GType type; gchar *type_name, *lang = NULL, *name = NULL; + int i; GTypeInfo type_info = { sizeof (IBusM17NEngineClass), @@ -178,6 +179,12 @@ g_free (name); return G_TYPE_INVALID; } + for (i = 0; lang[i] != '\0'; i++) { + lang[i] = g_ascii_tolower (lang[i]); + } + for (i = 0; name[i] != '\0'; i++) { + name[i] = g_ascii_tolower (name[i]); + } lang[0] = g_ascii_toupper (lang[0]); name[0] = g_ascii_toupper (name[0]); type_name = g_strdup_printf ("IBusM17N%s%sEngine", lang, name); @@ -185,10 +192,10 @@ g_free (name); type = g_type_from_name (type_name); - g_assert (type == 0 || g_type_is_a (type, IBUS_TYPE_ENGINE)); + g_assert (type == 0 || g_type_is_a (type, IBUS_TYPE_ENGINE_SIMPLE)); if (type == 0) { - type = g_type_register_static (IBUS_TYPE_ENGINE, + type = g_type_register_static (IBUS_TYPE_ENGINE_SIMPLE, type_name, &type_info, (GTypeFlags) 0); @@ -208,7 +215,7 @@ IBusM17NEngineConfig *engine_config; if (parent_class == NULL) - parent_class = (IBusEngineClass *) g_type_class_peek_parent (klass); + parent_class = (IBusEngineSimpleClass *) g_type_class_peek_parent (klass); object_class->constructor = ibus_m17n_engine_constructor; ibus_object_class->destroy = (IBusObjectDestroyFunc) ibus_m17n_engine_destroy; @@ -238,24 +245,46 @@ g_free (name); return; } - klass->gsettings = g_settings_new_with_path ( - "org.freedesktop.ibus.engine.m17n", - g_strdup_printf ("/org/freedesktop/ibus/engine/m17n/%s/%s/", - lang, name)); MPlist *l = minput_get_title_icon (msymbol (lang), msymbol (name)); + if (l == NULL) { + /* + If finding the icon did not work, try it in all upper case. + This is a silly hack to make it work with /usr/share/sa-iast.mim which + contains (input-method sa IAST ) and has the icon: /usr/share/m17n/icons/sa-IAST.png + Without this hack, the gsettings for sa-IAST do not work either. + See also: https://github.com/ibus/ibus-m17n/issues/52 + */ + int i; + gchar *name_uppercase; + name_uppercase = g_strdup (name); + for (i = 0; name_uppercase[i] != '\0'; i++) { + name_uppercase[i] = g_ascii_toupper(name_uppercase[i]); + } + l = minput_get_title_icon (msymbol (lang), msymbol (name_uppercase)); + if (l) { + g_free(name); + name = g_strdup (name_uppercase); + } + g_free (name_uppercase); + } if (l && mplist_key (l) == Mtext) { klass->title = ibus_m17n_mtext_to_utf8 (mplist_value (l)); + MPlist *n = mplist_next (l); + if (n && mplist_key (n) == Mtext) { + klass->icon = ibus_m17n_mtext_to_utf8 (mplist_value (n)); + } + else { + klass->icon = NULL; + } } else { klass->title = NULL; - } - MPlist *n = mplist_next (l); - if (n && mplist_key (n) == Mtext) { - klass->icon = ibus_m17n_mtext_to_utf8 (mplist_value (n)); - } - else { klass->icon = NULL; } + klass->gsettings = g_settings_new_with_path ( + "org.freedesktop.ibus.engine.m17n", + g_strdup_printf ("/org/freedesktop/ibus/engine/m17n/%s/%s/", + lang, name)); engine_name = g_strdup_printf ("m17n:%s:%s", lang, name); klass->engine_name = g_strdup (engine_name); klass->lang = g_strdup (lang); @@ -380,9 +409,17 @@ klass->icon, ibus_text_new_from_string (klass->engine_name), TRUE, - FALSE, - 0, + TRUE, + PROP_STATE_UNCHECKED, NULL); + /* + If a text instead of an icon should be shown at the status property + a symbol needs to be set + */ + /* + ibus_property_set_symbol(m17n->status_prop, + ibus_text_new_from_string (klass->engine_name)); + */ g_object_ref_sink (m17n->status_prop); ibus_prop_list_append (m17n->prop_list, m17n->status_prop); @@ -695,6 +732,21 @@ break; } + if (IBUS_ENGINE_CLASS (parent_class)->process_key_event (engine, keyval, keycode, modifiers)) { + if (mtext_len (m17n->context->preedit) > 0) { + gchar *buf; + buf = ibus_m17n_mtext_to_utf8 (m17n->context->preedit); + if (buf) { + IBusText *text; + text = ibus_text_new_from_string (buf); + ibus_engine_commit_text (engine, text); + g_free (buf); + } + minput_reset_ic (m17n->context); + } + return TRUE; + } + if (modifiers & IBUS_RELEASE_MASK) return FALSE; @@ -733,7 +785,7 @@ ibus_engine_register_properties (engine, m17n->prop_list); ibus_m17n_engine_process_key (m17n, Minput_focus_in); - parent_class->focus_in (engine); + IBUS_ENGINE_CLASS (parent_class)->focus_in (engine); } static void @@ -746,7 +798,7 @@ m17n-lib. */ minput_reset_ic (m17n->context); - parent_class->focus_out (engine); + IBUS_ENGINE_CLASS (parent_class)->focus_out (engine); } static void @@ -754,7 +806,7 @@ { IBusM17NEngine *m17n = (IBusM17NEngine *) engine; - parent_class->reset (engine); + IBUS_ENGINE_CLASS (parent_class)->reset (engine); minput_reset_ic (m17n->context); } @@ -762,7 +814,7 @@ static void ibus_m17n_engine_enable (IBusEngine *engine) { - parent_class->enable (engine); + IBUS_ENGINE_CLASS (parent_class)->enable (engine); /* Issue a dummy ibus_engine_get_surrounding_text() call to tell input context that we will use surrounding-text. */ @@ -773,7 +825,7 @@ ibus_m17n_engine_disable (IBusEngine *engine) { ibus_m17n_engine_focus_out (engine); - parent_class->disable (engine); + IBUS_ENGINE_CLASS (parent_class)->disable (engine); } static void @@ -782,7 +834,7 @@ IBusM17NEngine *m17n = (IBusM17NEngine *) engine; ibus_m17n_engine_process_key (m17n, msymbol ("Up")); - parent_class->page_up (engine); + IBUS_ENGINE_CLASS (parent_class)->page_up (engine); } static void @@ -792,7 +844,7 @@ IBusM17NEngine *m17n = (IBusM17NEngine *) engine; ibus_m17n_engine_process_key (m17n, msymbol ("Down")); - parent_class->page_down (engine); + IBUS_ENGINE_CLASS (parent_class)->page_down (engine); } static void @@ -802,7 +854,7 @@ IBusM17NEngine *m17n = (IBusM17NEngine *) engine; ibus_m17n_engine_process_key (m17n, msymbol ("Left")); - parent_class->cursor_up (engine); + IBUS_ENGINE_CLASS (parent_class)->cursor_up (engine); } static void @@ -812,7 +864,7 @@ IBusM17NEngine *m17n = (IBusM17NEngine *) engine; ibus_m17n_engine_process_key (m17n, msymbol ("Right")); - parent_class->cursor_down (engine); + IBUS_ENGINE_CLASS (parent_class)->cursor_down (engine); } static void @@ -836,7 +888,7 @@ } #endif /* HAVE_SETUP */ - parent_class->property_activate (engine, prop_name, prop_state); + IBUS_ENGINE_CLASS (parent_class)->property_activate (engine, prop_name, prop_state); } static void