From 16375df468c2418f80e7b307aab4b10aef90c04a Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Oct 31 2013 15:33:16 +0000 Subject: import gobject-introspection-1.36.0-2.el7.src.rpm --- diff --git a/.gobject-introspection.metadata b/.gobject-introspection.metadata new file mode 100644 index 0000000..8365462 --- /dev/null +++ b/.gobject-introspection.metadata @@ -0,0 +1 @@ +8f0945bda62f2bc2a5ce36e8a1ea7d4753ab0517 SOURCES/gobject-introspection-1.36.0.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-scanner-dont-barf-on-anonymous-unions.patch b/SOURCES/0001-scanner-dont-barf-on-anonymous-unions.patch new file mode 100644 index 0000000..ed8f0e1 --- /dev/null +++ b/SOURCES/0001-scanner-dont-barf-on-anonymous-unions.patch @@ -0,0 +1,31 @@ +# This patch is a hand edited backport from upstream since RPM is crap +# and doesn't understand git. + +From 305e0bd34a11e06219d1e6a7b7078918d050a4d6 Mon Sep 17 00:00:00 2001 +From: Colin Walters +Date: Wed, 30 Oct 2013 15:24:06 +0000 +Subject: [PATCH] scanner: Don't barf on anonymous unions + +I'd like to be able to use this inside GTK+. + +See: https://bugzilla.gnome.org/show_bug.cgi?id=711153 + +https://bugzilla.gnome.org/show_bug.cgi?id=711157 +--- + giscanner/maintransformer.py | 1 + + tests/scanner/Regress-1.0-expected.gir | 20 ++++++++++++++++++++ + tests/scanner/regress.h | 12 ++++++++++++ + 3 files changed, 33 insertions(+) + +--- giscanner/maintransformer.py~ 2013-02-19 10:57:45.000000000 -0500 ++++ giscanner/maintransformer.py 2013-10-31 11:18:05.720336577 -0400 +@@ -116,7 +116,8 @@ + for field in node.fields: + if field is None: + continue +- if (field.name.startswith('_') ++ if (field.name is not None ++ and field.name.startswith('_') + and field.anonymous_node is not None + and isinstance(field.anonymous_node, ast.Callback)): + field.introspectable = False diff --git a/SPECS/gobject-introspection.spec b/SPECS/gobject-introspection.spec new file mode 100644 index 0000000..408f40f --- /dev/null +++ b/SPECS/gobject-introspection.spec @@ -0,0 +1,361 @@ +Name: gobject-introspection +Version: 1.36.0 +Release: 2%{?dist} +Summary: Introspection system for GObject-based libraries + +Group: Development/Libraries +License: GPLv2+, LGPLv2+, MIT +URL: http://live.gnome.org/GObjectIntrospection +#VCS: git:git://git.gnome.org/gobject-introspection +Source0: http://download.gnome.org/sources/gobject-introspection/1.36/%{name}-%{version}.tar.xz +Patch0: 0001-scanner-dont-barf-on-anonymous-unions.patch + +Obsoletes: gir-repository + +BuildRequires: glib2-devel +BuildRequires: python-devel >= 2.5 +BuildRequires: gettext +BuildRequires: flex +BuildRequires: bison +BuildRequires: libffi-devel +BuildRequires: mesa-libGL-devel +BuildRequires: cairo-gobject-devel +BuildRequires: libxml2-devel +BuildRequires: libXfixes-devel +BuildRequires: libX11-devel +BuildRequires: fontconfig-devel +BuildRequires: libXft-devel +BuildRequires: freetype-devel +# Bootstrap requirements +BuildRequires: gnome-common +BuildRequires: intltool +BuildRequires: gtk-doc +# For doctool +BuildRequires: python-mako + +%description +GObject Introspection can scan C header and source files in order to +generate introspection "typelib" files. It also provides an API to examine +typelib files, useful for creating language bindings among other +things. + +%package devel +Summary: Libraries and headers for gobject-introspection +Group: Development/Libraries +Requires: %name = %{version}-%{release} +# Not always, but whatever, it's a tiny dep to pull in +Requires: libtool +# For g-ir-doctool +Requires: python-mako +Obsoletes: gir-repository-devel + +%description devel +Libraries and headers for gobject-introspection + +%prep +%setup -q +%patch0 -p0 + +%build +(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;) +%configure --enable-gtk-doc --enable-doctool + +make V=1 %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +# Die libtool, die. +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc COPYING + +%{_libdir}/lib*.so.* +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/*.typelib + +%files devel +%{_libdir}/lib*.so +%dir %{_libdir}/gobject-introspection +%{_libdir}/gobject-introspection/* +%{_libdir}/pkgconfig/* +%{_includedir}/* +%{_bindir}/g-ir-* +%{_datadir}/gir-1.0 +%dir %{_datadir}/gobject-introspection-1.0 +%{_datadir}/gobject-introspection-1.0/* +%{_datadir}/aclocal/introspection.m4 +%{_mandir}/man1/*.gz +%dir %{_datadir}/gtk-doc/html/gi +%{_datadir}/gtk-doc/html/gi/* + +%changelog +* Thu Oct 31 2013 Colin Walters - 1.36.0-2 +- Backport patch for anonymous unions + Resolves: #1024947 + +* Tue Mar 26 2013 Kalev Lember - 1.36.0-1 +- Update to 1.36.0 + +* Thu Mar 21 2013 Kalev Lember - 1.35.9-1 +- Update to 1.35.9 + +* Tue Mar 05 2013 Colin Walters - 1.35.8-2 +- Enable g-ir-doctool +- Resolves: #903782 + +* Tue Feb 19 2013 Richard Hughes - 1.35.8-1 +- Update to 1.35.8 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.35.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 15 2013 Matthias Clasen - 1.35.4-1 +- Update to 1.35.4 + +* Thu Dec 20 2012 Kalev Lember - 1.35.3-1 +- Update to 1.35.3 + +* Tue Nov 20 2012 Richard Hughes - 1.35.2-1 +- Update to 1.35.2 + +* Mon Nov 12 2012 Kalev Lember - 1.34.2-1 +- Update to 1.34.2 + +* Wed Oct 17 2012 Kalev Lember - 1.34.1.1-1 +- Update to 1.34.1.1 + +* Wed Oct 17 2012 Kalev Lember - 1.34.1-1 +- Update to 1.34.1 + +* Tue Sep 25 2012 Kalev Lember - 1.34.0-1 +- Update to 1.34.0 + +* Wed Sep 19 2012 Richard Hughes - 1.33.14-1 +- Update to 1.33.14 + +* Wed Sep 05 2012 Kalev Lember - 1.33.10-1 +- Update to 1.33.10 + +* Tue Aug 21 2012 Richard Hughes - 1.33.9-1 +- Update to 1.33.9 + +* Fri Jul 20 2012 Matthias Clasen - 1.33.4-2 +- Fix an unintended api break that broke vpn in gnome-shell + +* Tue Jul 17 2012 Richard Hughes - 1.33.4-1 +- Update to 1.33.4 + +* Wed Jun 27 2012 Richard Hughes - 1.33.3-1 +- Update to 1.33.3 + +* Thu Jun 07 2012 Richard Hughes - 1.33.2-1 +- Update to 1.33.2 + +* Fri Apr 27 2012 Kalev Lember - 1.32.1-2 +- Move libffi to pkgconfig Requires.private, in order to + reduce the impact when libffi soname bump lands in rawhide. + +* Fri Apr 20 2012 Kalev Lember - 1.32.1-1 +- Update to 1.32.1 + +* Tue Mar 27 2012 Matthias Clasen 0 1.32.0-1 +- Update to 1.32.0 + +* Wed Mar 21 2012 Matthias Clasen 0 1.31.22-1 +- Update to 1.31.22 + +* Mon Mar 5 2012 Matthias Clasen 0 1.31.20-1 +- Update to 1.31.20 + +* Thu Jan 19 2012 Matthias Clasen 0 1.31.10-1 +- Update to 1.31.10 + +* Fri Jan 13 2012 Fedora Release Engineering - 1.31.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 20 2011 Matthias Clasen - 1.31.6-1 +- Update to 1.31.6 + +* Mon Dec 05 2011 Karsten Hopp 1.31.0-2 +- add fix for PPC failure, bugzilla 749604 + +* Wed Nov 16 2011 Colin Walters - 1.31.0-2 +- -devel package requires libtool + https://bugzilla.redhat.com/show_bug.cgi?id=613466 + +* Wed Nov 2 2011 Matthias Clasen - 1.31.0-1 +- Update to 1.31.0 + +* Mon Sep 26 2011 Ray - 1.30.0-1 +- Update to 1.30.0 + +* Tue Sep 20 2011 Matthias Clasen - 1.30.0-1 +- Update to 1.30.0 + +* Fri Jun 17 2011 Tomas Bzatek - 1.29.0-1 +- Update to 1.29.0 + +* Thu Apr 21 2011 John (J5) Palmieri - 0.10.8-1 +- Update to 0.10.8 + +* Mon Apr 4 2011 Matthias Clasen - 0.10.7-1 +- Update to 0.10.7 + +* Fri Mar 25 2011 Owen Taylor - 0.10.6-1 +- New upstream release to fix missing cairo typelib + +* Fri Mar 25 2011 Colin Walters - 0.10.5-1 +- New upstream release, fixes cairo.gir + Necessary to avoid gnome-shell having a cairo-devel dependency. +- Also add cairo-gobject-devel dependency, since we really want + the cairo typelib to link to GObject, since anyone using + introspection has it anyways. + +* Thu Mar 10 2011 Colin Walters - 0.10.4-1 +- Update to 0.10.4 + +* Wed Feb 23 2011 Colin Walters - 0.10.3-1 +- Update to 0.10.3 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.10.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Feb 7 2011 Colin Walters - 0.10.2-1 +- Update to 0.10.2 + +* Wed Jan 12 2011 Colin Walters - 0.10.1-1 +- Update to 0.10.1 + +* Mon Jan 10 2011 Owen Taylor - 0.10.0-1 +- Update to 0.10.0 + +* Thu Sep 30 2010 Colin Walters - 0.9.10-1 +- Update to 0.9.10 + +* Thu Sep 30 2010 Colin Walters - 0.9.9-1 +- Update to 0.9.9 + +* Wed Sep 29 2010 Matthias Clasen - 0.9.8-1 +- Update to 0.9.8 + +* Tue Sep 28 2010 Colin Walters - 0.9.7-1 +- Update to 0.9.7 + +* Tue Sep 21 2010 Owen Taylor - 0.9.6-1 +- Update to 0.9.6 + +* Thu Sep 2 2010 Colin Walters - 0.9.3-6 +- Strip out test libraries; they're gone in upstream git, and + create a dependency on cairo (which requires libX11, which makes + server operating system builders freak out). + +* Tue Aug 3 2010 Matthias Clasen - 0.9.3-1 +- Update to 0.9.3 + +* Mon Jul 26 2010 David Malcolm - 0.9.2-5 +- Cherrypick patch for python 2.7 compatibility (patch 1; rhbz#617782) + +* Wed Jul 14 2010 Colin Walters - 0.9.2-4 +- Backport patch from upstream for better errors + +* Mon Jul 12 2010 Colin Walters - 0.9.2-1 +- New upstream (unstable series) release; requires rebuilds + +* Tue Jun 29 2010 Colin Walters - 0.9.0-1.4.20100629gitf0599b0a +- Add gtk-doc to files + +* Tue Jun 29 2010 Colin Walters +- Switch to git snapshot; I forgot to enable gtk-doc in the last + tarball. + +* Tue Jun 29 2010 Colin Walters - 0.9.0-1 +- New upstream development release +- Update to support building git snapshot directly + +* Thu Jun 24 2010 Colin Walters - 0.6.14-3 +- rebuild to pick up new glib changes + +* Thu Jun 10 2010 Colin Walters - 0.6.14-2 +- Obsolete gir-repository{,-devel} + +* Tue Jun 8 2010 Matthias Clasen - 0.6.14-1 +- Update to 0.6.14 + +* Mon May 24 2010 Colin Walters - 0.6.12-1 +- Update to latest upstream release 0.6.12 + +* Thu Mar 25 2010 Colin Walters - 0.6.9-3 +- Move python library back into /usr/lib/gobject-introspection. I put + it there upstream for a reason, namely that apps need to avoid + polluting the global Python site-packages with bits of their internals. + It's not a public API. + + Possibly resolves bug #569885 + +* Wed Mar 24 2010 Adam Miller - 0.6.9-2 +- Added newly owned files (gobject-introspection-1.0 directory) + +* Wed Mar 24 2010 Adam Miller - 0.6.9-1 +- Update to latest upstream release 0.6.9 + +* Thu Mar 11 2010 Colin Walters - 0.6.8-0.3.20100311git2cc97351 +- rebuilt + +* Thu Mar 11 2010 Colin Walters +- New upstream snapshot +- rm unneeded rm + +* Thu Jan 28 2010 Adam Miller - 0.6.8-0.1.20100128git +- Update to new git snapshot +- Fix Version tag to comply with correct naming use with alphatag + +* Fri Jan 15 2010 Adam Miller - 0.6.7.20100115git-1 +- Update to git snapshot for rawhide + +* Tue Dec 22 2009 Matthias Clasen - 0.6.7-1 +- Update to 0.6.7 + +* Fri Sep 11 2009 Colin Walters - 0.6.5-1 +- New upstream +- Drop libtool dep + +* Fri Aug 28 2009 Colin Walters - 0.6.4-2 +- Add dep on libtool temporarily + +* Wed Aug 26 2009 Colin Walters - 0.6.4-1 +- New upstream 0.6.4 +- Drop upstreamed build fix patch + +* Fri Jul 24 2009 Fedora Release Engineering - 0.6.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jul 6 2009 Peter Robinson - 0.6.3-4 +- Add upstream patch to fix a build crash + +* Thu Jul 2 2009 Peter Robinson - 0.6.3-3 +- Add -ggdb temporarily so it compiles on ppc64 + +* Thu Jul 2 2009 Peter Robinson - 0.6.3-2 +- Add the new source file + +* Thu Jul 2 2009 Peter Robinson - 0.6.3-1 +- Update to 0.6.3 + +* Mon Jun 1 2009 Dan Williams - 0.6.2-1 +- Update to 0.6.2 + +* Tue Feb 24 2009 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Dec 11 2008 Colin Walters - 0.6.1-1 +- Update to 0.6.1 + +* Fri Oct 31 2008 Colin Walters - 0.6.0-1 +- Create spec goo