diff options
Diffstat (limited to 'app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch')
-rw-r--r-- | app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch b/app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch new file mode 100644 index 000000000000..225c73964a5a --- /dev/null +++ b/app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch @@ -0,0 +1,14 @@ +diff -Naur dblatex-0.3.10-orig/lib/dbtexmf/core/imagedata.py dblatex-0.3.10/lib/dbtexmf/core/imagedata.py +--- dblatex-0.3.10-orig/lib/dbtexmf/core/imagedata.py 2016-10-02 14:21:16.000000000 -0700 ++++ dblatex-0.3.10/lib/dbtexmf/core/imagedata.py 2017-06-25 18:26:00.302168655 -0700 +@@ -178,8 +178,8 @@ + 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", +- "%(input)s"]) ++ self.add_command(["rsvg-convert", "-f", "%(dst)s", "-o","\"%(output)s\"", ++ "\"%(insput)s\""]) + + + class FormatRule: |