xref: /aoo41x/main/scp2/source/ooo/scpaction_ooo.scp (revision f3c13b8d)
1022bd5b4SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4022bd5b4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5022bd5b4SAndrew Rist * distributed with this work for additional information
6022bd5b4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the
8022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance
9022bd5b4SAndrew Rist * with the License.  You may obtain a copy of the License at
10022bd5b4SAndrew Rist *
11022bd5b4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12022bd5b4SAndrew Rist *
13022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing,
14022bd5b4SAndrew Rist * software distributed under the License is distributed on an
15022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16022bd5b4SAndrew Rist * KIND, either express or implied.  See the License for the
17022bd5b4SAndrew Rist * specific language governing permissions and limitations
18022bd5b4SAndrew Rist * under the License.
19022bd5b4SAndrew Rist *
20022bd5b4SAndrew Rist *************************************************************/
21022bd5b4SAndrew Rist
22022bd5b4SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "macros.inc"
25cdf0e10cSrcweir
26a4309db7SHerbert DürrScpAction scp_Copy_LICENSE_Txt
27a4309db7SHerbert Dürr    Copy = "LICENSE";
28a4309db7SHerbert Dürr    Name = "LICENSE";
29cdf0e10cSrcweir  #ifndef MACOSX
30cdf0e10cSrcweir    Subdir = "licenses";
31cdf0e10cSrcweir  #else
32cdf0e10cSrcweir    Subdir = "LICENSEs";
33cdf0e10cSrcweir  #endif
34cdf0e10cSrcweirEnd
35cdf0e10cSrcweir
36a4309db7SHerbert DürrScpAction scp_Copy_NOTICE_Txt
37a4309db7SHerbert Dürr    Copy = "NOTICE";
38a4309db7SHerbert Dürr    Name = "NOTICE";
39cdf0e10cSrcweir  #ifndef MACOSX
40cdf0e10cSrcweir    Subdir = "licenses";
41cdf0e10cSrcweir  #else
42cdf0e10cSrcweir    Subdir = "LICENSEs";
43cdf0e10cSrcweir  #endif
44cdf0e10cSrcweirEnd
45cdf0e10cSrcweir
46cdf0e10cSrcweirScpAction scp_Copy_Readme_Html
47cdf0e10cSrcweir  #ifdef UNX
48cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, README, html);
49cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, README, html);
50cdf0e10cSrcweir  #else
51cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, readme, html);
52cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, readme, html);
53cdf0e10cSrcweir  #endif
54cdf0e10cSrcweir    Styles = (SCPZIP_REPLACE);
55cdf0e10cSrcweir  #ifndef MACOSX
56cdf0e10cSrcweir    Subdir = "readmes";
57cdf0e10cSrcweir  #else
58cdf0e10cSrcweir    Subdir = "READMEs";
59cdf0e10cSrcweir  #endif
60cdf0e10cSrcweirEnd
61cdf0e10cSrcweir
62cdf0e10cSrcweirScpAction scp_Copy_Readme_Txt
63cdf0e10cSrcweir  #ifdef UNX
64cdf0e10cSrcweir    README_ALL_LANG(Copy, README);
65cdf0e10cSrcweir    README_ALL_LANG(Name, README);
66cdf0e10cSrcweir  #else
67cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, readme, txt);
68cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, readme, txt);
69cdf0e10cSrcweir  #endif
70cdf0e10cSrcweir    Styles = (SCPZIP_REPLACE);
71cdf0e10cSrcweir  #ifndef MACOSX
72cdf0e10cSrcweir    Subdir = "readmes";
73cdf0e10cSrcweir  #else
74cdf0e10cSrcweir    Subdir = "READMEs";
75cdf0e10cSrcweir  #endif
76cdf0e10cSrcweirEnd
77cdf0e10cSrcweir
78cdf0e10cSrcweir#if defined(WNT) && defined(_gcc3)
79cdf0e10cSrcweirScpAction SCP_COPY_MINGWM10
80cdf0e10cSrcweir    Copy = "mingwm10.dll";
81cdf0e10cSrcweir    Name = "mingwm10.dll";
82cdf0e10cSrcweirEnd
83cdf0e10cSrcweir#if defined(MINGW_GCCDLL)
84cdf0e10cSrcweirScpAction SCP_COPY_MINGW_GCCS
85cdf0e10cSrcweir    Copy = MINGW_GCCDLL;
86cdf0e10cSrcweir    Name = MINGW_GCCDLL;
87cdf0e10cSrcweirEnd
88cdf0e10cSrcweir#endif
89cdf0e10cSrcweir#if defined(MINGW_GXXDLL)
90cdf0e10cSrcweirScpAction SCP_COPY_MINGW_STDCPP
91cdf0e10cSrcweir    Copy = MINGW_GXXDLL;
92cdf0e10cSrcweir    Name = MINGW_GXXDLL;
93cdf0e10cSrcweirEnd
94cdf0e10cSrcweir#endif
95cdf0e10cSrcweir#endif
96cdf0e10cSrcweir
97cdf0e10cSrcweirScpAction scp_Copy_Xpd_Javaloader
98cdf0e10cSrcweir  	Copy = "javaloader.sh";
99cdf0e10cSrcweir    Name = "setup";
100cdf0e10cSrcweir    Styles = (XPD_ONLY);
101cdf0e10cSrcweir    UnixRights = 775;
102cdf0e10cSrcweirEnd
103cdf0e10cSrcweir
104cdf0e10cSrcweirScpAction scp_Copy_Xpd_Javajarfile
105cdf0e10cSrcweir  	Copy = "JavaSetup.jar";
106cdf0e10cSrcweir    Name = "JavaSetup.jar";
107cdf0e10cSrcweir    Styles = (XPD_ONLY);
108cdf0e10cSrcweirEnd
109cdf0e10cSrcweir
110cdf0e10cSrcweir// #ifdef SOLARIS
111cdf0e10cSrcweir// ScpAction scp_Copy_Xpd_Getuidso
112cdf0e10cSrcweir//     Copy = "getuid.so";
113cdf0e10cSrcweir//     Name = "getuid.so";
114cdf0e10cSrcweir//     Styles = (XPD_ONLY);
115cdf0e10cSrcweir//     Subdir = "installdata/getuid";
116cdf0e10cSrcweir// End
117cdf0e10cSrcweir// #endif
118cdf0e10cSrcweir
119cdf0e10cSrcweir// Setup image
120cdf0e10cSrcweirScpAction scp_Copy_Xpd_Gif_Setup
121cdf0e10cSrcweir  	Copy = "Setup.gif";
122cdf0e10cSrcweir    Name = "Setup.gif";
123cdf0e10cSrcweir    Styles = (XPD_ONLY);
124cdf0e10cSrcweir    Subdir = "installdata/images";
125cdf0e10cSrcweirEnd
126cdf0e10cSrcweir
127cdf0e10cSrcweirScpAction scp_Copy_Xpd_Html_License_En_Us
128cdf0e10cSrcweir  	Copy = "LICENSE_en-US.html";
129cdf0e10cSrcweir    Name = "LICENSE.html";
130cdf0e10cSrcweir    Styles = (XPD_ONLY);
131cdf0e10cSrcweir    Subdir = "installdata/html";
132cdf0e10cSrcweirEnd
133cdf0e10cSrcweir
134cdf0e10cSrcweir// Setup help files
135cdf0e10cSrcweir
136cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Acceptlicense
137cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, AcceptLicense, html);
138cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, AcceptLicense, html);
139cdf0e10cSrcweir    Styles = (XPD_ONLY);
140cdf0e10cSrcweir    Subdir = "installdata/html";
141cdf0e10cSrcweirEnd
142cdf0e10cSrcweir
143cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Acceptlicense_En_Us
144cdf0e10cSrcweir    Copy = "AcceptLicense_en-US.html";
145cdf0e10cSrcweir    Name = "AcceptLicense.html";
146cdf0e10cSrcweir    Styles = (XPD_ONLY);
147cdf0e10cSrcweir    Subdir = "installdata/html";
148cdf0e10cSrcweirEnd
149cdf0e10cSrcweir
150cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Choosecomponents
151cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, ChooseComponents, html);
152cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, ChooseComponents, html);
153cdf0e10cSrcweir    Styles = (XPD_ONLY);
154cdf0e10cSrcweir    Subdir = "installdata/html";
155cdf0e10cSrcweirEnd
156cdf0e10cSrcweir
157cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Choosecomponents_En_Us
158cdf0e10cSrcweir    Copy = "ChooseComponents_en-US.html";
159cdf0e10cSrcweir    Name = "ChooseComponents.html";
160cdf0e10cSrcweir    Styles = (XPD_ONLY);
161cdf0e10cSrcweir    Subdir = "installdata/html";
162cdf0e10cSrcweirEnd
163cdf0e10cSrcweir
164cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Choosedirectory
165cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, ChooseDirectory, html);
166cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, ChooseDirectory, html);
167cdf0e10cSrcweir    Styles = (XPD_ONLY);
168cdf0e10cSrcweir    Subdir = "installdata/html";
169cdf0e10cSrcweirEnd
170cdf0e10cSrcweir
171cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Choosedirectory_En_Us
172cdf0e10cSrcweir    Copy = "ChooseDirectory_en-US.html";
173cdf0e10cSrcweir    Name = "ChooseDirectory.html";
174cdf0e10cSrcweir    Styles = (XPD_ONLY);
175cdf0e10cSrcweir    Subdir = "installdata/html";
176cdf0e10cSrcweirEnd
177cdf0e10cSrcweir
178cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype
179cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, ChooseInstallationType, html);
180cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, ChooseInstallationType, html);
181cdf0e10cSrcweir    Styles = (XPD_ONLY);
182cdf0e10cSrcweir    Subdir = "installdata/html";
183cdf0e10cSrcweirEnd
184cdf0e10cSrcweir
185cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype_En_Us
186cdf0e10cSrcweir    Copy = "ChooseInstallationType_en-US.html";
187cdf0e10cSrcweir    Name = "ChooseInstallationType.html";
188cdf0e10cSrcweir    Styles = (XPD_ONLY);
189cdf0e10cSrcweir    Subdir = "installdata/html";
190cdf0e10cSrcweirEnd
191cdf0e10cSrcweir
192cdf0e10cSrcweir// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage
193cdf0e10cSrcweir//    README_TXT_ALL_LANG(Copy, ChooseLanguage, html);
194cdf0e10cSrcweir//    README_TXT_ALL_LANG(Name, ChooseLanguage, html);
195cdf0e10cSrcweir//    Styles = (XPD_ONLY);
196cdf0e10cSrcweir//    Subdir = "installdata/html";
197cdf0e10cSrcweir// End
198cdf0e10cSrcweir
199cdf0e10cSrcweir// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage_En_Us
200cdf0e10cSrcweir//    Copy = "ChooseLanguage_en-US.html";
201cdf0e10cSrcweir//    Name = "ChooseLanguage.html";
202cdf0e10cSrcweir//    Styles = (XPD_ONLY);
203cdf0e10cSrcweir//    Subdir = "installdata/html";
204cdf0e10cSrcweir// End
205cdf0e10cSrcweir
206cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents
207cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, ChooseUninstallationComponents, html);
208cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, ChooseUninstallationComponents, html);
209cdf0e10cSrcweir    Styles = (XPD_ONLY);
210cdf0e10cSrcweir    Subdir = "installdata/html";
211cdf0e10cSrcweirEnd
212cdf0e10cSrcweir
213cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents_En_Us
214cdf0e10cSrcweir    Copy = "ChooseUninstallationComponents_en-US.html";
215cdf0e10cSrcweir    Name = "ChooseUninstallationComponents.html";
216cdf0e10cSrcweir    Styles = (XPD_ONLY);
217cdf0e10cSrcweir    Subdir = "installdata/html";
218cdf0e10cSrcweirEnd
219cdf0e10cSrcweir
220cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype
221cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, ChooseUninstallationType, html);
222cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, ChooseUninstallationType, html);
223cdf0e10cSrcweir    Styles = (XPD_ONLY);
224cdf0e10cSrcweir    Subdir = "installdata/html";
225cdf0e10cSrcweirEnd
226cdf0e10cSrcweir
227cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype_En_Us
228cdf0e10cSrcweir    Copy = "ChooseUninstallationType_en-US.html";
229cdf0e10cSrcweir    Name = "ChooseUninstallationType.html";
230cdf0e10cSrcweir    Styles = (XPD_ONLY);
231cdf0e10cSrcweir    Subdir = "installdata/html";
232cdf0e10cSrcweirEnd
233cdf0e10cSrcweir
234cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Installationimminent
235cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, InstallationImminent, html);
236cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, InstallationImminent, html);
237cdf0e10cSrcweir    Styles = (XPD_ONLY);
238cdf0e10cSrcweir    Subdir = "installdata/html";
239cdf0e10cSrcweirEnd
240cdf0e10cSrcweir
241cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Installationimminent_En_Us
242cdf0e10cSrcweir    Copy = "InstallationImminent_en-US.html";
243cdf0e10cSrcweir    Name = "InstallationImminent.html";
244cdf0e10cSrcweir    Styles = (XPD_ONLY);
245cdf0e10cSrcweir    Subdir = "installdata/html";
246cdf0e10cSrcweirEnd
247cdf0e10cSrcweir
248cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Installationongoing
249cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, InstallationOngoing, html);
250cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, InstallationOngoing, html);
251cdf0e10cSrcweir    Styles = (XPD_ONLY);
252cdf0e10cSrcweir    Subdir = "installdata/html";
253cdf0e10cSrcweirEnd
254cdf0e10cSrcweir
255cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Installationongoing_En_Us
256cdf0e10cSrcweir    Copy = "InstallationOngoing_en-US.html";
257cdf0e10cSrcweir    Name = "InstallationOngoing.html";
258cdf0e10cSrcweir    Styles = (XPD_ONLY);
259cdf0e10cSrcweir    Subdir = "installdata/html";
260cdf0e10cSrcweirEnd
261cdf0e10cSrcweir
262cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Prologue
263cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, Prologue, html);
264cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, Prologue, html);
265cdf0e10cSrcweir    Styles = (XPD_ONLY);
266cdf0e10cSrcweir    Subdir = "installdata/html";
267cdf0e10cSrcweirEnd
268cdf0e10cSrcweir
269cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Prologue_En_Us
270cdf0e10cSrcweir    Copy = "Prologue_en-US.html";
271cdf0e10cSrcweir    Name = "Prologue.html";
272cdf0e10cSrcweir    Styles = (XPD_ONLY);
273cdf0e10cSrcweir    Subdir = "installdata/html";
274cdf0e10cSrcweirEnd
275cdf0e10cSrcweir
276cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent
277cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, UninstallationImminent, html);
278cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, UninstallationImminent, html);
279cdf0e10cSrcweir    Styles = (XPD_ONLY);
280cdf0e10cSrcweir    Subdir = "installdata/html";
281cdf0e10cSrcweirEnd
282cdf0e10cSrcweir
283cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent_En_Us
284cdf0e10cSrcweir    Copy = "UninstallationImminent_en-US.html";
285cdf0e10cSrcweir    Name = "UninstallationImminent.html";
286cdf0e10cSrcweir    Styles = (XPD_ONLY);
287cdf0e10cSrcweir    Subdir = "installdata/html";
288cdf0e10cSrcweirEnd
289cdf0e10cSrcweir
290cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing
291cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, UninstallationOngoing, html);
292cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, UninstallationOngoing, html);
293cdf0e10cSrcweir    Styles = (XPD_ONLY);
294cdf0e10cSrcweir    Subdir = "installdata/html";
295cdf0e10cSrcweirEnd
296cdf0e10cSrcweir
297cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing_En_Us
298cdf0e10cSrcweir    Copy = "UninstallationOngoing_en-US.html";
299cdf0e10cSrcweir    Name = "UninstallationOngoing.html";
300cdf0e10cSrcweir    Styles = (XPD_ONLY);
301cdf0e10cSrcweir    Subdir = "installdata/html";
302cdf0e10cSrcweirEnd
303cdf0e10cSrcweir
304cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue
305cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, UninstallationPrologue, html);
306cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, UninstallationPrologue, html);
307cdf0e10cSrcweir    Styles = (XPD_ONLY);
308cdf0e10cSrcweir    Subdir = "installdata/html";
309cdf0e10cSrcweirEnd
310cdf0e10cSrcweir
311cdf0e10cSrcweirScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue_En_Us
312cdf0e10cSrcweir    Copy = "UninstallationPrologue_en-US.html";
313cdf0e10cSrcweir    Name = "UninstallationPrologue.html";
314cdf0e10cSrcweir    Styles = (XPD_ONLY);
315cdf0e10cSrcweir    Subdir = "installdata/html";
316cdf0e10cSrcweirEnd
317cdf0e10cSrcweir
318cdf0e10cSrcweir#ifdef MACOSX
319cdf0e10cSrcweirScpAction scp_Copy_Dmg_Background_Image
320cdf0e10cSrcweir    Copy = "osxdndinstall.png";
321943a75acSJürgen Schmidt    LangPackCopy = "osxdndinstall_lang.png";
322*f3c13b8dSJürgen Schmidt    BetaCopy = "osxdndinstall_beta.png";
323*f3c13b8dSJürgen Schmidt    LangBetaCopy = "osxdndinstall_lang_beta.png";
324943a75acSJürgen Schmidt	Name = "background.png";
325cdf0e10cSrcweir    UnixRights = 444;
326943a75acSJürgen Schmidt    Styles = (FORCELANGUAGEPACK);
327cdf0e10cSrcweir    Subdir = ".background";
328cdf0e10cSrcweirEnd
329cdf0e10cSrcweir
330cdf0e10cSrcweirScpAction scp_Copy_Ds_Store
331cdf0e10cSrcweir    Copy = "DS_Store";
3321ed5bd48SJürgen Schmidt    DevCopy = "DS_Store_Dev";
333cdf0e10cSrcweir    LangPackCopy = "DS_Store_Langpack";
334*f3c13b8dSJürgen Schmidt    BetaCopy = "DS_Store_Beta";
335*f3c13b8dSJürgen Schmidt    LangBetaCopy = "DS_Store_Langpack_Beta";
336cdf0e10cSrcweir    PatchCopy = "DS_Store_Patch";
337cdf0e10cSrcweir    Name = ".DS_Store";
338cdf0e10cSrcweir    UnixRights = 444;
339cdf0e10cSrcweir    Styles = (FORCELANGUAGEPACK);
340cdf0e10cSrcweirEnd
341cdf0e10cSrcweir#endif
342