diff options
-rw-r--r-- | linden/indra/cmake/CopyWinLibs.cmake | 33 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 42 |
2 files changed, 54 insertions, 21 deletions
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake index 8767980..511e547 100644 --- a/linden/indra/cmake/CopyWinLibs.cmake +++ b/linden/indra/cmake/CopyWinLibs.cmake | |||
@@ -6,6 +6,15 @@ | |||
6 | 6 | ||
7 | include(CMakeCopyIfDifferent) | 7 | include(CMakeCopyIfDifferent) |
8 | 8 | ||
9 | set(vivox_src_dir "${CMAKE_SOURCE_DIR}/newview/vivox-runtime/i686-win32") | ||
10 | set(vivox_files | ||
11 | SLVoice.exe | ||
12 | #alut.dll | ||
13 | vivoxsdk.dll | ||
14 | ortp.dll | ||
15 | wrap_oal.dll | ||
16 | ) | ||
17 | |||
9 | set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug") | 18 | set(debug_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/debug") |
10 | set(debug_files | 19 | set(debug_files |
11 | alut.dll | 20 | alut.dll |
@@ -82,6 +91,14 @@ copy_if_different( | |||
82 | ) | 91 | ) |
83 | set(all_targets ${all_targets} ${out_targets}) | 92 | set(all_targets ${all_targets} ${out_targets}) |
84 | 93 | ||
94 | copy_if_different( | ||
95 | ${vivox_src_dir} | ||
96 | "${CMAKE_CURRENT_BINARY_DIR}/Debug" | ||
97 | out_targets | ||
98 | ${vivox_files} | ||
99 | ) | ||
100 | set(all_targets ${all_targets} ${out_targets}) | ||
101 | |||
85 | set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release") | 102 | set(release_src_dir "${CMAKE_SOURCE_DIR}/../libraries/i686-win32/lib/release") |
86 | set(release_files | 103 | set(release_files |
87 | alut.dll | 104 | alut.dll |
@@ -158,6 +175,14 @@ copy_if_different( | |||
158 | set(all_targets ${all_targets} ${out_targets}) | 175 | set(all_targets ${all_targets} ${out_targets}) |
159 | 176 | ||
160 | copy_if_different( | 177 | copy_if_different( |
178 | ${vivox_src_dir} | ||
179 | "${CMAKE_CURRENT_BINARY_DIR}/Release" | ||
180 | out_targets | ||
181 | ${vivox_files} | ||
182 | ) | ||
183 | set(all_targets ${all_targets} ${out_targets}) | ||
184 | |||
185 | copy_if_different( | ||
161 | ${release_src_dir} | 186 | ${release_src_dir} |
162 | "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" | 187 | "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" |
163 | out_targets | 188 | out_targets |
@@ -165,6 +190,14 @@ copy_if_different( | |||
165 | ) | 190 | ) |
166 | set(all_targets ${all_targets} ${out_targets}) | 191 | set(all_targets ${all_targets} ${out_targets}) |
167 | 192 | ||
193 | copy_if_different( | ||
194 | ${vivox_src_dir} | ||
195 | "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo" | ||
196 | out_targets | ||
197 | ${vivox_files} | ||
198 | ) | ||
199 | set(all_targets ${all_targets} ${out_targets}) | ||
200 | |||
168 | 201 | ||
169 | # Copy MS C runtime dlls, required for packaging. | 202 | # Copy MS C runtime dlls, required for packaging. |
170 | # We always need the VS 2005 redist. | 203 | # We always need the VS 2005 redist. |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 6011ad7..a953927 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -284,20 +284,19 @@ class WindowsManifest(ViewerManifest): | |||
284 | # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest | 284 | # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest |
285 | # necessary as llmozlib2-vc80.lib refers to an old version of msvc*80.dll - can be removed when new version of llmozlib is built - Nyx | 285 | # necessary as llmozlib2-vc80.lib refers to an old version of msvc*80.dll - can be removed when new version of llmozlib is built - Nyx |
286 | # Vivox runtimes | 286 | # Vivox runtimes |
287 | #if self.prefix(src="vivox-runtime/i686-win32", dst=""): | 287 | if self.prefix(src="vivox-runtime/i686-win32", dst=""): |
288 | # self.path("alut.dll") | 288 | # self.path("alut.dll") |
289 | # self.path("wrap_oal.dll") | 289 | self.path("wrap_oal.dll") |
290 | 290 | self.path("SLVoice.exe") | |
291 | # self.path("SLVoice.exe") | ||
292 | # self.path("SLVoiceAgent.exe") | 291 | # self.path("SLVoiceAgent.exe") |
293 | # self.path("libeay32.dll") | 292 | # self.path("libeay32.dll") |
294 | # self.path("srtp.dll") | 293 | # self.path("srtp.dll") |
295 | # self.path("ssleay32.dll") | 294 | # self.path("ssleay32.dll") |
296 | # self.path("tntk.dll") | 295 | self.path("tntk.dll") |
297 | # self.path("vivoxsdk.dll") | 296 | self.path("vivoxsdk.dll") |
298 | # self.path("ortp.dll") | 297 | self.path("ortp.dll") |
299 | 298 | ||
300 | # self.end_prefix() | 299 | self.end_prefix() |
301 | 300 | ||
302 | # Gstreamer plugins | 301 | # Gstreamer plugins |
303 | if self.prefix(src="lib/gstreamer-plugins", dst=""): | 302 | if self.prefix(src="lib/gstreamer-plugins", dst=""): |
@@ -684,12 +683,12 @@ class DarwinManifest(ViewerManifest): | |||
684 | 683 | ||
685 | 684 | ||
686 | # SLVoice and vivox lols | 685 | # SLVoice and vivox lols |
687 | #self.path("vivox-runtime/universal-darwin/libalut.dylib", "libalut.dylib") | 686 | self.path("vivox-runtime/universal-darwin/libalut.dylib", "libalut.dylib") |
688 | #self.path("vivox-runtime/universal-darwin/libopenal.dylib", "libopenal.dylib") | 687 | self.path("vivox-runtime/universal-darwin/libopenal.dylib", "libopenal.dylib") |
689 | #self.path("vivox-runtime/universal-darwin/libortp.dylib", "libortp.dylib") | 688 | self.path("vivox-runtime/universal-darwin/libortp.dylib", "libortp.dylib") |
690 | #self.path("vivox-runtime/universal-darwin/libvivoxsdk.dylib", "libvivoxsdk.dylib") | 689 | self.path("vivox-runtime/universal-darwin/libvivoxsdk.dylib", "libvivoxsdk.dylib") |
691 | #self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice") | 690 | self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice") |
692 | #self.path("vivox-runtime/universal-darwin/SLVoiceAgent.app", "SLVoiceAgent.app") | 691 | self.path("vivox-runtime/universal-darwin/SLVoiceAgent.app", "SLVoiceAgent.app") |
693 | 692 | ||
694 | #libfmodwrapper.dylib | 693 | #libfmodwrapper.dylib |
695 | #self.path(self.args['configuration'] + "/libfmodwrapper.dylib", "libfmodwrapper.dylib") | 694 | #self.path(self.args['configuration'] + "/libfmodwrapper.dylib", "libfmodwrapper.dylib") |
@@ -808,7 +807,7 @@ class LinuxManifest(ViewerManifest): | |||
808 | self.path("res/imprudence_icon.png","imprudence_icon.png") | 807 | self.path("res/imprudence_icon.png","imprudence_icon.png") |
809 | if self.prefix("linux_tools", dst=""): | 808 | if self.prefix("linux_tools", dst=""): |
810 | #self.path("client-readme.txt","README-linux.txt") | 809 | #self.path("client-readme.txt","README-linux.txt") |
811 | #self.path("client-readme-voice.txt","README-linux-voice.txt") | 810 | self.path("client-readme-voice.txt","README-linux-voice.txt") |
812 | #self.path("client-readme-joystick.txt","README-linux-joystick.txt") | 811 | #self.path("client-readme-joystick.txt","README-linux-joystick.txt") |
813 | self.path("wrapper.sh","imprudence") | 812 | self.path("wrapper.sh","imprudence") |
814 | self.path("handle_secondlifeprotocol.sh") | 813 | self.path("handle_secondlifeprotocol.sh") |
@@ -986,9 +985,9 @@ class Linux_i686Manifest(LinuxManifest): | |||
986 | self.end_prefix("lib") | 985 | self.end_prefix("lib") |
987 | 986 | ||
988 | # Vivox runtimes | 987 | # Vivox runtimes |
989 | #if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): | 988 | if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): |
990 | # self.path("SLVoice") | 989 | self.path("SLVoice") |
991 | # self.end_prefix() | 990 | self.end_prefix() |
992 | 991 | ||
993 | 992 | ||
994 | class Linux_x86_64Manifest(LinuxManifest): | 993 | class Linux_x86_64Manifest(LinuxManifest): |
@@ -1112,10 +1111,11 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1112 | # self.path("libortp.so") | 1111 | # self.path("libortp.so") |
1113 | # self.path("libuuid.so.1") | 1112 | # self.path("libuuid.so.1") |
1114 | # self.end_prefix("lib32") | 1113 | # self.end_prefix("lib32") |
1114 | |||
1115 | # Vivox runtimes | 1115 | # Vivox runtimes |
1116 | #if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): | 1116 | if self.prefix(src="vivox-runtime/i686-linux", dst="bin"): |
1117 | # self.path("SLVoice") | 1117 | self.path("SLVoice") |
1118 | # self.end_prefix() | 1118 | self.end_prefix() |
1119 | 1119 | ||
1120 | 1120 | ||
1121 | if __name__ == "__main__": | 1121 | if __name__ == "__main__": |