File: Fix-path-for-inkscape-plugin.patch

package info (click to toggle)
inkcut 2.1.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,584 kB
  • sloc: python: 4,959; makefile: 20; sh: 10
file content (55 lines) | stat: -rw-r--r-- 2,288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Subject: Fix path for inkscape plugin
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed

We have to add the inkcut subdirectory to the extension config, because we want
to the inkscape plugin into /usr/share/inkscape/extensions/inkcut/.

Index: inkcut/plugins/inkscape/inkcut_cut.inx
===================================================================
--- inkcut.orig/plugins/inkscape/inkcut_cut.inx
+++ inkcut/plugins/inkscape/inkcut_cut.inx
@@ -1,8 +1,8 @@
 <inkscape-extension>
   <_name>Cut selection...</_name>
   <id>org.ekips.filter.inkcut.cut</id>
-  <dependency type="executable" location="extensions">inkcut_cut.py</dependency>
-  <dependency type="executable" location="extensions">inkcut4inkscape.py</dependency>
+  <dependency type="executable" location="extensions">inkcut/inkcut_cut.py</dependency>
+  <dependency type="executable" location="extensions">inkcut/inkcut4inkscape.py</dependency>
   <effect>
     <object-type>all</object-type>
     <effects-menu>
@@ -10,7 +10,7 @@
     </effects-menu>
   </effect>
   <script>
-    <command reldir="extensions" interpreter="python">inkcut_cut.py</command>
+    <command reldir="extensions" interpreter="python">inkcut/inkcut_cut.py</command>
   </script>
 </inkscape-extension>
 
Index: inkcut/plugins/inkscape/inkcut_open.inx
===================================================================
--- inkcut.orig/plugins/inkscape/inkcut_open.inx
+++ inkcut/plugins/inkscape/inkcut_open.inx
@@ -1,8 +1,8 @@
 <inkscape-extension>
   <_name>Open current document...</_name>
   <id>org.ekips.filter.inkcut.open</id>
-  <dependency type="executable" location="extensions">inkcut_open.py</dependency>
-  <dependency type="executable" location="extensions">inkcut4inkscape.py</dependency>
+  <dependency type="executable" location="extensions">inkcut/inkcut_open.py</dependency>
+  <dependency type="executable" location="extensions">inkcut/inkcut4inkscape.py</dependency>
   <effect>
     <object-type>all</object-type>
     <effects-menu>
@@ -10,7 +10,7 @@
     </effects-menu>
   </effect>
   <script>
-    <command reldir="extensions" interpreter="python">inkcut_open.py</command>
+    <command reldir="extensions" interpreter="python">inkcut/inkcut_open.py</command>
   </script>
 </inkscape-extension>