* Docs build/workers need inkscape? @ 2024-10-12 9:19 Richard Purdie 2024-10-12 9:28 ` Alexandre Belloni 2024-10-14 10:43 ` [docs] " Quentin Schulz 0 siblings, 2 replies; 6+ messages in thread From: Richard Purdie @ 2024-10-12 9:19 UTC (permalink / raw) To: docs, Michael Halstead, antonin.godard, Alexandre Belloni Hi All, We've seeing docs build failures: https://valkyrie.yoctoproject.org//#/builders/34/builds/6 The issue is that inkscape isn't installed on the workers and isn't in the docs buildtools tarball either. I'm reluctant to start requiring installing inkscape on all autobuilder workers as we try and keep the packages installed minimal for the other builds. I'm wondering if we should just pre-generate those png files alongside the svg sources? I can send a patch doing that... Cheers, Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Docs build/workers need inkscape? 2024-10-12 9:19 Docs build/workers need inkscape? Richard Purdie @ 2024-10-12 9:28 ` Alexandre Belloni 2024-10-14 10:43 ` [docs] " Quentin Schulz 1 sibling, 0 replies; 6+ messages in thread From: Alexandre Belloni @ 2024-10-12 9:28 UTC (permalink / raw) To: Richard Purdie; +Cc: docs, Michael Halstead, antonin.godard On 12/10/2024 10:19:11+0100, Richard Purdie wrote: > Hi All, > > We've seeing docs build failures: > > https://valkyrie.yoctoproject.org//#/builders/34/builds/6 > > The issue is that inkscape isn't installed on the workers and isn't in > the docs buildtools tarball either. > > I'm reluctant to start requiring installing inkscape on all autobuilder > workers as we try and keep the packages installed minimal for the other > builds. > > I'm wondering if we should just pre-generate those png files alongside > the svg sources? I can send a patch doing that... Antonin was suggesting using librsvg in an email you didn't receive, I'm going to forward it to you. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] Docs build/workers need inkscape? 2024-10-12 9:19 Docs build/workers need inkscape? Richard Purdie 2024-10-12 9:28 ` Alexandre Belloni @ 2024-10-14 10:43 ` Quentin Schulz 2024-10-14 10:47 ` Richard Purdie 1 sibling, 1 reply; 6+ messages in thread From: Quentin Schulz @ 2024-10-14 10:43 UTC (permalink / raw) To: richard.purdie, docs, Michael Halstead, antonin.godard, Alexandre Belloni Hi Richard, On 10/12/24 11:19 AM, Richard Purdie via lists.yoctoproject.org wrote: > Hi All, > > We've seeing docs build failures: > > https://valkyrie.yoctoproject.org//#/builders/34/builds/6 > > The issue is that inkscape isn't installed on the workers and isn't in > the docs buildtools tarball either. > > I'm reluctant to start requiring installing inkscape on all autobuilder > workers as we try and keep the packages installed minimal for the other > builds. > > I'm wondering if we should just pre-generate those png files alongside > the svg sources? I can send a patch doing that... > This will necessarily mean we'll forget to update one or the other :/ It's bound to happen. librsvg is Rust-based IIRC, so that adds up A LOT of build time to generate the buildtools tarball. For my company's user manual, we use rsvg-convert (which seems to be coming from librsvg :) ). Cheers, Quentin ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] Docs build/workers need inkscape? 2024-10-14 10:43 ` [docs] " Quentin Schulz @ 2024-10-14 10:47 ` Richard Purdie 2024-10-14 13:28 ` Antonin Godard 0 siblings, 1 reply; 6+ messages in thread From: Richard Purdie @ 2024-10-14 10:47 UTC (permalink / raw) To: quentin.schulz, docs, Michael Halstead, antonin.godard, Alexandre Belloni On Mon, 2024-10-14 at 12:43 +0200, Quentin Schulz via lists.yoctoproject.org wrote: > Hi Richard, > > On 10/12/24 11:19 AM, Richard Purdie via lists.yoctoproject.org > wrote: > > Hi All, > > > > We've seeing docs build failures: > > > > https://valkyrie.yoctoproject.org//#/builders/34/builds/6 > > > > The issue is that inkscape isn't installed on the workers and isn't > > in > > the docs buildtools tarball either. > > > > I'm reluctant to start requiring installing inkscape on all > > autobuilder > > workers as we try and keep the packages installed minimal for the > > other > > builds. > > > > I'm wondering if we should just pre-generate those png files > > alongside > > the svg sources? I can send a patch doing that... > > > > This will necessarily mean we'll forget to update one or the other :/ > It's bound to happen. Well, one is clearly derived from the other and listed in the makefile so I'd hope that makes it clear and relatively easy to fix. I know what you mean though. > librsvg is Rust-based IIRC, so that adds up A LOT of build time to > generate the buildtools tarball. I think that ship has sailed... > For my company's user manual, we use rsvg-convert (which seems to be > coming from librsvg :) ). That could be easier for us to build rather than the whole of inkscape. Cheers, Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] Docs build/workers need inkscape? 2024-10-14 10:47 ` Richard Purdie @ 2024-10-14 13:28 ` Antonin Godard 2024-10-14 13:45 ` Alexander Kanavin 0 siblings, 1 reply; 6+ messages in thread From: Antonin Godard @ 2024-10-14 13:28 UTC (permalink / raw) To: Richard Purdie; +Cc: quentin.schulz, docs, Michael Halstead, Alexandre Belloni On 14/10/2024 11:47:17+0000, Richard Purdie wrote: > > librsvg is Rust-based IIRC, so that adds up A LOT of build time to > > generate the buildtools tarball. > > I think that ship has sailed... > > > For my company's user manual, we use rsvg-convert (which seems to be > > coming from librsvg :) ). > > That could be easier for us to build rather than the whole of inkscape. I don't think it's Rust-based, I was using librsvg2-2 which provides rsvg-convert, and has the following dependencies on debian/ubuntu: libc6 (>= 2.34), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.15.12), libgcc-s1 (>= 4.2), libgdk-pixbuf-2.0-0 (>= 2.31.1), libglib2.0-0 (>= 2.50.0), libpango-1.0-0 (>= 1.45.5), libpangocairo-1.0-0 (>= 1.44.0), libxml2 (>= 2.9.0) So yes, using rsvg-convert from this package would probably a lighter option compared to inkscape. It's also what Sphinx uses to convert images using the "sphinx.ext.imgconverter" extension (this would need to be double-checked though I'm not sure) with its LaTeX builder, I believe. Cheers, Antonin -- Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] Docs build/workers need inkscape? 2024-10-14 13:28 ` Antonin Godard @ 2024-10-14 13:45 ` Alexander Kanavin 0 siblings, 0 replies; 6+ messages in thread From: Alexander Kanavin @ 2024-10-14 13:45 UTC (permalink / raw) To: antonin.godard Cc: Richard Purdie, quentin.schulz, docs, Michael Halstead, Alexandre Belloni On Mon, 14 Oct 2024 at 15:28, Antonin Godard via lists.yoctoproject.org <antonin.godard=bootlin.com@lists.yoctoproject.org> wrote: > I don't think it's Rust-based, I was using librsvg2-2 which provides > rsvg-convert, and has the following dependencies on debian/ubuntu: > > libc6 (>= 2.34), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.15.12), > libgcc-s1 (>= 4.2), libgdk-pixbuf-2.0-0 (>= 2.31.1), libglib2.0-0 (>= 2.50.0), > libpango-1.0-0 (>= 1.45.5), libpangocairo-1.0-0 (>= 1.44.0), libxml2 (>= 2.9.0) Rust binaries don't have runtime dependencies on anything rust-based. It's all statically linked in. But for building them rust is very much required: https://packages.debian.org/source/sid/librsvg Alex ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-10-14 13:45 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-12 9:19 Docs build/workers need inkscape? Richard Purdie 2024-10-12 9:28 ` Alexandre Belloni 2024-10-14 10:43 ` [docs] " Quentin Schulz 2024-10-14 10:47 ` Richard Purdie 2024-10-14 13:28 ` Antonin Godard 2024-10-14 13:45 ` Alexander Kanavin
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.