Info4: << Package: qt5-%type_pkg[qt]-qtbase # If we did not build with -openssl-linked, would have to deal with # dlopen/dlsym symbol-wrapper signatures also. Version: 5.7.1 Revision: 14 Description: Cross-Platform framework (%type_pkg[qt]) Type: qt (mac) License: LGPL/OpenSSL Maintainer: None ### First version 5.3.1 by Hanspeter Niederstrasser ### Free to upgrade and modify parameters, but please discuss ### first on the fink-devel list Depends: << qt5-%type_pkg[qt]-qtconcurrent-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtcore-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtdbus-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtgui-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtnetwork-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtopengl-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtprintsupport-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtsql-shlibs (= %v-%r), qt5-%type_pkg[qt]-qttest-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtwidgets-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtxml-shlibs (= %v-%r), (%type_raw[qt] = mac) qt5-%type_pkg[qt]-qcocoa-plugin (= %v-%r) << BuildDepends: << dbus1.3-dev (>= 1.4.18-1), fink (>= 0.34.4-1), fink-buildenv-modules, fink-package-precedence, fontconfig2-dev, freetype219, glib2-dev, libiconv-dev, libicu72-dev, libjpeg9, libpcre1, libpng16, openssl110-dev, pkgconfig, sqlite3-dev, xcode.app, (%type_raw[qt] = x11) x11-dev << BuildConflicts: uuid, libevent1.4, libevent2, libev4, libev4 BuildDependsOnly: true Source: http://download.qt.io/archive/qt/5.7/%v/submodules/qtbase-opensource-src-%v.tar.xz Source-Checksum: SHA256(edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e) PatchFile: qt5-qtbase.patch PatchFile-MD5: 9148397e6bd860d0a67a77c8d4246677 PatchFile2: qt5-qtbase-openssl111.patch PatchFile2-MD5: 5e1e0b77b9163e4959cd4e0a944a81ac PatchFile3: qt5-qtbase-e70324f.patch PatchFile3-MD5: 0ed81693f071f9e6733105c766505c0b #PatchFile2: qt5-x11-qtbase.patch #PatchFile2-MD5: a997e3de7f53d776915fd732eabec0f9 PatchFile4: qt5-qtbase-qstandardpaths.patch PatchFile4-MD5: 09ddb4ed4942d93b52bb84b84005cfc8 PatchFile5: qt5-qtbase-cve2023-33285.patch PatchFile5-MD5: e9329379062988260aed2ed71b60b7b6 PatchFile6: qt5-qtbase-cve2023-32763.patch PatchFile6-MD5: 9ef574dc13d5260b0afe07b22bcc551c PatchScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-helper.sh unset X11_BASE_DIR unset X11_INCLUDE_DIR unset X11_LIBRARY_DIR export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] sed -e 's|@FINK_ARCH@|%m|g' \ -e 's|@FINK_PREFIX@|%p|g' \ -e "s|@MACOSX_DEPLOYMENT_TARGET@|$MACOSX_DEPLOYMENT_TARGET|g" \ -e "s|@SDK_PATH@|$SDK_PATH|g" \ -e 's|@PATH_TO_PG_CONFIG@|/usr/bin|g' \ -e "s|@QT_PLUGINS_DIR@|$QT_FINK_PREFIX/plugins|g" < %{PatchFile} | patch -p1 patch -p1 < %{PatchFile2} patch -p1 < %{PatchFile3} sed -e 's|@FINK_PREFIX@|%p|g' \ -e "s|@QT_FINK_PREFIX@|$QT_FINK_PREFIX|g" \ -e "s|@QT_PLUGINS_DIR@|$QT_FINK_PREFIX/plugins|g" < %{PatchFile4} | patch -p1 patch -p1 < %{PatchFile5} patch -p1 < %{PatchFile6} ### X11 only patches #if [ "%type_raw[qt]" == "x11" ]; then #patch -p1 < %{PatchFile2} #fi ### Fix glib detection in configure tests #echo "QMAKE_CXXFLAGS += -I%p/include/freetype2" >> config.tests/unix/fontconfig/fontconfig.pro # ATSFont* is long deprecated (10.8?), so don't define HAVE_ATS because trying it is now fatal in 12.x. perl -pi -e 's|#define HAVE_ATS|// $&|g' src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h << NoSetCPPFLAGS: true NoSetCFLAGS: true NoSetCXXFLAGS: true SetCXXFLAGS: -MD GCC: 4.0 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-helper.sh unset X11_BASE_DIR unset X11_INCLUDE_DIR unset X11_LIBRARY_DIR export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] export CPATH=%p/include/dbus-1.0:%p/lib/dbus-1.0/include:%p/include/glib-2.0:%p/lib/glib-2.0/include:%p/include/freetype2:%p/include export LIBRARY_PATH=%p/lib # Don't use PKG_CONFIG_PATH to avoid finding X11 export PKG_CONFIG_LIBDIR=%p/lib/glib-2.0/pkgconfig-strict:%p/lib/pkgconfig:%p/share/pkgconfig:/usr/lib/pkgconfig if [ "%type_raw[qt]" == "mac" ]; then PLATFORM_CONFIGS="-no-xinput2 -no-xcb-xlib -no-xcb -framework" fi ./configure \ -prefix ${QT_FINK_PREFIX} \ -bindir ${QT_FINK_PREFIX}/bin \ -headerdir ${QT_FINK_PREFIX}/include \ -libdir ${QT_FINK_PREFIX}/lib \ -plugindir ${QT_FINK_PREFIX}/plugins \ -importdir ${QT_FINK_PREFIX}/imports \ -qmldir ${QT_FINK_PREFIX}/share/qt5/qml \ -datadir ${QT_FINK_PREFIX}/share/qt5 \ -docdir ${QT_FINK_PREFIX}/share/doc/qt5 \ -translationdir ${QT_FINK_PREFIX}/share/qt5/translations \ -sysconfdir ${QT_FINK_PREFIX}/etc/qt5 \ -examplesdir ${QT_FINK_PREFIX}/share/qt5/examples \ -testsdir ${QT_FINK_PREFIX}/share/qt5/tests \ -hostdatadir ${QT_FINK_PREFIX}/share/qt5 \ -release \ -confirm-license \ -opensource \ -shared \ -no-sql-db2 \ -no-sql-ibase \ -no-sql-mysql \ -no-sql-oci \ -no-sql-odbc \ -no-sql-psql \ -no-sql-sqlite \ -no-sql-sqlite2 \ -no-sql-tds \ -plugin-sql-sqlite \ -pkg-config \ -system-sqlite \ -system-zlib \ -no-mtdev \ -system-libpng \ -system-libjpeg \ -system-freetype \ -no-harfbuzz \ -openssl-linked \ -system-pcre \ -glib \ -no-pulseaudio \ -no-rpath \ -cups \ -iconv \ -no-evdev \ -icu \ -no-fontconfig \ -no-eglfs \ -no-directfb \ -no-linuxfb \ -no-kms \ -no-gstreamer \ -nomake examples \ -v \ -optimized-qmake \ -no-pch \ -dbus-linked \ ${PLATFORM_CONFIGS} # build broken with Fink make-4.1 /usr/bin/make || /usr/bin/make -w -j1 fink-package-precedence --depfile-ext='\.d' --prohibit-bdep=%N . << InstallScript: << #!/bin/sh -ev export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] make install INSTALL_ROOT=%d ### Make sure we have all the right packages (by probing .pc files) pushd %d/${QT_FINK_PREFIX}/lib/pkgconfig ### keep at end of the 'want' list of .pc files want="Qt5Bootstrap.pc Qt5Concurrent.pc Qt5Core.pc Qt5DBus.pc Qt5Gui.pc Qt5Network.pc Qt5OpenGL.pc Qt5OpenGLExtensions.pc Qt5PlatformSupport.pc Qt5PrintSupport.pc Qt5Sql.pc Qt5Test.pc Qt5Widgets.pc Qt5Xml.pc " have=`/bin/ls -1 | tr '\n' ' '` popd if [ "$want" != "$have" ]; then echo "Unexpected build results (mismatched list of .pc)" echo " want: '$want'" echo " have: '$have'" exit 1 fi ### Clean up .la, .prl files ### remove build-dir location and fix '-framework ' -> '-Wl,-framework,' find %d/${QT_FINK_PREFIX}/lib -name \*.prl -o -name \*.la | xargs \ perl -pi -e 's|%b/lib|%p/lib|g; s|-framework |-Wl,-framework,|g; s|QMAKE_PRL_BUILD_DIR \= (.*)$|QMAKE_PRL_BUILD_DIR = |g' ### Clean up .pc files ### fix '-framework ' -> '-Wl,-framework,' ### Not quite https://bugreports.qt.io/browse/QTBUG-47162 find %d/${QT_FINK_PREFIX}/lib -name \*.pc | xargs \ perl -pi -e 's|-framework |-Wl,-framework,|g' ### Fix includedir to point into framework dir instead of non-existent include/QtFOO ### https://bugreports.qt.io/browse/QTBUG-35256 for QTLIB in Concurrent Core DBus Gui Network OpenGL PrintSupport Sql Test Widgets Xml; do perl -pi -e "s|/Qt$QTLIB|/Qt$QTLIB.framework/Headers|g" %d/${QT_FINK_PREFIX}/lib/pkgconfig/Qt5$QTLIB.pc perl -pi -e 's|I\$\{includedir\}/Qt|F\$\{libdir\} -I\$\{libdir\}/Qt|g' %d/${QT_FINK_PREFIX}/lib/pkgconfig/Qt5$QTLIB.pc done ### clean up Libs.private perl -ni -e 'print unless /Libs.private:/' %d/${QT_FINK_PREFIX}/lib/pkgconfig/*.pc << #AppBundles: DocFiles: LICENSE.LGPLv21 LICENSE.LGPLv3 LGPL_EXCEPTION.txt SplitOff: << Package: qt5-%type_pkg[qt]-qtconcurrent-shlibs Description: Qt Concurrent library (%type_pkg[qt]) Depends: qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r) Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtConcurrent.framework/Versions/5/QtConcurrent ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Concurrent.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtConcurrent.framework/Versions/5/QtConcurrent 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Concurrent.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << SplitOff2: << Package: qt5-%type_pkg[qt]-qtcore-shlibs Description: Qt Core library (%type_pkg[qt]) Depends: << glib2-shlibs, libicu72-shlibs, libpcre1-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtCore.framework/Versions/5/QtCore ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Core.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtCore.framework/Versions/5/QtCore 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Core.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The Qt Core module forms the foundation of all Qt-based applications with core non-graphical classes used by other modules. Key Functions * File IO, event and object handling * Multi-threading and concurrency * Plugins, setting management * Signals and Slots inter-object communications mechanism << << SplitOff3: << Package: qt5-%type_pkg[qt]-qtdbus-shlibs Description: Qt D-Bus library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), dbus1.3-shlibs (>= 1.4.18-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtDBus.framework/Versions/5/QtDBus ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5DBus.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtDBus.framework/Versions/5/QtDBus 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5DBus.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The QtDBus module is a Unix-only library that you can use to make Inter-Process Communication using the D-BUS protocol. Applications using the QtDBus module can provide services to other, remote applications by exporting objects, as well as use services exported by those applications by placing calls and accessing properties. The QtDBus module provides an interface that extends the Qt Signals and Slots mechanism, allowing one to connect to a signal emitted remotely as well as to connect a local signal to remote slot. << << SplitOff4: << Package: qt5-%type_pkg[qt]-qtgui-shlibs Description: Qt GUI library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtdbus-shlibs (>= %v-%r), glib2-shlibs, libjpeg9-shlibs, libpng16-shlibs, ( %type_pkg[qt] = x11 ) x11-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtGui.framework/Versions/5/QtGui ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Gui.5*.dylib lib/qt5-%type_pkg[qt]/plugins/imageformats/libq{gif,ico,jpeg}.so lib/qt5-%type_pkg[qt]/plugins/platforms/libq{minimal,offscreen}.so ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/plugins/platforminputcontexts << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtGui.framework/Versions/5/QtGui 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Gui.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: The QtGui module extends QtCore with GUI functionality. << SplitOff5: << Package: qt5-%type_pkg[qt]-qtnetwork-shlibs Description: Qt networking library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), openssl110-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtNetwork.framework/Versions/5/QtNetwork ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Network.5*.dylib lib/qt5-%type_pkg[qt]/plugins/bearer << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtNetwork.framework/Versions/5/QtNetwork 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Network.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The QtNetwork module provides classes to make network programming easier and portable. << << SplitOff6: << Package: qt5-%type_pkg[qt]-qtopengl-shlibs Description: Qt OpenGL library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-%r), ( %type_pkg[qt] = x11 ) x11-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtOpenGL.framework/Versions/5/QtOpenGL ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5OpenGL.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtOpenGL.framework/Versions/5/QtOpenGL 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5OpenGL.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents. << << SplitOff7: << Package: qt5-%type_pkg[qt]-qtprintsupport-shlibs Description: Qt PrintSupport library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-%r), ( %type_pkg[qt] = x11 ) x11-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5PrintSupport.5*.dylib lib/qt5-%type_pkg[qt]/plugins/printsupport << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5PrintSupport.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << Qt5 print support module. << << SplitOff8: << Package: qt5-%type_pkg[qt]-qtsql-shlibs Description: Qt SQL library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtSql.framework/Versions/5/QtSql ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Sql.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtSql.framework/Versions/5/QtSql 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Sql.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The QtSQL module provides support for accessing SQL databases in Qt. << << SplitOff9: << Package: qt5-%type_pkg[qt]-qttest-shlibs Description: Qt test library (%type_pkg[qt]) Depends: qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r) Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtTest.framework/Versions/5/QtTest ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Test.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtTest.framework/Versions/5/QtTest 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Test.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The QtTest module provides classes for unit testing Qt applications and libraries. << << SplitOff10: << Package: qt5-%type_pkg[qt]-qtwidgets-shlibs Description: Qt Widgets library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-%r), ( %type_pkg[qt] = x11 ) x11-shlibs << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtWidgets.framework/Versions/5/QtWidgets ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Widgets.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtWidgets.framework/Versions/5/QtWidgets 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Widgets.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << << << SplitOff11: << Package: qt5-%type_pkg[qt]-qtxml-shlibs Description: Qt XML library (%type_pkg[qt]) Depends: qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r) Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtXml.framework/Versions/5/QtXml ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5Xml.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtXml.framework/Versions/5/QtXml 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5Xml.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << The QtXml module provides a stream reader and writer for XML documents, and C++ implementations of SAX and DOM. << << SplitOff12: << Package: qt5-%type_pkg[qt]-qtsql-sqlite-plugins Description: Qt5 SQLite3 plugin (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtsql-shlibs (>= %v-%r), sqlite3-shlibs << Files: << lib/qt5-%type_pkg[qt]/plugins/sqldrivers/libqsqlite.so << DescDetail: << SplitOff13: << Package: qt5-%type_pkg[qt]-qtbase-dev-tools Description: Qt5 base developer programs (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtdbus-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtxml-shlibs (>= %v-%r) << Files: << lib/qt5-%type_pkg[qt]/bin << DescDetail: << # libqcocoa.so is a separate SplitOff from qtgui-shlibs because it depends on # QtPrintsupport and QtWidgets, both of which Depend on QtGui. # Packages that depend on QtGui most likely need to Depend # on qt5-%type_pkg[qt]-qcocoa-plugin as well. SplitOff14: << Package: qt5-%type_pkg[qt]-qcocoa-plugin Description: Qt5 Cocoa plugin (%type_pkg[qt]) Replaces: qt5-%type_pkg[qt]-qtgui-shlibs (<< 5.4.2-1) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtdbus-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtprintsupport-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-%r), freetype219-shlibs, glib2-shlibs << Files: << lib/qt5-%type_pkg[qt]/plugins/platforms/libqcocoa.so << DescDetail: Cocoa platform support plugin. DescUsage: << libqcocoa.so is a separate SplitOff from qt5-%type_pkg[qt]-qtgui-shlibs because it depends on QtPrintsupport and QtWidgets, both of which Depend on QtGui. Packages that depend on QtGui most likely need to Depend on qt5-%type_pkg[qt]-qcocoa-plugin as well. << << Homepage: http://qt-project.org DescDetail: << Qt is a cross-platform application and UI framework with APIs for C++ programming and Qt Quick for rapid UI creation. * Intuitive class libraries * Easy to use and learn * Produce highly readable, easily maintainable and reusable code * High runtime performance and small footprint << DescUsage: << To compile against this Qt5, you need to make sure that "%p/lib/qt5-%type_pkg[qt]/bin" is first in your PATH and that qmake is present. Qmake is provided by "qt5-%type_pkg[qt]-qtbase-dev-tools". If you need to manually find the headers and libraries, you need your compiler flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or this: -I%p/lib/qt5-%type_pkg[qt]/include ...and your linker flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or -L%p/lib/qt5-%type_pkg[qt]/lib In this case, it's still a good idea to set your PATH to contain "%p/lib/qt5-%type_pkg[qt]/bin" as well. << DescPackaging: << We follow Ubuntu's lead in using the separate tarballs and separate most of the packages the same way they do. Xcode.app is needed because the build system relies heavily on xcodebuild for buildtime settings. << DescPort: << List of patched files and the reasoning --------------------------------------- qtbase/config.tests/unix/gnu-libiconv/gnu-libiconv.cpp Correctly detect our gnu-libiconv qtbase/mkspecs/common/gcc-base-mac.conf qtbase/mkspecs/common/mac.conf Plugins need to be -bundle, not -dynamiclib, and end in .so Adapted from: https://bugreports.qt.io/browse/QTBUG-2227 src/plugins/platforms/cocoa/qcocoahelpers.mm src/plugins/platforms/cocoa/qcocoahelpers.h Xcode9 Based on https://bugreports.qt.io/browse/QTBUG-62266 src/corelib/global/qsystemdetection.h Add 10.13 to list of macro tokens Based on https://bugreports.qt.io/browse/QTBUG-62658 Rest of patch goes into QtConnectivity package to build on 10.13+. src/gui/text/qfontengine_coretext.mm clang-5 (Xcode9.3) fix for constructor vs type usage https://bugreports.qt.io/browse/QTBUG-67545 OpenSSL1.1 support backported from Qt5.10.0rc3 where first introduced in commit cfbe03a6e035ab3cce5f04962cddd06bd414dcea Extra files changed as necessary. src/corelib/plugin/qpluginloader.cpp CVE-2020-0569 commit bf131e8d2181b3404f5293546ed390999f760404 src/corelib/tools/q* Remove _bit_scan_{forward,reverse} which fail on redefinition with Xcode11.4 Use qCountTrailingZeroBits and qCountLeadingZeroBits from qalgorithms.h instead. commit e70324f8dd1f191556599cf60100dd0ad0b16708 adapted with minor changes. src/corelib/io/qstandardpaths_mac.mm Append @QT_FINK_PREFIX@/share to the list of directories in QStandardPaths::GenericDataLocation src/network/kernel/qdnslookup_unix.cpp CVE-2023-33285 src/gui/painting/qfixed_p.h src/gui/text/qtextlayout.cpp CVE-2023-32763 << << # End Info4