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 a workaround of gnome-shell build failure
Date: Sun, 31 May 2026 02:05:22 GMT	[thread overview]
Message-ID: <178019312252.1.5648469071068171770.rpms-ibus-c091e80ad69a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ibus
            Branch : autotool
            Commit : c091e80ad69a8314cf559fca8452906bc6d620fb
            Author : Takao Fujiwara <tfujiwar@redhat.com>
            Date   : 2011-09-01T16:51:52+09:00
            Stats  : +32/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/ibus/c/c091e80ad69a8314cf559fca8452906bc6d620fb?branch=autotool

            Log:
            Added a workaround of gnome-shell build failure

http://koji.fedoraproject.org/koji/getfile?taskID=3317917&name=root.log

---
diff --git a/ibus-gjs-xx-gnome-shell-3.1.4-build-failure.patch b/ibus-gjs-xx-gnome-shell-3.1.4-build-failure.patch
new file mode 100644
index 0000000..9858409
--- /dev/null
+++ b/ibus-gjs-xx-gnome-shell-3.1.4-build-failure.patch
@@ -0,0 +1,13 @@
+--- ibus-gjs-3.1.4.20110823/configure.ac.orig	2011-09-01 16:03:26.074219971 +0900
++++ ibus-gjs-3.1.4.20110823/configure.ac	2011-09-01 16:05:31.107012718 +0900
+@@ -174,8 +174,8 @@ try {
+         $GREP -v "DEBUG:"
+ }
+ 
+-GNOME_SHELL_VERSION=`GET_JS_VERSION 'Config.PACKAGE_VERSION'`
+-GJS_VERSION=`GET_JS_VERSION 'Config.GJS_VERSION'`
++GNOME_SHELL_VERSION=3.1.90
++GJS_VERSION=1.29.16
+ AC_SUBST(GNOME_SHELL_VERSION)
+ AC_SUBST(GJS_VERSION)
+ 

diff --git a/ibus.spec b/ibus.spec
index bba6a1c..269e473 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -8,9 +8,11 @@
 %if 0%{?fedora} > 15
 %define have_bridge_hotkey 1
 %define ibus_gjs_version 3.1.4.20110823
+%define ibus_gjs_build_failure 1
 %else
 %define have_bridge_hotkey 0
 %define ibus_gjs_version 3.0.2.20110823
+%define ibus_gjs_build_failure 0
 %endif
 
 %define ibus_api_version 1.0
@@ -22,7 +24,7 @@
 
 Name:       ibus
 Version:    1.3.99.20110817
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -40,6 +42,9 @@ Patch4:     ibus-xx-setup-frequent-lang.patch
 
 # Workaround for oxygen-gtk icon theme until bug 699103 is fixed.
 Patch91:    ibus-711632-fedora-fallback-icon.patch
+# Workaround gnome-shell build failure
+# http://koji.fedoraproject.org/koji/getfile?taskID=3317917&name=root.log
+Patch92:    ibus-gjs-xx-gnome-shell-3.1.4-build-failure.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -48,6 +53,7 @@ BuildRequires:  cvs
 BuildRequires:  gettext-devel
 BuildRequires:  libtool
 BuildRequires:  python
+BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk2-devel
 BuildRequires:  gtk3-devel
 BuildRequires:  dbus-glib-devel
@@ -63,7 +69,9 @@ BuildRequires:  libxkbfile-devel
 %endif
 # for ibus-gjs-xx.tar.gz
 BuildRequires:  gjs
+%if ! %ibus_gjs_build_failure
 BuildRequires:  gnome-shell
+%endif
 
 Requires:   %{name}-libs = %{version}-%{release}
 Requires:   %{name}-gtk2 = %{version}-%{release}
@@ -169,6 +177,12 @@ The ibus-devel-docs package contains developer documentation for ibus
 %setup -q
 %if %have_gjsfile
 zcat %SOURCE2 | tar xf -
+%if %ibus_gjs_build_failure
+d=`basename %SOURCE2 .tar.gz`
+cd $d
+%patch92 -p1 -b .fail-g-s
+cd ..
+%endif
 %endif
 %patch0 -p1
 cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c
@@ -209,6 +223,9 @@ make %{?_smp_mflags}
 %if %have_gjsfile
 d=`basename %SOURCE2 .tar.gz`
 cd $d
+%if %ibus_gjs_build_failure
+autoreconf
+%endif
 export PKG_CONFIG_PATH=..:/usr/lib64/pkgconfig:/usr/lib/pkgconfig
 %configure
 make %{?_smp_mflags}
@@ -365,7 +382,7 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
-* Thu Sep 01 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110817-1
+* Thu Sep 01 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110817-2
 - Fixed Bug 700472 Use a symbol icon instead of an image icon.
 - Updated ibus-HEAD.patch for upstream.
 - Removed ibus-435880-surrounding-text.patch as upstream.

                 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=178019312252.1.5648469071068171770.rpms-ibus-c091e80ad69a@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