* [PATCH] logo: work around broken inkscape in Debian Trixie
@ 2025-08-25 15:11 Sascha Hauer
2025-08-26 5:08 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-08-25 15:11 UTC (permalink / raw)
To: Barebox List
This works around a broken inkscape in Debian Trixie. With
Inkscape 1.4 (e7c3feb100, 2024-10-09). When executing multiple inkscape
instances in parallel it often fails with:
terminate called after throwing an instance of 'Gio::DBus::Error'
This is described in [1] and this patch utilizes a workaround from this
thread.
[1] https://gitlab.com/inkscape/inkscape/-/issues/4716
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
lib/logo/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/logo/Makefile b/lib/logo/Makefile
index 9c14105e88..9792a4699f 100644
--- a/lib/logo/Makefile
+++ b/lib/logo/Makefile
@@ -68,8 +68,11 @@ quiet_cmd_bmp = BMP $@
%.bmp: $(srctree)/Documentation/barebox.svg FORCE
$(call if_changed,bmp)
+# export SELF_CALL=xxx works around issue in [1]. This is seen on Debian Trixie
+# with Inkscape 1.4 (e7c3feb100, 2024-10-09)
+# [1] https://gitlab.com/inkscape/inkscape/-/issues/4716
quiet_cmd_png = PNG $@
- cmd_png = convert $(OPTS_$(@F:.png=)) $(CONVERTOPTS) $< png:$@
+ cmd_png = export SELF_CALL=xxx ; convert $(OPTS_$(@F:.png=)) $(CONVERTOPTS) $< png:$@
%.png: $(srctree)/Documentation/barebox.svg FORCE
$(call if_changed,png)
--
2.47.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] logo: work around broken inkscape in Debian Trixie
2025-08-25 15:11 [PATCH] logo: work around broken inkscape in Debian Trixie Sascha Hauer
@ 2025-08-26 5:08 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-08-26 5:08 UTC (permalink / raw)
To: Barebox List, Sascha Hauer
On Mon, 25 Aug 2025 17:11:42 +0200, Sascha Hauer wrote:
> This works around a broken inkscape in Debian Trixie. With
> Inkscape 1.4 (e7c3feb100, 2024-10-09). When executing multiple inkscape
> instances in parallel it often fails with:
>
> terminate called after throwing an instance of 'Gio::DBus::Error'
>
> This is described in [1] and this patch utilizes a workaround from this
> thread.
>
> [...]
Applied, thanks!
[1/1] logo: work around broken inkscape in Debian Trixie
https://git.pengutronix.de/cgit/barebox/commit/?id=7b684858a83a (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-26 5:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-25 15:11 [PATCH] logo: work around broken inkscape in Debian Trixie Sascha Hauer
2025-08-26 5:08 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox