summaryrefslogtreecommitdiff
path: root/scp2/source/ooo/scpaction_ooo.scp
blob: d6f294f1da08448faa3d60409afc7ffcf968122a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
/*************************************************************************
*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
************************************************************************/

#include "macros.inc"

ScpAction scp_Copy_License_Html
  #ifdef UNX
    README_TXT_ALL_LANG(Copy, LICENSE, html);
    README_TXT_ALL_LANG(Name, LICENSE, html);
  #else
    README_TXT_ALL_LANG(Copy, license, html);
    README_TXT_ALL_LANG(Name, license, html);
  #endif
    Styles = (SCPZIP_REPLACE);
  #ifndef MACOSX
    Subdir = "licenses";
  #else
    Subdir = "LICENSEs";
  #endif
End

ScpAction scp_Copy_License_Txt
  #ifdef UNX
    README_ALL_LANG(Copy, LICENSE);
    README_ALL_LANG(Name, LICENSE);
  #else
    README_TXT_ALL_LANG(Copy, license, txt);
    README_TXT_ALL_LANG(Name, license, txt);
  #endif
    Styles = (SCPZIP_REPLACE);
  #ifndef MACOSX
    Subdir = "licenses";
  #else
    Subdir = "LICENSEs";
  #endif
End

#ifdef MACOSX
ScpAction scp_Copy_Thirdpartylicense_Readme_Html
    Copy = "THIRDPARTYLICENSEREADME.html";
    Name= "THIRDPARTYLICENSEREADME.html";
    Subdir = "LICENSEs";
End
#endif

ScpAction scp_Copy_Readme_Html
  #ifdef UNX
    README_TXT_ALL_LANG(Copy, README, html);
    README_TXT_ALL_LANG(Name, README, html);
  #else
    README_TXT_ALL_LANG(Copy, readme, html);
    README_TXT_ALL_LANG(Name, readme, html);
  #endif
    Styles = (SCPZIP_REPLACE);
  #ifndef MACOSX
    Subdir = "readmes";
  #else
    Subdir = "READMEs";
  #endif
End

ScpAction scp_Copy_Readme_Txt
  #ifdef UNX
    README_ALL_LANG(Copy, README);
    README_ALL_LANG(Name, README);
  #else
    README_TXT_ALL_LANG(Copy, readme, txt);
    README_TXT_ALL_LANG(Name, readme, txt);
  #endif
    Styles = (SCPZIP_REPLACE);
  #ifndef MACOSX
    Subdir = "readmes";
  #else
    Subdir = "READMEs";
  #endif
End

#if defined(WNT) && defined(_gcc3)
ScpAction SCP_COPY_MINGWM10
    Copy = "mingwm10.dll";
    Name = "mingwm10.dll";
End
#if defined(MINGW_GCCDLL)
ScpAction SCP_COPY_MINGW_GCCS
    Copy = MINGW_GCCDLL;
    Name = MINGW_GCCDLL;
End
#endif
#if defined(MINGW_GXXDLL)
ScpAction SCP_COPY_MINGW_STDCPP
    Copy = MINGW_GXXDLL;
    Name = MINGW_GXXDLL;
End
#endif
#endif

ScpAction scp_Copy_Xpd_Javaloader
  	Copy = "javaloader.sh";
    Name = "setup";
    Styles = (XPD_ONLY);
    UnixRights = 775;
End

ScpAction scp_Copy_Xpd_Javajarfile
  	Copy = "JavaSetup.jar";
    Name = "JavaSetup.jar";
    Styles = (XPD_ONLY);
End

// #ifdef SOLARIS
// ScpAction scp_Copy_Xpd_Getuidso
//     Copy = "getuid.so";
//     Name = "getuid.so";
//     Styles = (XPD_ONLY);
//     Subdir = "installdata/getuid";
// End
// #endif

// Setup image
ScpAction scp_Copy_Xpd_Gif_Setup
  	Copy = "Setup.gif";
    Name = "Setup.gif";
    Styles = (XPD_ONLY);
    Subdir = "installdata/images";
End

// Setup license file
ScpAction scp_Copy_Xpd_Html_License
    README_TXT_ALL_LANG(Copy, LICENSE, html);
    README_TXT_ALL_LANG(Name, LICENSE, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Html_License_En_Us
  	Copy = "LICENSE_en-US.html";
    Name = "LICENSE.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

// Setup help files

ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense
    README_TXT_ALL_LANG(Copy, AcceptLicense, html);
    README_TXT_ALL_LANG(Name, AcceptLicense, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense_En_Us
    Copy = "AcceptLicense_en-US.html";
    Name = "AcceptLicense.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents
    README_TXT_ALL_LANG(Copy, ChooseComponents, html);
    README_TXT_ALL_LANG(Name, ChooseComponents, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents_En_Us
    Copy = "ChooseComponents_en-US.html";
    Name = "ChooseComponents.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory
    README_TXT_ALL_LANG(Copy, ChooseDirectory, html);
    README_TXT_ALL_LANG(Name, ChooseDirectory, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory_En_Us
    Copy = "ChooseDirectory_en-US.html";
    Name = "ChooseDirectory.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype
    README_TXT_ALL_LANG(Copy, ChooseInstallationType, html);
    README_TXT_ALL_LANG(Name, ChooseInstallationType, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype_En_Us
    Copy = "ChooseInstallationType_en-US.html";
    Name = "ChooseInstallationType.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage
//    README_TXT_ALL_LANG(Copy, ChooseLanguage, html);
//    README_TXT_ALL_LANG(Name, ChooseLanguage, html);
//    Styles = (XPD_ONLY);
//    Subdir = "installdata/html";
// End

// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage_En_Us
//    Copy = "ChooseLanguage_en-US.html";
//    Name = "ChooseLanguage.html";
//    Styles = (XPD_ONLY);
//    Subdir = "installdata/html";
// End

ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents
    README_TXT_ALL_LANG(Copy, ChooseUninstallationComponents, html);
    README_TXT_ALL_LANG(Name, ChooseUninstallationComponents, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents_En_Us
    Copy = "ChooseUninstallationComponents_en-US.html";
    Name = "ChooseUninstallationComponents.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype
    README_TXT_ALL_LANG(Copy, ChooseUninstallationType, html);
    README_TXT_ALL_LANG(Name, ChooseUninstallationType, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype_En_Us
    Copy = "ChooseUninstallationType_en-US.html";
    Name = "ChooseUninstallationType.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Installationimminent
    README_TXT_ALL_LANG(Copy, InstallationImminent, html);
    README_TXT_ALL_LANG(Name, InstallationImminent, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Installationimminent_En_Us
    Copy = "InstallationImminent_en-US.html";
    Name = "InstallationImminent.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Installationongoing
    README_TXT_ALL_LANG(Copy, InstallationOngoing, html);
    README_TXT_ALL_LANG(Name, InstallationOngoing, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Installationongoing_En_Us
    Copy = "InstallationOngoing_en-US.html";
    Name = "InstallationOngoing.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Prologue
    README_TXT_ALL_LANG(Copy, Prologue, html);
    README_TXT_ALL_LANG(Name, Prologue, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Prologue_En_Us
    Copy = "Prologue_en-US.html";
    Name = "Prologue.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent
    README_TXT_ALL_LANG(Copy, UninstallationImminent, html);
    README_TXT_ALL_LANG(Name, UninstallationImminent, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent_En_Us
    Copy = "UninstallationImminent_en-US.html";
    Name = "UninstallationImminent.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing
    README_TXT_ALL_LANG(Copy, UninstallationOngoing, html);
    README_TXT_ALL_LANG(Name, UninstallationOngoing, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing_En_Us
    Copy = "UninstallationOngoing_en-US.html";
    Name = "UninstallationOngoing.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue
    README_TXT_ALL_LANG(Copy, UninstallationPrologue, html);
    README_TXT_ALL_LANG(Name, UninstallationPrologue, html);
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue_En_Us
    Copy = "UninstallationPrologue_en-US.html";
    Name = "UninstallationPrologue.html";
    Styles = (XPD_ONLY);
    Subdir = "installdata/html";
End

#if defined LINUX || defined SOLARIS
ScpAction scp_Copy_Update_Script
    Copy = "update";
    Name = "update";
    Styles = (SCPZIP_REPLACE);
    UnixRights = 775;
End
#endif

#ifdef MACOSX
ScpAction scp_Copy_Dmg_Background_Image
  #if defined(BUILD_SPECIAL)
    Copy = "osxdndinstall.png";
  #else
    Copy = "osxdndinstall_nologo.png";
  #endif
    Name = "background.png";
    UnixRights = 444;
    Styles = ();
    Subdir = ".background";
End

ScpAction scp_Copy_Ds_Store
    Copy = "DS_Store";
    LangPackCopy = "DS_Store_Langpack";
    PatchCopy = "DS_Store_Patch";
    Name = ".DS_Store";
    UnixRights = 444;
    Styles = (FORCELANGUAGEPACK);
End
#endif