Summary: An image loading and scaling library - cross MinGW32 version
Summary(pl.UTF-8): Biblioteka ładująca i skalująca obrazki - wersja skrośna MinGW32
Name: crossmingw32-gdk-pixbuf2
-Version: 2.30.0
+Version: 2.30.1
Release: 1
License: LGPL v2+
Group: Development/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.30/gdk-pixbuf-%{version}.tar.xz
-# Source0-md5: d1e32c91597f8f2fa6ead4201216dd05
+# Source0-md5: e5ae32be7927c9bc94d8593a881eeb3f
Patch0: gdk-pixbuf2-png-nodep.patch
Patch1: gdk-pixbuf2-gdip.patch
-Patch2: gdk-pixbuf2-win32.patch
URL: http://developer.gnome.org/gdk-pixbuf/
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
%setup -q -n gdk-pixbuf-%{version}
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%build
%{__gettextize}
+++ /dev/null
---- gdk-pixbuf-2.30.0/tests/pixbuf-randomly-modified.c.orig 2013-09-23 15:06:17.000000000 +0200
-+++ gdk-pixbuf-2.30.0/tests/pixbuf-randomly-modified.c 2013-09-24 20:19:45.937337489 +0200
-@@ -26,7 +26,9 @@
- #include <time.h>
- #include <string.h>
- #include <sys/time.h>
-+#ifndef __WIN32__
- #include <sys/resource.h>
-+#endif
-
- static void
- disaster (const char *what)
-@@ -104,12 +106,14 @@
- gboolean got_seed = FALSE;
- GPtrArray *files = g_ptr_array_new ();
- int l, iterations;
-+#ifndef __WIN32__
- struct rlimit max_mem_size;
-
- 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);
- setrlimit (RLIMIT_AS, &max_mem_size);
-+#endif
-
- g_test_init (&argc, &argv, NULL);
-