#!/bin/sh # Wrapper for Sequin October 15, 2009 if [ $BIRCH_PLATFORM = osx-x86_64 ] then open $birch/lib-osx-x86_64/Sequin/Sequin.app else # Sequin for linux-intel needs to find libXm.so.2 and libXp.so.6, which are not included # in many linux distributions. BIRCHLIBS is put first in the search path because # systems with older versions of libXm.so.2 will cause "Segmentation fault" # errors at many places in Sequin. This way, local copies of libXm.so.2 can be # overridden. BIRCHLIBS="" case $BIRCH_PLATFORM in "solaris-sparc") # BIRCHLIBS="$BIRCH/local/lib-solaris-sparc:$BIRCH/lib-solaris-sparc" ;; "solaris-amd64") # BIRCHLIBS="$BIRCH/local/lib-solaris-amd64:$BIRCH/lib-solaris-amd64" ;; "linux-intel") #BIRCHLIBS=$BIRCH/lib-linux-intel:$BIRCH/local/lib-linux-intel BIRCHLIBS=$BIRCH/local/lib-linux-intel:$BIRCH/lib-linux-intel ;; "linux-x86_64") #BIRCHLIBS=$BIRCH/lib-linux-x86_64:$BIRCH/local/lib-linux-x86_64 BIRCHLIBS=$BIRCH/local/lib-linux-x86_64:$BIRCH/lib-linux-x86_64 set GDEFONTS = "$BIRCH/lib-linux-x86_64/gde.fonts/100dpi" set GDEFONTS = $GDEFONTS','$BIRCH/lib-linux-x86_64/gde.fonts/misc set GDEFONTS = $GDEFONTS','$BIRCH/lib-linux-x86_64/gde.fonts/75dpi ;; *) ;; esac export BIRCHLIBS #echo BIRCHLIBS $BIRCHLIBS if [ "$BIRCHLIBS" != "" ] then if [ ! -z "$LD_LIBRARY_PATH" ] then LD_LIBRARY_PATH="$BIRCHLIBS":"$LD_LIBRARY_PATH" export LD_LIBRARY_PATH else LD_LIBRARY_PATH="$BIRCHLIBS" export LD_LIBRARY_PATH fi fi # THESE FONT STATEMENTS AREN'T NECESSARY FOR SEQUIN. THEY ARE JUST #HERE AS AN EXPERIMENT TO SEE IF IT FIXES THE OVDC DISPLAY PROBLEM. # ------------------------ FONTS ------------------------------ # See $BIRCH/local/lib-linux-intel/README.fonts if [ ! -z "$GDEFONTS" ] then # echo GDEFONTS "$GDEFONTS" # FOR TESTING PURPOSES ONLY: # Remove all fonts from fontpath, and set ONLY the fonts we think we need #xset fp- /home/psgendb/.gnome2/share/cursor-fonts,tcp/localhost:7100,/home/psgendb/.gnome2/share/fonts # Set $GDEFONTS to fontpath # xset fp= $GDEFONTS # Append $GDEFONTS to fontpath. Probably the safest choice. # xset +fp $GDEFONTS # Prepend $GDEFONTS to fontpath xset fp+ $GDEFONTS # Show current X settings, including fontpath #xset -q fi sequin.bin $* fi