diff options
author | Jacek Antonelli | 2008-10-14 20:25:17 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-14 20:28:56 -0500 |
commit | 6ed8d75324849ecb36b0b911de0143348755f8bb (patch) | |
tree | 5a231c0774d6314d299d1dd893d23dda42c4dcc9 /linden/indra/newview/viewer_manifest.py | |
parent | Added Imprudence-specific version numbers. (diff) | |
download | meta-impy-6ed8d75324849ecb36b0b911de0143348755f8bb.zip meta-impy-6ed8d75324849ecb36b0b911de0143348755f8bb.tar.gz meta-impy-6ed8d75324849ecb36b0b911de0143348755f8bb.tar.bz2 meta-impy-6ed8d75324849ecb36b0b911de0143348755f8bb.tar.xz |
Rebranded platform-independent/shared installer/support files.
Replaced instances of "Second Life" with "Imprudence", etc.
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index fe894a7..2533e6a 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -139,9 +139,9 @@ class WindowsManifest(ViewerManifest): | |||
139 | def final_exe(self): | 139 | def final_exe(self): |
140 | if self.default_channel(): | 140 | if self.default_channel(): |
141 | if self.default_grid(): | 141 | if self.default_grid(): |
142 | return "SecondLife.exe" | 142 | return "Imprudence.exe" |
143 | else: | 143 | else: |
144 | return "SecondLifePreview.exe" | 144 | return "ImprudencePreview.exe" |
145 | else: | 145 | else: |
146 | return ''.join(self.channel().split()) + '.exe' | 146 | return ''.join(self.channel().split()) + '.exe' |
147 | 147 | ||
@@ -150,7 +150,7 @@ class WindowsManifest(ViewerManifest): | |||
150 | super(WindowsManifest, self).construct() | 150 | super(WindowsManifest, self).construct() |
151 | # the final exe is complicated because we're not sure where it's coming from, | 151 | # the final exe is complicated because we're not sure where it's coming from, |
152 | # nor do we have a fixed name for the executable | 152 | # nor do we have a fixed name for the executable |
153 | self.path(self.find_existing_file('debug/secondlife-bin.exe', 'release/secondlife-bin.exe', 'relwithdebinfo/secondlife-bin.exe'), dst=self.final_exe()) | 153 | self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe()) |
154 | # need to get the kdu dll from any of the build directories as well | 154 | # need to get the kdu dll from any of the build directories as well |
155 | self.path(self.find_existing_file( | 155 | self.path(self.find_existing_file( |
156 | # *FIX:Mani we need to add support for packaging specific targets. | 156 | # *FIX:Mani we need to add support for packaging specific targets. |
@@ -299,36 +299,36 @@ class WindowsManifest(ViewerManifest): | |||
299 | if self.default_channel(): | 299 | if self.default_channel(): |
300 | if self.default_grid(): | 300 | if self.default_grid(): |
301 | # release viewer | 301 | # release viewer |
302 | installer_file = "Second_Life_%(version_dashes)s_Setup.exe" | 302 | installer_file = "Imprudence_%(version_dashes)s_Setup.exe" |
303 | grid_vars_template = """ | 303 | grid_vars_template = """ |
304 | OutFile "%(installer_file)s" | 304 | OutFile "%(installer_file)s" |
305 | !define INSTFLAGS "%(flags)s" | 305 | !define INSTFLAGS "%(flags)s" |
306 | !define INSTNAME "SecondLife" | 306 | !define INSTNAME "Imprudence" |
307 | !define SHORTCUT "Second Life" | 307 | !define SHORTCUT "Imprudence" |
308 | !define URLNAME "secondlife" | 308 | !define URLNAME "imprudence" |
309 | Caption "Second Life ${VERSION}" | 309 | Caption "Imprudence ${VERSION}" |
310 | """ | 310 | """ |
311 | else: | 311 | else: |
312 | # beta grid viewer | 312 | # beta grid viewer |
313 | installer_file = "Second_Life_%(version_dashes)s_(%(grid_caps)s)_Setup.exe" | 313 | installer_file = "Imprudence_%(version_dashes)s_(%(grid_caps)s)_Setup.exe" |
314 | grid_vars_template = """ | 314 | grid_vars_template = """ |
315 | OutFile "%(installer_file)s" | 315 | OutFile "%(installer_file)s" |
316 | !define INSTFLAGS "%(flags)s" | 316 | !define INSTFLAGS "%(flags)s" |
317 | !define INSTNAME "SecondLife%(grid_caps)s" | 317 | !define INSTNAME "Imprudence%(grid_caps)s" |
318 | !define SHORTCUT "Second Life (%(grid_caps)s)" | 318 | !define SHORTCUT "Imprudence (%(grid_caps)s)" |
319 | !define URLNAME "secondlife%(grid)s" | 319 | !define URLNAME "imprudence%(grid)s" |
320 | !define UNINSTALL_SETTINGS 1 | 320 | !define UNINSTALL_SETTINGS 1 |
321 | Caption "Second Life %(grid)s ${VERSION}" | 321 | Caption "Imprudence %(grid)s ${VERSION}" |
322 | """ | 322 | """ |
323 | else: | 323 | else: |
324 | # some other channel on some grid | 324 | # some other channel on some grid |
325 | installer_file = "Second_Life_%(version_dashes)s_%(channel_oneword)s_Setup.exe" | 325 | installer_file = "Imprudence_%(version_dashes)s_%(channel_oneword)s_Setup.exe" |
326 | grid_vars_template = """ | 326 | grid_vars_template = """ |
327 | OutFile "%(installer_file)s" | 327 | OutFile "%(installer_file)s" |
328 | !define INSTFLAGS "%(flags)s" | 328 | !define INSTFLAGS "%(flags)s" |
329 | !define INSTNAME "SecondLife%(channel_oneword)s" | 329 | !define INSTNAME "Imprudence%(channel_oneword)s" |
330 | !define SHORTCUT "%(channel)s" | 330 | !define SHORTCUT "%(channel)s" |
331 | !define URLNAME "secondlife" | 331 | !define URLNAME "imprudence" |
332 | !define UNINSTALL_SETTINGS 1 | 332 | !define UNINSTALL_SETTINGS 1 |
333 | Caption "%(channel)s ${VERSION}" | 333 | Caption "%(channel)s ${VERSION}" |
334 | """ | 334 | """ |
@@ -338,7 +338,7 @@ class WindowsManifest(ViewerManifest): | |||
338 | installer_file = installer_file % substitution_strings | 338 | installer_file = installer_file % substitution_strings |
339 | substitution_strings['installer_file'] = installer_file | 339 | substitution_strings['installer_file'] = installer_file |
340 | 340 | ||
341 | tempfile = "secondlife_setup_tmp.nsi" | 341 | tempfile = "imprudence_setup_tmp.nsi" |
342 | # the following replaces strings in the nsi template | 342 | # the following replaces strings in the nsi template |
343 | # it also does python-style % substitution | 343 | # it also does python-style % substitution |
344 | self.replace_in("installers/windows/installer_template.nsi", tempfile, { | 344 | self.replace_in("installers/windows/installer_template.nsi", tempfile, { |
@@ -358,7 +358,7 @@ class WindowsManifest(ViewerManifest): | |||
358 | class DarwinManifest(ViewerManifest): | 358 | class DarwinManifest(ViewerManifest): |
359 | def construct(self): | 359 | def construct(self): |
360 | # copy over the build result (this is a no-op if run within the xcode script) | 360 | # copy over the build result (this is a no-op if run within the xcode script) |
361 | self.path(self.args['configuration'] + "/Second Life.app", dst="") | 361 | self.path(self.args['configuration'] + "/Imprudence.app", dst="") |
362 | 362 | ||
363 | if self.prefix(src="", dst="Contents"): # everything goes in Contents | 363 | if self.prefix(src="", dst="Contents"): # everything goes in Contents |
364 | # Expand the tar file containing the assorted mozilla bits into | 364 | # Expand the tar file containing the assorted mozilla bits into |
@@ -437,16 +437,16 @@ class DarwinManifest(ViewerManifest): | |||
437 | 437 | ||
438 | 438 | ||
439 | def package_finish(self): | 439 | def package_finish(self): |
440 | channel_standin = 'Second Life' # hah, our default channel is not usable on its own | 440 | channel_standin = 'Imprudence' # hah, our default channel is not usable on its own |
441 | if not self.default_channel(): | 441 | if not self.default_channel(): |
442 | channel_standin = self.channel() | 442 | channel_standin = self.channel() |
443 | 443 | ||
444 | imagename="SecondLife_" + '_'.join(self.args['version']) | 444 | imagename="Imprudence_" + '_'.join(self.args['version']) |
445 | 445 | ||
446 | # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning. | 446 | # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning. |
447 | # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick. | 447 | # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick. |
448 | 448 | ||
449 | volname="Second Life Installer" # DO NOT CHANGE without understanding comment above | 449 | volname="Imprudence Installer" # DO NOT CHANGE without understanding comment above |
450 | 450 | ||
451 | if self.default_channel(): | 451 | if self.default_channel(): |
452 | if not self.default_grid(): | 452 | if not self.default_grid(): |
@@ -473,7 +473,7 @@ class DarwinManifest(ViewerManifest): | |||
473 | # Copy everything in to the mounted .dmg | 473 | # Copy everything in to the mounted .dmg |
474 | 474 | ||
475 | if self.default_channel() and not self.default_grid(): | 475 | if self.default_channel() and not self.default_grid(): |
476 | app_name = "Second Life " + self.args['grid'] | 476 | app_name = "Imprudence " + self.args['grid'] |
477 | else: | 477 | else: |
478 | app_name = channel_standin.strip() | 478 | app_name = channel_standin.strip() |
479 | 479 | ||
@@ -533,7 +533,7 @@ class LinuxManifest(ViewerManifest): | |||
533 | if self.prefix("linux_tools", dst=""): | 533 | if self.prefix("linux_tools", dst=""): |
534 | self.path("client-readme.txt","README-linux.txt") | 534 | self.path("client-readme.txt","README-linux.txt") |
535 | self.path("client-readme-voice.txt","README-linux-voice.txt") | 535 | self.path("client-readme-voice.txt","README-linux-voice.txt") |
536 | self.path("wrapper.sh","secondlife") | 536 | self.path("wrapper.sh","imprudence") |
537 | self.path("handle_secondlifeprotocol.sh") | 537 | self.path("handle_secondlifeprotocol.sh") |
538 | self.path("register_secondlifeprotocol.sh") | 538 | self.path("register_secondlifeprotocol.sh") |
539 | self.end_prefix("linux_tools") | 539 | self.end_prefix("linux_tools") |
@@ -553,7 +553,7 @@ class LinuxManifest(ViewerManifest): | |||
553 | if 'installer_name' in self.args: | 553 | if 'installer_name' in self.args: |
554 | installer_name = self.args['installer_name'] | 554 | installer_name = self.args['installer_name'] |
555 | else: | 555 | else: |
556 | installer_name_components = ['SecondLife_', self.args.get('arch')] | 556 | installer_name_components = ['Imprudence_', self.args.get('arch')] |
557 | installer_name_components.extend(self.args['version']) | 557 | installer_name_components.extend(self.args['version']) |
558 | installer_name = "_".join(installer_name_components) | 558 | installer_name = "_".join(installer_name_components) |
559 | if self.default_channel(): | 559 | if self.default_channel(): |
@@ -598,7 +598,7 @@ class LinuxManifest(ViewerManifest): | |||
598 | class Linux_i686Manifest(LinuxManifest): | 598 | class Linux_i686Manifest(LinuxManifest): |
599 | def construct(self): | 599 | def construct(self): |
600 | super(Linux_i686Manifest, self).construct() | 600 | super(Linux_i686Manifest, self).construct() |
601 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 601 | self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin") |
602 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 602 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
603 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 603 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
604 | if self.prefix("res-sdl"): | 604 | if self.prefix("res-sdl"): |
@@ -643,7 +643,7 @@ class Linux_i686Manifest(LinuxManifest): | |||
643 | class Linux_x86_64Manifest(LinuxManifest): | 643 | class Linux_x86_64Manifest(LinuxManifest): |
644 | def construct(self): | 644 | def construct(self): |
645 | super(Linux_x86_64Manifest, self).construct() | 645 | super(Linux_x86_64Manifest, self).construct() |
646 | self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") | 646 | self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin") |
647 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") | 647 | # self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") |
648 | self.path("linux_tools/launch_url.sh","launch_url.sh") | 648 | self.path("linux_tools/launch_url.sh","launch_url.sh") |
649 | if self.prefix("res-sdl"): | 649 | if self.prefix("res-sdl"): |