diff -Nru qtdeclarative-opensource-src-5.15.2+dfsg/debian/changelog qtdeclarative-opensource-src-5.15.2+dfsg/debian/changelog --- qtdeclarative-opensource-src-5.15.2+dfsg/debian/changelog 2021-02-04 17:36:43.000000000 +0000 +++ qtdeclarative-opensource-src-5.15.2+dfsg/debian/changelog 2021-03-19 17:46:16.000000000 +0000 @@ -1,3 +1,11 @@ +qtdeclarative-opensource-src (5.15.2+dfsg-5) unstable; urgency=medium + + * Add a patch to make tst_qmldiskcache::regenerateAfterChange() pass on + big endian systems. + * Add missing dependencies to qtdeclarative5-dev (closes: #985500). + + -- Dmitry Shachnev Fri, 19 Mar 2021 20:46:16 +0300 + qtdeclarative-opensource-src (5.15.2+dfsg-4) unstable; urgency=medium * Add Conflicts: against the -gles packages, to make that relation mutual. diff -Nru qtdeclarative-opensource-src-5.15.2+dfsg/debian/control qtdeclarative-opensource-src-5.15.2+dfsg/debian/control --- qtdeclarative-opensource-src-5.15.2+dfsg/debian/control 2021-02-04 17:36:43.000000000 +0000 +++ qtdeclarative-opensource-src-5.15.2+dfsg/debian/control 2021-03-19 17:46:16.000000000 +0000 @@ -329,6 +329,8 @@ Architecture: any Multi-Arch: same Depends: libqt5qml5 (= ${binary:Version}), + libqt5qmlmodels5 (= ${binary:Version}), + libqt5qmlworkerscript5 (= ${binary:Version}), libqt5quick5 (= ${binary:Version}) | libqt5quick5-gles (>= 5.15), libqt5quickparticles5 (= ${binary:Version}) | libqt5quickparticles5-gles (>= 5.15), libqt5quickshapes5 (= ${binary:Version}), diff -Nru qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/series qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/series --- qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/series 2021-02-04 17:36:43.000000000 +0000 +++ qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/series 2021-03-19 17:46:16.000000000 +0000 @@ -2,6 +2,7 @@ qmltime-tool.patch fix_qml_property_cache_leaks.patch gcc_11.patch +tst_qmldiskcache_big_endian.patch # Debian patches disableopengltests.patch diff -Nru qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/tst_qmldiskcache_big_endian.patch qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/tst_qmldiskcache_big_endian.patch --- qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/tst_qmldiskcache_big_endian.patch 1970-01-01 00:00:00.000000000 +0000 +++ qtdeclarative-opensource-src-5.15.2+dfsg/debian/patches/tst_qmldiskcache_big_endian.patch 2021-03-19 17:46:16.000000000 +0000 @@ -0,0 +1,18 @@ +Description: make tst_qmldiskcache::regenerateAfterChange() pass on big endian systems +Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=dab0d62b655ce9a4 +Last-Update: 2021-02-11 + +--- a/tests/auto/qml/qmldiskcache/tst_qmldiskcache.cpp ++++ b/tests/auto/qml/qmldiskcache/tst_qmldiskcache.cpp +@@ -332,9 +332,8 @@ void tst_qmldiskcache::regenerateAfterCh + QCOMPARE(quint32(obj->nBindings), quint32(2)); + QCOMPARE(quint32(obj->bindingTable()->type), quint32(QV4::CompiledData::Binding::Type_Number)); + +- QCOMPARE(reinterpret_cast(testUnit->constants()) +- [obj->bindingTable()->value.constantValueIndex].doubleValue(), +- double(42)); ++ const QV4::Value value(testUnit->constants()[obj->bindingTable()->value.constantValueIndex]); ++ QCOMPARE(value.doubleValue(), double(42)); + + QCOMPARE(quint32(testUnit->functionTableSize), quint32(1)); + diff -Nru qtdeclarative-opensource-src-5.15.2+dfsg/debian/rules qtdeclarative-opensource-src-5.15.2+dfsg/debian/rules --- qtdeclarative-opensource-src-5.15.2+dfsg/debian/rules 2021-02-04 17:36:43.000000000 +0000 +++ qtdeclarative-opensource-src-5.15.2+dfsg/debian/rules 2021-03-19 17:46:16.000000000 +0000 @@ -65,7 +65,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) $(MAKE) install INSTALL_ROOT=$(CURDIR)/test_root mkdir -p $(CURDIR)/.local/share/QtProject/tst_qqmlengine - # - hppa: QML engine is broken, bug missing + # - hppa: QML engine is broken, see bug #973659 # - ia64: QML engine is broken, see bug #929682 # - mips*: Some tests are failing because of bug #868745 # - powerpc, ppc64, s390x: item-grabber test fails on big endian, see https://bugreports.qt.io/browse/QTBUG-56806