diff options
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index c645245..f365016 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -202,6 +202,18 @@ class WindowsManifest(ViewerManifest): | |||
202 | self.path("Microsoft.VC80.CRT.manifest") | 202 | self.path("Microsoft.VC80.CRT.manifest") |
203 | self.end_prefix() | 203 | self.end_prefix() |
204 | 204 | ||
205 | # The config file name needs to match the exe's name. | ||
206 | self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst=self.final_exe() + ".config") | ||
207 | |||
208 | # We need this one too, so that llkdu loads at runtime - DEV-41194 | ||
209 | self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="llkdu.dll.2.config") | ||
210 | |||
211 | # We need this one too, so that win_crash_logger.exe loads at runtime - DEV-19004 | ||
212 | self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="win_crash_logger.exe.config") | ||
213 | |||
214 | # same thing for auto-updater. | ||
215 | self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="updater.exe.config") | ||
216 | |||
205 | # Mozilla runtime DLLs (CP) | 217 | # Mozilla runtime DLLs (CP) |
206 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): | 218 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): |
207 | self.path("freebl3.dll") | 219 | self.path("freebl3.dll") |
@@ -230,9 +242,6 @@ class WindowsManifest(ViewerManifest): | |||
230 | 242 | ||
231 | # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest | 243 | # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest |
232 | # 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 | 244 | # 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 |
233 | # The config file name needs to match the exe's name. | ||
234 | self.path("SecondLife.exe.config", dst=self.final_exe() + ".config") | ||
235 | |||
236 | # Vivox runtimes | 245 | # Vivox runtimes |
237 | if self.prefix(src="vivox-runtime/i686-win32", dst=""): | 246 | if self.prefix(src="vivox-runtime/i686-win32", dst=""): |
238 | self.path("SLVoice.exe") | 247 | self.path("SLVoice.exe") |
@@ -242,12 +251,12 @@ class WindowsManifest(ViewerManifest): | |||
242 | self.path("wrap_oal.dll") | 251 | self.path("wrap_oal.dll") |
243 | self.end_prefix() | 252 | self.end_prefix() |
244 | 253 | ||
245 | # # pull in the crash logger and updater from other projects | 254 | # pull in the crash logger and updater from other projects |
246 | # self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter | 255 | self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter |
247 | # "../win_crash_logger/debug/windows-crash-logger.exe", | 256 | "../win_crash_logger/debug/windows-crash-logger.exe", |
248 | # "../win_crash_logger/release/windows-crash-logger.exe", | 257 | "../win_crash_logger/release/windows-crash-logger.exe", |
249 | # "../win_crash_logger/relwithdebinfo/windows-crash-logger.exe"), | 258 | "../win_crash_logger/relwithdebinfo/windows-crash-logger.exe"), |
250 | # dst="win_crash_logger.exe") | 259 | dst="win_crash_logger.exe") |
251 | self.path(src=self.find_existing_file( | 260 | self.path(src=self.find_existing_file( |
252 | "../win_updater/debug/windows-updater.exe", | 261 | "../win_updater/debug/windows-updater.exe", |
253 | "../win_updater/release/windows-updater.exe", | 262 | "../win_updater/release/windows-updater.exe", |
@@ -459,13 +468,13 @@ class DarwinManifest(ViewerManifest): | |||
459 | self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice") | 468 | self.path("vivox-runtime/universal-darwin/SLVoice", "SLVoice") |
460 | 469 | ||
461 | # llkdu dynamic library | 470 | # llkdu dynamic library |
462 | # self.path("../../libraries/universal-darwin/lib_release/libllkdu.dylib", "libllkdu.dylib") | 471 | self.path("../../libraries/universal-darwin/lib_release/libllkdu.dylib", "libllkdu.dylib") |
463 | 472 | ||
464 | #libfmodwrapper.dylib | 473 | #libfmodwrapper.dylib |
465 | self.path(self.args['configuration'] + "/libfmodwrapper.dylib", "libfmodwrapper.dylib") | 474 | self.path(self.args['configuration'] + "/libfmodwrapper.dylib", "libfmodwrapper.dylib") |
466 | 475 | ||
467 | # our apps | 476 | # our apps |
468 | # self.path("../mac_crash_logger/" + self.args['configuration'] + "/mac-crash-logger.app", "mac-crash-logger.app") | 477 | self.path("../mac_crash_logger/" + self.args['configuration'] + "/mac-crash-logger.app", "mac-crash-logger.app") |
469 | self.path("../mac_updater/" + self.args['configuration'] + "/mac-updater.app", "mac-updater.app") | 478 | self.path("../mac_updater/" + self.args['configuration'] + "/mac-updater.app", "mac-updater.app") |
470 | 479 | ||
471 | # command line arguments for connecting to the proper grid | 480 | # command line arguments for connecting to the proper grid |
@@ -634,20 +643,20 @@ class Linux_i686Manifest(LinuxManifest): | |||
634 | def construct(self): | 643 | def construct(self): |
635 | super(Linux_i686Manifest, self).construct() | 644 | super(Linux_i686Manifest, self).construct() |
636 | 645 | ||
637 | # # install either the libllkdu we just built, or a prebuilt one, in | 646 | # install either the libllkdu we just built, or a prebuilt one, in |
638 | # decreasing order of preference. for linux package, this goes to bin/ | 647 | # decreasing order of preference. for linux package, this goes to bin/ |
639 | try: | 648 | try: |
640 | # self.path(self.find_existing_file('../llkdu/libllkdu.so', | 649 | self.path(self.find_existing_file('../llkdu/libllkdu.so', |
641 | # '../../libraries/i686-linux/lib_release_client/libllkdu.so'), | 650 | '../../libraries/i686-linux/lib_release_client/libllkdu.so'), |
642 | # dst='bin/libllkdu.so') | 651 | dst='bin/libllkdu.so') |
643 | # keep this one to preserve syntax, open source mangling removes previous lines | 652 | # keep this one to preserve syntax, open source mangling removes previous lines |
644 | pass | 653 | pass |
645 | except: | 654 | except: |
646 | # print "Skipping libllkdu.so - not found" | 655 | print "Skipping libllkdu.so - not found" |
647 | pass | 656 | pass |
648 | 657 | ||
649 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 658 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") |
650 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 659 | self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
651 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 660 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
652 | if self.prefix("res-sdl"): | 661 | if self.prefix("res-sdl"): |
653 | self.path("*") | 662 | self.path("*") |
@@ -660,7 +669,7 @@ class Linux_i686Manifest(LinuxManifest): | |||
660 | self.path("app_settings/mozilla-runtime-linux-i686") | 669 | self.path("app_settings/mozilla-runtime-linux-i686") |
661 | 670 | ||
662 | if self.prefix("../../libraries/i686-linux/lib_release_client", dst="lib"): | 671 | if self.prefix("../../libraries/i686-linux/lib_release_client", dst="lib"): |
663 | # self.path("libkdu_v42R.so", "libkdu.so") | 672 | self.path("libkdu_v42R.so", "libkdu.so") |
664 | self.path("libfmod-3.75.so") | 673 | self.path("libfmod-3.75.so") |
665 | self.path("libapr-1.so.0") | 674 | self.path("libapr-1.so.0") |
666 | self.path("libaprutil-1.so.0") | 675 | self.path("libaprutil-1.so.0") |
@@ -689,7 +698,7 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
689 | def construct(self): | 698 | def construct(self): |
690 | super(Linux_x86_64Manifest, self).construct() | 699 | super(Linux_x86_64Manifest, self).construct() |
691 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 700 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") |
692 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 701 | self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
693 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 702 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
694 | if self.prefix("res-sdl"): | 703 | if self.prefix("res-sdl"): |
695 | self.path("*") | 704 | self.path("*") |