From 76f18b982f1926ba87875e4a644b54a829cde1ab Mon Sep 17 00:00:00 2001 From: Zoltan Puskas Date: Sun, 18 Feb 2018 23:10:40 -0800 Subject: [PATCH] app-text/dblatex: fix typo in un-inkscape patch. 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 --- ...atex-0.3.10.ebuild => dblatex-0.3.10-r1.ebuild} | 0 .../dblatex-0.3.10-no-inkscape-dependency.patch | 14 ++++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) rename app-text/dblatex/{dblatex-0.3.10.ebuild => dblatex-0.3.10-r1.ebuild} (100%) diff --git a/app-text/dblatex/dblatex-0.3.10.ebuild b/app-text/dblatex/dblatex-0.3.10-r1.ebuild similarity index 100% rename from app-text/dblatex/dblatex-0.3.10.ebuild rename to app-text/dblatex/dblatex-0.3.10-r1.ebuild 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 index 225c73964a5a7..c501cee630420 100644 --- 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 @@ -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: