Commit 93bda4ab authored by root's avatar root

Update a patch after an upstream modification

parent 7cfef384
Change the paths of the configuration to be Debian compliant
--- a/src/inkscape-plugin/xia.py
+++ b/src/inkscape-plugin/xia.py
@@ -40,24 +40,20 @@
Index: src/src/inkscape-plugin/xia.py
===================================================================
--- src.orig/src/inkscape-plugin/xia.py
+++ src/src/inkscape-plugin/xia.py
@@ -40,24 +40,20 @@ class ImageActive(inkex.Effect):
# inkscape 0.47 extensions working dir is inkscape/
# inkscape 0.48 extensions working dir is inkscape/share/extensions
- inkexWorkingDir = "."
- if not os.getcwd().endswith("extensions"):
- inkexWorkingDir = "share/extensions"
......@@ -19,11 +21,11 @@ Change the paths of the configuration to be Debian compliant
- imagesPath = inkexWorkingDir + "/" + config.get('paths', 'imagesPath')
- langPath = inkexWorkingDir + "/" + config.get('paths', 'langPath')
- fontsPath = inkexWorkingDir + "/" + config.get('paths', 'fontsPath')
- themesPath = inkexWorkingDir + "/" + config.get('paths', 'themesPath')
- themesPath = inkexWorkingDir + "/" + config.get('paths', 'themesPath')
- labjsLib = inkexWorkingDir + "/" + config.get('paths', 'labjsLib')
- jqueryLib = inkexWorkingDir + "/" + config.get('paths', 'jqueryLib')
- kineticLib = inkexWorkingDir + "/" + config.get('paths', 'kineticLib')
- sha1Lib = inkexWorkingDir + "/" + config.get('paths', 'sha1Lib')
- sha1Lib = inkexWorkingDir + "/" + config.get('paths', 'sha1Lib')
+ imagesPath = config.get('paths', 'imagesPath')
+ langPath = config.get('paths', 'langPath')
+ fontsPath = config.get('paths', 'fontsPath')
......@@ -32,6 +34,6 @@ Change the paths of the configuration to be Debian compliant
+ jqueryLib = config.get('paths', 'jqueryLib')
+ kineticLib = config.get('paths', 'kineticLib')
+ sha1Lib = config.get('paths', 'sha1Lib')
try:
filePath = tempfile.mkdtemp() + "/" + "temp.svg"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment