* [PATCH] logo: work around broken inkscape in Debian Trixie
@ 2025-08-25 15:11 Sascha Hauer
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2025-08-25 15:56 UTC | newest]
Thread overview: (only message) (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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox