<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ad37e39e2303f83ed7e862beb6d57c6b19a86208">https://github.com/macports/macports-ports/commit/ad37e39e2303f83ed7e862beb6d57c6b19a86208</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ad37e39 qt55: add new port
</span>ad37e39 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ad37e39e2303f83ed7e862beb6d57c6b19a86208
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Nov 20 12:48:10 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt55: add new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Qt 5.5 was the last version to officially support 10.7
</span><span style='display:block; white-space:pre;color:#404040;'> see https://trac.macports.org/ticket/51801
</span><span style='display:block; white-space:pre;color:#404040;'> see https://trac.macports.org/ticket/52922
</span>---
_resources/port1.0/group/qt5-1.0.tcl | 7 +
aqua/qt55/Portfile | 1521 ++++++++++++++++++++++
aqua/qt55/files/patch-add_sdk.diff | 33 +
aqua/qt55/files/patch-configure.diff | 11 +
aqua/qt55/files/patch-cups.diff | 10 +
aqua/qt55/files/patch-deployment_target.diff | 24 +
aqua/qt55/files/patch-fix_sdk.diff | 60 +
aqua/qt55/files/patch-fontconfig.diff | 13 +
aqua/qt55/files/patch-icu.diff | 38 +
aqua/qt55/files/patch-install_examples.diff | 19 +
aqua/qt55/files/patch-machtest.diff | 15 +
aqua/qt55/files/patch-midifix.diff | 25 +
aqua/qt55/files/patch-mkspecs.diff | 98 ++
aqua/qt55/files/patch-no_qtwebkit.diff | 20 +
aqua/qt55/files/patch-pcfiles.diff | 38 +
aqua/qt55/files/patch-qtconn-for-10.12.diff | 81 ++
aqua/qt55/files/patch-qtwebengine32.diff | 28 +
aqua/qt55/files/patch-rpath.diff | 64 +
aqua/qt55/files/patch-shared.diff | 11 +
aqua/qt55/files/patch-ssl.diff | 139 ++
aqua/qt55/files/patch-stdloc.diff | 29 +
aqua/qt55/files/patch-tst_benchlibcallgrind.diff | 14 +
aqua/qt55/files/patch-tst_qpluginloader.diff | 20 +
aqua/qt55/files/patch-xcrun.diff | 49 +
24 files changed, 2367 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qt5-1.0.tcl b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 96ccf8e..1438fc3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,7 @@
</span> global available_qt_versions
set available_qt_versions {
qt5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt55
</span> }
# standard Qt5 name
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -124,6 +125,12 @@ switch ${qt_name} {
</span> set qt5_min_reference_version 12
set qt5_max_reference_version 15
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt55 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_min_tested_version 11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_max_tested_version 14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_min_reference_version 13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_max_reference_version 14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {[tbool just_want_qt5_version_info]} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/Portfile b/aqua/qt55/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..03829a2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,1521 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name qt55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers mcalhoun openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {LGPL-2.1 LGPL-3 GPL-3}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://qt.io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_name ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set just_want_qt5_variables yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset just_want_qt5_variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# get Qt's version numbers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/official_releases/qt/${branch}/${version}/submodules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/community_releases/${branch}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# file sizes are significantly smaller using xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} ne ${name} && ${subport} ne "${name}-docs" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts qt3 qt3-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# conflict with all other version of qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach test_qt_name ${available_qt_versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${name} ne ${test_qt_name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # module exists in this Qt version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append ${test_qt_name}-qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/51358
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts-append libressl libressl-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Modules Not Considered
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwayland (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtx11extras (X11 Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwinextras (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Finding Dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r "%dependencies" *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name sync.profile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r qtCompileTest *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name config.tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name Find\*.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Notes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity checks for bluetooth libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# bluez and bluez_le (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtserialport depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ntddmodm (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qttools depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtwebkit has tests for libraries in:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/mkspecs/features/configure.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/config.tests/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### TODO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: possible to trim dependencies of qtbase?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Module Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "Qt Module Name" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, rmd160
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, sha256
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, Qt module name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt components provided
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# included in "standard" installation of Qt (empty string is no, explanation string is yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant overrides
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# revision number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# module info found at https://doc.qt.io/qt-5/qtmodules.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set modules {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 181929ce80c7e88e4230239c260242749771f8ad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e380906e2bcbd825dab45043bf063dd88b793c0d5fb050ee915bf4e2b58b1bf7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:assimp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtimageformats"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt3D Core" "Qt3D Input" "Qt3D Logic" "Qt3D Renderer"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview modules"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtbase {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ce4bccd0703aaf8d904fbecd1f334ef13d698a44
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dfa4e8a4d7e4c6b69285e7e8833eeecd819987e1bdbe5baa6b6facd4420de916
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg port:fontconfig port:freetype path:bin/dbus-daemon:dbus path:lib/libssl.dylib:openssl port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:libiconv port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Gui" "Qt Widgets" "Qt Print Support" "Qt OpenGL" "Qt Core" "Qt XML" "Qt SQL" "Qt Network" "Qt Test" "Qt D-Bus" "Qt Concurrent" "Qt Platform Headers"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtcanvas3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ed68d3c61b0c67818626595a7bba14a627f5120b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 759b171030d7110751943643885c1484c7900fed7737424d202e36bdeba0b080
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Canvas 3D"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtconnectivity {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ff138deaf87850b047c1e472188a2455b2e0ff54
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3637e6def8582fc0fb3684179b93650720ba2da1311a560d358296153f245023
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Bluetooth" "Qt NFC"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtenginio {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5b23212c3da401b9c74f33a6486ba18166f129f6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a79936bd5b6a35aba28dd282291b28c8fa869b8d86652c62efe5e268d94defe2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Enginio"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1d8939c42f4b510443365479ffe8bc525e0faac6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5fd14eefb83fff36fb17681693a70868f6aaf6138603d799c16466a094b26791
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt QML" "Qt Quick" "Qt Quick Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdoc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 907fc8eefba4e2c836143474f9abd99c0b0bf79f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9f0daf55a1765f637b5d8096a195842281a49adc5a82e7ddc75e541c62e00f86
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qttools sqlite-plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Reference Documentation"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "requires all documentation"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtgraphicaleffects {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 43f6a91f75863f8333fc6b70456f1b0d175b55e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9bca0f8db3a4289eceebfa9504915440fe3fa6301d90b65705e4ece528c12d47
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Graphical Effects"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtimageformats {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 75000000ddfbb83b960b73c07d2083b85dcd81fa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c97fee00c602f9f089fea480546d6e9d61a2b2297c2f163bfd9f8aba92b754a5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:jasper port:libmng port:tiff port:webp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Image Formats"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtlocation {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3792eedc159db6bf15eef706ee218f3cc5759a51
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1fe948cb87649f4450be921cf3cdefc311595a80ef6a7a7b7484901baa0d6316
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtquickcontrols qtserialport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Location" "Qt Positioning"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e31be686e79c1cf4a70357921f0caad4cd496c79
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 025350fdcc936118539ee3703115549b4547def329d3d959b9db5bd853ec9058
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Mac Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmultimedia {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 68049da5e203e484de766c17d683a34a888e0603
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7cc7ca99f41587c188303670499e5c75101f9a8cb6178e8f29cc941e637d957f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Multimedia" "Qt Multimedia Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquick1 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dd1c71468426a5b9fe4f5297a6f2b04c9caddc78
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c812a7e59a8b9f0a87693181059933e15fef04bc875b6486cd653be1b9b51f2c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtscript qtxmlpatterns qtdeclarative qttools qtwebkit"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Declarative"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deprecated"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquickcontrols {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3975fbb34a74d55f88f47b436b6fca6ce3f7c078
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1b7a8389d656066c629bd2cb520b39a7eb041d184b567dd1b9639b88d841fcf0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns qtgraphicaleffects"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Quick Controls" "Qt Quick Dialogs" "Qt Quick Layouts" "Qt Quick Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscript {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7d8ff8c4462b21b83212dd780030a01bd00b8ca9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cd46dddd998f22bcb06447e0407fef81f7052f25bc770b1c27625654cee828fd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Script" "Qt Script Tools"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deprecated in favor QJS* in Qt QML"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsensors {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9a3eaad761efaefc0a56258c0bd64e01d0889cba
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5d264fc0729a5d7679bd4eb8d7a0a9b142ed38d09fa68fc7dfe57f64afc8eeea
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Sensors"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtserialport {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 00c53b307fd6ad509aedc6ed0b3a464ac3d8e809
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a034dbfb023db1b9b9de54390f7e76a48c1d1eb12533b0ffd574505c99968f7a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Serial Port"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ db1dd37355a1e4b40a37decc1df60d574ab14088
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f7f588be48befd9ccab5a6086832551b8899e8bed9e603ddea979581e05a91c7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt SVG"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttools {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 279aacc94f7fa583a59d3fe005ecb3e598e92b32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4361f6ce49717058160908297841a18b94645cec593d1b48fb126c9d06c87bfd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Help" "Qt UI Tools" "Qt Designer" }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttranslations {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f9c956935768cea5c935a10493963f7e411dc255
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 41f800710f0bc6ca263f1e54f1fa22be7043962999304e73ce9887ebefc7a4c6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qttools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"translation files"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebchannel {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fca861f785f9d718aa17853bf7a3c072efcd53b7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7f4295ee57cd4ecba3cb263452d2a08d501b45c9a2b8b7794b6a97d7652f15d0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtwebsockets qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebChannel"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebengine {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0c24bb89cc72a18c06e2fd613db1eb879ada2a2a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7c4d328dd305991aaf0c3450615f4a8e5d80152194bee6f5925bd8d3477e2b90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27 port:py27-ply"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtwebchannel"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebEngine" "Qt WebEngine Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "very large and relatively new; requires newer version of OS X"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebkit {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0594ec1150f7899d72f57d8ff2f108f3f75faaf9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 77583f9dbd3e6ad874386df71b165dc3ce88efdabbc6e5d97a959ee2187d6d69
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:fontconfig port:icu port:leveldb port:webp port:libxml2 port:libxslt port:zlib port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebKit" "Qt WebKit Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "community support only (use Qt WebEngine)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebkit-examples {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 6d2a3aee163e419fbc6ec56a941c4354e8e93b7d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 098935b42d6d249027d1a635e4e70edc3d2969dd860f825b36aec06fc72e46c6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtwebkit qtscript qtsvg qtxmlpatterns qtdeclarative qttools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"examples for Qt WebKit"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deprecated in favor of Qt WebEngine; doen't provide functionality"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ++examples ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebsockets {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 83dcc5d07dca6c1cccfaed13cd16fde940ad0b94
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cf4e834a867b90337188be504ef20184c52666370f721e704952988f8cb12deb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebSockets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtxmlpatterns {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 403a3b2377728629b6a3f1073b24af3f3360adf7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b537eb0252988e3805a32a16c65038973371d647baf246fdf703bde725d0e8ec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt XML Patterns"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### SQL Plugin Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency, library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# include path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# link requirement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# obsolete? (empty string is no)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set sql_plugins {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {sqlite SQLite "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib -lsqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {psql PostgreSQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql95 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql94 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql84 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {mysql MySQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mariadb55"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mariadb"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mariadb/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mariadb/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql57/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql57/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql56/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql56/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string trim [lindex ${module_info} 8]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://bugreports.qt.io/browse/QTBUG-35514
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 2] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 3] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach qtdeps [lindex ${module_info} 4] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qtdeps} ne "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${qtdeps}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Tools and Module(s) for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_list [lindex ${module_info} 5]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${modules_provided_list}] == 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [lindex ${modules_provided_list} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { [llength ${modules_provided_list}] == 2 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join ${modules_provided_list} " and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join [list [join [lrange ${modules_provided_list} 0 end-1] ", "] [lindex ${modules_provided_list} end]] ", and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description "Tools and Module(s) for Qt Tool Kit ${qt_major}: ${modules_provided_join}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this subport uses configure script (NOT qmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use the qt5 group; set 'building_qt5' so that the portgroup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # does not include certain parts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set building_qt5 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unset building_qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} ne "darwin" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "${subport} is untested on \"${os.platform}\"."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Multiple architectures is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "i386" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "32-bit mode is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/141654/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://lists.qt-project.org/pipermail/interest/2015-January/thread.html#14954
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://comments.gmane.org/gmane.comp.lib.qt.user/21422
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system automatically uses OpenGL frameworks (-framework OpenGL -framework AGL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system also uses pkgconfig to look for an OpenGL installation (gl.pc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if mesa is installed, the build system will try to use both OpenGL systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # later, this will cause problems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Undefined symbols: "_CGLGetCurrentContext"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/126584/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-pcfiles.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/140876/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-stdloc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #https://codereview.qt-project.org/#/c/138349
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-rpath.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # as of 5.6.1, avoid "... is lacking an install target"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/156610/1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-install_examples.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://stackoverflow.com/questions/14506151/invalid-symbol-redefinition-in-inline-asm-on-llvm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # only runs test code on 32-bit systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this test might still cause problems, but with 5.4.2->5.5.0, it is no longer run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -macx-*: SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # +macx-*: contains(QT_CONFIG, private_tests): SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # When testing, ensure that a universal object file is not inadvertently created.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #52200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/164673/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-xcrun.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtbase is used for:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1) building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2) building MacPorts projects via qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3) building end-user projects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1 & 2 require consistency with the MacPorts environment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3 requires consistency with the default Qt installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2 can be achieved via environment variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (e.g. QMAKE_MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the only way 3 can be achieved is if no changes are made to the build system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the following is an attempt to achieve 1 without destroying 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # save default spec files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/mkspecs ${worksrcpath}/mkspecs-save
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # change default compiler flags for the purpose of building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global qt_save_cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS__CXX_STDLIB__|${qt_save_cxx_stdlib}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_DEPLOYMENT_TARGET__|${macosx_deployment_target}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # return modified spec files to the default values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/common/clang-mac.conf ${worksrcpath}-${arch}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}-${arch}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/common/clang-mac.conf ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --prefix is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args-delete --prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --disable-dependency-tracking is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Installation options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-extprefix SYSROOT/PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostprefix EXTPREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-libexecdir ARCHDATADIR/libexec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostbindir HOSTPREFIX/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostlibdir HOSTPREFIX/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -prefix ${qt_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -bindir ${qt_bins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -headerdir ${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -libdir ${qt_libs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -archdatadir ${qt_archdata_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -plugindir ${qt_plugins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -importdir ${qt_imports_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -qmldir ${qt_qml_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -datadir ${qt_data_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -docdir ${qt_docs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -translationdir ${qt_translations_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sysconfdir ${qt_sysconf_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -examplesdir ${qt_examples_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -testsdir ${qt_tests_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -hostdatadir ${qt_host_data_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Configure options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -opensource \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -confirm-license \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -shared \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -largefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -accessibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach driver { db2 ibase mysql oci odbc psql sqlite sqlite2 tds } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -no-sql-${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "-platform ${qt_qmake_spec}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(i386) "-platform ${qt_qmake_spec_32}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(x86_64) "-platform ${qt_qmake_spec_64}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-testcocoon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gcov \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -force-pkg-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # turn off CFG_CLOEXEC if gnulib is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Third Party Libraries:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-mtdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-journald \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libjpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -openssl-linked \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libproxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-pcre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-x11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xinput2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb-xlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -glib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pulseaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-alsa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gtkstyle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # from the configure script:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # NOTE: -optimized-tools is not useful in -release mode.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Additional options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make libs} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make tools} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake examples} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake tests} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -widgets \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-rpath \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -verbose \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -nis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -cups \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -iconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-tslib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -strip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -dbus-linked \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-use-gold-linker \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-separate-debug-info \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-eglfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-directfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-linuxfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-kms \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libinput \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gstreamer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-system-proxies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # MacOS/iOS options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.sdkroot} ne ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sdk [string tolower [join [lrange [split [lindex [split ${configure.sdkroot} "/"] end] "."] 0 end-1] "."]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure options that don't show up in configure --help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libudev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-egl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-openvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Qt builds part of the system using environment provided my MacPorts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # It builds the rest using its own internal environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For consistency, clear MacPorts environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure.cxx_stdlib value is needed later in a post-patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_save_cxx_stdlib ${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdkroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ld_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pipe no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_arch_flag no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.march
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.mtune
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cofigure script looks for perl but doesn't seem to use it for our configuration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure script uses gawk if it can find it,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # so require it for consistency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:gawk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless overridden, configure script uses gmake if it can find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MAKE=${build.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # delete preprocessor comments surrounding QT_CPU_FEATURES.i386 and QT_CPU_FEATURES.x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#ifndef.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#else.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#endif.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The file ${qt_mkspecs_dir}/qconfig.pri is still not properly merged
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # A workaround is to set QT_ARCH and QT_TARGET_ARCH manually (see e.g. the qmake5 PortGroup)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake tests} {-make tests}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake examples} {-make examples}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant debug description {Build both release and debug libraries} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -release -debug-and-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant pulseaudio description {Compile PulseAudio support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-pulseaudio -pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant gstreamer description {Compile GStreamer support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gstreamer1 port:gstreamer1-gst-plugins-base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-gstreamer {-gstreamer 1.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these subports use qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # detremint which variants are to be turned off
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set def_var ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~universal"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "noarch"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~debug"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_qmake_request_no_debug true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~tests"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "++examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend def_var "+examples"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${def_var} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append ${def_var}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # accommodating variant request varies depending on how qtbase was built
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake builds examples by default (set via variants)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase examples ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake runs tests by default (set via varians)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase tests ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to build examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists examples] && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to run tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists tests] && [variant_isset tests] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine of qmake's default and user requests are compatible; override qmake if necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_examples} && !${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_examples} && ${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_tests} && !${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_tests} && ${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Special Cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtdoc" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in the process of building the html files, qtdoc looks for all installed modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # with no clear way to select only a subset
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless a way is found, ReproducibleBuilds (https://trac.macports.org/wiki/ReproducibleBuilds)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # requires qtdoc depend on all the documentation modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module_doc module_doc_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_doc_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${module_doc}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtlocation" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtlocation uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Gypsy (https://gypsy.freedesktop.org/wiki/)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { gypsy } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/config.tests/${test}/main.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup cxx11 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use MacPorts icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qmake uses pkgconfig to look for icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this feature does not work without "CONFIG += link_pkgconfig"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #https://codereview.qt-project.org/#/c/139967/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #https://codereview.qt-project.org/#/c/139968/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #https://codereview.qt-project.org/#/c/139970/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-ssl.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtwebkit uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # glx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXcomposite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXrender
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { glx libXcomposite libXrender } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/Tools/qmake/config.tests/${test}/${test}.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # by default, qmake uses -mmacosx-version-min=10.6, which means __MAC_OS_X_VERSION_MIN_REQUIRED is set to 1006
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setting QMAKE_MACOSX_DEPLOYMENT_TARGET to ${macosx_deployment_target} changes __MAC_OS_X_VERSION_MIN_REQUIRED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and unwanted code is included
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this patch allows qtwebkit to build, but other problems may crop up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-deployment_target.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prevent qttools from opportunistically using qtwebkit if it can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qtwebkit description {build with QtWebkit support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-delete patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these folders are installed and conflict with ${name}-qttools-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/assistant/simpletextviewer/documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/help/contextsensitivehelp/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44934 (and #35067 for the qt4-mac version)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_frameworks_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [split ${qt_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${qt_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_qt [lindex $qt_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_qt} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [lreplace ${qt_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libreplace [string repeat ../ [llength ${qt_list}]][join ${framework_list} /]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${libreplace} ne "lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_FRAMWORK_DIR__|${libreplace}|g" ${worksrcpath}/src/macdeployqt/shared/shared.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {12 5.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append QMAKE_LINK=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/125968/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qtwebengine32.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${xcodeversion} "7.0"] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For SDKs 10.11 and later, the MIDI types are the same
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-midifix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/127759/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-fix_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/chromium/printing/backend/print_backend_cups.cc?h=53-based&id=3bd01037ab73b3ffbf4abbf97c54443a91b2fc4d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://bugs.chromium.org/p/chromium/issues/detail?id=622493
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-cups.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${subport} eq "${name}-qtwebkit-examples" && ![variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Without the examples variant, no examples are installed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtsensors" && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset debug] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug "_debug"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix library path names or MacPorts will try to reinstall
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/libgruesensor.1.dylib grue/sensors/libqtsensors_grue${debug}.dylib sensor_explorer/Explorer/libdeclarative_explorer${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -id ${qt_examples_dir}/sensors/${dylib} ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/sensors/libqtsensors_grue${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -change libgruesensor.1.dylib ${qt_examples_dir}/sensors/grue/libgruesensor.1.dylib ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtconnectivity" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/172619/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qtconn-for-10.12.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for the port ${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qttools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt5_qmake_request_no_debug true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtdeclarative" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # generated makefiles assume full Qt was built locally
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/qdoc ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/qhelpgenerator ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/lib/QtHelp.framework/Headers/QtHelp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${qt_libs_dir}/QtHelp.framework/Versions/5/Headers/QHelpEngineCore \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/QtHelp.framework/Headers/QtHelp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${qt_libs_dir}/QtHelp.framework/Versions/5/Headers/qhelpenginecore.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/QtHelp.framework/Headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${qt_libs_dir}/QtHelp.framework/Versions/5/Headers/qhelp_global.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/QtHelp.framework/Headers/QtHelp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtwebchannel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # without this file, the makefile ${worksrcpath}/qtwebkit/Source/WebCore/Makefile.WebCore.Target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # keeps generating itself over and over again
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this file is only created when the library is being built, however
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/Source/WebCore/generated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch ${worksrcpath}/Source/WebCore/generated/InspectorBackendCommands.qrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # avoid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ! Missing GStreamer or QtMultimedia, disabling HTML5 media element support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtmultimedia
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #52200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/164673/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-xcrun.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see http://doc.qt.io/qt-5/sql-driver.html for info on building SQL Database Drivers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {sql_names sql_info} [array get sql_plugins] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set driver [lindex ${sql_names} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dbms [lindex ${sql_names} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [lindex ${sql_names} 2]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${driver}-plugin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname qtbase-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex $modules(qtbase) 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex $modules(qtbase) 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if there is more than one version of the database system, create variants for each version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${sql_info}] > 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # find every other variant so it can be marked as conflicting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set conflicts_list ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info2 ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName2 [lindex ${variant_info2} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${varName} ne ${varName2} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend conflicts_list ${varName2}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # get only the numbers from the name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp {[0-9].} ${varName} varVer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${varName} conflicts ${conflicts_list} description "use version ${varVer} of ${dbms}" {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # check if any variant has been set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset ${varName}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ensure at least one variant is set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${any_variant_set} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +[lindex [lindex ${sql_info} 0] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ( [variant_exists ${varName}] && [variant_isset ${varName}] ) || [llength ${sql_info}]==1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [lindex ${variant_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst INCLUDEPATH+=\"[lindex ${variant_info} 2]\"] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst LIBS+=\"[lindex ${variant_info} 3]\"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for single architecture, easier to use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # worksrcdir ${worksrcdir}/qtbase/src/plugins/sqldrivers/${driver},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # but doesn't work for universal build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.dir ${worksrcpath}/src/plugins/sqldrivers/${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #52200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://codereview.qt-project.org/#/c/164673/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-xcrun.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # meta-port to install documentation for various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} eq ${name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the main port is Meta-port to install various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Qt Tool Kit: A cross-platform framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (headers, data, and libraries) for writing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cross-platform GUI-based applications.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_framework ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set depends_check ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_build] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_build}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_lib] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_lib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach deps ${depends_check} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string first ":python27" ${deps}] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If Qt components use Python, ensure that MacPorts python27 is used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # a better solution would be to force components to use a specific python program
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # how to accomplish such a thing is not entirely clear
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #49838
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # version 5.5.1 (at least) of qtwebengine must find a python version in the interval [2.7, 3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (see tools/qmake/mkspecs/features/functions.prf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # versions 5.5.1 of qtdeclarative and qtwebkit also use python with no way of specifying which one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${python_framework} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset python_framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ![exists universal_variant] || [option universal_variant] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ merger-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dir ${destroot}-${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.framework/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_examples_dir}/widgets/tools/plugandpaint/plugins/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Libs.private contains the value of ${worksrcpath}-${arch}, which prevents merging
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*-arch \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*${arch} \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s:-arch +[^ ]+::g} ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44204
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir} *.framework] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework [file rootname ${f}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [split ${qt_includes_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_libs_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${include_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_include [lindex $include_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_include} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [lreplace ${include_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_includes_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s [string repeat ../ [llength ${include_list}]][join ${framework_list} /]/${f}/Headers ${destroot}${qt_includes_dir}/${framework}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .app and non-.app programs are both put in qt_bins_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put a link of any .app programs in the ${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_bins_dir} ne ${qt_apps_dir} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach app [glob -nocomplain -tails -directory ${destroot}${qt_bins_dir} *.app] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/${app} ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put configuration files in places they will be found automatically
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_libs_dir} ne "${prefix}/lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to pkgconfig files in place where pkgconfig will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 pkgconfig files begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach pcfile [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir}/pkgconfig *.pc] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/pkgconfig/${pcfile} ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to cmake files in place where cmake will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 cmake directories begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake/${cmakedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -tails -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/cmake/${cmakedir}/${cmakefile} ${destroot}${prefix}/lib/cmake/${cmakedir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if cmake finds configuration files in ${prefix}/lib/cmake, CMAKE_CURRENT_LIST_DIR expands to ${prefix}/lib/cmake/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cmake configuration files actually installed in ${qt_cmake_module_dir}/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -nocomplain -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\\\${CMAKE_CURRENT_LIST_DIR}|${qt_cmake_module_dir}/${cmakedir}|g" ${cmakefile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://download.qt.io/archive/qt/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex (\\d+(\\.\\d+)+)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-add_sdk.diff b/aqua/qt55/files/patch-add_sdk.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3209a50
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From dd5bed5198bda65930d4ea406e29006f0deb6018 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 22 Nov 2015 10:24:04 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] OS X: resolve SDK version of QMAKE_LINK_C and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C_SHLIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On OS X, both compilers and linkers are given an absolute path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+For consistency, the same should be done with the C linkers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The change is also a convenience to the MacPorts project,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+which actively discourages ambiguous compiler names.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(https://trac.macports.org/wiki/UsingTheRightCompiler).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic1885aed825340696e9fde766788eebf51de3ff6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkspecs/features/mac/sdk.prf | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e238f8e..624366a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,7 +43,7 @@ QMAKE_INCDIR_OPENGL = $$sysrootified
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKESPEC_NAME = $$basename(QMAKESPEC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resolve SDK version of various tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_LINK_C QMAKE_LINK_C_SHLIB)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tool_variable = QMAKE_MAC_SDK.$${QMAKESPEC_NAME}.$${QMAKE_MAC_SDK}.$${tool}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ !isEmpty($$tool_variable) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $$tool = $$eval($$tool_variable)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-configure.diff b/aqua/qt55/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1e25fb2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2015-10-12 21:35:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2015-10-18 12:19:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4230,7 +4230,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local incdir_raw incdir_mod cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local libdir_raw libdir_mod libs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [ -n "$PKG_CONFIG" ] && [ "$qmake_postfix" != "OPENGL" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incdir_raw=`$PKG_CONFIG --cflags-only-I $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags=`$PKG_CONFIG --cflags-only-other $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libdir_raw=`$PKG_CONFIG --libs-only-L $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-cups.diff b/aqua/qt55/files/patch-cups.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9e7e0f2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-cups.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/chromium/printing/backend/print_backend_cups.cc.orig 2015-10-12 21:36:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/chromium/printing/backend/print_backend_cups.cc 2016-10-25 05:50:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,6 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "build/build_config.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cups/ppd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <dlfcn.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pthread.h>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-deployment_target.diff b/aqua/qt55/files/patch-deployment_target.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..92034ed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-deployment_target.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/JavaScriptCore/API/JSBase.h.orig 2015-10-12 21:37:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/JavaScriptCore/API/JSBase.h 2016-11-13 06:22:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -141,7 +141,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Enable the Objective-C API for platforms with a modern runtime. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if !defined(JSC_OBJC_API_ENABLED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define JSC_OBJC_API_ENABLED (defined(__clang__) && defined(__APPLE__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 && !defined(__i386__))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define JSC_OBJC_API_ENABLED 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* JSBase_h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp.orig 2015-10-12 21:37:14.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp 2016-11-13 08:00:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -423,10 +419,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OwnPtr<MessageDecoder> decoder = createMessageDecoder(header);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(decoder);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- decoder->setImportanceAssertion(ImportanceAssertion::create(header));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (decoder->messageReceiverName() == "IPC" && decoder->messageName() == "InitializeConnection") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(m_isServer);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(!m_isConnected);
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-fix_sdk.diff b/aqua/qt55/files/patch-fix_sdk.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e57b8c0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-fix_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,60 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 146ebe26dce3289eb440bed7d5d0a7988ff5f5c9 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Sylvain Defresne <sdefresne@chromium.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri, 18 Sep 2015 22:18:57 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] <tools/gyp> [Backport] Fallback to '.tbd' for system missing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '.dylib'.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+With Xcode 7 the '.dylib' for system libraries are no longer present
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+but instead only '.tbd' are shipped maybe in an effort to reduce the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+size of the SDK download.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change XcodeSettings._AdjustLibrary() to look for a '.tbd' file for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+system libraries (those whose path starts by "$(SDKROOT)"). Only do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the substitution if the '.dylib' cannot be found and a '.tbd' file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+with the same path exists.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BUG=517914
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R=justincohen@chromium.org, mark@chromium.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Review URL: https://codereview.chromium.org/1275133004 .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Patch from Sylvain Defresne <sdefresne@chromium.org>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: I8e81340b1258501a2e5f4952c606ae7204b0d74f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ chromium/tools/gyp/pylib/gyp/xcode_emulation.py | 18 +++++++++++++++++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 17 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/chromium/tools/gyp/pylib/gyp/xcode_emulation.py b/chromium/tools/gyp/pylib/gyp/xcode_emulation.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ac5ffea..14bd7a9 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/chromium/tools/gyp/pylib/gyp/xcode_emulation.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/chromium/tools/gyp/pylib/gyp/xcode_emulation.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1006,7 +1006,23 @@ class XcodeSettings(object):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sdk_root = self._SdkPath(config_name)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if not sdk_root:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sdk_root = ''
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return l.replace('$(SDKROOT)', sdk_root)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Xcode 7 started shipping with ".tbd" (text based stubs) files instead of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # ".dylib" without providing a real support for them. What it does, for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # "/usr/lib" libraries, is do "-L/usr/lib -lname" which is dependent on the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # library order and cause collision when building Chrome.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Instead substitude ".tbd" to ".dylib" in the generated project when the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # following conditions are both true:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # - library is referenced in the gyp file as "$(SDKROOT)/**/*.dylib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # - the ".dylib" file does not exists but a ".tbd" file do.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ library = l.replace('$(SDKROOT)', sdk_root)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if l.startswith('$(SDKROOT)'):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basename, ext = os.path.splitext(library)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ext == '.dylib' and not os.path.exists(library):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tbd_library = basename + '.tbd'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if os.path.exists(tbd_library):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ library = tbd_library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def AdjustLibraries(self, libraries, config_name=None):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ """Transforms entries like 'Cocoa.framework' in libraries into entries like
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.4.9 (Apple Git-60)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-fontconfig.diff b/aqua/qt55/files/patch-fontconfig.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5a66d4d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platformsupport/fontdatabases/fontdatabases.pri.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platformsupport/fontdatabases/fontdatabases.pri 2016-06-12 07:50:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-!win32|contains(QT_CONFIG, freetype):!mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++!win32|contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$PWD/basic/basic.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-unix:!mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++unix {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG += qpa/genericunixfontdatabase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$PWD/genericunix/genericunix.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contains(QT_CONFIG,fontconfig) {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-icu.diff b/aqua/qt55/files/patch-icu.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..322cae5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Tools/qmake/config.tests/icu/icu.pro.orig 2015-07-16 11:45:20.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Tools/qmake/config.tests/icu/icu.pro 2015-07-16 11:46:05.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licuin -licuuc -licudt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!contains(QT_CONFIG,no-pkg-config):packagesExist("icu-i18n") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKGCONFIG += icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licui18n -licuuc -licudata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WTF/WTF.pri.orig 2015-10-12 21:37:08.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WTF/WTF.pri 2016-05-04 04:22:48.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9,10 +9,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Mac OS does ship libicu but not the associated header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Therefore WebKit provides adequate header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH = $${ROOT_WEBKIT_DIR}/Source/WTF/icu $$INCLUDEPATH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBS += -licucore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKGCONFIG *= icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!use?(wchar_unicode): {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG(static, static|shared) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/Target.pri.orig 2015-10-12 21:37:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/Target.pri 2016-05-04 09:47:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2986,9 +2986,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # For Mac we use the same SmartReplace implementation as the Apple port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SOURCES += editing/SmartReplaceCF.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += $$PWD/icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-install_examples.diff b/aqua/qt55/files/patch-install_examples.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..649f2d3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-install_examples.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/widgets/mac/qmaccocoaviewcontainer/qmaccocoaviewcontainer.pro 2016-06-13 06:37:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5,3 +5,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT += widgets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mac/qmaccocoaviewcontainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALLS += target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/widgets/mac/qmacnativewidget/qmacnativewidget.pro 2016-06-13 06:39:47.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5,3 +5,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT += widgets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #QT += widgets-private gui-private core-private
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mac/qmacnativewidget
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INSTALLS += target
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-machtest.diff b/aqua/qt55/files/patch-machtest.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..93c63b6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro.orig 2015-07-05 12:53:46.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro 2015-07-05 12:53:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,10 +7,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.target = good.i386.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++i386.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.target = good.x86_64.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++x86_64.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Current Mac OS X toolchains have no compiler for PPC anymore
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-midifix.diff b/aqua/qt55/files/patch-midifix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f2baae7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-midifix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- .//src/3rdparty/chromium/media/midi/midi_manager_mac.cc.orig 2015-10-12 21:36:43.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ .//src/3rdparty/chromium/media/midi/midi_manager_mac.cc 2015-11-11 09:31:28.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -17,10 +17,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using base::SysCFStringRefToUTF8;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using std::string;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// NB: System MIDI types are pointer types in 32-bit and integer types in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// 64-bit. Therefore, the initialization is the simplest one that satisfies both
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// (if possible).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace media {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -206,11 +202,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // This method is called on a separate high-priority thread owned by CoreMIDI.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MidiManagerMac* manager = static_cast<MidiManagerMac*>(read_proc_refcon);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if __LP64__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MIDIEndpointRef source = reinterpret_cast<uintptr_t>(src_conn_refcon);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MIDIEndpointRef source = static_cast<MIDIEndpointRef>(src_conn_refcon);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Dispatch to class method.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ manager->ReadMidi(source, packet_list);
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-mkspecs.diff b/aqua/qt55/files/patch-mkspecs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6bfa893
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,98 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang/qmake.conf 2016-11-12 07:33:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,6 +11,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang-32/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang-32/qmake.conf 2016-11-12 07:33:29.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,7 +11,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_OBJECTIVE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++/qmake.conf 2016-11-12 07:33:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++-32/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++-32/qmake.conf 2016-11-12 07:32:47.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_OBJECTIVE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++40/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++40/qmake.conf 2016-11-12 07:32:23.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++42/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++42/qmake.conf 2016-11-12 07:31:58.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-icc/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-icc/qmake.conf 2016-11-12 07:31:31.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -84,7 +84,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-llvm/qmake.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-llvm/qmake.conf 2016-11-12 07:30:53.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/llvm.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvmgcc42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/clang-mac.conf.orig 2015-10-12 21:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/clang-mac.conf 2016-11-12 07:30:23.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,5 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvm.clang.1_0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CXXFLAGS_CXX11 += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_LFLAGS_CXX11 += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS_CXX11 += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS_CXX11 += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-no_qtwebkit.diff b/aqua/qt55/files/patch-no_qtwebkit.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2ea25ef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/assistant/assistant/assistant.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/assistant/assistant/assistant.pro 2016-05-04 16:32:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BROWSER = qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BROWSER = qtextbrowser
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT += widgets network help sql help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(printsupport): QT += printsupport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/designer/src/plugins/plugins.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/designer/src/plugins/plugins.pro 2016-05-04 16:32:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEMPLATE = subdirs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtHaveModule(opengl): SUBDIRS += tools/view3d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets): SUBDIRS += qwebview
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(quickwidgets): SUBDIRS += qquickwidget
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-pcfiles.diff b/aqua/qt55/files/patch-pcfiles.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fcfee4c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-pcfiles.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 3964b683f849baade1576ea2f50aab631970df58 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Martin Afanasjew <martin@afanasjew.de>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 27 Sep 2015 14:39:06 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] qmake: Fix 'Libs:' line in .pc files on OS X
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On OS X with a framework-based build of Qt, the 'Libs:' line of the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.pc files generated by `qmake` references the framework. This requires
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+two separate arguments to the linker: The fixed string '-framework' and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the name of the framework (e.g. 'QtCore'). Only the latter might need
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+quoting. Prior to this fix, they were treated as a single argument (e.g.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+'-framework QtCore'), thus always quoted because of the contained space,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and later lead to errors when trying to link a Qt framework discovered
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+via `pkg-config`.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: I5c11ee651048832007e2ee4ebcbcf2e3212c8f48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-47162
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qmake/generators/makefile.cpp | 3 ++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 2 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4a03faf..7d4026c 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- qmake/generators/makefile.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ qmake/generators/makefile.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3253,7 +3253,8 @@ MakefileGenerator::writePkgConfigFile()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int suffix = bundle.lastIndexOf(".framework");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (suffix != -1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bundle = bundle.left(suffix);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pkgConfiglibName = "-framework " + bundle + " ";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ t << "-framework ";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ pkgConfiglibName = bundle.toQString();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!project->values("QMAKE_DEFAULT_LIBDIRS").contains(libDir))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ t << "-L${libdir} ";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.4.9 (Apple Git-60)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-qtconn-for-10.12.diff b/aqua/qt55/files/patch-qtconn-for-10.12.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5247eb8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-qtconn-for-10.12.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,81 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 462323dba4f963844e8c9911da27a0d21e4abf43 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Samuel Gaist <samuel.gaist@edeltech.ch>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 2 Oct 2016 21:19:39 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fixed build with MaxOSX10.12 SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This patch adds missing includes that allows to build the module with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the 10.12 SDK and Xcode 8.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ieab48f6a0582b916ceecbbb9a01a4169d6ba53f5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Jake Petroules <jake.petroules@qt.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtcentralmanager_p.h | 8 ++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtledeviceinquiry.mm | 5 +++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtutility.mm | 3 +++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3 files changed, 16 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtcentralmanager_p.h src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1ff33c1..68b32f3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -50,6 +50,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "corebluetoothwrapper_p.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBService.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBCharacteristic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBDescriptor.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBCentralManager.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBPeripheral.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @class QT_MANGLE_NAMESPACE(OSXBTCentralManager);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtledeviceinquiry.mm src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 5cf9b19..5a2f2db 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,6 +42,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "corebluetoothwrapper_p.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBCentralManager.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBPeripheral.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace OSXBluetooth {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtutility.mm src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 08ff699..32f6f74 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -41,6 +41,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef QT_IOS_BLUETOOTH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <IOBluetooth/objc/IOBluetoothSDPUUID.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBUUID.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm.orig 2015-10-12 21:35:37.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm 2016-10-26 09:41:50.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -54,6 +54,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Only after Foundation.h:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "osx/corebluetoothwrapper_p.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBPeripheral.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using OSXBluetooth::ObjCScopedPointer;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-qtwebengine32.diff b/aqua/qt55/files/patch-qtwebengine32.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..eef5d22
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-qtwebengine32.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,28 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 1e4a0d70224cf48ae9834858848a5d68fd0a96c5 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 17 Sep 2015 17:09:50 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] enable OS X 32 bit build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-48228
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic8ee640316b95b2e7e2de9115330821dfae0e905
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tools/qmake/mkspecs/features/functions.prf | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ef0320d..69d3fd3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tools/qmake/mkspecs/features/functions.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tools/qmake/mkspecs/features/functions.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@ defineTest(isPlatformSupported) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ linux-g++*:!isGCCVersionSupported(): return(false)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ !isPythonVersionSupported(): return(false)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- linux-g++*|win32-msvc2013|macx-clang: return(true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ linux-g++*|win32-msvc2013|macx-clang*: return(true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ boot2qt: return(true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ skipBuild("Qt WebEngine can currently only be built for Linux (GCC), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation.")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.4.9 (Apple Git-60)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-rpath.diff b/aqua/qt55/files/patch-rpath.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..89f4b8f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-rpath.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,64 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 6c222297ab19e1bc6b74c4290446c1cb61f6fda8 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Martin Afanasjew <martin@afanasjew.de>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Mon, 19 Oct 2015 23:52:10 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Make -no-rpath build more useful on Apple platforms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[ChangeLog][Platform Specific Changes][OS X] Configure with -no-rpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+will now yield Qt dynamic libraries and frameworks with an absolute
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+install name (based in -libdir).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+OS X package managers like Homebrew install Qt in a fixed location. This
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+change simplifies deployment for such package managers and is consistent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+with the default expectation on Apple platforms for libraries with a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fixed location to also have absolute install names.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+While a relocatable installation (the default) also works in this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+scenario, it requires all software that depends on Qt to be aware of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this and to embed a suitable RPATH into application binaries (which is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+not automatic for non-qmake builds). This might not be true for some
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select fallback search locations, but as package managers on OS X tend
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+not to use those, embedding an RPATH becomes practically mandatory. In a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default Homebrew installation, Qt is configured such that the frameworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+end up in /usr/local/Cellar/qt5/<version>/lib and that will be later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+symlinked to /usr/local/opt/qt5/lib, both of which are not searched by
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the dynamic linker by default.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-48958
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: I4395df98771e06a2ce8a293d11dc755bdc50757f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure | 4 +++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkspecs/features/qt_module.prf | 2 ++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 5 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/configure b/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index cea62fb..c29c113 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2557,7 +2557,9 @@ Additional options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -l <string> ........ Add an explicit library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-rpath .......... Do not use the library install path as a runtime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- library path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ library path. On Apple platforms, this implies using
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ absolute install names (based in -libdir) for dynamic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ libraries and frameworks.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ + -rpath ............. Link Qt libraries and executables using the library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install path as a runtime library path. Equivalent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to -R install_libpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c89b6d2..f187b85 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -135,6 +135,8 @@ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contains(QT_CONFIG, rpath): \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_SONAME_PREFIX = @rpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ else: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += absolute_library_soname
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEFINES += QT_BUILDING_QT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-shared.diff b/aqua/qt55/files/patch-shared.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6630b13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/macdeployqt/shared/shared.cpp.orig 2015-02-16 21:57:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/macdeployqt/shared/shared.cpp 2015-05-31 10:36:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -235,7 +235,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = DylibName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else if (part < parts.count() && parts.at(part).endsWith(".framework")) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- info.installName += "/" + (qtPath + "lib/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ info.installName += "/" + (qtPath + "__MACPORTS_FRAMWORK_DIR__/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ info.frameworkDirectory = info.installName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = FrameworkName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-ssl.diff b/aqua/qt55/files/patch-ssl.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1709dd6a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-ssl.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,139 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 06b0ebd66fb1a7c536c96572ad8a3b55b713b177 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Florian Bruhin <git@the-compiler.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Wed, 4 Nov 2015 21:35:31 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Check QT_NO_SSL in SocketStreamHandleQt.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Since Qt 5.5, Secure Transport is used instead of OpenSSL on OS X. This means
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+secure websockets (wss://) were disabled on OS X despite QSslSocket being
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+available.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic584a6ed81b625c84a85e54dba84c8fc920b861a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-49027
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Richard J. Moore <rich@kde.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Source/WebCore/platform/network/qt/SocketStreamHandlePrivate.h | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp | 8 ++++----
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 5 insertions(+), 5 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Source/WebCore/platform/network/qt/SocketStreamHandlePrivate.h b/Source/WebCore/platform/network/qt/SocketStreamHandlePrivate.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index f447cc2..647c4ef 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/network/qt/SocketStreamHandlePrivate.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/network/qt/SocketStreamHandlePrivate.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -60,7 +60,7 @@ public Q_SLOTS:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void socketError(QAbstractSocket::SocketError);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void socketClosedCallback();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void socketErrorCallback(int);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef QT_NO_OPENSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef QT_NO_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void socketSslErrors(const QList<QSslError>&);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp b/Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d4cbdc7..cd71190 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -48,7 +48,7 @@ SocketStreamHandlePrivate::SocketStreamHandlePrivate(SocketStreamHandle* streamH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool isSecure = url.protocolIs("wss");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (isSecure) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef QT_NO_OPENSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef QT_NO_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_socket = new QSslSocket(this);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,7 +63,7 @@ SocketStreamHandlePrivate::SocketStreamHandlePrivate(SocketStreamHandle* streamH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QString host = url.host();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (isSecure) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef QT_NO_OPENSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef QT_NO_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static_cast<QSslSocket*>(m_socket)->connectToHostEncrypted(host, port);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -88,7 +88,7 @@ void SocketStreamHandlePrivate::initConnections()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(m_socket, SIGNAL(readyRead()), this, SLOT(socketReadyRead()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(m_socket, SIGNAL(disconnected()), this, SLOT(socketClosed()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(m_socket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(socketError(QAbstractSocket::SocketError)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef QT_NO_OPENSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef QT_NO_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (qobject_cast<QSslSocket*>(m_socket))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(m_socket, SIGNAL(sslErrors(const QList<QSslError>&)), this, SLOT(socketSslErrors(const QList<QSslError>&)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -176,7 +176,7 @@ void SocketStreamHandlePrivate::socketErrorCallback(int error)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef QT_NO_OPENSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef QT_NO_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void SocketStreamHandlePrivate::socketSslErrors(const QList<QSslError>& error)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMetaObject::invokeMethod(this, "socketErrorCallback", Qt::QueuedConnection, Q_ARG(int, error[0].error()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 11ce03bd807504559961dc69bdf6ccc382b61812 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Florian Bruhin <git@the-compiler.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Wed, 4 Nov 2015 21:49:48 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Check QT_NO_SSL for QtWebKit user agent.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MIME-Version: 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Type: text/plain; charset=utf8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Transfer-Encoding: 8bit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+When QT_NO_OPENSSL is checked, the user agent says "no SSL support" even when
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+there *is* SSL support via Secure Transport on OS X.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Idb8bf3ee95689f60adab332b3cbac7b6bdf6a738
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Source/WebCore/platform/qt/UserAgentQt.cpp | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Source/WebCore/platform/qt/UserAgentQt.cpp b/Source/WebCore/platform/qt/UserAgentQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6f1da23..80996a2 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/qt/UserAgentQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/qt/UserAgentQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -74,7 +74,7 @@ String UserAgentQt::standardUserAgent(const String &applicationNameForUserAgent,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Security strength.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QString securityStrength;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(QT_NO_OPENSSL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_NO_SSL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ securityStrength = QLatin1String("N; ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ua = ua.arg(securityStrength);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 2caa61dc485dc7d38c847ed6c6cff774fcf80061 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Florian Bruhin <git@the-compiler.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Wed, 4 Nov 2015 21:32:42 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH 1/1] Check m_socket in SocketStreamHandlePrivate::close.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+m_socket can be set to 0 in the constructor, e.g. when Qt is compiled without
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+SSL support.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic3bb18f6c801d463e2277b4c19ef2c790216bf69
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-49027
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Richard J. Moore <rich@kde.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp b/Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ca7b60c..d4cbdc7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -127,7 +127,7 @@ int SocketStreamHandlePrivate::send(const char* data, int len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void SocketStreamHandlePrivate::close()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (m_streamHandle && m_streamHandle->m_state == SocketStreamHandleBase::Connecting) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (m_socket && m_streamHandle && m_streamHandle->m_state == SocketStreamHandleBase::Connecting) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_socket->abort();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_streamHandle->client()->didCloseSocketStream(m_streamHandle);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-stdloc.diff b/aqua/qt55/files/patch-stdloc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8f46f1c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-stdloc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From bc7d0da741d1bc2ab2d36227d40d255c692a6fa5 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Andrew McCann <amccann@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 15 Nov 2015 16:29:47 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] OS X: Fix QStandardPaths::standardLocations()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Task-number: QTBUG-49443
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: I0699dfd3cb4c710ab96c324219444c6294c9d732
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/corelib/io/qstandardpaths_mac.mm | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/corelib/io/qstandardpaths_mac.mm b/src/corelib/io/qstandardpaths_mac.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d6126ce..7b97a03 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/corelib/io/qstandardpaths_mac.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/corelib/io/qstandardpaths_mac.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -204,7 +204,7 @@ QStringList QStandardPaths::standardLocations(StandardLocation type)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFRelease(bundleUrl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFURLRef resourcesUrl = CFBundleCopyResourcesDirectoryURL(mainBundle);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CFStringRef cfResourcesPath = CFURLCopyPath(bundleUrl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CFStringRef cfResourcesPath = CFURLCopyPath(resourcesUrl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QString resourcesPath = QCFString::toQString(cfResourcesPath);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFRelease(cfResourcesPath);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFRelease(resourcesUrl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-tst_benchlibcallgrind.diff b/aqua/qt55/files/patch-tst_benchlibcallgrind.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7141fd6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp.orig 2014-06-28 00:25:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp 2014-06-19 03:08:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -73,9 +73,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QBENCHMARK {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __asm__ __volatile__(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mov $100000000,%%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "LOOPTOP: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "1: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "dec %%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "jnz LOOPTOP \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "jnz 1b \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no output */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no input */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* clobber */ "eax"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-tst_qpluginloader.diff b/aqua/qt55/files/patch-tst_qpluginloader.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fbce2b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-tst_qpluginloader.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp.orig 2015-05-30 18:33:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp 2015-05-30 18:34:54.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -311,7 +311,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO_data()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::addColumn<int>("parseResult");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::newRow("/dev/null") << int(QMachOParser::NotSuitable);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -347,7 +347,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QFile f(QFINDTESTDATA(QTest::currentDataTag()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QVERIFY(f.open(QIODevice::ReadOnly));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray data = f.readAll();
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/files/patch-xcrun.diff b/aqua/qt55/files/patch-xcrun.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fa5a2c2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/files/patch-xcrun.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 77a71c32c9d19b87f79b208929e71282e8d8b5d9 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 7 Jul 2016 16:00:17 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH 1/1] configure and mkspecs: Don't try to find xcrun with xcrun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MIME-Version: 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Type: text/plain; charset=utf8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Transfer-Encoding: 8bit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Since Xcode 8 (beta 2) that tool is no longer available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+through xcrun. We resort to xcodebuild instead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: If9d7b535c1cbac2caae0112b2003283aeff34fb9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Jake Petroules <jake.petroules@qt.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkspecs/features/mac/default_pre.prf | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 2 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/configure b/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a1f0a8f..f4c7813 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -527,7 +527,7 @@ if [ "$BUILD_ON_MAC" = "yes" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " Xcode not set up properly. You may need to confirm the license" >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " agreement by running /usr/bin/xcodebuild without arguments." >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0cc8cd6..5df99d1 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/mac/default_pre.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/mac/default_pre.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,7 +12,7 @@ isEmpty(QMAKE_XCODE_DEVELOPER_PATH) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Make sure Xcode is set up properly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))): \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.7.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>