diff options
Diffstat (limited to 'dev-util/eclipse-sdk-bin/files')
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipse-bin | 3 | ||||
-rw-r--r-- | dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipserc-bin | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipse-bin b/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipse-bin index 87d5531..16fbc12 100644 --- a/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipse-bin +++ b/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipse-bin @@ -40,4 +40,7 @@ esac # Fix for JRE 1.5. export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib +# option to switch GTK backend +[ -n "${SWT_GTK3}" ] && export SWT_GTK3="${SWT_GTK3}" + exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS} diff --git a/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipserc-bin b/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipserc-bin index c2c334e..c1b50eb 100644 --- a/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipserc-bin +++ b/dev-util/eclipse-sdk-bin/files/eclipse-sdk-bin-4.5.2-eclipserc-bin @@ -18,3 +18,8 @@ ECLIPSE_XMX=256m #ECLIPSE_PERMSIZE=64m #ECLIPSE_MAX_PERMSIZE=128m + +# Eclipse 4.5 Mars has some visual issues with GTK>=3.16 +# SWT_GTK3=1 - to enable GTK3 +# SWT_GTK3=0 - to enable GTK2 +SWT_GTK3= |