From a2d926fdd118504fa3536e837d7bef92684e0b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Wed, 28 Jun 2023 12:40:43 +0300 Subject: [PATCH] Provisioning: Copy backported .deb files for sbuild These are required to successfully build debian packages for Ubuntu Focal. Change-Id: I708f3716ba8d1251bfae22da325e8e27f0fb80fe Reviewed-by: Toni Saario (cherry picked from commit 5b30b2f4321ba84c4b34a1198a6d194af164881e) Reviewed-by: Jukka Jokiniva --- .../93-download-files-for-sbuild.sh | 31 +++++++++++++++++++ .../93-sbuild-cmake.sh | 22 ------------- 2 files changed, 31 insertions(+), 22 deletions(-) create mode 100755 coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh delete mode 100755 coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh new file mode 100755 index 00000000..adf664ac --- /dev/null +++ b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-download-files-for-sbuild.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +# 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 || exit +# 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/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 + + + + + + diff --git a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh b/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh deleted file mode 100755 index fd84f696..00000000 --- a/coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash -# Copyright (C) 2021 The Qt Company Ltd. -# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only - -# 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 - -mkdir -p /home/qt/debian_packages -cd /home/qt/debian_packages -wget https://ci-files01-hki.ci.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 - - - - - -