# HG changeset patch # User Mark Brand # Date 1298991010 -3600 # Node ID 81169b06f296c10bdc8b4f97cd71abb1bac2d5d6 # Parent 5a9e790a33c204d4e84b8973585d38ce732adf43 update package qt diff -r 5a9e790a33c2 -r 81169b06f296 src/qt-1-cherrypicks.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/qt-1-cherrypicks.patch Tue Mar 01 15:50:10 2011 +0100 @@ -0,0 +1,1383 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +Commits backported (cherry-picked) from Qt 4.7 branch. +http://qt.gitorious.org/qt + +From 8f36bff28b648f65845cd56255a6c5b2cb7f8e42 Mon Sep 17 00:00:00 2001 +From: Mark Brand +Date: Fri, 15 Oct 2010 14:56:03 +0200 +Subject: [PATCH 01/12] removed obsolete -qt-gif configure option + +Since "-system-gif" is not offered, offering "-qt-gif" is unnecessary +and perhaps misleading. By default the GIF handler is built from code +included with Qt, unless suppressed by "-no-gif". + +Merge-request: 859 +Reviewed-by: Oswald Buddenhagen +(cherry picked from commit dfe9084344d73d59f4569c8be6104ce83ae0df95) +--- + configure | 7 ++----- + tools/configure/configureapp.cpp | 5 +---- + 2 files changed, 3 insertions(+), 9 deletions(-) + +diff --git a/configure b/configure +index 7abe0eb..c159cd4 100755 +--- a/configure ++++ b/configure +@@ -1570,8 +1570,7 @@ while [ "$#" -gt 0 ]; do + fi + ;; + gif) +- [ "$VAL" = "qt" ] && VAL=auto +- if [ "$VAL" = "auto" ] || [ "$VAL" = "no" ]; then ++ if [ "$VAL" = "no" ]; then + CFG_GIF="$VAL" + else + UNKNOWN_OPT=yes +@@ -3544,7 +3543,7 @@ Usage: $relconf [-h] [-prefix ] [-prefix-install] [-bindir ] [-libdir + [-accessibility] [-no-stl] [-stl] [-no-sql-] [-sql-] + [-plugin-sql-] [-system-sqlite] [-no-qt3support] [-qt3support] + [-platform] [-D ] [-I ] [-L ] [-help] +- [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff] ++ [-qt-zlib] [-system-zlib] [-no-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff] + [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng] + [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make ] + [-nomake ] [-R ] [-l ] [-no-rpath] [-rpath] [-continue] +@@ -3773,8 +3772,6 @@ Third Party Libraries: + See http://www.gzip.org/zlib + + -no-gif ............ Do not compile GIF reading support. +- * -qt-gif ............ Compile GIF reading support. +- See also src/gui/image/qgifhandler_p.h + + -no-libtiff ........ Do not compile TIFF support. + -qt-libtiff ........ Use the libtiff bundled with Qt. +diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp +index 15c0ddb..dd5647b 100644 +--- a/tools/configure/configureapp.cpp ++++ b/tools/configure/configureapp.cpp +@@ -590,8 +590,6 @@ void Configure::parseCmdLine() + // Image formats -------------------------------------------- + else if (configCmdLine.at(i) == "-no-gif") + dictionary[ "GIF" ] = "no"; +- else if (configCmdLine.at(i) == "-qt-gif") +- dictionary[ "GIF" ] = "plugin"; + + else if (configCmdLine.at(i) == "-no-libtiff") { + dictionary[ "TIFF"] = "no"; +@@ -1661,7 +1659,7 @@ bool Configure::displayHelp() + "[-no-qmake] [-qmake] [-dont-process] [-process]\n" + "[-no-style-