aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/linux_tools
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/linux_tools
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/newview/linux_tools')
-rw-r--r--linden/indra/newview/linux_tools/client-readme.txt2
-rw-r--r--linden/indra/newview/linux_tools/exposed-symbols.txt1
-rwxr-xr-xlinden/indra/newview/linux_tools/launch_url.sh3
-rwxr-xr-xlinden/indra/newview/linux_tools/wrapper.sh38
4 files changed, 37 insertions, 7 deletions
diff --git a/linden/indra/newview/linux_tools/client-readme.txt b/linden/indra/newview/linux_tools/client-readme.txt
index 59ebf67..641705d 100644
--- a/linden/indra/newview/linux_tools/client-readme.txt
+++ b/linden/indra/newview/linux_tools/client-readme.txt
@@ -99,8 +99,6 @@ the Alpha release of the Linux client.
99 99
100* VOICE COMMUNICATION - this is not yet available in the Linux client. 100* VOICE COMMUNICATION - this is not yet available in the Linux client.
101 101
102* STREAMING MOVIES - these are currently disabled while we work on some issues.
103
104* VISUAL EFFECTS AND PERFORMANCE - many Linux graphics drivers are not as 102* VISUAL EFFECTS AND PERFORMANCE - many Linux graphics drivers are not as
105 robust as their counterparts for other operating systems, so some advanced 103 robust as their counterparts for other operating systems, so some advanced
106 Second Life graphical features have been DISABLED by default to aid 104 Second Life graphical features have been DISABLED by default to aid
diff --git a/linden/indra/newview/linux_tools/exposed-symbols.txt b/linden/indra/newview/linux_tools/exposed-symbols.txt
index 98df90a..f12fbfa 100644
--- a/linden/indra/newview/linux_tools/exposed-symbols.txt
+++ b/linden/indra/newview/linux_tools/exposed-symbols.txt
@@ -1,3 +1,4 @@
1initllpython 1initllpython
2createLLImageJ2CKDU 2createLLImageJ2CKDU
3destroyLLImageJ2CKDU 3destroyLLImageJ2CKDU
4engineInfoLLImageJ2CKDU
diff --git a/linden/indra/newview/linux_tools/launch_url.sh b/linden/indra/newview/linux_tools/launch_url.sh
index a1c6f5d..e6450ad 100755
--- a/linden/indra/newview/linux_tools/launch_url.sh
+++ b/linden/indra/newview/linux_tools/launch_url.sh
@@ -1,5 +1,4 @@
1#!/bin/sh 1#!/bin/bash
2# Script tested with: bash 1.14, bash 3.1.17, zsh 4.2.5, ksh 1993-12-28
3 2
4# This script loads a web page in the 'default' graphical web browser. 3# This script loads a web page in the 'default' graphical web browser.
5# It MUST return immediately (or soon), so the browser should be 4# It MUST return immediately (or soon), so the browser should be
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh
index fd15f21..10041ee 100755
--- a/linden/indra/newview/linux_tools/wrapper.sh
+++ b/linden/indra/newview/linux_tools/wrapper.sh
@@ -1,5 +1,4 @@
1#!/bin/sh 1#!/bin/bash
2# Script tested with: bash 1.14, bash 3.1.17, zsh 4.2.5, ksh 1993-12-28
3 2
4## Here are some configuration options for Linux Client Alpha Testers. 3## Here are some configuration options for Linux Client Alpha Testers.
5## These options are for self-assisted troubleshooting during this alpha 4## These options are for self-assisted troubleshooting during this alpha
@@ -33,6 +32,10 @@ export LL_GL_BASICEXT=x
33## LL_GL_BLACKLIST which solves your problems. 32## LL_GL_BLACKLIST which solves your problems.
34#export LL_GL_BLACKLIST=abcdefghijklmno 33#export LL_GL_BLACKLIST=abcdefghijklmno
35 34
35
36## Everything below this line is just for advanced troubleshooters.
37##-------------------------------------------------------------------
38
36## - For advanced debugging cases, you can run the viewer under the 39## - For advanced debugging cases, you can run the viewer under the
37## control of another program, such as strace, gdb, or valgrind. If 40## control of another program, such as strace, gdb, or valgrind. If
38## you're building your own viewer, bear in mind that the executable 41## you're building your own viewer, bear in mind that the executable
@@ -47,6 +50,12 @@ export SDL_VIDEO_X11_DGAMOUSE=0
47## - Works around a problem with misconfigured 64-bit systems not finding GL 50## - Works around a problem with misconfigured 64-bit systems not finding GL
48export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH}":/usr/lib64/dri:/usr/lib32/dri:/usr/lib/dri 51export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH}":/usr/lib64/dri:/usr/lib32/dri:/usr/lib/dri
49 52
53## - The 'scim' GTK IM module widely crashes the viewer. Avoid it.
54if [ "$GTK_IM_MODULE" = "scim" ]; then
55 export GTK_IM_MODULE=xim
56fi
57
58
50## Nothing worth editing below this line. 59## Nothing worth editing below this line.
51##------------------------------------------------------------------- 60##-------------------------------------------------------------------
52 61
@@ -74,7 +83,30 @@ export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"`pwd`"/app_settings/mozilla-runtime-
74export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-secondlife-bin' 83export SL_CMD='$LL_WRAPPER bin/do-not-directly-run-secondlife-bin'
75export SL_OPT="`cat gridargs.dat` $@" 84export SL_OPT="`cat gridargs.dat` $@"
76 85
77eval ${SL_ENV} ${SL_CMD} ${SL_OPT} || echo Unclean shutdown. 86# Run the program
87eval ${SL_ENV} ${SL_CMD} ${SL_OPT} || LL_RUN_ERR=runerr
88
89# Handle any resulting errors
90if [ -n "$LL_RUN_ERR" ]; then
91 LL_RUN_ERR_MSG=""
92 if [ "$LL_RUN_ERR" = "runerr" ]; then
93 # generic error running the binary
94 echo '*** Unclean shutdown. ***'
95 if [ "`arch`" = "x86_64" ]; then
96 echo
97 cat << EOFMARKER
98You are running the Second Life Viewer on a x86_64 platform. The
99most common problems when launching the Viewer (particularly
100'bin/do-not-directly-run-secondlife-bin: not found' and 'error while
101loading shared libraries') may be solved by installing your Linux
102distribution's 32-bit compatibility packages.
103For example, on Ubuntu and other Debian-based Linuxes you might run:
104$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl
105EOFMARKER
106 fi
107 fi
108fi
109
78 110
79echo 111echo
80echo '*********************************************************' 112echo '*********************************************************'