diff --git a/client-appimage-qt6/Dockerfile-stable-33.0.el8 b/client-appimage-qt6/Dockerfile-stable-33.0.el8 new file mode 100644 index 00000000..bccd6302 --- /dev/null +++ b/client-appimage-qt6/Dockerfile-stable-33.0.el8 @@ -0,0 +1,144 @@ +FROM almalinux/8-base + +MAINTAINER Desktop Team + +# Run 'docker build' with '--build-arg BUILD_QT=1' to build Qt from source (default: not set) +ARG BUILD_QT + +RUN dnf update -y && \ + dnf install -y epel-release && \ + dnf config-manager --set-enabled powertools && \ + dnf update -y && \ + dnf install -y \ + '@Development Tools' \ + alsa-lib-devel \ + at-spi2-core-devel \ + clang \ + clang-devel \ + cmake \ + cups-devel \ + curl \ + dbus-devel \ + dbus-x11 \ + desktop-file-utils \ + expat-devel \ + fontconfig-devel \ + freetype-devel \ + gcc-toolset-14 \ + gcc-toolset-14-libatomic-devel \ + git \ + glib2-devel \ + glx-utils \ + gperf \ + gstreamer1-devel \ + gstreamer1-plugins-bad-free-devel \ + gstreamer1-plugins-base-devel \ + gtk3-devel \ + harfbuzz-devel \ + inkscape \ + jsoncpp-devel \ + lcms2-devel \ + libICE-devel \ + libSM-devel \ + libX11-devel \ + libXScrnSaver-devel \ + libXcomposite-devel \ + libXcursor-devel \ + libXdamage-devel \ + libXext-devel \ + libXfixes-devel \ + libXi-devel \ + libXinerama-devel \ + libXrandr-devel \ + libXrender-devel \ + libXtst-devel \ + libXv-devel \ + libcap-devel \ + libcmocka-devel \ + libdrm-devel \ + libevent-devel \ + libglvnd-devel \ + libinput-devel \ + libjpeg-turbo-devel \ + libmng-devel \ + libpng-devel \ + libpq-devel \ + libproxy-devel \ + libsecret-devel \ + libselinux-devel \ + libmount-devel \ + file \ + glib2-devel \ + wget \ + inkscape \ + libstdc++-static \ + libtiff-devel \ + libwebp-devel \ + libxcb-devel \ + libxkbcommon-devel \ + libxkbcommon-x11-devel \ + libxkbfile-devel \ + libxshmfence-devel \ + llvm-devel \ + mariadb-connector-c-devel \ + mesa-dri-drivers \ + mesa-libEGL-devel \ + mesa-libGL-devel \ + mesa-libgbm-devel \ + ninja-build \ + nss-devel \ + openal-soft-devel \ + opus-devel \ + pciutils-devel \ + perl \ + poppler-cpp-devel \ + pulseaudio-libs-devel \ + python3-sphinx \ + python3.12 \ + python3.12-pip \ + qt5-rpm-macros \ + re2-devel \ + systemd-devel \ + tar \ + time \ + unixODBC-devel \ + unzip \ + wayland-devel \ + wget \ + xcb-util-cursor-devel \ + xcb-util-devel \ + xcb-util-image-devel \ + xcb-util-keysyms-devel \ + xcb-util-renderutil-devel \ + xcb-util-wm-devel \ + xkeyboard-config-devel \ + xorg-x11-server-Xvfb \ + xorg-x11-xkb-utils-devel \ + xz \ + xz-devel \ + libcanberra-devel \ + zlib-devel && \ + alternatives --set python /usr/bin/python3.12 && \ + alternatives --set python3 /usr/bin/python3.12 + +########################################################################### + +# Install craftmaster +RUN \ + cd /root && \ + git clone https://invent.kde.org/packaging/craftmaster.git \ + ; + +ADD craftmaster-stable-33.0.ini /root/craftmaster.ini + +ENV CRAFT_IMAGE "linux-gcc-x86_64-qt6.10.2-20260219.tar.gz" + +ENV PATH "$PATH:/root/linux-gcc-x86_64/dev-utils/bin" + +# Install binary dependencies +RUN \ + scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|stable-33.0|" && \ + scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-nextcloud.git|stable-33.0|" && \ + scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c craft && \ + scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --install-deps nextcloud-client \ + ; diff --git a/client-appimage-qt6/craftmaster-stable-33.0.ini b/client-appimage-qt6/craftmaster-stable-33.0.ini new file mode 100644 index 00000000..d6d60e9c --- /dev/null +++ b/client-appimage-qt6/craftmaster-stable-33.0.ini @@ -0,0 +1,72 @@ +# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: GPL-2.0-or-later +[General] +Branch = stable-33.0-qt-6.10.2 +CraftUrl = https://github.com/nextcloud/craft.git +CraftRevision = 87e4bd4fb7e6b56f7d95df9437e6f4545c7e78f8 +ShallowClone = False + +# Variables defined here override the default value +# The variable names are casesensitive +[Variables] +#Values need to be overwritten to create a cache +UseCache = True +CreateCache = False + +# Settings applicable for all Crafts matrices +# Settings are Category/key=value +# Category is case sensitive +[GeneralSettings] + +General/MacDeploymentTarget = 13.0 + +Compile/BuildType = RelWithDebInfo + +Compile/UseNinja = True + +ShortPath/Enabled = False +ShortPath/EnableJunctions = False + +Packager/RepositoryUrl = https://download.nextcloud.com/desktop/development/craftCache/ +Packager/CacheVersion = stable-33.0-qt-6.10.2 +ContinuousIntegration/Enabled = True + +Packager/UseCache = ${Variables:UseCache} +Packager/CreateCache = ${Variables:CreateCache} +Packager/CacheDir = ${Variables:Root}\cache + +[BlueprintSettings] +nextcloud-client.buildTests = True +binary/mysql.useMariaDB = False +libs/qt6.version = 6.10.2 +craft/craft-blueprints-kde.revision = stable-33.0 +craft/craft-blueprints-nextcloud.revision = stable-33.0 +libs/zlib.version = 1.3.1 +libs/openssl.version = 3.5.7 + +[windows-msvc2022_64-cl] +Packager/PackageType = NullsoftInstallerPackager +QtSDK/Compiler = msvc2022_64 +General/ABI = windows-msvc2022_64-cl +Paths/Python = C:\Python312-x64 + +[macos-64-clang] +General/ABI = macos-64-clang + +[macos-clang-arm64] +General/ABI = macos-clang-arm64 +Paths/Python = /Users/runner/hostedtoolcache/Python/3.12.3/arm64 + +[linux-gcc-x86_64] +General/ABI = linux-gcc-x86_64 +Paths/Python = /usr/bin/python3 +Packager/RepositoryUrl = https://files.kde.org/craft/Qt6/ +Packager/CacheVersion = 26.02 + +[Env] +CRAFT_CODESIGN_CERTIFICATE = +SIGN_PACKAGE = False + +[Custom_Variables_for_Brander] +qtPath = /root/linux-gcc-x86_64 +dockerImage = ghcr.io/nextcloud/continuous-integration-client-appimage-qt6:client-appimage-el8-6.10.2-2