head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.66 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.64 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.62 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.60 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.58 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.56 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.54 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.52 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.50 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.48 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.46 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.44 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.42 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.40 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.38 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.36 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.34 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.32 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.30 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.28 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.26 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.24 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.22 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.20 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.16 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.18 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.14 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.12 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.10 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.8 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.6 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.4 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.6.0.12 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.10 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.6 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.4 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.2 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.5.0.8 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.6 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.4 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.2 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.4.0.4 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.2 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2; locks; strict; comment @// @; 1.7 date 2018.01.17.19.30.47; author markd; state Exp; branches; next 1.6; commitid spdRQpEmKELRpgnA; 1.6 date 2016.12.04.21.46.54; author marino; state Exp; branches; next 1.5; commitid nrGzcIVWLLe2kIwz; 1.5 date 2015.10.26.19.03.59; author adam; state Exp; branches; next 1.4; commitid ti5Xt5tD5TDXqEGy; 1.4 date 2015.04.15.14.10.15; author nros; state Exp; branches; next 1.3; commitid NCZMApas6xI73Hhy; 1.3 date 2015.04.08.10.31.28; author nros; state Exp; branches; next 1.2; commitid uJ2isVfBfPFI3Mgy; 1.2 date 2015.02.14.22.12.34; author nros; state Exp; branches; next 1.1; commitid cn9U2MdhSicED1ay; 1.1 date 2014.12.30.17.23.46; author adam; state Exp; branches; next ; commitid 1jIE5UF7705yw54y; desc @@ 1.7 log @qt5: update to 5.10.0 2+ years worth of bug fixes and feature enhancements @ text @$NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.6 2016/12/04 21:46:54 marino Exp $ * fix build on SunOS --- src/corelib/io/qstorageinfo_unix.cpp.orig 2015-10-13 04:35:31 UTC +++ src/corelib/io/qstorageinfo_unix.cpp @@@@ -87,7 +87,7 @@@@ # if !defined(ST_RDONLY) # define ST_RDONLY 1 // hack for missing define on Android # endif -#elif defined(Q_OS_HAIKU) +#elif defined(Q_OS_HAIKU) || defined(Q_OS_SOLARIS) # define QT_STATFSBUF struct statvfs # define QT_STATFS ::statvfs #else @ 1.6 log @x11/qt5-qtbase: Fix build on FreeBSD and DragonFly 1. DragonFly needs -lexecinfo LDFLAG 2. Qlockfile is unsupported on DF, allow to fall through 3. QStorageInfo only worked for NetBSD. Take patch from historical ports to fix FreeBSD, DragonFly, and OpenBSD. (It's been fixed upstread for QT5 5.6) @ text @d1 1 a1 1 $NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.5 2015/10/26 19:03:59 adam Exp $ a2 2 * make statvfs available on non-NetBSD BSD platforms * Use f_bsize instead of f_frsize on non-NetBSD BSD platforms a6 20 @@@@ -68,8 +68,8 @@@@ #if defined(Q_OS_BSD4) # if defined(Q_OS_NETBSD) - define QT_STATFSBUF struct statvfs - define QT_STATFS ::statvfs +# define QT_STATFSBUF struct statvfs +# define QT_STATFS ::statvfs # else # define QT_STATFSBUF struct statfs # define QT_STATFS ::statfs @@@@ -78,7 +78,7 @@@@ # if !defined(ST_RDONLY) # define ST_RDONLY MNT_RDONLY # endif -# if !defined(_STATFS_F_FLAGS) +# if !defined(_STATFS_F_FLAGS) && !defined(Q_OS_NETBSD) # define _STATFS_F_FLAGS 1 # endif #elif defined(Q_OS_ANDROID) a15 16 @@@@ -506,9 +506,15 @@@@ void QStorageInfoPrivate::retrieveVolume valid = true; ready = true; +#if defined(Q_OS_BSD4) && !defined(Q_OS_NETBSD) + bytesTotal = statfs_buf.f_blocks * statfs_buf.f_bsize; + bytesFree = statfs_buf.f_bfree * statfs_buf.f_bsize; + bytesAvailable = statfs_buf.f_bavail * statfs_buf.f_bsize; +#else bytesTotal = statfs_buf.f_blocks * statfs_buf.f_frsize; bytesFree = statfs_buf.f_bfree * statfs_buf.f_frsize; bytesAvailable = statfs_buf.f_bavail * statfs_buf.f_frsize; +#endif #if defined(Q_OS_ANDROID) || defined (Q_OS_BSD4) #if defined(_STATFS_F_FLAGS) readOnly = (statfs_buf.f_flags & ST_RDONLY) != 0; @ 1.5 log @Changes 5.5.1: Qt Bluetooth Bluetooth Low Energy API final release (5.4 was featuring tech preview). Bluetooth Low Energy Support for Android (requires Android v18+) added. Bluetooth Classic and Low Energy support for iOS and OS X. Qt Core You can now have Q_PROPERTY and Q_INVOKABLE within a Q_GADGET, and there is a way to query the QMetaObject of such gadget using the QMetaTYpe system. Added Q_ENUM to replace Q_ENUMS which allow to get a QMetaEnum at compile time using QMetaEnum::fromType. Such enums are now automatically registered as metatype, and can be converted to string within QVariant, or are printed as string by qDebug() Qt GUI Windows packages are all built with -opengl dynamic. No OpenGL-only or ANGLE-only builds are provided anymore. On Windows the OpenGL implementation to use can now be configured based on the GPU vendor and driver version using JSON configuration files. This allows shipping fine-grained card and driver blacklists with the apps, when necessary. QOpenGLWidget is now supported in iOS. QImage: 8-bit alpha map and grayscale formats. QImageReader: EXIF orientation can now be read though the transformation method, and applied on read to JPEGs if wanted. Qt Multimedia GStreamer 1.0 support. Note that the default is still 0.10. 1.0 support can be enabled by configuring Qt with '-gstreamer 1.0'. New video filtering framework to integrate frameworks like OpenCV or compute APIs such as OpenCL or CUDA with VideoOutput elements. New API to control camera viewfinder settings Improved camera support on iOS (focus, zoom, exposure, viewfinder/image settings) The QML MediaPlayer is now rendered in an OpenGL texture on iOS. This means VideoOutput supports advanced transformation, shader effects and doesn't have to be always on top of other items anymore. Qt NFC Neard based backend for Linux added. Qt Network New SSL back-end for iOS and OS X based on Secure Transport. Note that in Qt 5.6 this will become the default SSL: back-end on these platforms. Support for libproxy Support for TLS PSK ciphersuites Support for elliptic curve certificates Ability to select specific curves when using elliptic curve ciphersuites. QPA Added support for the Raspberry Pi 2. Added support for the ODROID-XU3. On supported desktops, the xcb plugin now uses the D-Bus based org.kde.StatusNotifier protocol for system tray icons, and org.freedesktop.Notifications for notifications. KMS/DRM backend for EGLFS. This replaces the now deprecated KMS platform plugin. It allows running apps with eglfs on the console on systems with Mesa and devices that come with drm support. EGLFS has a plugin-based backend mechanism in addition to the existing, statically compiled-in solution. Most compiled-in hooks are converted to be dynamically loaded plugins that are built based on configure time tests. This reduces the reliance on the device makespecs for RPi, i.MX6 and Mali-based devices. Input handling is now unified for EGLFS and LinuxFB, avoiding the need to launch and configure LinuxFB-based apps differently than when using EGLFS. tslib is now better integrated with EGLFS and LinuxFB to provide support for resistive single-touch touchscreens often used in industrial environments. xcb is refactored to move GLX and EGL support into plugins. No more ifdefs, allowing building both backends. Added a TUIO Touch plugin for receiving remote touch events via UDP. Added a libinput plugin. iOS: you can now use QFileDialog to browse system photos using a native image picker dialog by setting directory to QStandardPaths::PicturesLocation. Selected photos can be loaded using QFile. Qt QML It is now possible to conveniently expose custom C++ value types into the JavaScript environment of QML and QJSEngine. Support for JavaScript typed arrays Various performance improvements, notably QJSValue Added convenience qJsEngine(QObject*) getter function. Qt Quick Windows now defaults to the threaded Qt Quick render loop when using desktop OpenGL (opengl32.dll). QQuickWidget is now supported in iOS. QQuickRenderControl supports threaded rendering. Improved behavior of Flickable on OS X trackpads using pixel deltas from native gestures. PinchArea handles native pinch gestures when the OS provides them (so far only on OS X). Otherwise it relies on touch events, as before. Added a smart zoom signal to PinchArea to react to that gesture on an OS X trackpad. MouseArea now has a scrollGestureEnabled property to control whether native scroll gestures from the OS will be handled by the wheel signal handler. Qt Quick Controls Qt Quick Extras (formerly Qt Quick Enterprise Controls) was added under the QtQuick.Extras import. TreeView control for QAbstractItemModel-derived models. Supports QItemSelectionModel selection. Qt WebEngine Updated Chromium snapshot to version 40 WebEngineProfile for control of storage and cache paths and related policies. Added support for javascript Geolocation API with QtLocation as a backend Added API for managing downloading of files Added API for controlling cache and cookie paths and policy Added API for WebEngine settings Added API for injecting user scripts Various experimental QML API has been promoted to public Added QtWebChannel integration API over Chromium IPC Qt WebView Added native implementations for Mac OS X. Added API for running JavaScript (Requires API 19+ on Android). Added API for setting the HTML content. Added API for load status notifications. @ text @d1 1 a1 1 $NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.4 2015/04/15 14:10:15 nros Exp $ d4 1 d7 1 a7 1 --- src/corelib/io/qstorageinfo_unix.cpp.orig 2015-10-13 04:35:31.000000000 +0000 d38 16 @ 1.4 log @Removed unneeded part of patch. Added comment about upstream commit and future removal. @ text @d1 2 a2 1 $NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.3 2015/04/08 10:31:28 nros Exp $ a3 1 * NetBSD uses struct statvfs as first argument to getmntinfo d5 2 a6 3 * filed and commited upstream: http://codereview.qt-project.org/110257 everything here is fixed in QT 5.5 --- src/corelib/io/qstorageinfo_unix.cpp.orig 2014-12-05 16:24:37.000000000 +0000 d8 1 a8 1 @@@@ -52,6 +52,7 @@@@ d11 16 a26 52 # include +# include #elif defined(Q_OS_ANDROID) # include # include @@@@ -63,6 +64,7 @@@@ # include #elif defined(Q_OS_SOLARIS) # include +# include #endif #if defined(Q_OS_BSD4) @@@@ -118,7 +120,11 @@@@ public: inline QByteArray device() const; private: #if defined(Q_OS_BSD4) - statfs *stat_buf; +#if defined(Q_OS_NETBSD) + QT_STATFSBUF *stat_buf; +#else + struct statfs *stat_buf; +#endif int entryCount; int currentIndex; #elif defined(Q_OS_SOLARIS) @@@@ -196,22 +202,22 @@@@ inline bool QStorageIterator::isValid() inline bool QStorageIterator::next() { - return ::getmntent(fp, &mnt) == Q_NULLPTR; + return ::getmntent(fp, &mnt) == 0; } inline QString QStorageIterator::rootPath() const { - return QFile::decodeName(mnt->mnt_mountp); + return QFile::decodeName(mnt.mnt_mountp); } inline QByteArray QStorageIterator::fileSystemType() const { - return QByteArray(mnt->mnt_fstype); + return QByteArray(mnt.mnt_fstype); } inline QByteArray QStorageIterator::device() const { - return QByteArray(mnt->mnt_mntopts); + return QByteArray(mnt.mnt_mntopts); } d28 9 @ 1.3 log @Fix build on FreeBSD 10 and maybe other BSD:s. @ text @d1 1 a1 1 $NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.2 2015/02/14 22:12:34 nros Exp $ d5 2 d17 1 a17 1 @@@@ -63,6 +64,8 @@@@ a20 1 +# include d25 1 a25 11 @@@@ -74,6 +77,9 @@@@ # if !defined(ST_RDONLY) # define ST_RDONLY 1 // hack for missing define on Android # endif +#elif defined(Q_OS_SOLARIS) +# define QT_STATFSBUF struct statvfs +# define QT_STATFS ::statvfs #else # if defined(QT_LARGEFILE_SUPPORT) # define QT_STATFSBUF struct statvfs64 @@@@ -118,7 +124,11 @@@@ public: d38 1 a38 1 @@@@ -196,22 +206,22 @@@@ inline bool QStorageIterator::isValid() @ 1.2 log @Fix build on smartos. @ text @d1 3 a3 1 $NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.1 2014/12/30 17:23:46 adam Exp $ d7 9 a15 1 @@@@ -63,6 +63,8 @@@@ d24 1 a24 1 @@@@ -74,6 +76,9 @@@@ d34 1 a34 1 @@@@ -118,7 +123,7 @@@@ public: d39 1 d41 3 d47 1 a47 1 @@@@ -196,22 +201,22 @@@@ inline bool QStorageIterator::isValid() @ 1.1 log @Changes 5.4.0: Chromium-based browser engine Qt WebEngine Qt WebView for showing web content using the native OS web engine on mobile Full support on Qt for Windows Store Apps, including WinRT and Windows Phone 8.1 Improved Compliance with iOS 8 and Xcode 6 Improved OS X 10.10 ‘Yosemite’ support and new Mac AppStore signing High-DPI support for Windows and OS X Dynamic GL switching between OpenGL and ANGLE on Windows Mix OpenGL and Qt Quick with QOpenGLWidget Android Look-and-Feel for Qt Quick Controls Qt Creator 3.3 with new Qt Quick Designer Bluetooth now supports BlueZ5 with tech preview on Bluetooth LE @ text @d1 3 a3 3 $NetBSD$ --- src/corelib/io/qstorageinfo_unix.cpp.orig 2014-12-17 11:12:56.000000000 +0000 d5 20 a24 1 @@@@ -118,7 +118,7 @@@@ public: d33 27 @