From patchwork Wed Dec 3 11:32:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 75790 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 884E7D12D47 for ; Wed, 3 Dec 2025 11:32:46 +0000 (UTC) Received: from smtp-42ae.mail.infomaniak.ch (smtp-42ae.mail.infomaniak.ch [84.16.66.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.13023.1764761562175665646 for ; Wed, 03 Dec 2025 03:32:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 84.16.66.174, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4dLwVJ4DQ8zQXd; Wed, 3 Dec 2025 12:32:40 +0100 (CET) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4dLwVH74JszLdr; Wed, 3 Dec 2025 12:32:39 +0100 (CET) From: Quentin Schulz Date: Wed, 03 Dec 2025 12:32:31 +0100 Subject: [PATCH v3 1/2] python3-sphinxcontrib-svg2pdfconverter: add new recipe MIME-Version: 1.0 Message-Id: <20251203-svg2pdf-v3-1-879d05cb101b@cherry.de> References: <20251203-svg2pdf-v3-0-879d05cb101b@cherry.de> In-Reply-To: <20251203-svg2pdf-v3-0-879d05cb101b@cherry.de> To: openembedded-core@lists.openembedded.org Cc: Antonin Godard , Quentin Schulz X-Mailer: b4 0.14.3 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 03 Dec 2025 11:32:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227218 From: Quentin Schulz This will be a dependency for building the Yocto docs soon, so let's add a recipe for it. This does SVG to PDF (or PNG) conversion for images used in Sphinx projects. It exposes three different Sphinx extensions, each using a different tool for the conversion: - cairosvg, a Python module with no available recipe, - inkscape, only available in seemingly unmaintained 3rd party layer, - rsvg-convert, So we'll only support the last extension for now. Signed-off-by: Quentin Schulz --- meta/conf/distro/include/maintainers.inc | 1 + .../python3-sphinxcontrib-svg2pdfconverter_2.0.0.bb | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 9f4e5e2df8..f819a21cce 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -733,6 +733,7 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-jquery = "Tim Orling X-Patchwork-Id: 75791 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 609EED12D47 for ; Wed, 3 Dec 2025 11:32:56 +0000 (UTC) Received: from smtp-bc0e.mail.infomaniak.ch (smtp-bc0e.mail.infomaniak.ch [45.157.188.14]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.13079.1764761563054798958 for ; Wed, 03 Dec 2025 03:32:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 45.157.188.14, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4dLwVK2DZ5zfVm; Wed, 3 Dec 2025 12:32:41 +0100 (CET) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4dLwVJ5rMLzKxt; Wed, 3 Dec 2025 12:32:40 +0100 (CET) From: Quentin Schulz Date: Wed, 03 Dec 2025 12:32:32 +0100 Subject: [PATCH v3 2/2] buildtools-docs-tarball: add python3-sphinxcontrib-svg2pdfconverter to the SDK MIME-Version: 1.0 Message-Id: <20251203-svg2pdf-v3-2-879d05cb101b@cherry.de> References: <20251203-svg2pdf-v3-0-879d05cb101b@cherry.de> In-Reply-To: <20251203-svg2pdf-v3-0-879d05cb101b@cherry.de> To: openembedded-core@lists.openembedded.org Cc: Antonin Godard , Quentin Schulz X-Mailer: b4 0.14.3 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 03 Dec 2025 11:32:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/227219 From: Quentin Schulz This will soon be required for building the Yocto docs so let's add it to the SDK toolchain. Signed-off-by: Quentin Schulz --- meta/recipes-core/meta/buildtools-docs-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-docs-tarball.bb b/meta/recipes-core/meta/buildtools-docs-tarball.bb index 98d47f7b71..3fc28fad93 100644 --- a/meta/recipes-core/meta/buildtools-docs-tarball.bb +++ b/meta/recipes-core/meta/buildtools-docs-tarball.bb @@ -10,6 +10,7 @@ TOOLCHAIN_HOST_TASK += "\ nativesdk-python3-sphinx-argparse \ nativesdk-python3-sphinx-copybutton \ nativesdk-python3-sphinx-rtd-theme \ + nativesdk-python3-sphinxcontrib-svg2pdfconverter \ nativesdk-python3-pyyaml \ nativesdk-rsvg \ "