mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-28 17:36:44 +08:00
Compare commits
22 Commits
v6.6.0-bet
...
v6.6.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1890fc3f23 | ||
|
|
f654edcfc9 | ||
|
|
c04211bef4 | ||
|
|
b347a64cee | ||
|
|
25f5d682ac | ||
|
|
0da5559016 | ||
|
|
eb3f0e5ad8 | ||
|
|
dd27c7396b | ||
|
|
540e83e83c | ||
|
|
d816d5198b | ||
|
|
932419ebb9 | ||
|
|
442f28b534 | ||
|
|
ee432cd0e3 | ||
|
|
669e16bb14 | ||
|
|
5b30b2f432 | ||
|
|
00af6b857a | ||
|
|
ef3fae89d3 | ||
|
|
2fd6dfcf6a | ||
|
|
753cbb9d04 | ||
|
|
65dac8226a | ||
|
|
2d54b11406 | ||
|
|
14ed5a5ad8 |
1
.gitmodules
vendored
1
.gitmodules
vendored
@@ -318,6 +318,7 @@
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = 6.6
|
||||
|
||||
@@ -29,8 +29,6 @@ project(Qt
|
||||
# Required so we can call ctest from the root build directory
|
||||
enable_testing()
|
||||
|
||||
set(qt_module_prop_prefix "__qt_prop_")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake")
|
||||
|
||||
@@ -279,3 +279,21 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'focal-arm64-debian-pkg-packaging'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.6_dev',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
]
|
||||
-
|
||||
Id: 'focal-amd64-debian-pkg-packaging'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.6_dev',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
]
|
||||
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis arm64-v8a',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -28,7 +28,7 @@ Configurations:
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -43,7 +43,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
@@ -59,7 +59,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=@emulator_x86_64_api_33'
|
||||
]
|
||||
|
||||
@@ -22,5 +22,6 @@ Configurations:
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.6',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-6-x86-on-linux',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-13-x86_64-on-linux',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23'
|
||||
]
|
||||
|
||||
@@ -3,6 +3,8 @@ Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"ubuntu-22.04-documentation-x11-tests",
|
||||
"windows-10_22h2-msvc2019-developer-build",
|
||||
"ios-universal"
|
||||
],
|
||||
|
||||
@@ -29,6 +29,6 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=@automotive_emulator_x86_api_30'
|
||||
]
|
||||
|
||||
@@ -1 +1 @@
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m
|
||||
|
||||
@@ -49,7 +49,7 @@ versionNode="v14.18.2"
|
||||
tarBallVersion=$(sed "s/\./\_/g" <<<"$version")
|
||||
if uname -a |grep -q Darwin; then
|
||||
tarBallPackage="emsdk_macos_${tarBallVersion}.tar.gz"
|
||||
sha="e9369deda4013fc24e085affc9975833cb2d9872"
|
||||
sha="fe9900b0f27ada608f25552dbd4a58bf62c6f05b"
|
||||
else
|
||||
tarBallPackage="emsdk_linux_${tarBallVersion}.tar.gz"
|
||||
sha="000bbd5666d8fc1afbf2dce1a7938ef0efeeab3f"
|
||||
|
||||
@@ -105,7 +105,7 @@ build_ffmpeg_android() {
|
||||
strip=${toolchain_bin}/llvm-strip
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
ffmpeg_config_options+=" --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
|
||||
|
||||
@@ -65,6 +65,24 @@ fi
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
|
||||
install_ff_nvcodec_headers() {
|
||||
nv_codec_version="11.1" # use 11.1 to ensure compatibility with 470 nvidia drivers; might be upated to 12.0
|
||||
nv_codec_url_public="https://github.com/FFmpeg/nv-codec-headers/archive/refs/heads/sdk/$nv_codec_version.zip"
|
||||
nv_codec_url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/nv-codec-headers/$nv_codec_version.zip"
|
||||
nv_codec_sha1="bfaa2801725a2eea476939f2177ab50817c3a6ad"
|
||||
#nv_codec_sha1="4f30539f8dd31945da4c3da32e66022f9ca59c08" // 12.0
|
||||
nv_codec_dir="$target_dir/nv-codec-headers-sdk-$nv_codec_version"
|
||||
if [ ! -d "$nv_codec_dir" ];
|
||||
then
|
||||
InstallFromCompressedFileFromURL "$nv_codec_url_cached" "$nv_codec_url_public" "$nv_codec_sha1" "$target_dir" ""
|
||||
fi
|
||||
|
||||
sudo make -C "$nv_codec_dir" install -j
|
||||
|
||||
# Might be not detected by default on RHEL
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
|
||||
}
|
||||
|
||||
|
||||
build_ffmpeg() {
|
||||
local arch="$1"
|
||||
@@ -90,6 +108,9 @@ build_ffmpeg() {
|
||||
}
|
||||
|
||||
if [ "$os" == "linux" ]; then
|
||||
install_ff_nvcodec_headers
|
||||
|
||||
ffmpeg_config_options+=" --enable-openssl"
|
||||
build_ffmpeg
|
||||
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
|
||||
@@ -160,7 +160,7 @@ function InstallAndroidArmv7 {
|
||||
$strip="${toolchain_bin}/llvm-strip.exe"
|
||||
|
||||
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
$config += " --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
$config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
$config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
$config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
|
||||
|
||||
@@ -45,19 +45,24 @@ if (Is64BitWinHost) {
|
||||
$version = "11.0.12"
|
||||
$arch = "x64"
|
||||
$sha1 = "135ffd1c350509729551876232a5354070732e92"
|
||||
$installdir = "C:\Program Files\Java\jdk-$version"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||
} else {
|
||||
$version = "8u144"
|
||||
$arch = "i586"
|
||||
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
||||
$version = "11.0.11.9"
|
||||
$arch = "x86-32"
|
||||
$sha1 = "a861e994208ee85bf83a76105f6858feeb6fbb33"
|
||||
$installdir = "C:\Program Files\AdoptOpenJDK\jdk-$version-hotspot"
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\OpenJDK11U-jdk_x86-32_windows_hotspot_11.0.11_9.msi"
|
||||
}
|
||||
|
||||
$installdir = "C:\Program Files\Java\jdk-$version"
|
||||
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||
# NOTE! Official URL is behind login portal. It can't be used whit this script instead it need to be fetched to $url_cache first
|
||||
# java 11: https://www.oracle.com/java/technologies/downloads/#java11-windows
|
||||
# java 8: $official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||
if (Is64BitWinHost) {
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||
} else {
|
||||
$javaPackage = "C:\Windows\Temp\jdk-$version.msi"
|
||||
}
|
||||
|
||||
Write-Host "Fetching Java SE $version..."
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
@@ -65,7 +70,11 @@ Write-Host "...from local cache"
|
||||
Download $url_cache $url_cache $javaPackage
|
||||
Verify-Checksum $javaPackage $sha1
|
||||
|
||||
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||
if (Is64BitWinHost) {
|
||||
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||
} else {
|
||||
Run-Executable "msiexec" "/quiet /i $javaPackage"
|
||||
}
|
||||
Remove "$javaPackage"
|
||||
|
||||
Write-Host "Remove Java update from startup"
|
||||
|
||||
@@ -39,18 +39,27 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# build cmake for the debian packgaes
|
||||
# Create chroot for Ubuntu focal
|
||||
#mk-sbuild --arch=amd64 --name=focal --debootstrap-mirror="http://archive.ubuntu.com/ubuntu/" --distro=ubuntu focal
|
||||
|
||||
# Get required deb files for sbuild to build qt debian packages for Ubuntu focal
|
||||
mkdir -p /home/qt/debian_packages
|
||||
cd /home/qt/debian_packages
|
||||
# Backported cmake 3.24
|
||||
wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-focal/cmake-3.24-deb.tar.gz
|
||||
tar xzf cmake-3.24-deb.tar.gz
|
||||
#git clone git@gitlab.ics.com:qt6_packaging/tqtc/cmake.git
|
||||
#wget https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3.tar.gz -O cmake_3.24.3.orig.tar.gz
|
||||
#dpkg-source -b cmake
|
||||
#sbuild --build-dep-resolver=aptitude -sAd focal -c focal-amd64 cmake_3.24.3-1~bpo1.dsc
|
||||
# get rest of ready made Ubuntu focal arm debian packages
|
||||
# so that sbuild can find those
|
||||
# QtWebEngine dependencies
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/libuv1/arm64-focal/libuv1_1.43.0.tar.gz
|
||||
tar -xzf libuv1_1.43.0.tar.gz
|
||||
rm -rf libuv1_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nghttp2/arm64-focal/nghttp2_1.43.0.tar.gz
|
||||
tar -xzf nghttp2_1.43.0.tar.gz
|
||||
rm -rf nghttp2_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nodejs/arm64-focal/nodejs_12.22.9.tar.gz
|
||||
tar -xzf nodejs_12.22.9.tar.gz
|
||||
rm -rf nodejs_12.22.9.tar.gz
|
||||
# get ICU
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-focal/libicu-56.1-qt_56.1-1_arm64.deb
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-focal/libicu-56.1-qt-dev_56.1-1_arm64.deb
|
||||
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ sudo zypper -nq install bison flex gperf \
|
||||
zlib-devel \
|
||||
libudev-devel \
|
||||
glib2-devel \
|
||||
libopenssl-3-devel \
|
||||
freetype2-devel \
|
||||
fontconfig-devel \
|
||||
sqlite3-devel \
|
||||
|
||||
@@ -249,6 +249,8 @@ sudo dpkg --add-architecture i386
|
||||
installPackages+=(nfs-kernel-server)
|
||||
installPackages+=(net-tools)
|
||||
installPackages+=(bridge-utils)
|
||||
# For Debian packaging
|
||||
installPackages+=(sbuild)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see https://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at https://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 3 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 3 requirements
|
||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU
|
||||
## General Public License version 2.0 or (at your option) the GNU General
|
||||
## Public license version 3 or any later version approved by the KDE Free
|
||||
## Qt Foundation. The licenses are as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
## included in the packaging of this file. Please review the following
|
||||
## information to ensure the GNU General Public License requirements will
|
||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Setups sbuild environment
|
||||
|
||||
tee ~/.sbuildrc << EOF
|
||||
##############################################################################
|
||||
# PACKAGE BUILD RELATED (additionally produce _source.changes)
|
||||
##############################################################################
|
||||
# -d
|
||||
\$distribution = 'stable';
|
||||
# -A
|
||||
\$build_arch_all = 1;
|
||||
# -s
|
||||
\$build_source = 1;
|
||||
# -v
|
||||
\$verbose = 1;
|
||||
# parallel build
|
||||
\$ENV{'DEB_BUILD_OPTIONS'} = 'parallel=8';
|
||||
##############################################################################
|
||||
# POST-BUILD RELATED (turn off functionality by setting variables to 0)
|
||||
##############################################################################
|
||||
\$run_lintian = 1;
|
||||
\$lintian_opts = ['-i', '-I'];
|
||||
\$run_piuparts = 0;
|
||||
\$piuparts_opts = ['--schroot', 'stable-amd64-sbuild', '--no-eatmydata'];
|
||||
\$run_autopkgtest = 0;
|
||||
\$autopkgtest_root_args = '';
|
||||
\$autopkgtest_opts = [ '--', 'schroot', '%r-%a-sbuild' ];
|
||||
|
||||
##############################################################################
|
||||
# PERL MAGIC
|
||||
##############################################################################
|
||||
1;
|
||||
EOF
|
||||
|
||||
# Add user group
|
||||
sudo sbuild-adduser $LOGNAME
|
||||
newgrp sbuild
|
||||
|
||||
# Create chroot
|
||||
#sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-amd64-sbuild http://127.0.0.1:3142/deb.debian.org/debian
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-amd64-sbuild
|
||||
|
||||
# Update chroot
|
||||
sudo sbuild-update -udcar stable
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
#!/usr/bin/env bash
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2023 The Qt Company Ltd.
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see https://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at https://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 3 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 3 requirements
|
||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU
|
||||
## General Public License version 2.0 or (at your option) the GNU General
|
||||
## Public license version 3 or any later version approved by the KDE Free
|
||||
## Qt Foundation. The licenses are as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
## included in the packaging of this file. Please review the following
|
||||
## information to ensure the GNU General Public License requirements will
|
||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Get required deb files for sbuild to build qt debian packages for Ubuntu focal
|
||||
mkdir -p /home/qt/debian_packages
|
||||
cd /home/qt/debian_packages
|
||||
# Backported cmake 3.24
|
||||
wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-focal/cmake-3.24-deb.tar.gz
|
||||
tar xzf cmake-3.24-deb.tar.gz
|
||||
# get rest of ready made Ubuntu focal arm debian packages
|
||||
# so that sbuild can find those
|
||||
# QtWebEngine dependencies
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/libuv1/amd64-focal/libuv1_1.43.0.tar.gz
|
||||
tar -xzf libuv1_1.43.0.tar.gz
|
||||
rm -rf libuv1_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nghttp2/amd64-focal/nghttp2_1.43.0.tar.gz
|
||||
tar -xzf nghttp2_1.43.0.tar.gz
|
||||
rm -rf nghttp2_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nodejs/amd64-focal/nodejs_12.22.9.tar.gz
|
||||
tar -xzf nodejs_12.22.9.tar.gz
|
||||
rm -rf nodejs_12.22.9.tar.gz
|
||||
# get ICU
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/amd64-focal/libicu-56.1-qt_56.1-1_amd64.deb
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/amd64-focal/libicu-56.1-qt-dev_56.1-1_amd64.deb
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: c21e280c51...2a095cb1c1
Submodule qt5compat updated: 6dbf7acd31...29a26f6139
Submodule qtactiveqt updated: e4f80af9fb...bb3fdd62ce
2
qtbase
2
qtbase
Submodule qtbase updated: b4e7e6cfa7...0ef9d8a49a
2
qtcharts
2
qtcharts
Submodule qtcharts updated: fb80fdf57d...9447efd92b
2
qtcoap
2
qtcoap
Submodule qtcoap updated: 7953e49cc7...bdb08a15e2
Submodule qtconnectivity updated: e166658ce4...5e9aafb623
Submodule qtdatavis3d updated: 45f6910e03...4729ecec52
Submodule qtdeclarative updated: e6d50b30e9...6ad23dc402
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 4bd736422f...1888bb12c3
2
qtgraphs
2
qtgraphs
Submodule qtgraphs updated: 536d27eff4...2d7f56125c
2
qtgrpc
2
qtgrpc
Submodule qtgrpc updated: bff4368195...f9d002ff19
Submodule qthttpserver updated: 1c422158af...4a0689fcd8
Submodule qtimageformats updated: 6ac5f3a909...75580e84a3
Submodule qtlanguageserver updated: 6980844876...48c21380e3
Submodule qtlocation updated: de597e8fa2...83ae4e1028
2
qtlottie
2
qtlottie
Submodule qtlottie updated: fca2e43a10...b27226c5ae
2
qtmqtt
2
qtmqtt
Submodule qtmqtt updated: bb0a1fbabe...07488f3e48
Submodule qtmultimedia updated: f49082a23a...bbc54f57f7
Submodule qtnetworkauth updated: cba5210cdf...770f187248
2
qtopcua
2
qtopcua
Submodule qtopcua updated: 1d1f9f906c...3149168698
Submodule qtpositioning updated: 0294cda48e...f29ffe4998
2
qtqa
2
qtqa
Submodule qtqa updated: fed570b3e7...023e8e1580
Submodule qtquick3d updated: 2f4d06ecb6...f2a50b5682
Submodule qtquick3dphysics updated: f82ce90374...5e94d9d576
Submodule qtquickeffectmaker updated: e32c0f31cf...38263603e6
Submodule qtquicktimeline updated: 17607e4ae3...9fd02040ac
Submodule qtremoteobjects updated: 439fcd3424...8ce89cee1c
Submodule qtrepotools updated: e6f2e02349...5eb547fab9
2
qtscxml
2
qtscxml
Submodule qtscxml updated: 87701be905...ac136821df
Submodule qtsensors updated: 428fdc9ee6...0215108e26
Submodule qtserialbus updated: d06a805709...122e29a034
Submodule qtserialport updated: 2f62b446e6...ee3aec726e
Submodule qtshadertools updated: 65538e5b3e...0d220cf397
2
qtspeech
2
qtspeech
Submodule qtspeech updated: 88726085a7...fac7a6661c
2
qtsvg
2
qtsvg
Submodule qtsvg updated: d9ad34e4d4...63aa538a41
2
qttools
2
qttools
Submodule qttools updated: cf0ca37080...18f9224e7a
Submodule qttranslations updated: 61cb25871a...4a327a0fa8
Submodule qtvirtualkeyboard updated: 259eb34692...3b1b942c42
Submodule qtwayland updated: a5a63a03d7...c30ad58ae3
Submodule qtwebchannel updated: efe2c32ac0...ec6bad4664
Submodule qtwebengine updated: 72b72408df...a7b34c221d
Submodule qtwebsockets updated: a4783e2a15...3453625f82
Submodule qtwebview updated: 2302c7bf73...ef26a23cee
Reference in New Issue
Block a user