mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] logo: work around broken inkscape in Debian Trixie
Date: Mon, 25 Aug 2025 17:11:42 +0200	[thread overview]
Message-ID: <20250825151143.3629734-1-s.hauer@pengutronix.de> (raw)

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




                 reply	other threads:[~2025-08-25 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250825151143.3629734-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox