public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Update #2195 patch backport (it was revised upstream)
@ 2026-05-31  2:07 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-05-31  2:07 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:07 [rpms/ibus] autotool: Update #2195 patch backport (it was revised upstream) Adam Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox