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: Added ibus-688034-fedora-g-s.patch for Fedora workaround.
Date: Sun, 31 May 2026 02:05:06 GMT	[thread overview]
Message-ID: <178019310653.1.11904670247520080352.rpms-ibus-38ee625d0aed@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 38ee625d0aedb16c7d7afd80322cef904c43aca8
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2011-03-23T13:33:13+09:00
Stats  : +21/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/38ee625d0aedb16c7d7afd80322cef904c43aca8?branch=autotool

Log:
Added ibus-688034-fedora-g-s.patch for Fedora workaround.

---
diff --git a/ibus-688034-fedora-g-s.patch b/ibus-688034-fedora-g-s.patch
new file mode 100644
index 0000000..026fb2c
--- /dev/null
+++ b/ibus-688034-fedora-g-s.patch
@@ -0,0 +1,14 @@
+--- ibus/ui/gtk/main.py.bak	2011-03-23 13:15:53.150298531 +0900
++++ ibus/ui/gtk/main.py	2011-03-23 13:16:35.336275938 +0900
+@@ -114,8 +114,9 @@ def main():
+             print_help(sys.stderr, 1)
+ 
+     if stop_by_shell and ibus.is_running_gnome_shell():
+-        print "Exit because GNOME-Shell is running"
+-        sys.exit()
++        if os.path.exists('/usr/share/gnome-shell/js/ui/status/ibus'):
++            print "Exit because GNOME-Shell is running"
++            sys.exit()
+ 
+     if daemonize:
+         if os.fork():

diff --git a/ibus.spec b/ibus.spec
index d96152f..bf7a76c 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -13,7 +13,7 @@
 
 Name:       ibus
 Version:    1.3.99.20110228
-Release:    3%{?dist}
+Release:    4%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -30,6 +30,8 @@ Patch3:     ibus-530711-preload-sys.patch
 Patch4:     ibus-657165-panel-libs.patch
 # This will be removed after the new gnome-shell is integrated.
 Patch99:    ibus-675503-gnome-shell-workaround.patch
+# This will be removed after the gnome-shell ibus patch is integrated.
+Patch100:   ibus-688034-fedora-g-s.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -154,6 +156,8 @@ cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c
 %endif
 %patch3 -p1 -b .preload-sys
 %patch4 -p1 -b .panel-libs
+# workaround until the ibus feature is integrated into gnome-shell.
+%patch100 -p1 -b .fedora-g-s
 
 %build
 %if %have_libxkbfile
@@ -327,10 +331,11 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
-* Thu Mar 17 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110228-3
+* Wed Mar 23 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110228-4
 - Updated ibus-HEAD.patch
   Fixed Bug 683484 - Timed out SetEngine when select an engine from panel.
 - Updated ibus-657165-panel-libs.patch
+- Added ibus-688034-fedora-g-s.patch for Fedora workaround.
 
 * Thu Mar 10 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110228-1
 - Updated to 1.3.99.20110228

                 reply	other threads:[~2026-05-31  2:05 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=178019310653.1.11904670247520080352.rpms-ibus-38ee625d0aed@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