Update to gdk-pixbuf-2.30.0.

This commit is contained in:
ajacoutot 2013-09-25 12:38:36 +00:00
parent 889a0ce0d0
commit 0f5cfe573e
4 changed files with 30 additions and 9 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.34 2013/06/09 15:26:50 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.35 2013/09/25 12:38:36 ajacoutot Exp $
COMMENT= graphic library for gtk+2
GNOME_PROJECT= gdk-pixbuf
GNOME_VERSION= 2.28.2
REVISION= 1
GNOME_VERSION= 2.30.0
CATEGORIES= graphics
SHARED_LIBS += gdk_pixbuf-2.0 2800.0 # 2800.0
SHARED_LIBS += gdk_pixbuf_xlib-2.0 2800.0 # 2800.0
SHARED_LIBS += gdk_pixbuf-2.0 3000.0 # 3000.0
SHARED_LIBS += gdk_pixbuf_xlib-2.0 3000.0 # 3000.0
HOMEPAGE= http://www.gtk.org/
@ -24,7 +23,7 @@ WANTLIB += jasper jpeg m pcre png pthread tiff xcb z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= devel/glib2 \
LIB_DEPENDS= devel/glib2>=2.38.0 \
graphics/jasper \
graphics/png \
graphics/tiff
@ -39,6 +38,8 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-libjasper \
--with-x11
TEST_DEPENDS= ${BASE_PKGPATH}=${GNOME_VERSION}
post-install:
rm ${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.{a,la}

View File

@ -1,2 +1,2 @@
SHA256 (gdk-pixbuf-2.28.2.tar.xz) = GDETwusiMpY+iIZKalT9lj2/6xo2efsNNFb54LeeRhc=
SIZE (gdk-pixbuf-2.28.2.tar.xz) = 1192936
SHA256 (gdk-pixbuf-2.30.0.tar.xz) = SnNgBSViEoOhRDbF+HPBEmxP6vywfSSnRvEyFeLKplg=
SIZE (gdk-pixbuf-2.30.0.tar.xz) = 1310324

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-tests_pixbuf-randomly-modified_c,v 1.1 2013/09/25 12:38:37 ajacoutot Exp $
From 07c888ca7d6cb0b9675d21e278c28a156684b7ea Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Tue, 24 Sep 2013 09:10:21 +0000
Subject: RLIMIT_AS: make sure it is defined before using it
--- tests/pixbuf-randomly-modified.c.orig Tue Sep 24 10:50:04 2013
+++ tests/pixbuf-randomly-modified.c Tue Sep 24 10:50:39 2013
@@ -109,7 +109,9 @@ main (int argc, char **argv)
max_mem_size.rlim_cur = 100 * 1024 * 1024; /* 100M */
max_mem_size.rlim_max = max_mem_size.rlim_cur;
setrlimit (RLIMIT_DATA, &max_mem_size);
+#if defined (RLIMIT_AS)
setrlimit (RLIMIT_AS, &max_mem_size);
+#endif
g_test_init (&argc, &argv, NULL);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2013/03/27 17:50:18 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.15 2013/09/25 12:38:37 ajacoutot Exp $
@conflict gtk+2-<2.22
@conflict gtk+2-docs-<2.22
@unexec-delete rm -f %D/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
@ -50,6 +50,7 @@ share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html
share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html