biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / graphics / structorizer / makeBigJar.patch
blob2090a7b35a45ae488da5f93e78ff18868235a14f
1 Reason: Running the program in a headless environment fails. Besides, tests should be conducted in passthru.tests anyway. There is also no AppleStructorizerApplication.class, only the jar.
3 diff --git a/makeBigJar b/makeBigJar
4 index 25547020..c34d0d9c 100644
5 --- a/makeBigJar
6 +++ b/makeBigJar
7 @@ -75,9 +75,8 @@ jars="bsh-2.1.0 \
8 freehep-xml-2.1.1 \
9 freehep"
11 -# Apple specific stuff is only used if it exists and the compiled class is available
12 -if test -f ../bin/lu/fisch/structorizer/application/AppleStructorizerApplication.class -a \
13 - -f AppleJavaExtensions.jar; then
14 +# Apple specific stuff is only used if the jar is available
15 +if test -f lib/AppleJavaExtensions.jar; then
16 jars="$jars AppleJavaExtensions"
19 @@ -114,12 +113,3 @@ echo "Done"
20 # remove the jar-directory
21 rm -R jar/
23 -if test -n "$start_compiled"; then
24 - # execute the archive
25 - echo; echo "Running Structorizer from all-in-one jar"
26 - if test "$start_compiled" = "s"; then
27 - java -jar structorizer.jar
28 - else
29 - java -jar structorizer.jar &
30 - fi
31 -fi # start block end