app-text/dblatex: fix typo in un-inkscape patch.
authorZoltan Puskas <zoltan@sinustrom.info>
Mon, 19 Feb 2018 07:10:40 +0000 (23:10 -0800)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 21 Feb 2018 18:21:01 +0000 (19:21 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --force
Closes: https://bugs.gentoo.org/647860
Closes: https://github.com/gentoo/gentoo/pull/7225

app-text/dblatex/dblatex-0.3.10-r1.ebuild [moved from app-text/dblatex/dblatex-0.3.10.ebuild with 100% similarity]
app-text/dblatex/files/dblatex-0.3.10-no-inkscape-dependency.patch

index 225c73964a5a719b689f13a67a59a0329b25ce32..c501cee6304202c3bc87f7482ff1937fab7108c7 100644 (file)
@@ -1,14 +1,12 @@
-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 @@
+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  2018-02-16 17:00:42.658484437 +0200
++++ dblatex-0.3.10/lib/dbtexmf/core/imagedata.py       2018-02-16 16:52:56.339441569 +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",
--                          "%(input)s"])
-+        self.add_command(["rsvg-convert", "-f", "%(dst)s", "-o","\"%(output)s\"",
-+                          "\"%(insput)s\""])
++        self.add_command(["rsvg-convert", "-f", "%(dst)s", "-o","%(output)s",
+                           "%(input)s"])
  
  
- class FormatRule: