diff --git a/eom-fix-introspection.patch b/eom-fix-introspection.patch new file mode 100644 index 0000000..77c9d49 --- /dev/null +++ b/eom-fix-introspection.patch @@ -0,0 +1,22 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -142,6 +142,8 @@ else + have_introspection=no + fi + ++AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$have_introspection" = xyes) ++ + # *************** + # ZLIB (required) + # *************** +--- a/src/main.c ++++ b/src/main.c +@@ -30,7 +30,7 @@ + #include + #include + #endif +-#ifdef HAVE_INSTROSPECTION ++#ifdef HAVE_INTROSPECTION + #include + #endif + diff --git a/eom.changes b/eom.changes index 4fff88f..f18d007 100644 --- a/eom.changes +++ b/eom.changes @@ -5,6 +5,8 @@ Mon Dec 7 15:13:31 UTC 2015 - sor.alexei@meowr.ru * Fix shortcuts for several menu items in en_US locale. * Some more fixes and cleanups. - Enable GObject Introspection. +- Add eom-fix-introspection.patch: fixes compilation with + GObject Introspection enabled. ------------------------------------------------------------------- Thu Nov 5 20:43:01 UTC 2015 - sor.alexei@meowr.ru diff --git a/eom.spec b/eom.spec index fb5fd65..ab7ad87 100644 --- a/eom.spec +++ b/eom.spec @@ -26,6 +26,8 @@ License: GPL-2.0+ and LGPL-2.1+ Group: System/GUI/Other Url: http://mate-desktop.org/ Source: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM eom-fix-introspection.patch -- Fix compilation with GObject Introspection enabled. +Patch0: %{name}-fix-introspection.patch BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: libxml2-python @@ -86,6 +88,7 @@ simplicity and standards compliance. %prep %setup -q +%patch0 -p1 %build NOCONFIGURE=1 mate-autogen