Commit abf95788 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Linux: Wrapper script for wayland / JFX crash



AF3 crashes with JFX 13 (11 untested with recent X11 libs) when being
lauched in a wayland env.

Issue-Ref: 3837
Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 21c839f1
#!/bin/sh
GDK_BACKEND=x11 ./autofocus3-phoenix-binary
......@@ -64,6 +64,12 @@
</goals>
<configuration>
<target name="Final product patching">
<!-- Linux build: JFX <-> Wayland compatibility -->
<echo message="Fixing Linux build..."/>
<move file="${project.build.directory}/products/af3/org.fortiss.af3.phoenix.product/target/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix"
tofile="${project.build.directory}/products/af3/org.fortiss.af3.phoenix.product/target/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix-binary"/>
<copy file="${project.build.directory}/products/af3/org.fortiss.af3.phoenix.product/af3-linux-startup-script.sh"
tofile="${project.build.directory}/products/af3/org.fortiss.af3.phoenix.product/target/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix"/>
<!-- MacOS build -->
<echo message="Fixing MacOS build..."/>
<copy todir="${project.build.directory}/products/org.fortiss.af3.phoenix.product/macosx/cocoa/x86_64/AutoFOCUS3.app/Contents/MacOS/">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment