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: Delete G_MESSAGES_DEBUG for gsettings output
Date: Sun, 31 May 2026 02:07:38 GMT	[thread overview]
Message-ID: <178019325812.1.9293141738394568317.rpms-ibus-7da805820c00@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 7da805820c00e742d67d7e4a620ed93b04a9cb48
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2021-06-29T12:47:30+09:00
Stats  : +54/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/7da805820c00e742d67d7e4a620ed93b04a9cb48?branch=autotool

Log:
Delete G_MESSAGES_DEBUG for gsettings output

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 3b0b706..97124ab 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -2164,3 +2164,53 @@ index 15b2369d..54b7e0d7 100755
 -- 
 2.28.0
 
+From ab6b9587a497e9662a2936df3dabed4582eeabdb Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 29 Jun 2021 12:40:20 +0900
+Subject: [PATCH] src/tests: Delete G_MESSAGES_DEBUG in desktop-testing for
+ gsettings
+
+G_MESSAGES_DEBUG message could be appended to the output of gsettings
+command and it's not useful to check the output.
+---
+ src/tests/ibus-desktop-testing-runner.in | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+diff --git a/src/tests/ibus-desktop-testing-runner.in b/src/tests/ibus-desktop-testing-runner.in
+index 54b7e0d7..0ef72c03 100755
+--- a/src/tests/ibus-desktop-testing-runner.in
++++ b/src/tests/ibus-desktop-testing-runner.in
+@@ -217,6 +217,10 @@ init_gnome()
+ {
+     # gsettings set command needs dconf-service with the same $DISPLAY
+     pkill dconf-service
++    # G_MESSAGES_DEBUG=all or G_MESSAGES_DEBUG=GLib-GIO-DEBUG would append
++    # debug messages to gsettings output and could not get the result correctly.
++    backup_G_MESSAGES_DEBUG="$G_MESSAGES_DEBUG"
++    export -n G_MESSAGES_DEBUG=''
+     # Disable Tour dialog to get focus
+     V=`gsettings get org.gnome.shell welcome-dialog-last-shown-version`
+     if [ x"$V" = x"''" ] ; then
+@@ -238,14 +242,17 @@ init_gnome()
+     echo "$V" | grep "no-overview" > /dev/null
+     V2=$?
+     if [ $V2 -ne 0 ] ; then
+-        V3=`echo "$V" | sed -e 's/\[//' -e 's/\]//'`
+-        if [ x"$V3" = x"''" ] ; then
++        V3=`echo "$V" | sed -e 's/@as //' -e 's/\[//' -e 's/\]//'`
++        if [ x"$V3" = x"''" ] || [ x"$V3" = x"" ]; then
+             V4="['no-overview@fthx']"
+         else
+             V4="[$V3, 'no-overview@fthx']"
+         fi
+         gsettings set org.gnome.shell enabled-extensions "$V4"
+     fi
++    if [ x"$backup_G_MESSAGES_DEBUG" != x ] ; then
++        export G_MESSAGES_DEBUG="$backup_G_MESSAGES_DEBUG"
++    fi
+ }
+ 
+ run_desktop()
+-- 
+2.28.0
+

diff --git a/ibus.spec b/ibus.spec
index a7e34bd..cc96b39 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -38,7 +38,7 @@
 
 Name:           ibus
 Version:        1.5.24
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 URL:            https://github.com/ibus/%name/wiki
@@ -510,6 +510,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Jun 29 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.24-9
+- Delete G_MESSAGES_DEBUG for gsettings output
+
 * Mon Jun 28 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.24-8
 - Depend on gnome-shell-extension-no-overview for CI
 

                 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=178019325812.1.9293141738394568317.rpms-ibus-7da805820c00@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