File: no_applet.patch

package info (click to toggle)
jalview 2.11.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 445,392 kB
  • sloc: java: 365,549; xml: 2,989; sh: 1,511; perl: 336; lisp: 139; python: 116; makefile: 81; haskell: 60
file content (31 lines) | stat: -rw-r--r-- 958 bytes parent folder | download | duplicates (2)
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
Description: omitting to build JalviewLite (because it needs applets, that are
 not supported anymore from openjdk-17) and the classes that need it.
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1011184
Forwarded: jalview-dev@jalview.org
Last-Update: 2022-05-22

--- a/build.gradle
+++ b/build.gradle
@@ -252,6 +252,13 @@
     java {
       srcDirs sourceDir
       outputDir = file(classesDir)
+      exclude "**/appletgui/**"
+      exclude "**/AppletPDBViewer.java"
+      exclude "**/AppletPDBCanvas.java"
+      exclude "**/javascript/J*.java"
+      exclude "**/javascript/MouseOverListener.java"
+      exclude "**/javascript/MouseOverStructureListener.java"
+      exclude "**/JalviewLite*"
     }
 
     resources {
@@ -270,6 +277,7 @@
       srcDirs testSourceDir
       outputDir = file(testClassesDir)
       exclude "**/CommandLineOperationsNG.java"
+      exclude "**/JalviewLiteTest.java"
     }
 
     resources {