[arch-commits] Commit in (6 files)

Jan de Groot jgc at archlinux.org
Wed Aug 12 20:39:00 UTC 2009


    Date: Wednesday, August 12, 2009 @ 16:39:00
  Author: jgc
Revision: 49571

Add new package: gobject-introspection. This is a (make?)depend for polkit

Added:
  gobject-introspection/
  gobject-introspection/gnome-unstable/
  gobject-introspection/gnome-unstable/PKGBUILD
  gobject-introspection/gnome-unstable/gobject-introspection-compilecrashfix.patch
  gobject-introspection/repos/
  gobject-introspection/trunk/

---------------------------------------------+
 PKGBUILD                                    |   23 +++++++++++++++
 gobject-introspection-compilecrashfix.patch |   38 ++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Added: gobject-introspection/gnome-unstable/PKGBUILD
===================================================================
--- gobject-introspection/gnome-unstable/PKGBUILD	                        (rev 0)
+++ gobject-introspection/gnome-unstable/PKGBUILD	2009-08-12 20:39:00 UTC (rev 49571)
@@ -0,0 +1,23 @@
+# $Id: $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+pkgname=gobject-introspection
+pkgver=0.6.3
+pkgrel=1
+pkgdesc="Introspection system for GObject-based libraries"
+url="http://live.gnome.org/GObjectInstrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+depends=('libffi>=3.0.8' 'glib2>=2.21.4' 'python')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2
+        gobject-introspection-compilecrashfix.patch)
+md5sums=('5f0d333573bffecd76c461101cff2be1'
+         'defa9d2658d9126294e80ea75f620dc4')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/gobject-introspection-compilecrashfix.patch" || return 1
+  ./configure --prefix=/usr --disable-static || return 1
+  make || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+}

Added: gobject-introspection/gnome-unstable/gobject-introspection-compilecrashfix.patch
===================================================================
--- gobject-introspection/gnome-unstable/gobject-introspection-compilecrashfix.patch	                        (rev 0)
+++ gobject-introspection/gnome-unstable/gobject-introspection-compilecrashfix.patch	2009-08-12 20:39:00 UTC (rev 49571)
@@ -0,0 +1,38 @@
+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




More information about the arch-commits mailing list