# HG changeset patch # User Mark Brand # Date 1350037761 -7200 # Node ID 7bbe1601a5edb8d931145ccfcd9fc02d4a330d64 # Parent c9c16664efca3ae7bcb03cf6ba7400df1492e65e update package gdk-pixbuf diff -r c9c16664efca -r 7bbe1601a5ed index.html --- a/index.html Fri Oct 12 12:14:25 2012 +0200 +++ b/index.html Fri Oct 12 12:29:21 2012 +0200 @@ -1145,7 +1145,7 @@ gdk-pixbuf - 2.26.1 + 2.26.4 GDK-pixbuf diff -r c9c16664efca -r 7bbe1601a5ed src/gdk-pixbuf-1-fixes.patch --- a/src/gdk-pixbuf-1-fixes.patch Fri Oct 12 12:14:25 2012 +0200 +++ b/src/gdk-pixbuf-1-fixes.patch Fri Oct 12 12:29:21 2012 +0200 @@ -3,21 +3,18 @@ Contains ad hoc patches for cross building. -From 74e785e4ee6cf375f1c04d9e57e4b70caec6742c Mon Sep 17 00:00:00 2001 -From: MXE +From 38f4e914e458de6963a3fddbb57dbf8cd0fb83b4 Mon Sep 17 00:00:00 2001 +From: Mark Brand Date: Fri, 24 Sep 2010 23:31:24 +0200 Subject: [PATCH 1/3] s,DllMain,static _disabled_DllMain, ---- - gdk-pixbuf/gdk-pixbuf-io.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c -index 6a5dbce..e5e1c2d 100644 +index 411ceb6..64db155 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c -@@ -226,12 +226,12 @@ skip_space (const char **pos) - +@@ -230,12 +230,12 @@ get_file_formats (void) + #ifdef G_OS_WIN32 -/* DllMain function needed to tuck away the gdk-pixbuf DLL handle */ @@ -32,6 +29,69 @@ LPVOID lpvReserved) { -- -1.7.8 +1.7.10.4 + + +From 0903d316c228bf2a6ba9fe11188851a357cde43e Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Fri, 12 Oct 2012 12:24:51 +0200 +Subject: [PATCH 2/3] add libtiff to required.private in .pc + + +diff --git a/gdk-pixbuf-2.0.pc.in b/gdk-pixbuf-2.0.pc.in +index 7addefc..a07a46f 100644 +--- a/gdk-pixbuf-2.0.pc.in ++++ b/gdk-pixbuf-2.0.pc.in +@@ -12,7 +12,7 @@ Name: GdkPixbuf + Description: Image loading and scaling + Version: @VERSION@ + Requires: gobject-2.0 +-Requires.private: gmodule-no-export-2.0 @PNG_DEP_CFLAGS_PACKAGES@ ++Requires.private: gmodule-no-export-2.0 @PNG_DEP_CFLAGS_PACKAGES@ libtiff-4 + Libs: -L${libdir} -lgdk_pixbuf-@GDK_PIXBUF_API_VERSION@ + Libs.private: @GDK_PIXBUF_EXTRA_LIBS@ + Cflags: -I${includedir}/gdk-pixbuf-@GDK_PIXBUF_API_VERSION@ @GDK_PIXBUF_EXTRA_CFLAGS@ +-- +1.7.10.4 + + +From 1e76ff73dcd6f191584bb05c8ccc9b0a16394a0d Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Fri, 12 Oct 2012 12:25:27 +0200 +Subject: [PATCH 3/3] allow static +diff --git a/configure.ac b/configure.ac +index a5224f8..a1fc2d0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -131,16 +131,16 @@ case $host in + ;; + esac + +-if test "$os_win32" = "yes"; then +- if test x$enable_static = xyes -o x$enable_static = x; then +- AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.]) +- enable_static=no +- fi +- if test x$enable_shared = xno; then +- AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.]) +- fi +- enable_shared=yes +-fi ++dnl if test "$os_win32" = "yes"; then ++dnl if test x$enable_static = xyes -o x$enable_static = x; then ++dnl AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.]) ++dnl enable_static=no ++dnl fi ++dnl if test x$enable_shared = xno; then ++dnl AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.]) ++dnl fi ++dnl enable_shared=yes ++dnl fi + + dnl Initialize libtool + LT_PREREQ([2.2.6]) +-- +1.7.10.4 + diff -r c9c16664efca -r 7bbe1601a5ed src/gdk-pixbuf-2-libtiff.patch --- a/src/gdk-pixbuf-2-libtiff.patch Fri Oct 12 12:14:25 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -diff --git a/gdk-pixbuf-2.0.pc.in b/gdk-pixbuf-2.0.pc.in -index 7addefc..a07a46f 100644 ---- a/gdk-pixbuf-2.0.pc.in -+++ b/gdk-pixbuf-2.0.pc.in -@@ -12,7 +12,7 @@ Name: GdkPixbuf - Description: Image loading and scaling - Version: @VERSION@ - Requires: gobject-2.0 --Requires.private: gmodule-no-export-2.0 @PNG_DEP_CFLAGS_PACKAGES@ -+Requires.private: gmodule-no-export-2.0 @PNG_DEP_CFLAGS_PACKAGES@ libtiff-4 - Libs: -L${libdir} -lgdk_pixbuf-@GDK_PIXBUF_API_VERSION@ - Libs.private: @GDK_PIXBUF_EXTRA_LIBS@ - Cflags: -I${includedir}/gdk-pixbuf-@GDK_PIXBUF_API_VERSION@ @GDK_PIXBUF_EXTRA_CFLAGS@ diff -r c9c16664efca -r 7bbe1601a5ed src/gdk-pixbuf-3-allow-static.patch --- a/src/gdk-pixbuf-3-allow-static.patch Fri Oct 12 12:14:25 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index d929c84..20f8121 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -126,16 +126,16 @@ case $host in - ;; - esac - --if test "$os_win32" = "yes"; then -- if test x$enable_static = xyes -o x$enable_static = x; then -- AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.]) -- enable_static=no -- fi -- if test x$enable_shared = xno; then -- AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.]) -- fi -- enable_shared=yes --fi -+dnl if test "$os_win32" = "yes"; then -+dnl if test x$enable_static = xyes -o x$enable_static = x; then -+dnl AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.]) -+dnl enable_static=no -+dnl fi -+dnl if test x$enable_shared = xno; then -+dnl AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.]) -+dnl fi -+dnl enable_shared=yes -+dnl fi - - dnl Initialize libtool - LT_PREREQ([2.2.6]) diff -r c9c16664efca -r 7bbe1601a5ed src/gdk-pixbuf.mk --- a/src/gdk-pixbuf.mk Fri Oct 12 12:14:25 2012 +0200 +++ b/src/gdk-pixbuf.mk Fri Oct 12 12:29:21 2012 +0200 @@ -3,7 +3,7 @@ PKG := gdk-pixbuf $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 43e4fe5bd8d19bc7d7b853f71c85c193392cb2f7 +$(PKG)_CHECKSUM := 434dfac552fff8bc77bc2dca0e6ed8c268f8880d $(PKG)_SUBDIR := gdk-pixbuf-$($(PKG)_VERSION) $(PKG)_FILE := gdk-pixbuf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)