[131845] trunk/dports/graphics/gdk-pixbuf2

devans at macports.org devans at macports.org
Mon Jan 19 14:59:31 PST 2015


Revision: 131845
          https://trac.macports.org/changeset/131845
Author:   devans at macports.org
Date:     2015-01-19 14:59:31 -0800 (Mon, 19 Jan 2015)
Log Message:
-----------
gdk-pixbuf2: update to version 2.31.2, use gobject_introspection portgroup, test build fix.

Modified Paths:
--------------
    trunk/dports/graphics/gdk-pixbuf2/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gdk-pixbuf2/files/
    trunk/dports/graphics/gdk-pixbuf2/files/patch-tests-pixbuf-readonly-to-mutable.c.diff

Property Changed:
----------------
    trunk/dports/graphics/gdk-pixbuf2/


Property changes on: trunk/dports/graphics/gdk-pixbuf2
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/mld-qt-481/dports/graphics/gdk-pixbuf2:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/graphics/gdk-pixbuf2:125854-125856
/users/devans/GNOME-3/unstable/dports/graphics/gdk-pixbuf2:122273-125851
   + /users/devans/GNOME-3/stable/dports/graphics/gdk-pixbuf2:125854-129668
/users/devans/GNOME-3/unstable/dports/graphics/gdk-pixbuf2:122273-125851

Modified: trunk/dports/graphics/gdk-pixbuf2/Portfile
===================================================================
--- trunk/dports/graphics/gdk-pixbuf2/Portfile	2015-01-19 22:03:55 UTC (rev 131844)
+++ trunk/dports/graphics/gdk-pixbuf2/Portfile	2015-01-19 22:59:31 UTC (rev 131845)
@@ -2,12 +2,12 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           gobject_introspection 1.0
 
 name                gdk-pixbuf2
 set my_name         gdk-pixbuf
 epoch               2
-version             2.31.1
-revision            1
+version             2.31.2
 license             LGPL
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          graphics
@@ -23,8 +23,8 @@
 
 master_sites        gnome:sources/${my_name}/${branch}/
 
-checksums           rmd160  a51ef739dedd5b8602ee7520ec63a6ec09b3ac3e \
-                    sha256  25a75e3c61dac11e6ff6416ad846951ccafac6486b1c6a1bfb0b213b99db52cd
+checksums           rmd160  6b36559fbbb0153c2c83a7df4ca70590e05f16bb \
+                    sha256  9e467ed09894c802499fb2399cd9a89ed21c81700ce8f27f970a833efb1e47aa
 
 depends_build       port:pkgconfig
 
@@ -33,20 +33,14 @@
                     port:libpng \
                     port:jasper \
                     port:jpeg \
-                    port:tiff \
-                    port:gobject-introspection
+                    port:tiff
 
-configure.args      --with-libjasper \
-                    --enable-introspection=yes
+patchfiles          patch-tests-pixbuf-readonly-to-mutable.c.diff
 
-# The rules enabled by gobject-introspection require GNU make 3.81+, #35202
-platform darwin 8 {
-    depends_build-append    port:gmake
-    build.cmd               ${prefix}/bin/gmake
-}
-# gobject-introspection uses $CC from env
-build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
+gobject_introspection yes
 
+configure.args      --with-libjasper
+
 test.run            yes
 test.target         check
 

Added: trunk/dports/graphics/gdk-pixbuf2/files/patch-tests-pixbuf-readonly-to-mutable.c.diff
===================================================================
--- trunk/dports/graphics/gdk-pixbuf2/files/patch-tests-pixbuf-readonly-to-mutable.c.diff	                        (rev 0)
+++ trunk/dports/graphics/gdk-pixbuf2/files/patch-tests-pixbuf-readonly-to-mutable.c.diff	2015-01-19 22:59:31 UTC (rev 131845)
@@ -0,0 +1,11 @@
+--- tests/pixbuf-readonly-to-mutable.c.orig	2015-01-19 14:41:41.000000000 -0800
++++ tests/pixbuf-readonly-to-mutable.c	2015-01-19 14:42:03.000000000 -0800
+@@ -71,7 +71,7 @@
+ 
+     buf = g_new0 (MappedBuf, 1);
+     buf->len = pages * pagesize;
+-    buf->buf = mmap (NULL, buf->len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
++    buf->buf = mmap (NULL, buf->len, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
+     g_assert (buf->buf != NULL);
+ 
+     memcpy (buf->buf, gdk_pixbuf_get_pixels (reference), pixlen);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150119/d4174805/attachment.html>


More information about the macports-changes mailing list