diff -Nru qtdeclarative-opensource-src-5.6.1/debian/changelog qtdeclarative-opensource-src-5.6.1/debian/changelog --- qtdeclarative-opensource-src-5.6.1/debian/changelog 2016-06-16 13:45:22.000000000 +0000 +++ qtdeclarative-opensource-src-5.6.1/debian/changelog 2016-06-23 19:46:34.000000000 +0000 @@ -1,3 +1,16 @@ +qtdeclarative-opensource-src (5.6.1-4+rpi1) stretch-staging; urgency=medium + + [changes brought forward from 5.3.2-4+rpi1 by Peter Michael Green at Fri, 03 Oct 2014 08:10:59 +0000] + * Fix clean target. + + [changes introduced in 5.4.2-3+rpi1 by Peter Michael Green at Thu, 02 Jul 2015 17:57:48 +0000] + * Use sed to replace "arch=amd64 armhf i386)" "with optional=meh)" in + debian/libqt5qml5.symbols . The symbols don't seem to appear in raspbian and + I doubt they are important (probablly some sort of template instantiation + or similar crap). + + -- Raspbian forward porter Thu, 23 Jun 2016 19:46:34 +0000 + qtdeclarative-opensource-src (5.6.1-4) unstable; urgency=medium * Backport qml_only_release_types_if_they_arent_referenced_anymore.patch, diff -Nru qtdeclarative-opensource-src-5.6.1/debian/rules qtdeclarative-opensource-src-5.6.1/debian/rules --- qtdeclarative-opensource-src-5.6.1/debian/rules 2016-06-13 12:50:29.000000000 +0000 +++ qtdeclarative-opensource-src-5.6.1/debian/rules 2016-06-23 19:46:34.000000000 +0000 @@ -15,6 +15,8 @@ dh $@ --parallel --with pkgkde_symbolshelper --dbg-package=qtdeclarative5-dbg override_dh_auto_configure: + #symbols file hack + sed -i 's/arch=amd64 armhf i386)/optional=meh)/' debian/libqt5qml5.symbols qmake override_dh_auto_build-indep: @@ -62,3 +64,18 @@ # Requires X so disabled for now override_dh_auto_test: + +override_dh_auto_clean: + #clean up crap left behind + dh_auto_clean + rm -rf doc + rm -f bin/qml* + rm -rf mkspecs + rm -rf lib + rm -rf examples/quick/tutorials/gettingStartedQml/imports + rm -f `find include/ -name '*Depends'` + rm -f tests/auto/headersclean/tst_headersclean.cpp + rm -f tests/auto/qml/qqmlmoduleplugin/imports/org/qtproject/AutoTestQmlNestedPluginType/libnestedPlugin.prl + rm -f debian/*.mps + #undo our symbols file hack + sed -i 's/optional=meh)/arch=amd64 armhf i386)/' debian/libqt5qml5.symbols