diff --git a/evolution-data-server-fix-introspection-build.patch b/evolution-data-server-fix-introspection-build.patch new file mode 100644 index 0000000..df1e16d --- /dev/null +++ b/evolution-data-server-fix-introspection-build.patch @@ -0,0 +1,35 @@ +From c92f1c0f25d8bb590c0ea9439a4b179df9159b7b Mon Sep 17 00:00:00 2001 +From: Colin Walters +Date: Tue, 20 Dec 2011 13:27:54 -0500 +Subject: [PATCH] build: Use --include-uninstalled for internal .gir files + +Otherwise we end up with a dependency on an installed pkg-config file. + +https://bugzilla.gnome.org/show_bug.cgi?id=662888 +--- + addressbook/libebook/Makefile.am | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/addressbook/libebook/Makefile.am b/addressbook/libebook/Makefile.am +index fce463e..602fbe0 100644 +--- a/addressbook/libebook/Makefile.am ++++ b/addressbook/libebook/Makefile.am +@@ -85,7 +85,7 @@ if HAVE_INTROSPECTION + introspection_sources = $(libebook_1_2_la_SOURCES) + EBook-1.2.gir: libebook-1.2.la + +-EBook_1_2_gir_INCLUDES = GObject-2.0 EDataServer-1.2 GLib-2.0 libxml2-2.0 \ ++EBook_1_2_gir_INCLUDES = GObject-2.0 GLib-2.0 libxml2-2.0 \ + Gio-2.0 \ + $(NULL) + libxml_include = `$(PKG_CONFIG) --cflags libxml-2.0` +@@ -100,6 +100,7 @@ EBook_1_2_gir_CFLAGS = $(INCLUDES) \ + -I$(top_srcdir)/addressbook/libebook \ + -I$(top_builddir)/addressbook/libebook \ + $(NULL) ++EBook_1_2_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libedataserver/EDataServer-1.2.gir + EBook_1_2_gir_LIBS = \ + libebook-1.2.la $(top_builddir)/libedataserver/libedataserver-1.2.la + EBook_1_2_gir_FILES = $(libebook_1_2_la_SOURCES) $(libebookinclude_HEADERS) +-- +1.7.6.4 diff --git a/evolution-data-server.changes b/evolution-data-server.changes index 06d2eb6..f61b2b2 100644 --- a/evolution-data-server.changes +++ b/evolution-data-server.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 21 08:45:04 UTC 2011 - vuntz@opensuse.org + +- Add evolution-data-server-fix-introspection-build.patch: fix + build of introspection support. +- Set %with_introspection macro to 1 now that we can build + introspection support again. + ------------------------------------------------------------------- Tue Dec 20 13:26:28 UTC 2011 - vuntz@opensuse.org diff --git a/evolution-data-server.spec b/evolution-data-server.spec index e0999b2..c47aef0 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define USE_EVOLDAP 0 -%define with_introspection 0 +%define with_introspection 1 # Shared Library soNUMs, to make it easier for updates # When updating the sonums, do not forget to also update baselibs.conf @@ -33,13 +34,14 @@ Name: evolution-data-server %define _evo_version 3.4 Version: 3.3.3 Release: 0 -# FIXME: Verify if introspection can be enabled again. See bgo#662888 Summary: Evolution Data Server License: LGPL-2.1+ Group: Development/Libraries/GNOME Url: http://www.gnome.org Source0: http://download.gnome.org/sources/evolution-data-server/3.3/%{name}-%{version}.tar.xz Source99: baselibs.conf +# PATCH-FIX-UPSTREAM evolution-data-server-fix-introspection-build.patch bgo#662888 vuntz@opensuse.org -- Fix build of introspection data +Patch0: evolution-data-server-fix-introspection-build.patch BuildRequires: bison BuildRequires: db-devel %if %USE_EVOLDAP @@ -254,6 +256,7 @@ This package contains developer documentation. %prep %setup -q translation-update-upstream +%patch0 -p1 %build %{configure} \