[libchamplain/f17] Try to fix the build
Matthias Clasen
mclasen at fedoraproject.org
Tue Feb 28 13:53:06 UTC 2012
commit e392ff196d5ae53677e5fb1c587be51d3be704f2
Author: Matthias Clasen <mclasen at redhat.com>
Date: Tue Feb 28 08:53:15 2012 -0500
Try to fix the build
champlain-grr.patch | 12 ++++++++++++
libchamplain.spec | 6 ++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/champlain-grr.patch b/champlain-grr.patch
new file mode 100644
index 0000000..31d63cf
--- /dev/null
+++ b/champlain-grr.patch
@@ -0,0 +1,12 @@
+diff -up libchamplain-0.12.1/champlain/Makefile.am.grr libchamplain-0.12.1/champlain/Makefile.am
+--- libchamplain-0.12.1/champlain/Makefile.am.grr 2012-02-28 08:49:02.657016816 -0500
++++ libchamplain-0.12.1/champlain/Makefile.am 2012-02-28 08:49:13.824016983 -0500
+@@ -175,7 +175,7 @@ Champlain- at CHAMPLAIN_API_VERSION@.gir: l
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_NAMESPACE = Champlain
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_VERSION = @CHAMPLAIN_API_VERSION@
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_LIBS = libchamplain- at CHAMPLAIN_API_VERSION@.la
+-Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0
++Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 cogl-pango-1.0
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources)
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 $(memphis_gir_include)
+ Champlain_ at CHAMPLAIN_API_VERSION_NORM@_gir_EXPORT_PACKAGES = champlain- at CHAMPLAIN_API_VERSION@ $(memphis_package)
diff --git a/libchamplain.spec b/libchamplain.spec
index 658c252..ccb639a 100644
--- a/libchamplain.spec
+++ b/libchamplain.spec
@@ -6,6 +6,7 @@ License: LGPLv2+
Group: System Environment/Libraries
URL: http://projects.gnome.org/libchamplain/
Source0: http://download.gnome.org/sources/libchamplain/0.12/%{name}-%{version}.tar.xz
+Patch0: champlain-grr.patch
Requires: gobject-introspection
@@ -19,6 +20,8 @@ BuildRequires: gtk-doc
BuildRequires: vala-devel
BuildRequires: vala-tools
+BuildRequires: autoconf automake libtool
+
%description
Libchamplain is a C library aimed to provide a ClutterActor to display
rasterized maps.
@@ -72,6 +75,9 @@ This package contains demos for development using %{name}.
%prep
%setup -q
+%patch0 -p1
+
+autoreconf -i -f
%build
%configure --disable-debug --disable-silent-rules --disable-static \
More information about the scm-commits
mailing list