aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorArmin Weatherwax2010-05-20 13:17:49 +0200
committerJacek Antonelli2010-06-19 02:40:54 -0500
commit2c71c06f31c9e009ee9a4d89e6b17d428723f515 (patch)
treec5f7a6e8528ed068c63e640f381708e5aa107f0f /linden/indra/newview
parentFixed crash caused by creating new windlight presets with spaces in the name ... (diff)
downloadmeta-impy-2c71c06f31c9e009ee9a4d89e6b17d428723f515.zip
meta-impy-2c71c06f31c9e009ee9a4d89e6b17d428723f515.tar.gz
meta-impy-2c71c06f31c9e009ee9a4d89e6b17d428723f515.tar.bz2
meta-impy-2c71c06f31c9e009ee9a4d89e6b17d428723f515.tar.xz
add: getvoice.sh which fetches all voice libs as needed on any supported Linux.
Diffstat (limited to 'linden/indra/newview')
-rwxr-xr-xlinden/indra/newview/linux_tools/getvoice.sh34
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py1
2 files changed, 35 insertions, 0 deletions
diff --git a/linden/indra/newview/linux_tools/getvoice.sh b/linden/indra/newview/linux_tools/getvoice.sh
new file mode 100755
index 0000000..f119e82
--- /dev/null
+++ b/linden/indra/newview/linux_tools/getvoice.sh
@@ -0,0 +1,34 @@
1#!/bin/bash
2
3SCRIPTSRC=`readlink -f "$0" || echo "$0"`
4RUN_PATH=`dirname "${SCRIPTSRC}" || echo .`
5
6#if mozilla-runtime-linux-x86_64 is present we are using 64bit Imprudence on 64bit Linux
7if [ -d ${RUN_PATH}/app_settings/mozilla-runtime-linux-x86_64/ ]; then
8 LIB_INSTALLDIR="lib32/" # It's 32bit voice on 64bit Linux and 64bit viewer. Not using lib/ for avoiding ambiguity.
9else
10 LIB_INSTALLDIR="lib/" # It's 32bit voice on 32 or 64bit Linux and 32bit viewer.
11fi
12
13mkdir -p $LIB_INSTALLDIR
14wget http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/vivox-2.1.3010.6270-linux-20090309.tar.bz2
15tar -C ./bin --strip-components 4 -xjf vivox-*.tar.bz2 --wildcards '*SLVoice'
16tar -C ./$LIB_INSTALLDIR --strip-components 4 -xjf vivox-*.tar.bz2 --wildcards '*.so*'
17rm vivox-*.tar.bz2
18
19#now we have Vivox' OpenAL, but we want Imprudence (32bit for voice) OpenAL which is way better:
20wget http://imprudenceviewer.org/download/libs/openal-linux32-20100426.tar.bz2
21tar -C ./$LIB_INSTALLDIR --strip-components 3 -xjf openal-*.tar.bz2 --wildcards '*openal.so*'
22rm openal-*.tar.bz2
23
24# For 64bit viewer on 64bit Linux we also need a 32bit libidn.so.11 and libuuid.so.1
25if [ -d ${RUN_PATH}/lib32/ ]; then
26 wget http://imprudenceviewer.org/download/libs/libidn20100312.tar.bz2
27 tar -C $LIB_INSTALLDIR --strip-components 1 -xjf libidn*.tar.bz2 --wildcards '*.so*'
28 rm libidn*.tar.bz2
29
30 wget http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libuuid-linux-20090417.tar.bz2
31 tar -C ./$LIB_INSTALLDIR --strip-components 3 -xjf libuuid-*.tar.bz2 --wildcards '*.so*'
32 rm libuuid-*.tar.bz2
33fi
34
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index da6bb72..75378a2 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -812,6 +812,7 @@ class LinuxManifest(ViewerManifest):
812 self.path("wrapper.sh","imprudence") 812 self.path("wrapper.sh","imprudence")
813 self.path("handle_secondlifeprotocol.sh") 813 self.path("handle_secondlifeprotocol.sh")
814 self.path("register_secondlifeprotocol.sh") 814 self.path("register_secondlifeprotocol.sh")
815 self.path("getvoice.sh")
815 self.end_prefix("linux_tools") 816 self.end_prefix("linux_tools")
816 817
817 self.gather_documents() 818 self.gather_documents()