diff --git a/0001-Fix-PointHandler-rejecting-click-events-near-window-.patch b/0001-Fix-PointHandler-rejecting-click-events-near-window-.patch deleted file mode 100644 index 1deeae8..0000000 --- a/0001-Fix-PointHandler-rejecting-click-events-near-window-.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 9089292c495970b00728398f49e8f66bab1f4f32 Mon Sep 17 00:00:00 2001 -From: Fushan Wen -Date: Sat, 16 Mar 2024 02:58:08 +0800 -Subject: [PATCH] Fix PointHandler rejecting click events near window edge with - HiDPI - -When using HiDPI and a click happens near the window edge, the global -position might have fractional parts, but after the global position is -converted to QPoint, the position can be rounded so it happens to stay -at the window edge, so the window geometry will not contain the rounded -position. - -Related bugreport: https://bugs.kde.org/show_bug.cgi?id=482580 - -Pick-to: 6.6 6.7 -Change-Id: I51a26f955fd58f2a135c64ceb32ee881a03fcaf8 -Reviewed-by: Shawn Rutledge ---- - src/quick/handlers/qquickpointerhandler.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp -index c01cbd039fd..a29c8ae2d32 100644 ---- a/src/quick/handlers/qquickpointerhandler.cpp -+++ b/src/quick/handlers/qquickpointerhandler.cpp -@@ -560,10 +560,10 @@ bool QQuickPointerHandler::parentContains(const QPointF &scenePosition) const - { - if (QQuickItem *par = parentItem()) { - if (par->window()) { -- QRect windowGeometry = par->window()->geometry(); -+ QRectF windowGeometry = par->window()->geometry(); - if (!par->window()->isTopLevel()) -- windowGeometry = QRect(QWindowPrivate::get(par->window())->globalPosition(), par->window()->size()); -- QPoint screenPosition = par->window()->mapToGlobal(scenePosition.toPoint()); -+ windowGeometry = QRectF(QWindowPrivate::get(par->window())->globalPosition(), par->window()->size()); -+ QPointF screenPosition = par->window()->mapToGlobal(scenePosition); - if (!windowGeometry.contains(screenPosition)) - return false; - } diff --git a/_constraints b/_constraints index afb98c2..091cbbb 100644 --- a/_constraints +++ b/_constraints @@ -2,7 +2,7 @@ - 18 + 20 4 @@ -13,7 +13,7 @@ - 5 + 9 diff --git a/qt6-declarative.changes b/qt6-declarative.changes index 22aa8a9..5a70269 100644 --- a/qt6-declarative.changes +++ b/qt6-declarative.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Jun 19 07:25:41 UTC 2024 - Christophe Marin + +- Update to 6.7.2: + * https://www.qt.io/blog/qt-6.7.2-released + +------------------------------------------------------------------- +Tue May 21 08:31:28 UTC 2024 - Christophe Marin + +- Update to 6.7.1: + * https://www.qt.io/blog/qt-6.7.1-released +- Drop patch, merged upstream: + * 0001-Fix-PointHandler-rejecting-click-events-near-window-.patch + +------------------------------------------------------------------- +Tue Apr 2 13:39:38 UTC 2024 - Christophe Marin + +- Update to 6.7.0: + * https://www.qt.io/blog/qt-6.7-released +- Update build constraints + ------------------------------------------------------------------- Tue Mar 26 14:25:37 UTC 2024 - Christophe Marin diff --git a/qt6-declarative.spec b/qt6-declarative.spec index f53f43a..e7cf093 100644 --- a/qt6-declarative.spec +++ b/qt6-declarative.spec @@ -16,8 +16,8 @@ # -%define real_version 6.6.3 -%define short_version 6.6 +%define real_version 6.7.2 +%define short_version 6.7 %define tar_name qtdeclarative-everywhere-src %define tar_suffix %{nil} # @@ -27,22 +27,21 @@ %endif # Name: qt6-declarative%{?pkg_suffix} -Version: 6.6.3 +Version: 6.7.2 Release: 0 Summary: Qt 6 Declarative Libraries and tools License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only URL: https://www.qt.io -Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz +Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz Source99: qt6-declarative-rpmlintrc -# PATCH-FIX-DOWNSTREAM +# PATCH-FIX-OPENSUSE Patch0: 0001-qmlimportscanner-Include-module-versions-again.patch -# PATCH-FIX-UPSTREAM kde#482580 -Patch3: 0001-Fix-PointHandler-rejecting-click-events-near-window-.patch BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: qt6-core-private-devel BuildRequires: qt6-gui-private-devel BuildRequires: qt6-opengl-private-devel +BuildRequires: qt6-svg-private-devel BuildRequires: qt6-test-private-devel BuildRequires: qt6-widgets-private-devel BuildRequires: cmake(Qt6Concurrent) = %{real_version} @@ -119,13 +118,16 @@ Requires: qt6-qmlcompiler-private-devel = %{version} Requires: qt6-qmlcore-private-devel = %{version} Requires: qt6-qmllocalstorage-private-devel = %{version} Requires: qt6-qmlmodels-private-devel = %{version} +Requires: qt6-qmlnetwork-private-devel = %{version} Requires: qt6-qmlworkerscript-private-devel = %{version} Requires: qt6-quick-private-devel = %{version} Requires: qt6-quickcontrols2-private-devel = %{version} Requires: qt6-quickcontrols2impl-private-devel = %{version} +Requires: qt6-qmlxmllistmodel-private-devel = %{version} Requires: qt6-quickdialogs2-private-devel = %{version} Requires: qt6-quickdialogs2quickimpl-private-devel = %{version} Requires: qt6-quickdialogs2utils-private-devel = %{version} +Requires: qt6-quickeffects-private-devel = %{version} Requires: qt6-quicklayouts-private-devel = %{version} Requires: qt6-quickparticles-private-devel = %{version} Requires: qt6-quickshapes-private-devel = %{version} @@ -337,6 +339,7 @@ License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only Requires: libQt6Qml6 = %{version} # Executables are required Requires: qt6-declarative-tools = %{version} +Requires: qt6-qmlbuiltins-devel-static = %{version} Requires: cmake(Qt6Network) = %{real_version} # qmldevtools is gone in 6.3 Provides: qt6-qmldevtools-devel-static = 6.3 @@ -800,6 +803,25 @@ ABI or API guarantees. ### Private only libraries ### +%package -n libQt6QmlNetwork6 +Summary: Qt 6 QmlNetwork library +License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only + +%description -n libQt6QmlNetwork6 +QML Binding for the QNetworkInformation C++ class. +This library does not have any ABI or API guarantees. + +%package -n qt6-qmlnetwork-private-devel +Summary: Qt 6 QmlNetwork library - Development files +License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only +Requires: libQt6QmlNetwork6 = %{version} +Requires: qt6-network-devel = %{version} +Requires: qt6-qml-devel = %{version} + +%description -n qt6-qmlnetwork-private-devel +Development files for the Qt 6 QmlNetwork library. +This library does not have any ABI or API guarantees. + %package -n libQt6QuickEffects6 Summary: Qt 6 QuickEffects library License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only @@ -881,6 +903,14 @@ Obsoletes: qt6-packetprotocol-private-devel < 6.2.0 The Qt6 PacketProtocol static library. This library does not have any ABI or API guarantees. +%package -n qt6-qmlbuiltins-devel-static +Summary: Qt 6 QmlBuiltins static library +License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only + +%description -n qt6-qmlbuiltins-devel-static +The Qt6 QmlBuiltins static library. +This library does not have any ABI or API guarantees. + %package -n qt6-qmldebug-devel-static Summary: Qt6 QmlDebug static library License: GPL-2.0-only OR GPL-3.0-or-later OR LGPL-3.0-only @@ -1006,6 +1036,7 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %ldconfig_scriptlets -n libQt6QmlCore6 %ldconfig_scriptlets -n libQt6QmlLocalStorage6 %ldconfig_scriptlets -n libQt6QmlModels6 +%ldconfig_scriptlets -n libQt6QmlNetwork6 %ldconfig_scriptlets -n libQt6QmlWorkerScript6 %ldconfig_scriptlets -n libQt6QmlXmlListModel6 %ldconfig_scriptlets -n libQt6Quick6 @@ -1034,6 +1065,7 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %files imports %{_qt6_qmldir}/Qt/ %{_qt6_qmldir}/QtCore/ +%{_qt6_qmldir}/QtNetwork/ %{_qt6_qmldir}/QtQml/ %{_qt6_qmldir}/QtQuick/ %{_qt6_qmldir}/QtTest/ @@ -1055,6 +1087,7 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %{_bindir}/qmltc6 %{_bindir}/qmltestrunner6 %{_bindir}/qmltime6 +%{_bindir}/svgtoqml6 %{_qt6_bindir}/qml %{_qt6_bindir}/qmldom %{_qt6_bindir}/qmleasing @@ -1068,8 +1101,10 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %{_qt6_bindir}/qmltc %{_qt6_bindir}/qmltestrunner %{_qt6_bindir}/qmltime +%{_qt6_bindir}/svgtoqml %{_qt6_libexecdir}/qmlcachegen %{_qt6_libexecdir}/qmlimportscanner +%{_qt6_libexecdir}/qmljsrootgen %{_qt6_libexecdir}/qmltyperegistrar %{_qt6_pluginsdir}/qmllint/ %{_qt6_pluginsdir}/qmltooling/ @@ -1330,6 +1365,7 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %files -n qt6-quick-devel %{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtDeclarativeTestsConfig.cmake %{_qt6_cmakedir}/Qt6Quick/ +%{_qt6_cmakedir}/Qt6QuickTools/ %{_qt6_descriptionsdir}/Quick.json %{_qt6_includedir}/QtQuick/ %{_qt6_libdir}/libQt6Quick.prl @@ -1616,6 +1652,20 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri ### Private only libraries ### +%files -n libQt6QmlNetwork6 +%{_qt6_libdir}/libQt6QmlNetwork.so.* + +%files -n qt6-qmlnetwork-private-devel +%{_qt6_cmakedir}/Qt6QmlNetwork/ +%{_qt6_descriptionsdir}/QmlNetwork.json +%{_qt6_includedir}/QtQmlNetwork/ +%{_qt6_libdir}/libQt6QmlNetwork.prl +%{_qt6_libdir}/libQt6QmlNetwork.so +%{_qt6_metatypesdir}/qt6qmlnetwork_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_qmlnetwork.pri +%{_qt6_mkspecsdir}/modules/qt_lib_qmlnetwork_private.pri +%{_qt6_pkgconfigdir}/Qt6QmlNetwork.pc + %files -n libQt6QuickEffects6 %{_qt6_libdir}/libQt6QuickEffects.so.* @@ -1663,6 +1713,17 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %{_qt6_metatypesdir}/qt6packetprotocolprivate_*_metatypes.json %{_qt6_mkspecsdir}/modules/qt_lib_packetprotocol_private.pri +%files -n qt6-qmlbuiltins-devel-static +%{_qt6_cmakedir}/Qt6QmlBuiltins/ +%{_qt6_descriptionsdir}/QmlBuiltins.json +%{_qt6_includedir}/QtQmlBuiltins/ +%{_qt6_libdir}/libQt6QmlBuiltins.prl +%{_qt6_libdir}/libQt6QmlBuiltins.a +%{_qt6_metatypesdir}/qt6qmlbuiltins_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_qmlbuiltins.pri +%{_qt6_mkspecsdir}/modules/qt_lib_qmlbuiltins_private.pri +%{_qt6_pkgconfigdir}/Qt6QmlBuiltins.pc + %files -n qt6-qmldebug-devel-static %{_qt6_cmakedir}/Qt6QmlDebugPrivate/ %{_qt6_descriptionsdir}/QmlDebugPrivate.json @@ -1700,6 +1761,9 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmlintegration_private.pri %{_qt6_mkspecsdir}/modules/qt_lib_qmltoolingsettings_private.pri %files -n qt6-qmltyperegistrar-devel-static +# Expected development files +%dir %{_qt6_archdatadir}/objects-RelWithDebInfo +%{_qt6_archdatadir}/objects-RelWithDebInfo/QmlTypeRegistrarPrivate_resources_1/ %{_qt6_cmakedir}/Qt6QmlTypeRegistrarPrivate/ %{_qt6_descriptionsdir}/QmlTypeRegistrarPrivate.json %{_qt6_includedir}/QtQmlTypeRegistrar/ diff --git a/qtdeclarative-everywhere-src-6.6.3.tar.xz b/qtdeclarative-everywhere-src-6.6.3.tar.xz deleted file mode 100644 index a653e26..0000000 --- a/qtdeclarative-everywhere-src-6.6.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05207b2cfcf2ca74321165e81fc382ca289340d52de74ca2bad4c2b124a792f3 -size 34374500 diff --git a/qtdeclarative-everywhere-src-6.7.2.tar.xz b/qtdeclarative-everywhere-src-6.7.2.tar.xz new file mode 100644 index 0000000..c7a7f37 --- /dev/null +++ b/qtdeclarative-everywhere-src-6.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c29cba1af8c42d425d8eb6e01bad24cb80f4b983d71eef566a0542dfdb9b999 +size 35629324