public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Update and fix typo in autostart scripts
Date: Sun, 31 May 2026 02:07:44 GMT	[thread overview]
Message-ID: <178019326478.1.5932743248915189384.rpms-ibus-62afb9683873@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 62afb9683873166b5e171df4fb7e415ef86c0298
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2022-01-18T17:32:16+09:00
Stats  : +82/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/62afb9683873166b5e171df4fb7e415ef86c0298?branch=autotool

Log:
Update and fix typo in autostart scripts

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index a2c6b3f..1c15687 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1139,3 +1139,81 @@ index 9aeafbf9..7e844838 100644
 -- 
 2.33.1
 
+From f5757ada54edaa7d2e3ea948d340cdf48064e30c Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Thu, 6 Jan 2022 11:20:26 +0900
+Subject: [PATCH] ibusenginesimple: Fix to send char position at
+ update_preedit_text
+
+ibus_engine_update_preedit_text() should send the character position
+instead of the byte position.
+
+BUG=https://github.com/ibus/ibus/issues/2368
+---
+ src/ibusenginesimple.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ibusenginesimple.c b/src/ibusenginesimple.c
+index 83b04ebc..a80e41a5 100644
+--- a/src/ibusenginesimple.c
++++ b/src/ibusenginesimple.c
+@@ -2,7 +2,7 @@
+ /* vim:set et sts=4: */
+ /* ibus - The Input Bus
+  * Copyright (C) 2014 Peng Huang <shawn.p.huang@gmail.com>
+- * Copyright (C) 2015-2021 Takao Fujiwara <takao.fujiwara1@gmail.com>
++ * Copyright (C) 2015-2022 Takao Fujiwara <takao.fujiwara1@gmail.com>
+  * Copyright (C) 2014-2017 Red Hat, Inc.
+  *
+  * This library is free software; you can redistribute it and/or
+@@ -386,7 +386,7 @@ ibus_engine_simple_update_preedit_text (IBusEngineSimple *simple)
+     } else if (s->len >= G_MAXINT) {
+         g_warning ("%s is too long compose length: %lu", s->str, s->len);
+     } else {
+-        int len = (int)s->len;
++        guint len = (guint)g_utf8_strlen (s->str, -1);
+         IBusText *text = ibus_text_new_from_string (s->str);
+         ibus_text_append_attribute (text,
+                 IBUS_ATTR_TYPE_UNDERLINE, IBUS_ATTR_UNDERLINE_SINGLE, 0, len);
+-- 
+2.33.1
+
+From 3abcb19619750e242e1641c1c443fb460f055289 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 18 Jan 2022 17:03:53 +0900
+Subject: [PATCH] src/tests: Update ibus-desktop-testing-autostart
+
+---
+ src/tests/ibus-desktop-testing-autostart | 2+
+ src/tests/ibus-desktop-testing.desktop.in | 2 +-
+ 2 file changed, 3 insertion(+), 1 deletion(-)
+
+diff --git a/src/tests/ibus-desktop-testing-autostart b/src/tests/ibus-desktop-testing-autostart
+index da22b64e..1e1eb180 100755
+--- a/src/tests/ibus-desktop-testing-autostart
++++ b/src/tests/ibus-desktop-testing-autostart
+@@ -29,6 +29,8 @@ pwd
+ pstree -asp $$
+ gsettings list-recursively org.gnome.shell
+ rpm -q gnome-shell-extension-no-overview gnome-shell gnome-session
++ps -ef | grep ibus | grep -v grep
++ibus address
+ '
+ 
+ if [ $# -gt 0 ] ; then
+diff --git a/src/tests/ibus-desktop-testing.desktop.in b/src/tests/ibus-desktop-testing.desktop.in
+index fa0c9b40..1b815345 100644
+--- a/src/tests/ibus-desktop-testing.desktop.in
++++ b/src/tests/ibus-desktop-testing.desktop.in
+@@ -2,7 +2,7 @@
+ Name=IBus Desktop Testing Runner
+ GenericName=Input Method Desktop Testing Runner
+ Comment=Test plugin for IBus Desktop Testing
+-Exec=@ibexecdir@/ibus-desktop-testing-autostart /var/tmp/ibus-ci-autostart.log
++Exec=@libexecdir@/ibus-desktop-testing-autostart /var/tmp/ibus-ci-autostart.log
+ Terminal=false
+ Type=Application
+ Encoding=UTF-8
+-- 
+2.33.1
+

diff --git a/ibus.spec b/ibus.spec
index 595571c..80ee9cc 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -39,7 +39,7 @@
 
 Name:           ibus
 Version:        1.5.25
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 URL:            https://github.com/ibus/%name/wiki
@@ -517,6 +517,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Jan 18 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.25-7
+- Update and fix typo in autostart scripts
+
 * Fri Dec 03 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.25-6
 - Check mtime of entity compose file instead of one of symlink file
 - Disable emoji shortcut key with no-emoji hint

                 reply	other threads:[~2026-05-31  2:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019326478.1.5932743248915189384.rpms-ibus-62afb9683873@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox