rpms/gobject-introspection/F-11 gobject-introspection-compilecrashfix.patch, NONE, 1.1 gobject-introspection.spec, 1.4, 1.5
Peter Robinson
pbrobinson at fedoraproject.org
Thu Jul 16 13:20:20 UTC 2009
Author: pbrobinson
Update of /cvs/pkgs/rpms/gobject-introspection/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29628
Modified Files:
gobject-introspection.spec
Added Files:
gobject-introspection-compilecrashfix.patch
Log Message:
- Update to 0.6.3
gobject-introspection-compilecrashfix.patch:
--- NEW FILE gobject-introspection-compilecrashfix.patch ---
>From a1f5af4683b08892e87288ef4906782f4094703d Mon Sep 17 00:00:00 2001
From: Dan Winship <danw at gnome.org>
Date: Mon, 06 Jul 2009 15:17:40 +0000
Subject: Sync the basic types array in girnode.c:serialize_type with GITypeTag
Fixes a crash compiling GIRepository-2.0.gir.
http://bugzilla.gnome.org/show_bug.cgi?id=587823
---
diff --git a/girepository/girnode.c b/girepository/girnode.c
index bd9be68..22e821e 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1229,6 +1229,8 @@ serialize_type (GIrModule *module,
"uint32",
"int64",
"uint64",
+ "short",
+ "ushort",
"int",
"uint",
"long",
@@ -1237,11 +1239,10 @@ serialize_type (GIrModule *module,
"size",
"float",
"double",
+ "time_t",
+ "GType",
"utf8",
"filename",
- "string",
- "sequence",
- "any"
};
if (node->tag < GI_TYPE_TAG_ARRAY)
--
cgit v0.8.2
Index: gobject-introspection.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gobject-introspection/F-11/gobject-introspection.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- gobject-introspection.spec 25 Feb 2009 00:14:39 -0000 1.4
+++ gobject-introspection.spec 16 Jul 2009 13:20:20 -0000 1.5
@@ -2,14 +2,15 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: gobject-introspection
-Version: 0.6.1
-Release: 2%{?dist}
+Version: 0.6.3
+Release: 1%{?dist}
Summary: Introspection system for GObject-based libraries
Group: Development/Libraries
License: GPLv2+, LGPLv2+, MIT
URL: http://live.gnome.org/GObjectIntrospection
-Source0: http://ftp.acc.umu.se/pub/GNOME/sources/gobject-introspection/0.6/gobject-introspection-%{version}.tar.bz2
+Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
+Patch0: gobject-introspection-compilecrashfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel
@@ -21,12 +22,14 @@ BuildRequires: flex
BuildRequires: bison
BuildRequires: libffi-devel
BuildRequires: chrpath
-
-# For autogen
-BuildRequires: gnome-common
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: mesa-libGL-devel
+BuildRequires: cairo-devel
+BuildRequires: libxml2-devel
+BuildRequires: libXfixes-devel
+BuildRequires: libX11-devel
+BuildRequires: fontconfig-devel
+BuildRequires: libXft-devel
+BuildRequires: freetype-devel
%description
GObject Introspection can scan C header and source files in order to
@@ -46,10 +49,11 @@ Libraries and headers for gobject-intros
%prep
%setup -q
+%patch0 -p1 -b .compilecrashfix
%build
%configure
-make
+make V=1
%install
rm -rf $RPM_BUILD_ROOT
@@ -62,6 +66,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindi
# Mistake in upstream automake
rm -f $RPM_BUILD_ROOT/%{_bindir}/barapp
+# Move the python modules to the correct location
+mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
+mv $RPM_BUILD_ROOT/%{_libdir}/gobject-introspection/giscanner $RPM_BUILD_ROOT/%{python_sitearch}/
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,8 +82,8 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING
%{_libdir}/lib*.so.*
-%dir %{_libdir}/girepository
-%{_libdir}/girepository/*.typelib
+%dir %{_libdir}/girepository-1.0
+%{_libdir}/girepository-1.0/*.typelib
%files devel
%defattr(-,root,root)
@@ -83,11 +91,18 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_bindir}/g-ir-*
-%{_datadir}/gir
+%{_datadir}/gir-1.0
+%{_datadir}/aclocal/introspection.m4
%{python_sitearch}/giscanner
%{_mandir}/man1/*.gz
%changelog
+* Thu Jul 2 2009 Peter Robinson <pbrobinson at gmail.com> - 0.6.3-1
+- Update to 0.6.3
+
+* Mon Jun 1 2009 Dan Williams <dcbw at redhat.com> - 0.6.2-1
+- Update to 0.6.2
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list