public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Update #2195 patch backport (it was revised upstream)
Date: Sun, 31 May 2026 02:07:22 GMT	[thread overview]
Message-ID: <178019324254.1.2304243449238003361.rpms-ibus-bb97060ecb8a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : bb97060ecb8ad9d6aa33380c226f45180808384c
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2020-03-11T12:00:36-07:00
Stats  : +10/-14 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/bb97060ecb8ad9d6aa33380c226f45180808384c?branch=autotool

Log:
Update #2195 patch backport (it was revised upstream)

---
diff --git a/2195.patch b/2195.patch
index a56882e..25d2a6f 100644
--- a/2195.patch
+++ b/2195.patch
@@ -1,4 +1,4 @@
-From 1bed77ad198bc6ad7184674c510425039143fac7 Mon Sep 17 00:00:00 2001
+From 0c77da82ea59bdeb0c50683ba6f7f2b92b15901c Mon Sep 17 00:00:00 2001
 From: Carlos Garnacho <carlosg@gnome.org>
 Date: Wed, 11 Mar 2020 17:08:37 +0100
 Subject: [PATCH] src: Use WAYLAND_DISPLAY on Wayland sessions to make up IBus
@@ -26,7 +26,7 @@ Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2341
  1 file changed, 9 insertions(+), 2 deletions(-)
 
 diff --git a/src/ibusshare.c b/src/ibusshare.c
-index 0d50d3f5c..b8e6450f6 100644
+index 0d50d3f5c..e0ef2ce08 100644
 --- a/src/ibusshare.c
 +++ b/src/ibusshare.c
 @@ -100,6 +100,7 @@ ibus_get_socket_path (void)
@@ -37,7 +37,7 @@ index 0d50d3f5c..b8e6450f6 100644
          gchar *p;
  
          path = g_strdup (g_getenv ("IBUS_ADDRESS_FILE"));
-@@ -108,13 +109,17 @@ ibus_get_socket_path (void)
+@@ -108,13 +109,19 @@ ibus_get_socket_path (void)
          }
  
          if (_display == NULL) {
@@ -53,16 +53,9 @@ index 0d50d3f5c..b8e6450f6 100644
          }
  
 -        if (display) {
-+        if (display && !is_wayland) {
++        if (is_wayland) {
++            displaynumber = display;
++        } else if (display) {
              p = display;
              hostname = display;
              for (; *p != ':' && *p != '\0'; p++);
-@@ -133,6 +138,8 @@ ibus_get_socket_path (void)
-                 /* Do not use screennumber
-                  screennumber = p; */
-             }
-+        } else if (display) {
-+            displaynumber = display;
-         }
- 
-         if (hostname[0] == '\0')

diff --git a/ibus.spec b/ibus.spec
index 4998e37..75399da 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -35,7 +35,7 @@
 
 Name:           ibus
 Version:        1.5.22
-Release:        3%{?dist}
+Release:        4%{?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
+* Wed Mar 11 2020 Adam Williamson <awilliam@redhat.com> - 1.5.22-4
+- Update #2195 patch backport (it was revised upstream)
+
 * Wed Mar 11 2020 Adam Williamson <awilliam@redhat.com> - 1.5.22-3
 - Backport PR #2195 to fix ibus with GNOME 3.36.0
 

                 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=178019324254.1.2304243449238003361.rpms-ibus-bb97060ecb8a@fedoraproject.org \
    --to=awilliam@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