File: 01-tweak-swt-dependency.patch

package info (click to toggle)
libmiglayout-java 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,676 kB
  • ctags: 1,554
  • sloc: java: 13,653; xml: 712; makefile: 14; sh: 10
file content (23 lines) | stat: -rw-r--r-- 949 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
Description: Link the org.eclipse.swt.gtk.linux:* artifacts to /usr/share/java/swt.jar
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/swt/pom.xml
+++ b/swt/pom.xml
@@ -51,6 +51,8 @@
                     <groupId>org.eclipse.swt.gtk.linux</groupId>
                     <artifactId>x86</artifactId>
                     <version>3.3.0-v3346</version>
+                    <scope>system</scope>
+                    <systemPath>/usr/share/java/swt.jar</systemPath>
                 </dependency>
             </dependencies>
         </profile>
@@ -68,6 +70,8 @@
                     <groupId>org.eclipse.swt.gtk.linux</groupId>
                     <artifactId>x86_64</artifactId>
                     <version>3.3.0-v3346</version>
+                    <scope>system</scope>
+                    <systemPath>/usr/share/java/swt.jar</systemPath>
                 </dependency>
             </dependencies>
         </profile>