[{"id":38496,"web_url":"https://patchwork.libcamera.org/comment/38496/","msgid":"<20260405195112.GC3642621@killaraus.ideasonboard.com>","date":"2026-04-05T19:51:12","subject":"Re: [libcamera-ci] [PATCH 3/4] Install documentation and lint\n\tpackages in Debian 13 container only","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Sun, Apr 05, 2026 at 10:22:07PM +0300, Laurent Pinchart wrote:\n> The documentation and lint packages are only needed by jobs running in\n> the Debian 13 container. Install them there only to save space in other\n> containers.\n\nThis reduces the Debian 12 container size by more than 200MB, see\nhttps://gitlab.freedesktop.org/pinchartl/libcamera/container_registry/47438\n\nDebian 11 shows similar space savings.\n\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> ---\n>  .gitlab-ci/setup-container.sh | 28 ++++++++++++----------------\n>  gitlab-ci.yml                 |  6 +++---\n>  2 files changed, 15 insertions(+), 19 deletions(-)\n> \n> diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh\n> index 35062719b5c4..103cc61169c3 100755\n> --- a/.gitlab-ci/setup-container.sh\n> +++ b/.gitlab-ci/setup-container.sh\n> @@ -35,28 +35,19 @@ PKGS_LIBCAMERA_CBUILD=(\n>  \n>  PKGS_LIBCAMERA_RUNTIME=(\n>  \tclang\n> -\tclang-format\n>  \tcmake\n> -\tdoxygen\n>  \tg++\n> -\tghostscript\n> -\tgraphviz\n>  \tmeson\n>  \tninja-build\n>  \topenssl\n>  \tpkg-config\n>  \tpybind11-dev\n> -\tpython3-autopep8\n>  \tpython3-dev\n>  \tpython3-jinja2\n>  \tpython3-pyparsing\n>  \tpython3-ply\n> -\tpython3-sphinx\n> -\tpython3-sphinxcontrib.doxylink\n>  \tpython3-yaml\n>  \tqt6-tools-dev-tools\n> -\tshellcheck\n> -\ttexlive-latex-extra\n>  )\n>  \n>  PKGS_LIBCAMERA_RUNTIME_MULTIARCH=(\n> @@ -110,9 +101,6 @@ PKGS_VIRTME_RUNTIME=(\n>  \n>  PKGS_PIP_MIN_VERSIONS=(\n>  \t'meson meson 1.2.0 remove'\n> -\t'python3-pygments pygments 2.10.0 keep'\n> -\t'python3-sphinx-book-theme sphinx-book-theme 0.1.7 remove'\n> -\t'python3-sphinxcontrib.doxylink sphinxcontrib-doxylink 1.6.1 remove'\n>  )\n>  \n>  archs=( amd64 )\n> @@ -126,8 +114,6 @@ case $FDO_DISTRIBUTION_VERSION in\n>  \tPKGS_LIBCAMERA_RUNTIME+=( g++-9 )\n>  \t;;\n>  'bookworm')\n> -\t# Sphinx theme for the documentation.\n> -\tPKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme )\n>  \t# libclang-rt-dev for the clang ASan runtime.\n>  \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev )\n>  \t# For the Android camera HAL and the virtual pipeline handler.\n> @@ -136,8 +122,18 @@ case $FDO_DISTRIBUTION_VERSION in\n>  'trixie')\n>  \t# gcc 13 to expand compilation testing coverage.\n>  \tPKGS_LIBCAMERA_RUNTIME+=( g++-13 )\n> -\t# Sphinx theme for the documentation.\n> -\tPKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme )\n> +\t# Packages required to builf the documentation.\n> +\tPKGS_LIBCAMERA_RUNTIME+=(\n> +\t\tdoxygen\n> +\t\tghostscript\n> +\t\tgraphviz\n> +\t\tpython3-sphinx\n> +\t\tpython3-sphinx-book-theme\n> +\t\tpython3-sphinxcontrib.doxylink\n> +\t\ttexlive-latex-extra\n> +\t)\n> +\t# Tools requires by the lint jobs.\n> +\tPKGS_LIBCAMERA_RUNTIME+=( clang-format python3-autopep8 shellcheck )\n>  \t# libclang-rt-dev for the clang ASan runtime.\n>  \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-19-dev )\n>  \t# For the Android camera HAL and the virtual pipeline handler.\n> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> index 08fc841e4c48..6679cf853c7a 100644\n> --- a/gitlab-ci.yml\n> +++ b/gitlab-ci.yml\n> @@ -64,17 +64,17 @@ include:\n>  .libcamera-ci.debian:11:\n>    variables:\n>      FDO_DISTRIBUTION_VERSION: 'bullseye'\n> -    FDO_DISTRIBUTION_TAG: '2025-09-12.2'\n> +    FDO_DISTRIBUTION_TAG: '2026-04-05.0'\n>  \n>  .libcamera-ci.debian:12:\n>    variables:\n>      FDO_DISTRIBUTION_VERSION: 'bookworm'\n> -    FDO_DISTRIBUTION_TAG: '2026-01-23.0'\n> +    FDO_DISTRIBUTION_TAG: '2026-04-05.0'\n>  \n>  .libcamera-ci.debian:13:\n>    variables:\n>      FDO_DISTRIBUTION_VERSION: 'trixie'\n> -    FDO_DISTRIBUTION_TAG: '2026-01-23.1'\n> +    FDO_DISTRIBUTION_TAG: '2026-04-05.0'\n>  \n>  .container-debian:\n>    extends:","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id D6144BDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  5 Apr 2026 19:51:15 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0F4A462D6A;\n\tSun,  5 Apr 2026 21:51:15 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9154D62D6A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:51:13 +0200 (CEST)","from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 452836AF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:49:47 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"sCfzPg82\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775418587;\n\tbh=5n/Qli5+GOVlM0p8e2n0z1sr1ayOeZPR684GmI/FaAM=;\n\th=Date:From:To:Subject:References:In-Reply-To:From;\n\tb=sCfzPg82LgF8LNS39SMh1bHiGPbCIId5npV5+zl6MqkCwfJrn+Zmu/H4DX/xwmEc8\n\t85gohlqsUB34q6d+GHwXvoyZ/VwQtNVCSa1UgPyiFAIiSO2I02t/Eajy+wHezn58UD\n\tWjHLv903qgmOsRfdiCJwJPHwnNd2957rfQtKYMmg=","Date":"Sun, 5 Apr 2026 22:51:12 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"Re: [libcamera-ci] [PATCH 3/4] Install documentation and lint\n\tpackages in Debian 13 container only","Message-ID":"<20260405195112.GC3642621@killaraus.ideasonboard.com>","References":"<20260405192211.1210985-1-laurent.pinchart@ideasonboard.com>\n\t<20260405192211.1210985-4-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20260405192211.1210985-4-laurent.pinchart@ideasonboard.com>","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]