aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py52
1 files changed, 26 insertions, 26 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index 32cae79..303512f 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -141,9 +141,9 @@ class WindowsManifest(ViewerManifest):
141 def final_exe(self): 141 def final_exe(self):
142 if self.default_channel(): 142 if self.default_channel():
143 if self.default_grid(): 143 if self.default_grid():
144 return "SecondLife.exe" 144 return "Imprudence.exe"
145 else: 145 else:
146 return "SecondLifePreview.exe" 146 return "ImprudencePreview.exe"
147 else: 147 else:
148 return ''.join(self.channel().split()) + '.exe' 148 return ''.join(self.channel().split()) + '.exe'
149 149
@@ -152,7 +152,7 @@ class WindowsManifest(ViewerManifest):
152 super(WindowsManifest, self).construct() 152 super(WindowsManifest, self).construct()
153 # the final exe is complicated because we're not sure where it's coming from, 153 # the final exe is complicated because we're not sure where it's coming from,
154 # nor do we have a fixed name for the executable 154 # nor do we have a fixed name for the executable
155 self.path(self.find_existing_file('debug/secondlife-bin.exe', 'release/secondlife-bin.exe', 'relwithdebinfo/secondlife-bin.exe'), dst=self.final_exe()) 155 self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe())
156 # need to get the kdu dll from any of the build directories as well 156 # need to get the kdu dll from any of the build directories as well
157 #self.path(self.find_existing_file( 157 #self.path(self.find_existing_file(
158 # *FIX:Mani we need to add support for packaging specific targets. 158 # *FIX:Mani we need to add support for packaging specific targets.
@@ -301,36 +301,36 @@ class WindowsManifest(ViewerManifest):
301 if self.default_channel(): 301 if self.default_channel():
302 if self.default_grid(): 302 if self.default_grid():
303 # release viewer 303 # release viewer
304 installer_file = "Second_Life_%(version_dashes)s_Setup.exe" 304 installer_file = "Imprudence_%(version_dashes)s_Setup.exe"
305 grid_vars_template = """ 305 grid_vars_template = """
306 OutFile "%(installer_file)s" 306 OutFile "%(installer_file)s"
307 !define INSTFLAGS "%(flags)s" 307 !define INSTFLAGS "%(flags)s"
308 !define INSTNAME "SecondLife" 308 !define INSTNAME "Imprudence"
309 !define SHORTCUT "Second Life" 309 !define SHORTCUT "Imprudence"
310 !define URLNAME "secondlife" 310 !define URLNAME "imprudence"
311 Caption "Second Life ${VERSION}" 311 Caption "Imprudence ${VERSION}"
312 """ 312 """
313 else: 313 else:
314 # beta grid viewer 314 # beta grid viewer
315 installer_file = "Second_Life_%(version_dashes)s_(%(grid_caps)s)_Setup.exe" 315 installer_file = "Imprudence_%(version_dashes)s_(%(grid_caps)s)_Setup.exe"
316 grid_vars_template = """ 316 grid_vars_template = """
317 OutFile "%(installer_file)s" 317 OutFile "%(installer_file)s"
318 !define INSTFLAGS "%(flags)s" 318 !define INSTFLAGS "%(flags)s"
319 !define INSTNAME "SecondLife%(grid_caps)s" 319 !define INSTNAME "Imprudence%(grid_caps)s"
320 !define SHORTCUT "Second Life (%(grid_caps)s)" 320 !define SHORTCUT "Imprudence (%(grid_caps)s)"
321 !define URLNAME "secondlife%(grid)s" 321 !define URLNAME "imprudence%(grid)s"
322 !define UNINSTALL_SETTINGS 1 322 !define UNINSTALL_SETTINGS 1
323 Caption "Second Life %(grid)s ${VERSION}" 323 Caption "Imprudence %(grid)s ${VERSION}"
324 """ 324 """
325 else: 325 else:
326 # some other channel on some grid 326 # some other channel on some grid
327 installer_file = "Second_Life_%(version_dashes)s_%(channel_oneword)s_Setup.exe" 327 installer_file = "Imprudence_%(version_dashes)s_%(channel_oneword)s_Setup.exe"
328 grid_vars_template = """ 328 grid_vars_template = """
329 OutFile "%(installer_file)s" 329 OutFile "%(installer_file)s"
330 !define INSTFLAGS "%(flags)s" 330 !define INSTFLAGS "%(flags)s"
331 !define INSTNAME "SecondLife%(channel_oneword)s" 331 !define INSTNAME "Imprudence%(channel_oneword)s"
332 !define SHORTCUT "%(channel)s" 332 !define SHORTCUT "%(channel)s"
333 !define URLNAME "secondlife" 333 !define URLNAME "imprudence"
334 !define UNINSTALL_SETTINGS 1 334 !define UNINSTALL_SETTINGS 1
335 Caption "%(channel)s ${VERSION}" 335 Caption "%(channel)s ${VERSION}"
336 """ 336 """
@@ -340,7 +340,7 @@ class WindowsManifest(ViewerManifest):
340 installer_file = installer_file % substitution_strings 340 installer_file = installer_file % substitution_strings
341 substitution_strings['installer_file'] = installer_file 341 substitution_strings['installer_file'] = installer_file
342 342
343 tempfile = "secondlife_setup_tmp.nsi" 343 tempfile = "imprudence_setup_tmp.nsi"
344 # the following replaces strings in the nsi template 344 # the following replaces strings in the nsi template
345 # it also does python-style % substitution 345 # it also does python-style % substitution
346 self.replace_in("installers/windows/installer_template.nsi", tempfile, { 346 self.replace_in("installers/windows/installer_template.nsi", tempfile, {
@@ -360,7 +360,7 @@ class WindowsManifest(ViewerManifest):
360class DarwinManifest(ViewerManifest): 360class DarwinManifest(ViewerManifest):
361 def construct(self): 361 def construct(self):
362 # copy over the build result (this is a no-op if run within the xcode script) 362 # copy over the build result (this is a no-op if run within the xcode script)
363 self.path(self.args['configuration'] + "/Second Life.app", dst="") 363 self.path(self.args['configuration'] + "/Imprudence.app", dst="")
364 364
365 if self.prefix(src="", dst="Contents"): # everything goes in Contents 365 if self.prefix(src="", dst="Contents"): # everything goes in Contents
366 # Expand the tar file containing the assorted mozilla bits into 366 # Expand the tar file containing the assorted mozilla bits into
@@ -439,16 +439,16 @@ class DarwinManifest(ViewerManifest):
439 439
440 440
441 def package_finish(self): 441 def package_finish(self):
442 channel_standin = 'Second Life' # hah, our default channel is not usable on its own 442 channel_standin = 'Imprudence' # hah, our default channel is not usable on its own
443 if not self.default_channel(): 443 if not self.default_channel():
444 channel_standin = self.channel() 444 channel_standin = self.channel()
445 445
446 imagename="SecondLife_" + '_'.join(self.args['version']) 446 imagename="Imprudence_" + '_'.join(self.args['version'])
447 447
448 # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning. 448 # MBW -- If the mounted volume name changes, it breaks the .DS_Store's background image and icon positioning.
449 # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick. 449 # If we really need differently named volumes, we'll need to create multiple DS_Store file images, or use some other trick.
450 450
451 volname="Second Life Installer" # DO NOT CHANGE without understanding comment above 451 volname="Imprudence Installer" # DO NOT CHANGE without understanding comment above
452 452
453 if self.default_channel(): 453 if self.default_channel():
454 if not self.default_grid(): 454 if not self.default_grid():
@@ -475,7 +475,7 @@ class DarwinManifest(ViewerManifest):
475 # Copy everything in to the mounted .dmg 475 # Copy everything in to the mounted .dmg
476 476
477 if self.default_channel() and not self.default_grid(): 477 if self.default_channel() and not self.default_grid():
478 app_name = "Second Life " + self.args['grid'] 478 app_name = "Imprudence " + self.args['grid']
479 else: 479 else:
480 app_name = channel_standin.strip() 480 app_name = channel_standin.strip()
481 481
@@ -535,7 +535,7 @@ class LinuxManifest(ViewerManifest):
535 if self.prefix("linux_tools", dst=""): 535 if self.prefix("linux_tools", dst=""):
536 self.path("client-readme.txt","README-linux.txt") 536 self.path("client-readme.txt","README-linux.txt")
537 #self.path("client-readme-voice.txt","README-linux-voice.txt") 537 #self.path("client-readme-voice.txt","README-linux-voice.txt")
538 self.path("wrapper.sh","secondlife") 538 self.path("wrapper.sh","imprudence")
539 self.path("handle_secondlifeprotocol.sh") 539 self.path("handle_secondlifeprotocol.sh")
540 self.path("register_secondlifeprotocol.sh") 540 self.path("register_secondlifeprotocol.sh")
541 self.end_prefix("linux_tools") 541 self.end_prefix("linux_tools")
@@ -555,7 +555,7 @@ class LinuxManifest(ViewerManifest):
555 if 'installer_name' in self.args: 555 if 'installer_name' in self.args:
556 installer_name = self.args['installer_name'] 556 installer_name = self.args['installer_name']
557 else: 557 else:
558 installer_name_components = ['SecondLife_', self.args.get('arch')] 558 installer_name_components = ['Imprudence_', self.args.get('arch')]
559 installer_name_components.extend(self.args['version']) 559 installer_name_components.extend(self.args['version'])
560 installer_name = "_".join(installer_name_components) 560 installer_name = "_".join(installer_name_components)
561 if self.default_channel(): 561 if self.default_channel():
@@ -600,7 +600,7 @@ class LinuxManifest(ViewerManifest):
600class Linux_i686Manifest(LinuxManifest): 600class Linux_i686Manifest(LinuxManifest):
601 def construct(self): 601 def construct(self):
602 super(Linux_i686Manifest, self).construct() 602 super(Linux_i686Manifest, self).construct()
603 self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") 603 self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin")
604# self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") 604# self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin")
605 self.path("linux_tools/launch_url.sh","launch_url.sh") 605 self.path("linux_tools/launch_url.sh","launch_url.sh")
606 if self.prefix("res-sdl"): 606 if self.prefix("res-sdl"):
@@ -646,7 +646,7 @@ class Linux_i686Manifest(LinuxManifest):
646class Linux_x86_64Manifest(LinuxManifest): 646class Linux_x86_64Manifest(LinuxManifest):
647 def construct(self): 647 def construct(self):
648 super(Linux_x86_64Manifest, self).construct() 648 super(Linux_x86_64Manifest, self).construct()
649 self.path("secondlife-stripped","bin/do-not-directly-run-secondlife-bin") 649 self.path("imprudence-stripped","bin/do-not-directly-run-imprudence-bin")
650# self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin") 650# self.path("../linux_crash_logger/linux-crash-logger-stripped","linux-crash-logger.bin")
651 self.path("linux_tools/launch_url.sh","launch_url.sh") 651 self.path("linux_tools/launch_url.sh","launch_url.sh")
652 if self.prefix("res-sdl"): 652 if self.prefix("res-sdl"):