diff options
Diffstat (limited to 'linden/indra')
-rwxr-xr-x | linden/indra/newview/linux_tools/wrapper.sh | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh index 93258f4..8a81843 100755 --- a/linden/indra/newview/linux_tools/wrapper.sh +++ b/linden/indra/newview/linux_tools/wrapper.sh | |||
@@ -45,16 +45,6 @@ | |||
45 | ## disable these by enabling this option: | 45 | ## disable these by enabling this option: |
46 | #export LL_DISABLE_GSTREAMER=x | 46 | #export LL_DISABLE_GSTREAMER=x |
47 | 47 | ||
48 | ## - GStreamer is automatically disabled - for now - on 64-bit systems due | ||
49 | ## to common fatal incompatibilities; remove/comment these lines if you want | ||
50 | ## to try anyway. | ||
51 | |||
52 | #FIXME:-> | ||
53 | #if [ "`uname -m`" = "x86_64" ]; then | ||
54 | # export LL_DISABLE_GSTREAMER=x | ||
55 | # echo '64-bit Linux detected: Disabling GStreamer (streaming video and music) by default; edit ./secondlife to re-enable.' | ||
56 | #fi | ||
57 | #FIXME:<- | ||
58 | 48 | ||
59 | ## Everything below this line is just for advanced troubleshooters. | 49 | ## Everything below this line is just for advanced troubleshooters. |
60 | ##------------------------------------------------------------------- | 50 | ##------------------------------------------------------------------- |
@@ -117,7 +107,7 @@ if [ -n "$LL_TCMALLOC" ]; then | |||
117 | fi | 107 | fi |
118 | fi | 108 | fi |
119 | 109 | ||
120 | if [ "`uname -m`" = "x86_64" ]; then | 110 | if ([ "`uname -m`" = "x86_64" ] && [ -d ${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/ ]); then |
121 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" | 111 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib64/gstreamer-plugins/" |
122 | 112 | ||
123 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' | 113 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib64:"`pwd`"/lib32:"`pwd`"/app_settings/mozilla-runtime-linux-x86_64:"${LD_LIBRARY_PATH}"' |
@@ -125,6 +115,7 @@ else | |||
125 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" | 115 | export GST_PLUGIN_PATH="${GST_PLUGIN_PATH}:${RUN_PATH}/lib/gstreamer-plugins/" |
126 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' | 116 | export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-linux-i686:"${LD_LIBRARY_PATH}"' |
127 | fi | 117 | fi |
118 | |||
128 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' | 119 | export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-imprudence-bin' |
129 | export SL_OPT="`cat gridargs.dat` $@" | 120 | export SL_OPT="`cat gridargs.dat` $@" |
130 | 121 | ||
@@ -138,19 +129,6 @@ if [ -n "$LL_RUN_ERR" ]; then | |||
138 | # generic error running the binary | 129 | # generic error running the binary |
139 | echo '*** Bad shutdown. ***' | 130 | echo '*** Bad shutdown. ***' |
140 | 131 | ||
141 | #FIXME: -> | 132 | |
142 | # if [ "`uname -m`" = "x86_64" ]; then | ||
143 | # echo | ||
144 | # cat << EOFMARKER | ||
145 | #You are running the Imprudence Viewer on a x86_64 platform. The | ||
146 | #most common problems when launching the Viewer (particularly | ||
147 | #'bin/do-not-directly-run-imprudence-bin: not found' and 'error while | ||
148 | #loading shared libraries') may be solved by installing your Linux | ||
149 | #distribution's 32-bit compatibility packages. | ||
150 | #For example, on Ubuntu and other Debian-based Linuxes you might run: | ||
151 | #$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl | ||
152 | #EOFMARKER | ||
153 | # fi | ||
154 | #FIXME: <- | ||
155 | fi | 133 | fi |
156 | fi | 134 | fi |