File: patching-vaqua.txt

package info (click to toggle)
jalview 2.11.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, 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 (27 lines) | stat: -rw-r--r-- 1,594 bytes parent folder | download | duplicates (3)
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
VAqua5-patched.jar - how the patch was created

1. Download VAqua5 source from https://violetlib.org/release/vaqua/5/VAqua5Source.zip
2. Unzip to a directory and apply this patch

diff --git a/src/org/violetlib/aqua/fc/AquaFileChooserUI.java b/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
index 833366d..61f66e5 100644
--- a/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
+++ b/src/org/violetlib/aqua/fc/AquaFileChooserUI.java
@@ -1171,7 +1171,8 @@ public class AquaFileChooserUI extends BasicFileChooserUI {
         goToFolderCancelButtonText = getString("FileChooser.goToFolderCancelButtonText", l, "Cancel");
         goToFolderAcceptButtonText = getString("FileChooser.goToFolderAcceptButtonText", l, "Accept");
         goToFolderErrorText = getString("FileChooser.goToFolderErrorText", l, "The folder can\u2019t be found.");
-        defaultInitialSaveFileName = getString("FileChooser.defaultSaveFileName", l, "Untitled");
+        // Don't set an initial filename for saving (or loading) !  
+       // defaultInitialSaveFileName = getString("FileChooser.defaultSaveFileName", l, "Untitled");
     }
 
     /**

3. Ensure XCode is installed, along with command line tools and the OSX developer packs
 - you should have /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk

4. Download the VAqua rendering library from violetlib.org and save to the VAqua source's lib folder as lib/VAquaRendering.jar

5. change to the release directory and execute 'ant' - a few warnings are generated but providing a final jar is created, all is good!