all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 634c99481afe38135189dd997899a7106f3dafba 1569 bytes (raw)
name: gnu/packages/patches/dblatex-inkscape-1.0.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
# Imported from <https://sourceforge.net/p/dblatex/dblatex/merge-requests/4/>

# HG changeset patch
# User Jan Tojnar <jtojnar@gmail.com>
# Date 1588714251 -7200
#      Tue May 05 23:30:51 2020 +0200
# Branch inkscape1
# Node ID 611cc4a4a878d57f5877f2d418864560f68d25cf
# Parent  3ddf5d6cedcbc9c8b98c4da77fd545b2478d90a3
Port to Inkscape 1.0

Inkscape revamped the CLI flags:

https://gitlab.com/inkscape/inbox/issues/2416

diff -r 3ddf5d6cedcb -r 611cc4a4a878 docs/custom/dblatex.xconf
--- a/docs/custom/dblatex.xconf	Tue Sep 10 00:40:26 2019 +0200
+++ b/docs/custom/dblatex.xconf	Tue May 05 23:30:51 2020 +0200
@@ -18,7 +18,7 @@
   <imagedata>
     <converter src="svg" dst="*" docformat="pdf">
       <command>
-        inkscape -z -D --export-dpi=600 --export-%(dst)s=%(output)s %(input)s
+        inkscape -D --export-dpi=600 --export-type=%(dst)s --export-filename=%(output)s %(input)s
       </command>
     </converter>
   </imagedata>
diff -r 3ddf5d6cedcb -r 611cc4a4a878 lib/dbtexmf/core/imagedata.py
--- a/lib/dbtexmf/core/imagedata.py	Tue Sep 10 00:40:26 2019 +0200
+++ b/lib/dbtexmf/core/imagedata.py	Tue May 05 23:30:51 2020 +0200
@@ -178,7 +178,7 @@
 class SvgConverter(ImageConverter):
     def __init__(self, imgsrc, imgdst="", docformat="", backend=""):
         ImageConverter.__init__(self, imgsrc="svg", imgdst=imgdst)
-        self.add_command(["inkscape", "-z", "-D", "--export-%(dst)s=%(output)s",
+        self.add_command(["inkscape", "-D", "--export-type=%(dst)s", "--export-filename=%(output)s",
                           "%(input)s"])
 
 

debug log:

solving 634c99481a ...
found 634c99481a in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.