304 |
304 |
305 # main |
305 # main |
306 |
306 |
307 declare -a JAVA_OPTIONS=($(grep -v '^#' "$ISABELLE_HOME/Isabelle.options")) |
307 declare -a JAVA_OPTIONS=($(grep -v '^#' "$ISABELLE_HOME/Isabelle.options")) |
308 |
308 |
309 "$ISABELLE_HOME/bin/isabelle" env "$ISABELLE_HOME/lib/scripts/java-gui-setup" |
309 eval $(isabelle java isabelle.setup.Setup gui_setup) |
310 |
310 |
311 exec "$ISABELLE_JDK_HOME/bin/java" \ |
311 exec "$ISABELLE_JDK_HOME/bin/java" \ |
312 "-Disabelle.root=$ISABELLE_HOME" "${JAVA_OPTIONS[@]}" \ |
312 "-Disabelle.root=$ISABELLE_HOME" "${JAVA_OPTIONS[@]}" \ |
313 -classpath """" + classpath.map(p => "$ISABELLE_HOME/" + p.implode).mkString(":") + """" \ |
313 -classpath """" + classpath.map(p => "$ISABELLE_HOME/" + p.implode).mkString(":") + """" \ |
314 "-splash:$ISABELLE_HOME/lib/logo/isabelle.gif" \ |
314 "-splash:$ISABELLE_HOME/lib/logo/isabelle.gif" \ |
663 |
663 |
664 Components.clean_base(contrib_dir, platforms = List(platform)) |
664 Components.clean_base(contrib_dir, platforms = List(platform)) |
665 |
665 |
666 platform match { |
666 platform match { |
667 case Platform.Family.linux_arm | Platform.Family.linux => |
667 case Platform.Family.linux_arm | Platform.Family.linux => |
668 File.change(isabelle_target + jedit_options) { |
|
669 _.replaceAll("jedit_reset_font_size : int =.*", "jedit_reset_font_size : int = 24") |
|
670 } |
|
671 |
|
672 File.change(isabelle_target + jedit_props) { |
|
673 _.replaceAll("console.fontsize=.*", "console.fontsize=18") |
|
674 .replaceAll("helpviewer.fontsize=.*", "helpviewer.fontsize=18") |
|
675 .replaceAll("metal.primary.fontsize=.*", "metal.primary.fontsize=18") |
|
676 .replaceAll("metal.secondary.fontsize=.*", "metal.secondary.fontsize=18") |
|
677 .replaceAll("view.fontsize=.*", "view.fontsize=24") |
|
678 .replaceAll("view.gutter.fontsize=.*", "view.gutter.fontsize=16") |
|
679 } |
|
680 |
|
681 make_isabelle_options( |
668 make_isabelle_options( |
682 isabelle_target + Path.explode("Isabelle.options"), java_options) |
669 isabelle_target + Path.explode("Isabelle.options"), java_options) |
683 |
670 |
684 make_isabelle_app(platform, isabelle_target, isabelle_name, jdk_component, classpath) |
671 make_isabelle_app(platform, isabelle_target, isabelle_name, jdk_component, classpath) |
685 |
672 |