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: Updated ibus-HEAD.patch from upstream
Date: Sun, 31 May 2026 02:06:16 GMT [thread overview]
Message-ID: <178019317662.1.14336972725508411144.rpms-ibus-0cb2056cc99b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 0cb2056cc99bfa7db2e4a19cdab1978484c6c5e2
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2015-04-27T11:05:20+09:00
Stats : +78/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/0cb2056cc99bfa7db2e4a19cdab1978484c6c5e2?branch=autotool
Log:
Updated ibus-HEAD.patch from upstream
Fixed to show shortcuts on ibus-setup.
Bug 1214271 Fixed to enable IME with GTK3 applications in wayland.
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 557b917..1a865c8 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1483,3 +1483,74 @@ index 1379860..c77bd2f 100644
--
2.1.0
+From 5d9109b3c56bca60be441ad286688467c67664c8 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 21 Apr 2015 11:26:04 +0900
+Subject: [PATCH] Fix to show keyboard shortcuts in ibus-setup.
+
+BUG=http://code.google.com/p/ibus/issues/detail?id=1771
+TEST=setup
+
+Review URL: https://codereview.appspot.com/233720043
+---
+ setup/keyboardshortcut.py | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/setup/keyboardshortcut.py b/setup/keyboardshortcut.py
+index 86463cb..39a6d47 100644
+--- a/setup/keyboardshortcut.py
++++ b/setup/keyboardshortcut.py
+@@ -2,8 +2,8 @@
+ #
+ # ibus - The Input Bus
+ #
+-# Copyright (c) 2007-2014 Peng Huang <shawn.p.huang@gmail.com>
+-# Copyright (c) 2007-2014 Red Hat, Inc.
++# Copyright (c) 2007-2015 Peng Huang <shawn.p.huang@gmail.com>
++# Copyright (c) 2007-2015 Red Hat, Inc.
+ #
+ # This library is free software; you can redistribute it and/or
+ # modify it under the terms of the GNU Lesser General Public
+@@ -51,13 +51,13 @@ class KeyboardShortcutSelection(Gtk.Box):
+ # shortcuts view
+ self.__shortcut_view = Gtk.TreeView(
+ model = Gtk.ListStore(GObject.TYPE_STRING))
+- self.__shortcut_view.set_size_request(-1, 100)
+ renderer = Gtk.CellRendererText()
+ column = Gtk.TreeViewColumn(_("Keyboard shortcuts"), renderer, text = 0)
+ self.__shortcut_view.append_column(column)
+ self.__shortcut_view.connect("cursor-changed", self.__shortcut_view_cursor_changed_cb)
+ scrolledwindow = Gtk.ScrolledWindow()
+ scrolledwindow.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)
++ scrolledwindow.set_min_content_height(100)
+ scrolledwindow.add(self.__shortcut_view)
+ scrolledwindow.set_shadow_type(Gtk.ShadowType.IN)
+ self.pack_start(scrolledwindow, True, True, 4)
+@@ -265,7 +265,9 @@ class KeyboardShortcutSelection(Gtk.Box):
+ GObject.TYPE_UINT,
+ GObject.TYPE_UINT)
+ accel_view = Gtk.TreeView(model = model)
++ accel_view.set_headers_visible(False)
+ sw.add(accel_view)
++ sw.set_min_content_height(30)
+ column = Gtk.TreeViewColumn()
+ renderer = Gtk.CellRendererAccel(accel_mode=Gtk.CellRendererAccelMode.OTHER,
+ editable=True)
+--
+2.3.5
+
+--- ibus-1.5.10/client/gtk2/ibusimcontext.c.orig 2015-04-24 13:49:05.148023921 +0900
++++ ibus-1.5.10/client/gtk2/ibusimcontext.c 2015-04-24 13:52:58.871389692 +0900
+@@ -579,7 +579,11 @@ ibus_im_context_class_init (IBusIMContex
+
+ /* init bus object */
+ if (_bus == NULL) {
+- ibus_set_display (gdk_display_get_name (gdk_display_get_default ()));
++ const gchar *dname = gdk_display_get_name (gdk_display_get_default ());
++ /* ibus-daemon uses DISPLAY variable. */
++ if (g_strcmp0 (dname, "Wayland") == 0)
++ dname = g_getenv ("DISPLAY");
++ ibus_set_display (dname);
+ _bus = ibus_bus_new_async ();
+
+ /* init the global fake context */
diff --git a/ibus.spec b/ibus.spec
index 339bd32..edcbd95 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -34,7 +34,7 @@
Name: ibus
Version: 1.5.10
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -232,6 +232,7 @@ The ibus-devel-docs package contains developer documentation for IBus
# %%patch0 -p1
%patch0 -p1
# cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c ||
+cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c ||
zcat %SOURCE3 | tar xfv -
%build
@@ -423,6 +424,11 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
%{_datadir}/gtk-doc/html/*
%changelog
+* Fri Apr 24 2015 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.10-3
+- Updated ibus-HEAD.patch from upstream
+ Fixed to show shortcuts on ibus-setup.
+ Bug 1214271 Fixed to enable IME with GTK3 applications in wayland.
+
* Thu Apr 02 2015 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.10-2
- Updated ibus-HEAD.patch from upstream
Added Swedish svdvorak
next reply other threads:[~2026-05-31 2:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-31 2:06 Takao Fujiwara [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-31 2:06 [rpms/ibus] autotool: Updated ibus-HEAD.patch from upstream Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
2026-05-31 2:05 Takao Fujiwara
2026-05-31 2:04 Takao Fujiwara
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=178019317662.1.14336972725508411144.rpms-ibus-0cb2056cc99b@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