Fix FTCBFS (Closes: #1023054).
This commit is contained in:
parent
e7dc5bbce2
commit
38f492c5cb
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -3,6 +3,15 @@ qt6-base (6.4.2+dfsg-1) UNRELEASED; urgency=medium
|
|||||||
[ Patrick Franz ]
|
[ Patrick Franz ]
|
||||||
* Switch to the official 6.4.2 tarball, the tarball is the same.
|
* Switch to the official 6.4.2 tarball, the tarball is the same.
|
||||||
|
|
||||||
|
[ Helmut Grohne ]
|
||||||
|
* Fix FTCBFS: Pass QT_HOST_PATH. (Closes: #1023054)
|
||||||
|
+ cross.patch: Honour PKG_CONFIG_EXECUTABLE
|
||||||
|
+ cross.patch: Allow building android tools
|
||||||
|
+ Pass QT_HOST_* variables to build.
|
||||||
|
+ Depend on a native qt toolchain for the former.
|
||||||
|
+ Do build tools even when cross building.
|
||||||
|
+ Add excess files to debian/not-installed.
|
||||||
|
|
||||||
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 21 Jan 2023 13:42:21 +0100
|
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 21 Jan 2023 13:42:21 +0100
|
||||||
|
|
||||||
qt6-base (6.4.2+dfsg~rc1-3) unstable; urgency=medium
|
qt6-base (6.4.2+dfsg~rc1-3) unstable; urgency=medium
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -71,6 +71,7 @@ Build-Depends: cmake (>= 3.24~),
|
|||||||
ninja-build,
|
ninja-build,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
pkg-kde-tools (>= 0.15.17~),
|
pkg-kde-tools (>= 0.15.17~),
|
||||||
|
qt6-base-dev:native <cross>,
|
||||||
unixodbc-dev,
|
unixodbc-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.6.2
|
||||||
|
5
debian/not-installed
vendored
5
debian/not-installed
vendored
@ -8,3 +8,8 @@ usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6PrintSupport/Qt6PrintSupportPlugins.cmake
|
|||||||
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6Sql/Qt6SqlPlugins.cmake
|
usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6Sql/Qt6SqlPlugins.cmake
|
||||||
usr/lib/qt6/bin/qmake
|
usr/lib/qt6/bin/qmake
|
||||||
usr/lib/qt6/bin/qtpaths
|
usr/lib/qt6/bin/qtpaths
|
||||||
|
# cross build specific:
|
||||||
|
usr/lib/qt6/bin/host-qmake
|
||||||
|
usr/lib/qt6/bin/host-qtpaths
|
||||||
|
usr/lib/qt6/bin/target_qt.conf
|
||||||
|
usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/qdevice.pri
|
||||||
|
22
debian/patches/cross.patch
vendored
Normal file
22
debian/patches/cross.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
|
||||||
|
+++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
|
||||||
|
@@ -146,8 +146,6 @@
|
||||||
|
set(FEATURE_pkg_config "${pkg_config_enabled}" CACHE STRING "Using pkg-config")
|
||||||
|
if(NOT pkg_config_enabled)
|
||||||
|
qt_build_internals_disable_pkg_config()
|
||||||
|
- else()
|
||||||
|
- unset(PKG_CONFIG_EXECUTABLE CACHE)
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
--- a/src/tools/configure.cmake
|
||||||
|
+++ b/src/tools/configure.cmake
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
SECTION "Deployment"
|
||||||
|
LABEL "Android deployment tool"
|
||||||
|
PURPOSE "The Android deployment tool automates the process of creating Android packages."
|
||||||
|
- CONDITION NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression)
|
||||||
|
+ CONDITION QT_FEATURE_regularexpression)
|
||||||
|
|
||||||
|
qt_feature("macdeployqt" PRIVATE
|
||||||
|
SECTION "Deployment"
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -5,6 +5,7 @@ upstream_Add-M68k-detection.patch
|
|||||||
# Debian specific
|
# Debian specific
|
||||||
remove_privacy_breaches.diff
|
remove_privacy_breaches.diff
|
||||||
build_path_embedded_qtbuildinternalsextra_cmake.patch
|
build_path_embedded_qtbuildinternalsextra_cmake.patch
|
||||||
|
cross.patch
|
||||||
|
|
||||||
# Don't use yield on CPUs that might not support it
|
# Don't use yield on CPUs that might not support it
|
||||||
armel-noyield.patch
|
armel-noyield.patch
|
||||||
|
8
debian/rules
vendored
8
debian/rules
vendored
@ -19,6 +19,14 @@ else
|
|||||||
extra_cmake_args += -DFEATURE_sctp=OFF
|
extra_cmake_args += -DFEATURE_sctp=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# cross-builds
|
||||||
|
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
|
||||||
|
extra_cmake_args += \
|
||||||
|
-DQT_HOST_PATH=/usr \
|
||||||
|
-DQT_HOST_PATH_CMAKE_DIR=/usr/lib/${DEB_BUILD_MULTIARCH}/cmake \
|
||||||
|
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
|
dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user