<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/5a07dc9000d5719142939b84fee0f2f6a4ff0cee">https://github.com/macports/macports-ports/commit/5a07dc9000d5719142939b84fee0f2f6a4ff0cee</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5a07dc9000d5719142939b84fee0f2f6a4ff0cee
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Jul 7 10:55:54 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt5*: do not attempt to use Fontconfig
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fontconfig does not seem to be used even if linked in, so do
</span><span style='display:block; white-space:pre;color:#404040;'> not attempt to include it.
</span>---
aqua/qt5/Portfile | 14 ++++++++------
aqua/qt5/files/patch-fontconfig.diff | 29 -----------------------------
aqua/qt5/files/patch-freetype.diff | 22 ++++++++++++++++++++++
aqua/qt55/Portfile | 12 ++++--------
aqua/qt55/files/patch-fontconfig.diff | 13 -------------
aqua/qt56/Portfile | 14 ++++++++------
aqua/qt56/files/patch-fontconfig.diff | 29 -----------------------------
aqua/qt56/files/patch-freetype.diff | 22 ++++++++++++++++++++++
8 files changed, 64 insertions(+), 91 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 646bd07..7d4b20e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -142,12 +142,12 @@ array set modules {
</span> b26efab64209d4fe5b0532690c9d3902e7a70102
edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e
""
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "port:zlib port:libpng port:jpeg port:fontconfig port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span> ""
{"Qt Core" "Qt GUI" "Qt Network" "Qt SQL" "Qt Test" "Qt Widgets" "Qt Concurrent" "Qt D-Bus" "Qt OpenGL" "Qt Platform Headers" "Qt Print Support" "Qt XML"}
""
"variant overrides: ~docs"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "revision 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 3"
</span> "License: "
}
qtcanvas3d {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -696,9 +696,11 @@ foreach {module module_info} [array get modules] {
</span> # https://codereview.qt-project.org/#/c/141654/
patchfiles-append patch-add_sdk.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://lists.qt-project.org/pipermail/interest/2015-January/thread.html#14954
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://comments.gmane.org/gmane.comp.lib.qt.user/21422
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # allow system freetype to satisfy freetype dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-freetype.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_PREFIX__|${prefix}|g" ${worksrcpath}/src/3rdparty/freetype_dependency.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# the build system uses pkgconfig to look for an OpenGL installation (gl.pc)
# the build system automatically uses OpenGL frameworks (-framework OpenGL -framework AGL)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -944,7 +946,7 @@ foreach {module module_info} [array get modules] {
</span> -no-evdev \
-no-tslib \
-icu \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-fontconfig \
</span> -strip \
-no-pch \
-no-ltcg \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/files/patch-fontconfig.diff b/aqua/qt5/files/patch-fontconfig.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fe5a612..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/files/patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,29 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/platformsupport/fontdatabases/fontdatabases.pri.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/platformsupport/fontdatabases/fontdatabases.pri 2016-06-12 07:50:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--!win32|contains(QT_CONFIG, freetype):!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+!win32|contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/basic/basic.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--unix:!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+unix {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CONFIG += qpa/genericunixfontdatabase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/genericunix/genericunix.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- contains(QT_CONFIG,fontconfig) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- .//src/platformsupport/fontdatabases/mac/coretext.pri.oirg 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ .//src/platformsupport/fontdatabases/mac/coretext.pri 2016-06-12 07:50:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,13 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CONFIG += opentype
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ios: \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # On iOS CoreText and CoreGraphics are stand-alone frameworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBS_PRIVATE += -framework CoreText -framework CoreGraphics
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/files/patch-freetype.diff b/aqua/qt5/files/patch-freetype.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..03621f1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/files/patch-freetype.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platformsupport/fontdatabases/mac/coretext.pri.orig 2016-09-15 22:49:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platformsupport/fontdatabases/mac/coretext.pri 2017-07-07 07:53:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++contains(QT_CONFIG, freetype)|contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/freetype_dependency.pri.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/freetype_dependency.pri 2017-07-07 09:06:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,6 +2,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD/freetype/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS_PRIVATE += -L$$QT_BUILD_TREE/lib -lqtfreetype$$qtPlatformTargetSuffix()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # pull in the proper freetype2 include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ INCLUDEPATH += __MACPORTS_PREFIX__/include/freetype2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIBS_PRIVATE += -L__MACPORTS_PREFIX__/lib -lfreetype
</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/Portfile b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 802b0f2..c006518 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,12 +144,12 @@ array set modules {
</span> ce4bccd0703aaf8d904fbecd1f334ef13d698a44
dfa4e8a4d7e4c6b69285e7e8833eeecd819987e1bdbe5baa6b6facd4420de916
""
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "port:zlib port:libpng port:jpeg port:fontconfig port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span> ""
{"Qt Core" "Qt GUI" "Qt Network" "Qt SQL" "Qt Test" "Qt Widgets" "Qt Concurrent" "Qt D-Bus" "Qt OpenGL" "Qt Platform Headers" "Qt Print Support" "Qt XML"}
""
"variant overrides: ~docs"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "revision 6"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 7"
</span> "License: "
}
qtcanvas3d {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -625,10 +625,6 @@ foreach {module module_info} [array get modules] {
</span> # https://codereview.qt-project.org/#/c/141654/
patchfiles-append patch-add_sdk.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://lists.qt-project.org/pipermail/interest/2015-January/thread.html#14954
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://comments.gmane.org/gmane.comp.lib.qt.user/21422
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # the build system uses pkgconfig to look for an OpenGL installation (gl.pc)
# the build system automatically uses OpenGL frameworks (-framework OpenGL -framework AGL)
# if mesa is installed, the build system will try to use both OpenGL systems
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -844,7 +840,7 @@ foreach {module module_info} [array get modules] {
</span> -no-journald \
-system-libpng \
-system-libjpeg \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -system-freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-freetype \
</span> -system-harfbuzz \
-no-openssl \
-no-libproxy \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -881,7 +877,7 @@ foreach {module module_info} [array get modules] {
</span> -no-evdev \
-no-tslib \
-icu \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-fontconfig \
</span> -strip \
-no-pch \
-dbus-linked \
<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>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 5a66d4d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt55/files/patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/platformsupport/fontdatabases/fontdatabases.pri.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/platformsupport/fontdatabases/fontdatabases.pri 2016-06-12 07:50:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--!win32|contains(QT_CONFIG, freetype):!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+!win32|contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/basic/basic.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--unix:!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+unix {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CONFIG += qpa/genericunixfontdatabase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/genericunix/genericunix.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- contains(QT_CONFIG,fontconfig) {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/Portfile b/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c5c3588..e584194 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -145,12 +145,12 @@ array set modules {
</span> 55b2d2d9474cb565e872eed1ab0e8e01bf5031a8
2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787
""
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "port:zlib port:libpng port:jpeg port:fontconfig port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span> ""
{"Qt Core" "Qt GUI" "Qt Network" "Qt SQL" "Qt Test" "Qt Widgets" "Qt Concurrent" "Qt D-Bus" "Qt OpenGL" "Qt Platform Headers" "Qt Print Support" "Qt XML"}
""
"variant overrides: ~docs"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "revision 2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 3"
</span> "License: "
}
qtcanvas3d {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -643,9 +643,11 @@ foreach {module module_info} [array get modules] {
</span> # https://codereview.qt-project.org/#/c/141654/
patchfiles-append patch-add_sdk.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://lists.qt-project.org/pipermail/interest/2015-January/thread.html#14954
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see http://comments.gmane.org/gmane.comp.lib.qt.user/21422
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # allow system freetype to satisfy freetype dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-freetype.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_PREFIX__|${prefix}|g" ${worksrcpath}/src/3rdparty/freetype_dependency.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# backport change from Qt 5.7
# recognize -Wl, from, e.g., glib2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -896,7 +898,7 @@ foreach {module module_info} [array get modules] {
</span> -no-evdev \
-no-tslib \
-icu \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-fontconfig \
</span> -strip \
-no-pch \
-no-ltcg \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-fontconfig.diff b/aqua/qt56/files/patch-fontconfig.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fe5a612..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt56/files/patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,29 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/platformsupport/fontdatabases/fontdatabases.pri.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/platformsupport/fontdatabases/fontdatabases.pri 2016-06-12 07:50:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--!win32|contains(QT_CONFIG, freetype):!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+!win32|contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/basic/basic.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--unix:!mac {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+unix {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CONFIG += qpa/genericunixfontdatabase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- include($$PWD/genericunix/genericunix.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- contains(QT_CONFIG,fontconfig) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- .//src/platformsupport/fontdatabases/mac/coretext.pri.oirg 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ .//src/platformsupport/fontdatabases/mac/coretext.pri 2016-06-12 07:50:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,13 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CONFIG += opentype
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ios: \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # On iOS CoreText and CoreGraphics are stand-alone frameworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBS_PRIVATE += -framework CoreText -framework CoreGraphics
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-freetype.diff b/aqua/qt56/files/patch-freetype.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..03621f1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-freetype.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platformsupport/fontdatabases/mac/coretext.pri.orig 2016-09-15 22:49:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platformsupport/fontdatabases/mac/coretext.pri 2017-07-07 07:53:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++contains(QT_CONFIG, freetype)|contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/freetype_dependency.pri.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/freetype_dependency.pri 2017-07-07 09:06:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,6 +2,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD/freetype/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS_PRIVATE += -L$$QT_BUILD_TREE/lib -lqtfreetype$$qtPlatformTargetSuffix()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # pull in the proper freetype2 include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ INCLUDEPATH += __MACPORTS_PREFIX__/include/freetype2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIBS_PRIVATE += -L__MACPORTS_PREFIX__/lib -lfreetype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>