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 #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