[ibus] Removed ibus-gtk3 dependency in f14.

Takao Fujiwara fujiwara at fedoraproject.org
Thu Sep 30 10:02:27 UTC 2010


commit 629341ab4ce55cc2344546f3bbfd635b9935624e
Author: Takao Fujiwara <tfujiwar at redhat.com>
Date:   Thu Sep 30 19:00:12 2010 +0900

    Removed ibus-gtk3 dependency in f14.

 ibus-xx-g-ir-compiler.patch |    2 +-
 ibus.spec                   |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/ibus-xx-g-ir-compiler.patch b/ibus-xx-g-ir-compiler.patch
index 11a2729..3753b82 100644
--- a/ibus-xx-g-ir-compiler.patch
+++ b/ibus-xx-g-ir-compiler.patch
@@ -27,7 +27,7 @@ index c104f38..a7a2c59 100644
  #include <ibus.h>
  #include "ibusimcontext.h"
  
-+#if !GTK_CHECK_VERSION (2, 90, 0)
++#if !GTK_CHECK_VERSION (2, 90, 7)
 +#  define DEPRECATED_GDK_KEYSYMS 1
 +#endif
 +
diff --git a/ibus.spec b/ibus.spec
index 3c334a6..fe306cd 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -50,7 +50,9 @@ BuildRequires:  libxkbfile-devel
 
 Requires:   %{name}-libs = %{version}-%{release}
 Requires:   %{name}-gtk2 = %{version}-%{release}
+%if (0%{?fedora} > 14 || 0%{?rhel} > 6)
 Requires:   %{name}-gtk3 = %{version}-%{release}
+%endif
 
 Requires:   pygtk2
 Requires:   pyxdg


More information about the scm-commits mailing list