aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py130
1 files changed, 95 insertions, 35 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index 8510dc4..d7acfea 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -30,6 +30,13 @@
30# WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 30# WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
31# COMPLETENESS OR PERFORMANCE. 31# COMPLETENESS OR PERFORMANCE.
32# $/LicenseInfo$ 32# $/LicenseInfo$
33
34# DO NOT RUN THIS FILE DIRECTLY
35# Instead, run develop.py with "configure -DPACKAGE:BOOL=ON" e.g.:
36# develop.py -G vc80 configure -DPACKAGE:BOOL=ON
37# to generate the "package" project in Visual Studio 2005
38# Note: as of Imprudence 1.3, this defaults to on for Windows
39
33import sys 40import sys
34import os.path 41import os.path
35import re 42import re
@@ -68,37 +75,33 @@ class ViewerManifest(LLManifest):
68 75
69 # Include our fonts 76 # Include our fonts
70 if self.prefix(src="fonts"): 77 if self.prefix(src="fonts"):
71 self.path("LiberationSans-Bold.ttf") 78 self.path("*.ttf")
72 self.path("LiberationSans-Regular.ttf")
73 self.path("VeraMono.ttf")
74 self.path("*.txt") 79 self.path("*.txt")
75 self.end_prefix("fonts") 80 self.end_prefix("fonts")
76 81
77 # skins 82 # skins
78 if self.prefix(src="skins"): 83 if self.prefix(src="skins"):
79 self.path("paths.xml") 84 self.path("paths.xml")
80 85 # include the entire textures directory recursively
81 # include the entire textures directory recursively 86 if self.prefix(src="*/textures"):
82 if self.prefix(src="*/textures"): 87 self.path("*.tga")
83 self.path("*.tga") 88 self.path("*.j2c")
84 self.path("*.j2c") 89 self.path("*.jpg")
85 self.path("*.jpg") 90 self.path("*.png")
86 self.path("*.png") 91 self.path("textures.xml")
87 self.path("textures.xml") 92 self.end_prefix("*/textures")
88 self.end_prefix("*/textures") 93 self.path("*/xui/*/*.xml")
89 94 self.path("*/*.xml")
90 self.path("*/xui/*/*.xml")
91 self.path("*/*.xml")
92
93 # Local HTML files (e.g. loading screen)
94 if self.prefix(src="*/html"):
95 self.path("*.png")
96 self.path("*/*/*.html")
97 self.path("*/*/*.gif")
98 self.end_prefix("*/html")
99 95
100 self.end_prefix("skins") 96 # Local HTML files (e.g. loading screen)
101 97 if self.prefix(src="*/html"):
98 self.path("*.png")
99 self.path("*/*/*.html")
100 self.path("*/*/*.gif")
101 self.end_prefix("*/html")
102 self.end_prefix("skins")
103
104 # Files in the newview/ directory
102 self.path("gpu_table.txt") 105 self.path("gpu_table.txt")
103 106
104 107
@@ -140,7 +143,7 @@ class ViewerManifest(LLManifest):
140 def channel(self): 143 def channel(self):
141 return self.args['channel'] 144 return self.args['channel']
142 def channel_unique(self): 145 def channel_unique(self):
143 return self.channel().replace("Second Life", "").strip() 146 return self.channel().replace("Imprudence", "").strip()
144 def channel_oneword(self): 147 def channel_oneword(self):
145 return "".join(self.channel_unique().split()) 148 return "".join(self.channel_unique().split())
146 def channel_lowerword(self): 149 def channel_lowerword(self):
@@ -236,16 +239,16 @@ class WindowsManifest(ViewerManifest):
236 self.end_prefix() 239 self.end_prefix()
237 240
238 # The config file name needs to match the exe's name. 241 # The config file name needs to match the exe's name.
239 self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst=self.final_exe() + ".config") 242 self.path(src="%s/imprudence-bin.exe.config" % self.args['configuration'], dst=self.final_exe() + ".config")
240 243
241 # We need this one too, so that llkdu loads at runtime - DEV-41194 244 # We need this one too, so that llkdu loads at runtime - DEV-41194
242 self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="llkdu.dll.2.config") 245 self.path(src="%s/imprudence-bin.exe.config" % self.args['configuration'], dst="llkdu.dll.2.config")
243 246
244 # We need this one too, so that win_crash_logger.exe loads at runtime - DEV-19004 247 # We need this one too, so that win_crash_logger.exe loads at runtime - DEV-19004
245 self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="win_crash_logger.exe.config") 248 self.path(src="%s/imprudence-bin.exe.config" % self.args['configuration'], dst="win_crash_logger.exe.config")
246 249
247 # same thing for auto-updater. 250 # same thing for auto-updater.
248 self.path(src="%s/secondlife-bin.exe.config" % self.args['configuration'], dst="updater.exe.config") 251 self.path(src="%s/imprudence-bin.exe.config" % self.args['configuration'], dst="updater.exe.config")
249 252
250 # Mozilla runtime DLLs (CP) 253 # Mozilla runtime DLLs (CP)
251 if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""): 254 if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""):
@@ -276,9 +279,9 @@ class WindowsManifest(ViewerManifest):
276 # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest 279 # Mozilla hack to get it to accept newer versions of msvc*80.dll than are listed in manifest
277 # 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 280 # 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
278 # Vivox runtimes 281 # Vivox runtimes
279 if self.prefix(src="vivox-runtime/i686-win32", dst=""): 282 #if self.prefix(src="vivox-runtime/i686-win32", dst=""):
280 # self.path("alut.dll") 283 # self.path("alut.dll")
281 self.path("wrap_oal.dll") 284 # self.path("wrap_oal.dll")
282 285
283 # self.path("SLVoice.exe") 286 # self.path("SLVoice.exe")
284 # self.path("SLVoiceAgent.exe") 287 # self.path("SLVoiceAgent.exe")
@@ -289,8 +292,65 @@ class WindowsManifest(ViewerManifest):
289 # self.path("vivoxsdk.dll") 292 # self.path("vivoxsdk.dll")
290 # self.path("ortp.dll") 293 # self.path("ortp.dll")
291 294
295 # self.end_prefix()
296
297 # Gstreamer plugins
298 if self.prefix(src="lib/gstreamer-plugins", dst=""):
299 self.path("*.dll", dst="lib/gstreamer-plugins/*.dll")
292 self.end_prefix() 300 self.end_prefix()
293 301
302 # Gstreamer libs
303 if self.prefix(src="../../libraries/i686-win32/lib/release", dst=""):
304 self.path("iconv.dll")
305 self.path("libxml2.dll")
306 self.path("libcairo-2.dll")
307 self.path("libgio-2.0-0.dll")
308 self.path("libglib-2.0-0.dll")
309 self.path("libgmodule-2.0-0.dll")
310 self.path("libgobject-2.0-0.dll")
311 self.path("libgthread-2.0-0.dll")
312 self.path("charset.dll")
313 self.path("intl.dll")
314 self.path("libgcrypt-11.dll")
315 self.path("libgnutls-26.dll")
316 self.path("libgpg-error-0.dll")
317 self.path("libgstapp.dll")
318 self.path("libgstaudio.dll")
319 self.path("libgstbase-0.10.dll")
320 self.path("libgstcdda.dll")
321 self.path("libgstcontroller-0.10.dll")
322 self.path("libgstdataprotocol-0.10.dll")
323 self.path("libgstdshow.dll")
324 self.path("libgstfft.dll")
325 self.path("libgstinterfaces.dll")
326 self.path("libgstnet-0.10.dll")
327 self.path("libgstnetbuffer.dll")
328 self.path("libgstpbutils.dll")
329 self.path("libgstreamer-0.10.dll")
330 self.path("libgstriff.dll")
331 self.path("libgstrtp.dll")
332 self.path("libgstrtsp.dll")
333 self.path("libgstsdp.dll")
334 self.path("libgsttag.dll")
335 self.path("libgstvideo.dll")
336 self.path("libjpeg.dll")
337 self.path("libmp3lame-0.dll")
338 self.path("libneon-27.dll")
339 self.path("libogg-0.dll")
340 self.path("liboil-0.3-0.dll")
341 self.path("libopenjpeg-2.dll")
342 self.path("libpng12-0.dll")
343 self.path("libschroedinger-1.0-0.dll")
344 self.path("libspeex-1.dll")
345 self.path("libtheora-0.dll")
346 self.path("libvorbis-0.dll")
347 self.path("libvorbisenc-2.dll")
348 self.path("libxml2-2.dll")
349 self.path("glew32.dll")
350 self.path("xvidcore.dll")
351 self.path("zlib1.dll")
352 self.end_prefix()
353
294# # pull in the crash logger and updater from other projects 354# # pull in the crash logger and updater from other projects
295# self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter 355# self.path(src=self.find_existing_file( # tag:"crash-logger" here as a cue to the exporter
296# "../win_crash_logger/debug/windows-crash-logger.exe", 356# "../win_crash_logger/debug/windows-crash-logger.exe",
@@ -355,9 +415,9 @@ class WindowsManifest(ViewerManifest):
355 def package_finish(self): 415 def package_finish(self):
356 # a standard map of strings for replacing in the templates 416 # a standard map of strings for replacing in the templates
357 substitution_strings = { 417 substitution_strings = {
358 'version' : '.'.join(self.args['version']), 418 'version' : '.'.join(self.args['version']).replace(' ', '_'),
359 'version_short' : '.'.join(self.args['version'][:-1]), 419 'version_short' : '.'.join(self.args['version'][:-1]).replace(' ', '_'),
360 'version_dashes' : '-'.join(self.args['version']), 420 'version_dashes' : '-'.join(self.args['version']).replace(' ', '_'),
361 'final_exe' : self.final_exe(), 421 'final_exe' : self.final_exe(),
362 'grid':self.args['grid'], 422 'grid':self.args['grid'],
363 'grid_caps':self.args['grid'].upper(), 423 'grid_caps':self.args['grid'].upper(),