Alexei Sorokin 2015-12-12 13:46:34 +00:00 committed by Git OBS Bridge
parent b400bf631f
commit 652e20d584
3 changed files with 27 additions and 0 deletions

View File

@ -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 <dbus/dbus-glib-bindings.h>
#include <gdk/gdkx.h>
#endif
-#ifdef HAVE_INSTROSPECTION
+#ifdef HAVE_INTROSPECTION
#include <girepository.h>
#endif

View File

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

View File

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