X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fpatching-vaqua.txt;fp=doc%2Fpatching-vaqua.txt;h=65c9974650732a420d52872ec706cdd483d585be;hb=446084b4f697fedea2053fc6486265b35906c7fe;hp=0000000000000000000000000000000000000000;hpb=9109818e704dd0945567b234af8f3d34ba4b2b67;p=jalview.git diff --git a/doc/patching-vaqua.txt b/doc/patching-vaqua.txt new file mode 100644 index 0000000..65c9974 --- /dev/null +++ b/doc/patching-vaqua.txt @@ -0,0 +1,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! +