diff options
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 172 |
1 files changed, 95 insertions, 77 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index a053861..81811a9 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -65,6 +65,9 @@ class ViewerManifest(LLManifest): | |||
65 | self.path("shaders") | 65 | self.path("shaders") |
66 | # ... and the entire windlight directory | 66 | # ... and the entire windlight directory |
67 | self.path("windlight") | 67 | self.path("windlight") |
68 | # ...and the entire dictionaries directory | ||
69 | self.path("dictionaries") | ||
70 | |||
68 | self.end_prefix("app_settings") | 71 | self.end_prefix("app_settings") |
69 | 72 | ||
70 | if self.prefix(src="character"): | 73 | if self.prefix(src="character"): |
@@ -134,7 +137,6 @@ class ViewerManifest(LLManifest): | |||
134 | self.path("README.txt") | 137 | self.path("README.txt") |
135 | self.path("MANIFESTO.txt") | 138 | self.path("MANIFESTO.txt") |
136 | self.path("CONTRIBUTE.txt") | 139 | self.path("CONTRIBUTE.txt") |
137 | self.path("RELEASE_NOTES.txt") | ||
138 | self.path("ChangeLog.txt", required=False) | 140 | self.path("ChangeLog.txt", required=False) |
139 | self.end_prefix("../../..") | 141 | self.end_prefix("../../..") |
140 | 142 | ||
@@ -280,6 +282,11 @@ class WindowsManifest(ViewerManifest): | |||
280 | if self.prefix(src='../media_plugins/webkit/%s' % self.args['configuration'], dst="llplugin"): | 282 | if self.prefix(src='../media_plugins/webkit/%s' % self.args['configuration'], dst="llplugin"): |
281 | self.path("media_plugin_webkit.dll") | 283 | self.path("media_plugin_webkit.dll") |
282 | self.end_prefix() | 284 | self.end_prefix() |
285 | |||
286 | # Media plugins - GStreamer | ||
287 | if self.prefix(src='../media_plugins/gstreamer010/%s' % self.args['configuration'], dst="llplugin"): | ||
288 | self.path("media_plugin_gstreamer010.dll") | ||
289 | self.end_prefix() | ||
283 | 290 | ||
284 | # For WebKit/Qt plugin runtimes | 291 | # For WebKit/Qt plugin runtimes |
285 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst="llplugin"): | 292 | if self.prefix(src="../../libraries/i686-win32/lib/release", dst="llplugin"): |
@@ -303,9 +310,6 @@ class WindowsManifest(ViewerManifest): | |||
303 | self.path("qtiff4.dll") | 310 | self.path("qtiff4.dll") |
304 | self.end_prefix() | 311 | self.end_prefix() |
305 | 312 | ||
306 | # Per platform MIME config on the cheap. See SNOW-307 / DEV-41388 | ||
307 | self.path("skins/default/xui/en-us/mime_types_windows.xml", "skins/default/xui/en-us/mime_types.xml") | ||
308 | |||
309 | # These need to be installed as a SxS assembly, currently a 'private' assembly. | 313 | # These need to be installed as a SxS assembly, currently a 'private' assembly. |
310 | # See http://msdn.microsoft.com/en-us/library/ms235291(VS.80).aspx | 314 | # See http://msdn.microsoft.com/en-us/library/ms235291(VS.80).aspx |
311 | if self.prefix(src=self.args['configuration'], dst=""): | 315 | if self.prefix(src=self.args['configuration'], dst=""): |
@@ -346,64 +350,74 @@ class WindowsManifest(ViewerManifest): | |||
346 | self.path("ortp.dll") | 350 | self.path("ortp.dll") |
347 | 351 | ||
348 | self.end_prefix() | 352 | self.end_prefix() |
349 | # Gstreamer is not used in webkit_plugins. The librries are never delivered/extracted to | 353 | |
350 | # ../../libraries/i686-win32/lib/release . Commented out until decision made to use or drop. | ||
351 | # Gstreamer plugins | 354 | # Gstreamer plugins |
352 | #if self.prefix(src="lib/gstreamer-plugins", dst=""): | 355 | if self.prefix(src="lib/gstreamer-plugins", dst=""): |
353 | # self.path("*.dll", dst="lib/gstreamer-plugins/*.dll") | 356 | self.path("*.dll", dst="lib/gstreamer-plugins/*.dll") |
354 | # self.end_prefix() | 357 | self.end_prefix() |
355 | 358 | ||
356 | # Gstreamer libs | 359 | # Gstreamer libs |
357 | #if (not self.standalone()) and self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): | 360 | if (not self.standalone()) and self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): |
358 | # self.path("iconv.dll") | 361 | self.path("avcodec-gpl-52.dll") |
359 | # self.path("libxml2.dll") | 362 | self.path("avdevice-gpl-52.dll") |
360 | # self.path("libcairo-2.dll") | 363 | self.path("avfilter-gpl-1.dll") |
361 | # self.path("libgio-2.0-0.dll") | 364 | self.path("avformat-gpl-52.dll") |
362 | # self.path("libglib-2.0-0.dll") | 365 | self.path("avutil-gpl-50.dll") |
363 | # self.path("libgmodule-2.0-0.dll") | 366 | self.path("iconv.dll") |
364 | # self.path("libgobject-2.0-0.dll") | 367 | self.path("liba52-0.dll") |
365 | # self.path("libgthread-2.0-0.dll") | 368 | self.path("libbz2.dll") |
366 | # self.path("charset.dll") | 369 | self.path("libcelt-0.dll") |
367 | # self.path("intl.dll") | 370 | self.path("libdca-0.dll") |
368 | # self.path("libgcrypt-11.dll") | 371 | self.path("libexpat-1.dll") |
369 | # self.path("libgnutls-26.dll") | 372 | self.path("libfaad-2.dll") |
370 | # self.path("libgpg-error-0.dll") | 373 | self.path("libFLAC-8.dll") |
371 | # self.path("libgstapp.dll") | 374 | self.path("libgcrypt-11.dll") |
372 | # self.path("libgstaudio.dll") | 375 | self.path("libgio-2.0-0.dll") |
373 | # self.path("libgstbase-0.10.dll") | 376 | self.path("libglib-2.0-0.dll") |
374 | # self.path("libgstcdda.dll") | 377 | self.path("libgmodule-2.0-0.dll") |
375 | # self.path("libgstcontroller-0.10.dll") | 378 | self.path("libgnutls-26.dll") |
376 | # self.path("libgstdataprotocol-0.10.dll") | 379 | self.path("libgobject-2.0-0.dll") |
377 | # self.path("libgstdshow.dll") | 380 | self.path("libgpg-error-0.dll") |
378 | # self.path("libgstfft.dll") | 381 | self.path("libgstapp-0.10.dll") |
379 | # self.path("libgstinterfaces.dll") | 382 | self.path("libgstaudio-0.10.dll") |
380 | # self.path("libgstnet-0.10.dll") | 383 | self.path("libgstbase-0.10.dll") |
381 | # self.path("libgstnetbuffer.dll") | 384 | self.path("libgstcontroller-0.10.dll") |
382 | # self.path("libgstpbutils.dll") | 385 | self.path("libgstdataprotocol-0.10.dll") |
383 | # self.path("libgstreamer-0.10.dll") | 386 | self.path("libgstfft-0.10.dll") |
384 | # self.path("libgstriff.dll") | 387 | self.path("libgstinterfaces-0.10.dll") |
385 | # self.path("libgstrtp.dll") | 388 | self.path("libgstnet-0.10.dll") |
386 | # self.path("libgstrtsp.dll") | 389 | self.path("libgstnetbuffer-0.10.dll") |
387 | # self.path("libgstsdp.dll") | 390 | self.path("libgstpbutils-0.10.dll") |
388 | # self.path("libgsttag.dll") | 391 | self.path("libgstphotography-0.10.dll") |
389 | # self.path("libgstvideo.dll") | 392 | self.path("libgstreamer-0.10.dll") |
390 | # self.path("libjpeg.dll") | 393 | self.path("libgstriff-0.10.dll") |
391 | # self.path("libmp3lame-0.dll") | 394 | self.path("libgstrtp-0.10.dll") |
392 | # self.path("libneon-27.dll") | 395 | self.path("libgstrtsp-0.10.dll") |
393 | # self.path("libogg-0.dll") | 396 | self.path("libgstsdp-0.10.dll") |
394 | # self.path("liboil-0.3-0.dll") | 397 | self.path("libgstsignalprocessor-0.10.dll") |
395 | # self.path("libopenjpeg-2.dll") | 398 | self.path("libgsttag-0.10.dll") |
396 | # self.path("libpng12-0.dll") | 399 | self.path("libgstvideo-0.10.dll") |
397 | # self.path("libschroedinger-1.0-0.dll") | 400 | self.path("libgthread-2.0-0.dll") |
398 | # self.path("libspeex-1.dll") | 401 | self.path("libmms-0.dll") |
399 | # self.path("libtheora-0.dll") | 402 | self.path("libmpeg2-0.dll") |
400 | # self.path("libvorbis-0.dll") | 403 | self.path("libneon-27.dll") |
401 | # self.path("libvorbisenc-2.dll") | 404 | self.path("libogg-0.dll") |
402 | # self.path("libxml2-2.dll") | 405 | self.path("liboil-0.3-0.dll") |
403 | # self.path("glew32.dll") | 406 | self.path("libsoup-2.4-1.dll") |
404 | # self.path("xvidcore.dll") | 407 | self.path("libtasn1-3.dll") |
405 | # self.path("zlib1.dll") | 408 | self.path("libtheora-0.dll") |
406 | # self.end_prefix() | 409 | self.path("libtheoradec-1.dll") |
410 | self.path("libvorbis-0.dll") | ||
411 | self.path("libvorbisenc-2.dll") | ||
412 | self.path("libvorbisfile-3.dll") | ||
413 | self.path("libwavpack-1.dll") | ||
414 | self.path("libx264-67.dll") | ||
415 | self.path("libxml2-2.dll") | ||
416 | self.path("libxml2.dll") | ||
417 | self.path("SDL.dll") | ||
418 | self.path("xvidcore.dll") | ||
419 | self.path("z.dll") | ||
420 | self.end_prefix() | ||
407 | 421 | ||
408 | # # pull in the crash logger and updater from other projects | 422 | # # pull in the crash logger and updater from other projects |
409 | # self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter | 423 | # self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter |
@@ -543,11 +557,16 @@ class WindowsManifest(ViewerManifest): | |||
543 | # We use the Unicode version of NSIS, available from | 557 | # We use the Unicode version of NSIS, available from |
544 | # http://www.scratchpaper.com/ | 558 | # http://www.scratchpaper.com/ |
545 | try: | 559 | try: |
546 | NSIS_path = 'C:\\Program Files\\NSIS\\Unicode\\makensis.exe' | 560 | import _winreg as reg |
547 | self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) | 561 | NSIS_path = reg.QueryValue(reg.HKEY_LOCAL_MACHINE, r"SOFTWARE\NSIS\Unicode") + '\\makensis.exe' |
562 | self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) | ||
548 | except: | 563 | except: |
549 | NSIS_path = 'C:\\Program Files (x86)\\NSIS\\Unicode\\makensis.exe' | 564 | try: |
565 | NSIS_path = os.environ['ProgramFiles'] + '\\NSIS\\Unicode\\makensis.exe' | ||
550 | self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) | 566 | self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) |
567 | except: | ||
568 | NSIS_path = os.environ['ProgramFiles(X86)'] + '\\NSIS\\Unicode\\makensis.exe' | ||
569 | self.run_command('"' + proper_windows_path(NSIS_path) + '" ' + self.dst_path_of(tempfile)) | ||
551 | # self.remove(self.dst_path_of(tempfile)) | 570 | # self.remove(self.dst_path_of(tempfile)) |
552 | # If we're on a build machine, sign the code using our Authenticode certificate. JC | 571 | # If we're on a build machine, sign the code using our Authenticode certificate. JC |
553 | sign_py = 'C:\\buildscripts\\code-signing\\sign.py' | 572 | sign_py = 'C:\\buildscripts\\code-signing\\sign.py' |
@@ -577,10 +596,10 @@ class DarwinManifest(ViewerManifest): | |||
577 | self.path("libopenal.1.dylib") | 596 | self.path("libopenal.1.dylib") |
578 | self.path("libalut.0.dylib") | 597 | self.path("libalut.0.dylib") |
579 | 598 | ||
580 | self.path("libglib-2.0.dylib") | 599 | # self.path("libglib-2.0.dylib") |
581 | self.path("libgmodule-2.0.dylib") | 600 | # self.path("libgmodule-2.0.dylib") |
582 | self.path("libgobject-2.0.dylib") | 601 | # self.path("libgobject-2.0.dylib") |
583 | self.path("libgthread-2.0.dylib") | 602 | # self.path("libgthread-2.0.dylib") |
584 | 603 | ||
585 | # self.path("libgstreamer-0.10.dylib") | 604 | # self.path("libgstreamer-0.10.dylib") |
586 | # self.path("libgstapp-0.10.dylib") | 605 | # self.path("libgstapp-0.10.dylib") |
@@ -601,15 +620,15 @@ class DarwinManifest(ViewerManifest): | |||
601 | # self.path("libgsttag-0.10.dylib") | 620 | # self.path("libgsttag-0.10.dylib") |
602 | # self.path("libgstvideo-0.10.dylib") | 621 | # self.path("libgstvideo-0.10.dylib") |
603 | 622 | ||
604 | self.path("libxml2.2.dylib") | 623 | # self.path("libxml2.2.dylib") |
605 | # self.path("libfaad.2.dylib") | 624 | # self.path("libfaad.2.dylib") |
606 | # self.path("libFLAC.8.dylib") | 625 | # self.path("libFLAC.8.dylib") |
607 | self.path("libintl.3.dylib") | 626 | # self.path("libintl.3.dylib") |
608 | self.path("libjpeg.62.dylib") | 627 | self.path("libjpeg.62.dylib") |
609 | self.path("libpng12.0.dylib") | 628 | self.path("libpng12.0.dylib") |
610 | self.path("libneon.27.dylib") | 629 | # self.path("libneon.27.dylib") |
611 | self.path("libogg.0.dylib") | 630 | self.path("libogg.0.dylib") |
612 | self.path("liboil-0.3.0.dylib") | 631 | # self.path("liboil-0.3.0.dylib") |
613 | self.path("libopenjpeg.1.4.dylib") | 632 | self.path("libopenjpeg.1.4.dylib") |
614 | # self.path("libtheora.0.dylib") | 633 | # self.path("libtheora.0.dylib") |
615 | self.path("libvorbis.0.dylib") | 634 | self.path("libvorbis.0.dylib") |
@@ -999,11 +1018,12 @@ class Linux_i686Manifest(LinuxManifest): | |||
999 | self.path("libELFIO.so") | 1018 | self.path("libELFIO.so") |
1000 | self.path("libopenjpeg.so.2") | 1019 | self.path("libopenjpeg.so.2") |
1001 | self.path("libxml2.so.2") | 1020 | self.path("libxml2.so.2") |
1021 | self.path("libz.so") | ||
1002 | self.path("libz.so.1") | 1022 | self.path("libz.so.1") |
1003 | 1023 | ||
1004 | # OpenAL | 1024 | # OpenAL |
1005 | self.path("libopenal.so.1") | 1025 | self.path("libopenal.so.1.12.854", "libopenal.so.1") |
1006 | self.path("libalut.so.0") | 1026 | self.path("libalut.so.0.1.0", "libalut.so.0") |
1007 | 1027 | ||
1008 | # GTK+ and dependencies | 1028 | # GTK+ and dependencies |
1009 | ## Lets just use the system libraries for all of these: | 1029 | ## Lets just use the system libraries for all of these: |
@@ -1135,17 +1155,15 @@ class Linux_x86_64Manifest(LinuxManifest): | |||
1135 | #self.path("libz.so.1") #not needed | 1155 | #self.path("libz.so.1") #not needed |
1136 | 1156 | ||
1137 | # OpenAL | 1157 | # OpenAL |
1138 | self.path("libopenal.so.1") | 1158 | self.path("libopenal.so.1.12.854", "libopenal.so.1") |
1139 | self.path("libalut.so.0") | 1159 | self.path("libalut.so.0.1.0", "libalut.so.0") |
1140 | |||
1141 | # GTK+ and dependencies | 1160 | # GTK+ and dependencies |
1142 | ## Lets just use the system libraries for all of these: | 1161 | ## Lets just use the system libraries for all of these: |
1143 | ##self.path("libatk-1.0.so.0") | 1162 | ##self.path("libatk-1.0.so.0") |
1144 | ##self.path("libcairo.so.2") | 1163 | ##self.path("libcairo.so.2") |
1145 | ##self.path("libfontconfig.so.1") | 1164 | ##self.path("libfontconfig.so.1") |
1146 | ##self.path("libfreetype.so.6") | 1165 | ##self.path("libfreetype.so.6") |
1147 | self.path("libgdk_pixbuf-2.0.so.0") # was commented to use systems gdk pixbufs instead - | 1166 | #self.path("libgdk_pixbuf-2.0.so.0") |
1148 | # but seems webkit needs it o_O . Packaging for testing now. | ||
1149 | ##self.path("libgdk-x11-2.0.so.0") | 1167 | ##self.path("libgdk-x11-2.0.so.0") |
1150 | ##self.path("libgtk-x11-2.0.so.0") | 1168 | ##self.path("libgtk-x11-2.0.so.0") |
1151 | # self.path("libpango-1.0.so.0") # use systems pango instead | 1169 | # self.path("libpango-1.0.so.0") # use systems pango instead |