[93272] trunk/dports/gnome/gobject-introspection

cal at macports.org cal at macports.org
Fri May 18 12:15:34 PDT 2012


Revision: 93272
          https://trac.macports.org/changeset/93272
Author:   cal at macports.org
Date:     2012-05-18 12:15:34 -0700 (Fri, 18 May 2012)
Log Message:
-----------
gobject-introspection: update to 1.32.1, openmaintainer
the update was necessary since gtk3 3.4.3 requires a newer gobject-introspection

Modified Paths:
--------------
    trunk/dports/gnome/gobject-introspection/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gobject-introspection/files/
    trunk/dports/gnome/gobject-introspection/files/patch-gir-gio-2.0.c-fix-wrong-naming.patch
    trunk/dports/gnome/gobject-introspection/files/patch-giscanner-scannerlexer.l-support-__inline__.patch

Modified: trunk/dports/gnome/gobject-introspection/Portfile
===================================================================
--- trunk/dports/gnome/gobject-introspection/Portfile	2012-05-18 18:50:23 UTC (rev 93271)
+++ trunk/dports/gnome/gobject-introspection/Portfile	2012-05-18 19:15:34 UTC (rev 93272)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                gobject-introspection
-version             1.30.0
+version             1.32.1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          gnome
 platforms           darwin
@@ -20,8 +20,8 @@
 master_sites        gnome:sources/${name}/${branch}/
 use_xz              yes
 
-checksums           rmd160  c5e66f2e818e0cdbe38b42516ea3a36e7fbb09e6 \
-                    sha256  8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2
+checksums           rmd160  7546532aed866451e0f934257c4b9bbc75f460e5 \
+                    sha256  44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858
 
 depends_build       port:pkgconfig
 
@@ -30,9 +30,17 @@
                     port:libffi \
                     port:python27
 
+patchfiles          patch-gir-gio-2.0.c-fix-wrong-naming.patch \
+                    patch-giscanner-scannerlexer.l-support-__inline__.patch
+
+post-patch {
+    reinplace "s|'cc'|'${configure.cc}'|g" ${worksrcpath}/giscanner/sourcescanner.py
+}
+
 configure.python    ${prefix}/bin/python2.7
 
-build.args          CC=${configure.cc}
+build.env-append    CC=${configure.cc}
+build.args          CC=${configure.cc} V=1
 
 livecheck.type      regex
 livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/

Added: trunk/dports/gnome/gobject-introspection/files/patch-gir-gio-2.0.c-fix-wrong-naming.patch
===================================================================
--- trunk/dports/gnome/gobject-introspection/files/patch-gir-gio-2.0.c-fix-wrong-naming.patch	                        (rev 0)
+++ trunk/dports/gnome/gobject-introspection/files/patch-gir-gio-2.0.c-fix-wrong-naming.patch	2012-05-18 19:15:34 UTC (rev 93272)
@@ -0,0 +1,34 @@
+--- gir/gio-2.0.c.orig	2012-05-18 21:03:47.000000000 +0200
++++ gir/gio-2.0.c	2012-05-18 21:04:15.000000000 +0200
+@@ -32983,12 +32983,12 @@
+ /**
+  * g_pollable_input_stream_read_nonblocking:
+  * @stream: a #GPollableInputStream
+- * @buffer: a buffer to read data into (which should be at least @size bytes long).
+- * @size: the number of bytes you want to read
++ * @buffer: a buffer to read data into (which should be at least @count bytes long).
++ * @count: the number of bytes you want to read
+  * @cancellable: (allow-none): a #GCancellable, or %NULL
+  * @error: #GError for error reporting, or %NULL to ignore.
+  *
+- * Attempts to read up to @size bytes from @stream into @buffer, as
++ * Attempts to read up to @count bytes from @stream into @buffer, as
+  * with g_input_stream_read(). If @stream is not currently readable,
+  * this will immediately return %G_IO_ERROR_WOULD_BLOCK, and you can
+  * use g_pollable_input_stream_create_source() to create a #GSource
+@@ -33068,12 +33068,12 @@
+ /**
+  * g_pollable_output_stream_write_nonblocking:
+  * @stream: a #GPollableOutputStream
+- * @buffer: (array length=size) (element-type guint8): a buffer to write data from
+- * @size: the number of bytes you want to write
++ * @buffer: (array length=count) (element-type guint8): a buffer to write data from
++ * @count: the number of bytes you want to write
+  * @cancellable: (allow-none): a #GCancellable, or %NULL
+  * @error: #GError for error reporting, or %NULL to ignore.
+  *
+- * Attempts to write up to @size bytes from @buffer to @stream, as
++ * Attempts to write up to @count bytes from @buffer to @stream, as
+  * with g_output_stream_write(). If @stream is not currently writable,
+  * this will immediately return %G_IO_ERROR_WOULD_BLOCK, and you can
+  * use g_pollable_output_stream_create_source() to create a #GSource

Added: trunk/dports/gnome/gobject-introspection/files/patch-giscanner-scannerlexer.l-support-__inline__.patch
===================================================================
--- trunk/dports/gnome/gobject-introspection/files/patch-giscanner-scannerlexer.l-support-__inline__.patch	                        (rev 0)
+++ trunk/dports/gnome/gobject-introspection/files/patch-giscanner-scannerlexer.l-support-__inline__.patch	2012-05-18 19:15:34 UTC (rev 93272)
@@ -0,0 +1,10 @@
+--- giscanner/scannerlexer.l.orig	2012-05-18 21:04:51.000000000 +0200
++++ giscanner/scannerlexer.l	2012-05-18 21:05:02.000000000 +0200
+@@ -141,6 +141,7 @@
+ "__const"                               { return CONST; }
+ "__extension__"                         { return EXTENSION; }
+ "__inline"				{ return INLINE; }
++"__inline__"				{ return INLINE; }
+ "__nonnull" 			        { if (!parse_ignored_macro()) REJECT; }
+ "__signed__"				{ return SIGNED; }
+ "__restrict"				{ return RESTRICT; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120518/530665cc/attachment.html>


More information about the macports-changes mailing list