2019-11-26 20:09:08 +00:00
|
|
|
From 8975b48cc498bfc0fa48cb7f51d78fd01309bcfa Mon Sep 17 00:00:00 2001
|
2019-11-26 19:25:32 +00:00
|
|
|
From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= <jpokorny@redhat.com>
|
|
|
|
Date: Tue, 26 Nov 2019 20:07:36 +0100
|
|
|
|
Subject: [PATCH] Build: fix unability to build with Inkscape 1.0 beta
|
|
|
|
version(s)
|
|
|
|
|
|
|
|
...and possibly beyond.
|
|
|
|
|
|
|
|
References:
|
|
|
|
https://gitlab.com/inkscape/inbox/issues/1244
|
|
|
|
---
|
2019-11-26 20:09:08 +00:00
|
|
|
doc/Makefile.am | 11 ++++++++---
|
|
|
|
1 file changed, 8 insertions(+), 3 deletions(-)
|
2019-11-26 19:25:32 +00:00
|
|
|
|
|
|
|
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
2019-11-26 20:09:08 +00:00
|
|
|
index 257f5cdf5..a51c5d6f4 100644
|
2019-11-26 19:25:32 +00:00
|
|
|
--- a/doc/Makefile.am
|
|
|
|
+++ b/doc/Makefile.am
|
2019-11-26 20:09:08 +00:00
|
|
|
@@ -84,14 +84,19 @@ PNGS = $(PNGS_ORIGINAL) $(PNGS_GENERATED)
|
|
|
|
|
2019-11-26 19:25:32 +00:00
|
|
|
graphics: $(PNGS)
|
|
|
|
|
2019-11-26 20:09:08 +00:00
|
|
|
+
|
|
|
|
+# two-phased attempts for Inkscape pre-1.0 and 1.0+ (upcoming) discrepancy
|
2019-11-26 19:25:32 +00:00
|
|
|
%.png: %.svg
|
|
|
|
- $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=90 -C --export-png=$@ $(PCMK_quiet)
|
2019-11-26 20:09:08 +00:00
|
|
|
+ $(AM_V_GEN) { $(INKSCAPE) --export-dpi=90 -C --export-png=$@ $< \
|
|
|
|
+ || $(INKSCAPE) --export-dpi=90 -C --export-file=$@ $<; } $(PCMK_quiet)
|
2019-11-26 19:25:32 +00:00
|
|
|
|
|
|
|
%-small.png: %.svg
|
|
|
|
- $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=45 -C --export-png=$@ $(PCMK_quiet)
|
2019-11-26 20:09:08 +00:00
|
|
|
+ $(AM_V_GEN) { $(INKSCAPE) --export-dpi=45 -C --export-png=$@ $< \
|
|
|
|
+ || $(INKSCAPE) --export-dpi=45 -C --export-file=$@ $<; } $(PCMK_quiet)
|
2019-11-26 19:25:32 +00:00
|
|
|
|
|
|
|
%-large.png: %.svg
|
|
|
|
- $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=180 -C --export-png=$@ $(PCMK_quiet)
|
2019-11-26 20:09:08 +00:00
|
|
|
+ $(AM_V_GEN) { $(INKSCAPE) --export-dpi=180 -C --export-png=$@ $< \
|
|
|
|
+ || $(INKSCAPE) --export-dpi=180 -C --export-png=$@ $<; } $(PCMK_quiet)
|
2019-11-26 19:25:32 +00:00
|
|
|
|
|
|
|
if IS_ASCIIDOC
|
|
|
|
ASCIIDOC_HTML_ARGS = --unsafe --backend=xhtml11
|
|
|
|
--
|
|
|
|
2.24.0
|
|
|
|
|