diff options
author | McCabe Maxsted | 2011-09-08 17:49:52 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-09-08 17:49:52 -0700 |
commit | 31e430a85b62e92952400bfc2b092cd39cd8d663 (patch) | |
tree | 5261a7d54a7689a7e7bc7f6c46d365120fe3f32f /linden/indra | |
parent | Rebranded the Windows isntaller template back to Imp (diff) | |
download | meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.zip meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.gz meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.bz2 meta-impy-31e430a85b62e92952400bfc2b092cd39cd8d663.tar.xz |
Fixed windows packaging merge errors
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/lib/python/indra/util/llmanifest.py | 2 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 17 |
2 files changed, 11 insertions, 8 deletions
diff --git a/linden/indra/lib/python/indra/util/llmanifest.py b/linden/indra/lib/python/indra/util/llmanifest.py index 3cd8786..20875f9 100644 --- a/linden/indra/lib/python/indra/util/llmanifest.py +++ b/linden/indra/lib/python/indra/util/llmanifest.py | |||
@@ -126,7 +126,7 @@ ARGUMENTS=[ | |||
126 | default="Release"), | 126 | default="Release"), |
127 | dict(name='branding_id', description="""Identifier for the branding set to | 127 | dict(name='branding_id', description="""Identifier for the branding set to |
128 | use. Currently, 'imprudence')""", | 128 | use. Currently, 'imprudence')""", |
129 | default='inworldz'), | 129 | default='imprudence'), |
130 | dict(name='configuration', | 130 | dict(name='configuration', |
131 | description="""The build configuration used. On OSX this is | 131 | description="""The build configuration used. On OSX this is |
132 | Universal, etc. On Windows it's the *actual* buildtype for | 132 | Universal, etc. On Windows it's the *actual* buildtype for |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index 3221974..4d672f0 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -35,7 +35,7 @@ | |||
35 | # Instead, run develop.py with "configure -DPACKAGE:BOOL=ON" e.g.: | 35 | # Instead, run develop.py with "configure -DPACKAGE:BOOL=ON" e.g.: |
36 | # develop.py -G vc80 configure -DPACKAGE:BOOL=ON | 36 | # develop.py -G vc80 configure -DPACKAGE:BOOL=ON |
37 | # to generate the "package" project in Visual Studio 2005 | 37 | # to generate the "package" project in Visual Studio 2005 |
38 | # Note: as of Imprudence 1.3, this defaults to on for Windows | 38 | # Note: use the batch file on Windows in the indra directory |
39 | 39 | ||
40 | import sys | 40 | import sys |
41 | import os.path | 41 | import os.path |
@@ -219,14 +219,15 @@ class ViewerManifest(LLManifest): | |||
219 | 219 | ||
220 | 220 | ||
221 | class WindowsManifest(ViewerManifest): | 221 | class WindowsManifest(ViewerManifest): |
222 | # we always want these to be named imprudence.exe to avoid settings conflicts | ||
222 | def final_exe(self): | 223 | def final_exe(self): |
223 | if self.default_channel(): | 224 | #if self.default_channel(): |
224 | if self.default_grid(): | 225 | # if self.default_grid(): |
225 | return "imprudence.exe" | 226 | return "imprudence.exe" |
226 | else: | 227 | # else: |
227 | return "imprudencepreview.exe" | 228 | # return "imprudencepreview.exe" |
228 | else: | 229 | #else: |
229 | return ''.join(self.channel().split()) + '.exe' | 230 | # return ''.join(self.channel().split()) + '.exe' |
230 | 231 | ||
231 | 232 | ||
232 | def construct(self): | 233 | def construct(self): |
@@ -235,6 +236,8 @@ class WindowsManifest(ViewerManifest): | |||
235 | # nor do we have a fixed name for the executable | 236 | # nor do we have a fixed name for the executable |
236 | self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'releasesse2/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe()) | 237 | self.path(self.find_existing_file('debug/imprudence-bin.exe', 'release/imprudence-bin.exe', 'releasesse2/imprudence-bin.exe', 'relwithdebinfo/imprudence-bin.exe'), dst=self.final_exe()) |
237 | 238 | ||
239 | # copy over the the pdb file for the regular or SSE2 versions if we don't already have one copied | ||
240 | symbol_ver = '.'.join(self.args['version']) | ||
238 | symbol_file = 'imprudence-%s.%s.pdb' % (symbol_ver, self.args['configuration']) | 241 | symbol_file = 'imprudence-%s.%s.pdb' % (symbol_ver, self.args['configuration']) |
239 | symbol_path = '../../../../../pdb_files/%s' % (symbol_file) | 242 | symbol_path = '../../../../../pdb_files/%s' % (symbol_file) |
240 | if os.path.isfile(os.getcwd() + symbol_path): | 243 | if os.path.isfile(os.getcwd() + symbol_path): |