summaryrefslogtreecommitdiffstats
path: root/5pkgs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-10-08 17:36:33 +0200
committermakefu <github@syntax-fehler.de>2017-10-08 17:36:33 +0200
commit37000ba769f45ccc665bbec8d4a519bd8f67b2a1 (patch)
treea523b308c9fa7ad75fbf0fd2d8b1d343fad7e1ee /5pkgs
parent30dbcd944a1d860c1f9a23038f7cc852300880ad (diff)
ma pkgs.inkscape: update patch
Diffstat (limited to '5pkgs')
-rw-r--r--5pkgs/custom/inkscape/dxf_fix.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/5pkgs/custom/inkscape/dxf_fix.patch b/5pkgs/custom/inkscape/dxf_fix.patch
index 5ea0a073e..b7b491d4e 100644
--- a/5pkgs/custom/inkscape/dxf_fix.patch
+++ b/5pkgs/custom/inkscape/dxf_fix.patch
@@ -1,13 +1,12 @@
---- ./share/extensions/dxf_outlines.py 2017-02-14 00:46:57.000000000 +0100
-+++ ./share/extensions/dxf_outlines.py.new 2017-05-10 04:15:03.000000000 +0200
-@@ -340,7 +340,7 @@
- scale = eval(self.options.units)
+--- ./share/extensions/dxf_outlines.py 2017-10-08 17:28:45.553368917 +0200
++++ ./share/extensions/dxf_outlines.py.new 2017-10-08 17:29:20.172554152 +0200
+@@ -341,7 +341,7 @@
if not scale:
scale = 25.4/96 # if no scale is specified, assume inch as baseunit
+ scale /= self.unittouu('1px')
- h = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])
-+ h = self.unittouu(self.getDocumentHeight())
++ h = self.unittouu(self.documentHeight())
self.groupmat = [[[scale, 0.0, 0.0], [0.0, -scale, h*scale]]]
doc = self.document.getroot()
self.process_group(doc)
-
[cgit] Unable to lock slot /tmp/cgit/81000000.lock: No such file or directory (2)