[totem-pl-parser/f13/master] Fix introspection being missing

Bastien Nocera hadess at fedoraproject.org
Wed Aug 4 14:24:37 UTC 2010


commit fff27168ee4348d7befc6d776a3bc9397f16142f
Author: Bastien Nocera <hadess at hadess.net>
Date:   Wed Aug 4 15:24:31 2010 +0100

    Fix introspection being missing

 old-introspection.patch |   13 +++++++++++++
 totem-pl-parser.spec    |    8 +++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/old-introspection.patch b/old-introspection.patch
new file mode 100644
index 0000000..9305605
--- /dev/null
+++ b/old-introspection.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.in b/configure.in
+index 4f505bc..85e44a4 100644
+--- a/configure.in
++++ b/configure.in
+@@ -130,7 +130,7 @@ AC_SUBST([AM_CXXFLAGS])
+ AC_SUBST([AM_LDFLAGS])
+ 
+ GTK_DOC_CHECK(1.11)
+-GOBJECT_INTROSPECTION_CHECK([0.6.14])
++GOBJECT_INTROSPECTION_CHECK([0.6.9])
+ 
+ AC_CONFIG_FILES([
+ Makefile
diff --git a/totem-pl-parser.spec b/totem-pl-parser.spec
index bdeecb0..f8d3cd8 100644
--- a/totem-pl-parser.spec
+++ b/totem-pl-parser.spec
@@ -6,7 +6,7 @@ Summary:	Totem Playlist Parser library
 Group:		System Environment/Libraries
 License:	LGPLv2+
 Url:		http://www.gnome.org/projects/totem/
-Source0:	http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
+Source0:	http://download.gnome.org/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Obsoletes:	totem-plparser
 
@@ -18,6 +18,10 @@ BuildRequires:	gobject-introspection-devel
 BuildRequires:	gettext
 BuildRequires:	perl(XML::Parser) intltool
 
+# To build with older introspection
+Patch0:		old-introspection.patch
+BuildRequires:	autoconf automake libtool gnome-common
+
 %description
 A library to parse and save playlists, as used in music and movie players.
 
@@ -37,6 +41,8 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%patch0 -p1 -b .introspection
+autoreconf -f
 
 %build
 %configure --enable-static=no


More information about the scm-commits mailing list