# HG changeset patch # User Mark Brand # Date 1320274232 -3600 # Node ID c80959245e477a7f86161d58af77d0841f445b9f # Parent 090eb3f8ce256b57b84a31726c6babfa3fd639f3 package qt: explicitly handle tiff dependency on jpeg diff -r 090eb3f8ce25 -r c80959245e47 src/qt-1-cherrypicks.patch --- a/src/qt-1-cherrypicks.patch Wed Nov 02 23:49:19 2011 +0100 +++ b/src/qt-1-cherrypicks.patch Wed Nov 02 23:50:32 2011 +0100 @@ -8,7 +8,7 @@ From 9ae9b4c7f69482cfb67594044da8444bc70c6f97 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Thu, 30 Jun 2011 10:22:33 +0200 -Subject: [PATCH 1/9] do not detect or configure iconv for Windows +Subject: [PATCH 01/10] do not detect or configure iconv for Windows Qt doesn't use iconv on Windows, but configuring it will appear to work and the build will complete. The result is that character @@ -39,7 +39,7 @@ From 5146d425f67575913f4d988da5cf1daff722e9e7 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 3 Jul 2011 22:45:15 +0200 -Subject: [PATCH 2/9] add missing multiple inclusion guard +Subject: [PATCH 02/10] add missing multiple inclusion guard --- src/plugins/codecs/kr/cp949codetbl.h | 5 +++++ @@ -72,7 +72,7 @@ From d19058417259a1f18c0f0ddcc7c7fad120a88f12 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 4 Jul 2011 00:42:24 +0200 -Subject: [PATCH 3/9] load plugin codecs regardless of iconv +Subject: [PATCH 03/10] load plugin codecs regardless of iconv Otherwise Windows applications linking to static Qt will have to import the static plugins to avoid linking failure even if they @@ -146,7 +146,7 @@ From 1572988d2a3728505d9bacd204a1e7132d5f7a7d Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 3 Jul 2011 21:40:11 +0200 -Subject: [PATCH 4/9] move plugin text codecs to QtCore +Subject: [PATCH 04/10] move plugin text codecs to QtCore Having plugin text codecs adds considerable complexity to configuring Qt. The plugin interface is designed for optional @@ -79781,10 +79781,10 @@ 1.7.7 -From dfa9f966e6f4a18d69eb056d17d8ea1b8c5fd663 Mon Sep 17 00:00:00 2001 +From ee6f38ec8b306847c326c31ee646701ae3c72408 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 16 Nov 2010 20:06:28 +0100 -Subject: [PATCH 5/9] explicitly include -llcms for -lmng (mingw-cross-env +Subject: [PATCH 05/10] explicitly include -llcms for -lmng (mingw-cross-env specific) --- @@ -79808,10 +79808,37 @@ 1.7.7 -From 71ef8c96b3b0eaa756c8671ce3b0fb742b67915a Mon Sep 17 00:00:00 2001 +From ede77e74e597434ecebe36c151103e9115d67b67 Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Wed, 2 Nov 2011 15:11:22 +0100 +Subject: [PATCH 06/10] explicitly include -ljpeg for -ltiff (mingw-cross-env + specific) + +--- + src/gui/image/qtiffhandler.pri | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/gui/image/qtiffhandler.pri b/src/gui/image/qtiffhandler.pri +index e1cc3ee..34421dc 100644 +--- a/src/gui/image/qtiffhandler.pri ++++ b/src/gui/image/qtiffhandler.pri +@@ -3,7 +3,7 @@ INCLUDEPATH *= $$PWD + HEADERS += $$PWD/qtiffhandler_p.h + SOURCES += $$PWD/qtiffhandler.cpp + contains(QT_CONFIG, system-tiff) { +- if(unix|win32-g++*):LIBS += -ltiff ++ if(unix|win32-g++*):LIBS += -ltiff -ljpeg + else:win32: LIBS += libtiff.lib + } else { + include($$PWD/../../3rdparty/libtiff.pri) +-- +1.7.7 + + +From f103e7d7666ee527bd2ceddaf4eb1e72586c4d75 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 5 Jun 2010 23:41:04 +0200 -Subject: [PATCH 6/9] restore support for static linking of QtWebKit +Subject: [PATCH 07/10] restore support for static linking of QtWebKit (mingw-cross-env specific) Support was removed by 4221d629e2cf37ee8c5ba7cb595b05ab8c82f113. @@ -79905,10 +79932,10 @@ 1.7.7 -From 433b214427e41e8cd00757012b3adbe5c956f11c Mon Sep 17 00:00:00 2001 +From 89a0dbeda24a0972eb6754090b5e38b703eeac67 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:47:10 +0200 -Subject: [PATCH 7/9] fix building on GNU/kFreeBSD (mingw-cross-specific) +Subject: [PATCH 08/10] fix building on GNU/kFreeBSD (mingw-cross-specific) This patch has been taken from: @@ -79938,10 +79965,10 @@ 1.7.7 -From 3feafc3e015fa17129dd644ed2da5c1148972216 Mon Sep 17 00:00:00 2001 +From f2535af9d2d785b70433ddb1a8238ed8ce68eaab Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:49:47 +0200 -Subject: [PATCH 8/9] fix missing platform when building on GNU/kFreeBSD +Subject: [PATCH 09/10] fix missing platform when building on GNU/kFreeBSD (mingw-cross-env specific) This patch is inspired by: @@ -79970,10 +79997,10 @@ 1.7.7 -From 867c6f2c8f9a14fcb83b215ed455eae448d6c485 Mon Sep 17 00:00:00 2001 +From 5e3dafe140ab2d1d2bb867147b303df369a1c240 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 1 Sep 2011 13:51:50 +0200 -Subject: [PATCH 9/9] fix building on dragonfly (mingw-cross-env specific) +Subject: [PATCH 10/10] fix building on dragonfly (mingw-cross-env specific) This patch is inspired by: http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/x11/qt4-libs/Makefile.common?rev=1.27&content-type=text/x-cvsweb-markup