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 ibus-desktop-testing-runner not to fail CI
Date: Sun, 31 May 2026 02:07:14 GMT	[thread overview]
Message-ID: <178019323483.1.17152522649544225000.rpms-ibus-727c9d4c5a52@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 727c9d4c5a525497e5d09b25463a259d780527f7
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2019-08-14T15:01:24+09:00
Stats  : +41/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/727c9d4c5a525497e5d09b25463a259d780527f7?branch=autotool

Log:
Update ibus-desktop-testing-runner not to fail CI

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 0b2eead..ec88af6 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -15271,3 +15271,40 @@ index f1df3ac1..fdd316a9 100644
 -- 
 2.21.0
 
+From 28c10d64d282fa9fbc35a7bc44a096f6137d5e46 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 13 Aug 2019 20:06:51 +0900
+Subject: [PATCH] src/tests: Set XDG_SESSION_TYPE in
+ ibus-desktop-testing-runner
+
+mutter 3.33.90 or later exits the session without loginctl.
+Now ibus-desktop-testing-runner has XDG_SESSION_TYPE forcibly
+not to exit gnome-shell.
+---
+ src/tests/ibus-desktop-testing-runner.in | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/tests/ibus-desktop-testing-runner.in b/src/tests/ibus-desktop-testing-runner.in
+index 3045d601..141e9b5b 100755
+--- a/src/tests/ibus-desktop-testing-runner.in
++++ b/src/tests/ibus-desktop-testing-runner.in
+@@ -157,6 +157,8 @@ _EOF
+             echo "$XDG_LANG_NEW" > $XDG_LOCALE_FILE
+         fi
+     fi
++    # `su` command does not run loginctl
++    export XDG_SESSION_TYPE='x11'
+ }
+ 
+ run_dbus_daemon()
+@@ -175,6 +177,7 @@ run_desktop()
+     PID_XORG=$!
+     sleep 1
+     export DISPLAY=$DISPLAY
++    echo "Running $DESKTOP_COMMAND with $USER in `tty`"
+     $DESKTOP_COMMAND &
+     PID_GNOME_SESSION=$!
+     sleep 30
+-- 
+2.21.0
+

diff --git a/ibus.spec b/ibus.spec
index e321945..ce95c3b 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -35,7 +35,7 @@
 
 Name:           ibus
 Version:        1.5.20
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 URL:            https://github.com/ibus/%name/wiki
@@ -464,6 +464,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Aug 13 2019 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.20-10
+- Update ibus-desktop-testing-runner not to fail CI.
+
 * Tue Aug 06 2019 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.20-9
 - ibus-daemon always will exits with parent's death.
 

diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml
index cd7cf72..13b9c19 100644
--- a/tests/roles/ibus-desktop-testing-role/tasks/main.yml
+++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml
@@ -73,7 +73,6 @@
       echo "${status} $TEST" >> {{ remote_artifacts }}/test.log
 
   - name: Check the results
-    #shell: grep "^FAIL" {{ remote_artifacts }}/test.log
     shell: |
         log="{{ remote_artifacts }}/test.log"
         if [ ! -f $log ] ; then

                 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=178019323483.1.17152522649544225000.rpms-ibus-727c9d4c5a52@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