diff options
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 109 |
1 files changed, 84 insertions, 25 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index cbc9a84..0dfd8db 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -44,6 +44,16 @@ class ViewerManifest(LLManifest): | |||
44 | self.exclude("*.svn*") | 44 | self.exclude("*.svn*") |
45 | self.path(src="../../scripts/messages/message_template.msg", dst="app_settings/message_template.msg") | 45 | self.path(src="../../scripts/messages/message_template.msg", dst="app_settings/message_template.msg") |
46 | self.path(src="../../etc/message.xml", dst="app_settings/message.xml") | 46 | self.path(src="../../etc/message.xml", dst="app_settings/message.xml") |
47 | self.path(src="../../../ChangeLog.txt", dst="doc/ChangeLog.txt") | ||
48 | self.path(src="../../../CONTRIBUTE.txt", dst="doc/CONTRIBUTE.txt") | ||
49 | self.path(src="../../../MANIFESTO.txt", dst="doc/MANIFESTO.txt") | ||
50 | self.path(src="../../../README.txt", dst="doc/README.txt") | ||
51 | self.path(src="../../../RELEASE_NOTES.txt", dst="doc/RELEASE_NOTES.txt") | ||
52 | self.path(src="../../doc/contributions.txt", dst="doc/ll-contributions.txt") | ||
53 | self.path(src="../../doc/FLOSS-exception.txt", dst="doc/FLOSS-exception.txt") | ||
54 | self.path(src="../../doc/GPL-license.txt", dst="doc/GPL-license.txt") | ||
55 | self.path(src="../../doc/releasenotes-where.txt", dst="doc/ll-releasenotes-where.txt") | ||
56 | # | ||
47 | 57 | ||
48 | if self.prefix(src="app_settings"): | 58 | if self.prefix(src="app_settings"): |
49 | self.exclude("logcontrol.xml") | 59 | self.exclude("logcontrol.xml") |
@@ -75,30 +85,60 @@ class ViewerManifest(LLManifest): | |||
75 | self.path("*.txt") | 85 | self.path("*.txt") |
76 | self.end_prefix("fonts") | 86 | self.end_prefix("fonts") |
77 | 87 | ||
78 | # skins | 88 | # skins |
79 | if self.prefix(src="skins"): | 89 | if self.prefix(src="skins"): |
80 | self.path("paths.xml") | 90 | self.path("paths.xml") |
81 | # include the entire textures directory recursively | 91 | |
82 | if self.prefix(src="*/textures"): | 92 | # include the entire textures directory recursively |
83 | self.path("*.tga") | 93 | if self.prefix(src="*/textures"): |
84 | self.path("*.j2c") | 94 | self.path("*.tga") |
85 | self.path("*.jpg") | 95 | self.path("*.j2c") |
86 | self.path("*.png") | 96 | self.path("*.jpg") |
87 | self.path("textures.xml") | 97 | self.path("*.png") |
88 | self.end_prefix("*/textures") | 98 | self.path("textures.xml") |
89 | self.path("*/xui/*/*.xml") | 99 | self.end_prefix("*/textures") |
90 | self.path("*/*.xml") | 100 | |
91 | 101 | self.path("*/xui/*/*.xml") | |
92 | # Local HTML files (e.g. loading screen) | 102 | self.path("*/*.xml") |
93 | if self.prefix(src="*/html"): | 103 | |
94 | self.path("*.png") | 104 | # Local HTML files (e.g. loading screen) |
95 | self.path("*/*/*.html") | 105 | if self.prefix(src="*/html"): |
96 | self.path("*/*/*.gif") | 106 | self.path("*.png") |
97 | self.end_prefix("*/html") | 107 | self.path("*/*/*.html") |
98 | self.end_prefix("skins") | 108 | self.path("*/*/*.gif") |
109 | self.end_prefix("*/html") | ||
110 | |||
111 | self.end_prefix("skins") | ||
112 | |||
99 | self.path("lsl_guide.html") | 113 | self.path("lsl_guide.html") |
100 | self.path("gpu_table.txt") | 114 | self.path("gpu_table.txt") |
101 | 115 | ||
116 | |||
117 | # Gather up the README file, etc. | ||
118 | def gather_documents(self): | ||
119 | # From the top level directory (imprudence) | ||
120 | if self.prefix("../../..", dst=""): | ||
121 | self.path("README.txt") | ||
122 | self.path("MANIFESTO.txt") | ||
123 | self.path("CONTRIBUTE.txt") | ||
124 | self.path("RELEASE_NOTES.txt") | ||
125 | self.path("ChangeLog.txt") | ||
126 | self.end_prefix("../../..") | ||
127 | |||
128 | # From the linden directory | ||
129 | if self.prefix("../..", dst="doc"): | ||
130 | self.path("LICENSE-source.txt") | ||
131 | self.path("LICENSE-logos.txt", "LICENSE-artwork.txt") | ||
132 | self.end_prefix("../..") | ||
133 | |||
134 | # From the linden/doc directory | ||
135 | if self.prefix("../../doc", dst="doc"): | ||
136 | self.path("contributions.txt") | ||
137 | self.path("GPL-license.txt", "GPL.txt") | ||
138 | self.path("FLOSS-exception.txt") | ||
139 | self.end_prefix("../../doc") | ||
140 | |||
141 | |||
102 | def login_channel(self): | 142 | def login_channel(self): |
103 | """Channel reported for login and upgrade purposes ONLY; | 143 | """Channel reported for login and upgrade purposes ONLY; |
104 | used for A/B testing""" | 144 | used for A/B testing""" |
@@ -161,7 +201,13 @@ class WindowsManifest(ViewerManifest): | |||
161 | #'../llkdu/relwithdebinfo/llkdu.dll', | 201 | #'../llkdu/relwithdebinfo/llkdu.dll', |
162 | #'../../libraries/i686-win32/lib/release/llkdu.dll'), | 202 | #'../../libraries/i686-win32/lib/release/llkdu.dll'), |
163 | # dst='llkdu.dll') | 203 | # dst='llkdu.dll') |
164 | self.path(src="licenses-win32.txt", dst="licenses.txt") | 204 | |
205 | self.gather_documents() | ||
206 | |||
207 | if self.prefix("../..", dst="doc"): | ||
208 | self.path("LICENSE-libraries-win32.txt") | ||
209 | self.end_prefix("../..") | ||
210 | |||
165 | 211 | ||
166 | self.path("featuretable.txt") | 212 | self.path("featuretable.txt") |
167 | 213 | ||
@@ -388,7 +434,13 @@ class DarwinManifest(ViewerManifest): | |||
388 | self.path("*.tif") | 434 | self.path("*.tif") |
389 | self.end_prefix("cursors_mac") | 435 | self.end_prefix("cursors_mac") |
390 | 436 | ||
391 | self.path("licenses-mac.txt", dst="licenses.txt") | 437 | # From the linden directory |
438 | if self.prefix("../..", dst="doc"): | ||
439 | self.path("LICENSE-libraries-mac.txt") | ||
440 | self.end_prefix("../..") | ||
441 | |||
442 | self.gather_documents() | ||
443 | |||
392 | self.path("featuretable_mac.txt") | 444 | self.path("featuretable_mac.txt") |
393 | self.path("SecondLife.nib") | 445 | self.path("SecondLife.nib") |
394 | 446 | ||
@@ -528,16 +580,23 @@ class DarwinManifest(ViewerManifest): | |||
528 | class LinuxManifest(ViewerManifest): | 580 | class LinuxManifest(ViewerManifest): |
529 | def construct(self): | 581 | def construct(self): |
530 | super(LinuxManifest, self).construct() | 582 | super(LinuxManifest, self).construct() |
531 | self.path("licenses-linux.txt","licenses.txt") | 583 | |
532 | self.path("res/imprudence_icon.png","imprudence_icon.png") | 584 | self.path("res/imprudence_icon.png","imprudence_icon.png") |
533 | if self.prefix("linux_tools", dst=""): | 585 | if self.prefix("linux_tools", dst=""): |
534 | self.path("client-readme.txt","README-linux.txt") | 586 | #self.path("client-readme.txt","README-linux.txt") |
535 | #self.path("client-readme-voice.txt","README-linux-voice.txt") | 587 | #self.path("client-readme-voice.txt","README-linux-voice.txt") |
536 | self.path("wrapper.sh","imprudence") | 588 | self.path("wrapper.sh","imprudence") |
537 | self.path("handle_secondlifeprotocol.sh") | 589 | self.path("handle_secondlifeprotocol.sh") |
538 | self.path("register_secondlifeprotocol.sh") | 590 | self.path("register_secondlifeprotocol.sh") |
539 | self.end_prefix("linux_tools") | 591 | self.end_prefix("linux_tools") |
540 | 592 | ||
593 | self.gather_documents() | ||
594 | |||
595 | # From the linden directory | ||
596 | if self.prefix("../..", dst="doc"): | ||
597 | self.path("LICENSE-libraries-linux.txt") | ||
598 | self.end_prefix("../..") | ||
599 | |||
541 | # Create an appropriate gridargs.dat for this package, denoting required grid. | 600 | # Create an appropriate gridargs.dat for this package, denoting required grid. |
542 | self.put_in_file(self.flags_list(), 'gridargs.dat') | 601 | self.put_in_file(self.flags_list(), 'gridargs.dat') |
543 | 602 | ||