ma pkgs: init inkscape
This commit is contained in:
parent
a795766f3a
commit
d94f85a18c
13
makefu/5pkgs/custom/inkscape/dxf_fix.patch
Normal file
13
makefu/5pkgs/custom/inkscape/dxf_fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- ./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)
|
||||||
|
if not scale:
|
||||||
|
scale = 25.4/96 # if no scale is specified, assume inch as baseunit
|
||||||
|
- h = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])
|
||||||
|
+ h = self.unittouu(self.getDocumentHeight())
|
||||||
|
self.groupmat = [[[scale, 0.0, 0.0], [0.0, -scale, h*scale]]]
|
||||||
|
doc = self.document.getroot()
|
||||||
|
self.process_group(doc)
|
||||||
|
|
||||||
|
|
@ -26,6 +26,9 @@ in {
|
|||||||
qcma = super.pkgs.libsForQt5.callPackage ./custom/qcma { };
|
qcma = super.pkgs.libsForQt5.callPackage ./custom/qcma { };
|
||||||
inherit (callPackage ./devpi {}) devpi-web devpi-server devpi-client;
|
inherit (callPackage ./devpi {}) devpi-web devpi-server devpi-client;
|
||||||
nodemcu-uploader = super.pkgs.callPackage ./nodemcu-uploader {};
|
nodemcu-uploader = super.pkgs.callPackage ./nodemcu-uploader {};
|
||||||
|
inkscape = super.pkgs.stdenv.lib.overrideDerivation super.inkscape (old: {
|
||||||
|
patches = [ ./custom/inkscape/dxf_fix.patch ];
|
||||||
|
});
|
||||||
pwqgen-ger = callPackage <stockholm/krebs/5pkgs/simple/passwdqc-utils> {
|
pwqgen-ger = callPackage <stockholm/krebs/5pkgs/simple/passwdqc-utils> {
|
||||||
wordset-file = super.pkgs.fetchurl {
|
wordset-file = super.pkgs.fetchurl {
|
||||||
url = https://gist.githubusercontent.com/makefu/b56f5554c9ef03fe6e09878962e6fd8d/raw/1f147efec51325bc9f80c823bad8381d5b7252f6/wordset_4k.c ;
|
url = https://gist.githubusercontent.com/makefu/b56f5554c9ef03fe6e09878962e6fd8d/raw/1f147efec51325bc9f80c823bad8381d5b7252f6/wordset_4k.c ;
|
||||||
|
Loading…
Reference in New Issue
Block a user