merge the formfield patch from ooo-build
[ooovba.git] / scp2 / source / ooo / scpaction_ooo.scp
blobf88737451a5fe00d29a16f27aa7f27e4c0df19ca
1 /*************************************************************************
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: scpaction_ooo.scp,v $
10  * $Revision: 1.13 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29 ************************************************************************/
31 #include "macros.inc"
33 ScpAction scp_Copy_License_Html
34   #ifdef UNX
35     README_TXT_ALL_LANG(Copy, LICENSE, html);
36     README_TXT_ALL_LANG(Name, LICENSE, html);
37   #else
38     README_TXT_ALL_LANG(Copy, license, html);
39     README_TXT_ALL_LANG(Name, license, html);
40   #endif
41     Styles = (SCPZIP_REPLACE);
42   #ifndef MACOSX
43     Subdir = "licenses";
44   #else
45     Subdir = "LICENSEs";
46   #endif
47 End
49 ScpAction scp_Copy_License_Txt
50   #ifdef UNX
51     README_ALL_LANG(Copy, LICENSE);
52     README_ALL_LANG(Name, LICENSE);
53   #else
54     README_TXT_ALL_LANG(Copy, license, txt);
55     README_TXT_ALL_LANG(Name, license, txt);
56   #endif
57     Styles = (SCPZIP_REPLACE);
58   #ifndef MACOSX
59     Subdir = "licenses";
60   #else
61     Subdir = "LICENSEs";
62   #endif
63 End
65 #ifdef MACOSX
66 ScpAction scp_Copy_Thirdpartylicense_Readme_Html
67     Copy = "THIRDPARTYLICENSEREADME.html";
68     Name= "THIRDPARTYLICENSEREADME.html";
69     Subdir = "LICENSEs";
70 End
71 #endif
73 ScpAction scp_Copy_Readme_Html
74   #ifdef UNX
75     README_TXT_ALL_LANG(Copy, README, html);
76     README_TXT_ALL_LANG(Name, README, html);
77   #else
78     README_TXT_ALL_LANG(Copy, readme, html);
79     README_TXT_ALL_LANG(Name, readme, html);
80   #endif
81     Styles = (SCPZIP_REPLACE);
82   #ifndef MACOSX
83     Subdir = "readmes";
84   #else
85     Subdir = "READMEs";
86   #endif
87 End
89 ScpAction scp_Copy_Readme_Txt
90   #ifdef UNX
91     README_ALL_LANG(Copy, README);
92     README_ALL_LANG(Name, README);
93   #else
94     README_TXT_ALL_LANG(Copy, readme, txt);
95     README_TXT_ALL_LANG(Name, readme, txt);
96   #endif
97     Styles = (SCPZIP_REPLACE);
98   #ifndef MACOSX
99     Subdir = "readmes";
100   #else
101     Subdir = "READMEs";
102   #endif
105 #if defined(WNT) && defined(_gcc3)
106 ScpAction SCP_COPY_MINGWM10
107     Copy = "mingwm10.dll";
108     Name = "mingwm10.dll";
110 #if defined(MINGW_GCCDLL)
111 ScpAction SCP_COPY_MINGW_GCCS
112     Copy = MINGW_GCCDLL;
113     Name = MINGW_GCCDLL;
115 #endif
116 #if defined(MINGW_GXXDLL)
117 ScpAction SCP_COPY_MINGW_STDCPP
118     Copy = MINGW_GXXDLL;
119     Name = MINGW_GXXDLL;
121 #endif
122 #endif
124 ScpAction scp_Copy_Xpd_Javaloader
125         Copy = "javaloader.sh";
126     Name = "setup";
127     Styles = (XPD_ONLY);
128     UnixRights = 775;
131 ScpAction scp_Copy_Xpd_Javajarfile
132         Copy = "JavaSetup.jar";
133     Name = "JavaSetup.jar";
134     Styles = (XPD_ONLY);
137 // #ifdef SOLARIS
138 // ScpAction scp_Copy_Xpd_Getuidso
139 //     Copy = "getuid.so";
140 //     Name = "getuid.so";
141 //     Styles = (XPD_ONLY);
142 //     Subdir = "installdata/getuid";
143 // End
144 // #endif
146 // Setup image
147 ScpAction scp_Copy_Xpd_Gif_Setup
148         Copy = "Setup.gif";
149     Name = "Setup.gif";
150     Styles = (XPD_ONLY);
151     Subdir = "installdata/images";
154 // Setup license file
155 ScpAction scp_Copy_Xpd_Html_License
156     README_TXT_ALL_LANG(Copy, LICENSE, html);
157     README_TXT_ALL_LANG(Name, LICENSE, html);
158     Styles = (XPD_ONLY);
159     Subdir = "installdata/html";
162 ScpAction scp_Copy_Xpd_Html_License_En_Us
163         Copy = "LICENSE_en-US.html";
164     Name = "LICENSE.html";
165     Styles = (XPD_ONLY);
166     Subdir = "installdata/html";
169 // Setup help files
171 ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense
172     README_TXT_ALL_LANG(Copy, AcceptLicense, html);
173     README_TXT_ALL_LANG(Name, AcceptLicense, html);
174     Styles = (XPD_ONLY);
175     Subdir = "installdata/html";
178 ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense_En_Us
179     Copy = "AcceptLicense_en-US.html";
180     Name = "AcceptLicense.html";
181     Styles = (XPD_ONLY);
182     Subdir = "installdata/html";
185 ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents
186     README_TXT_ALL_LANG(Copy, ChooseComponents, html);
187     README_TXT_ALL_LANG(Name, ChooseComponents, html);
188     Styles = (XPD_ONLY);
189     Subdir = "installdata/html";
192 ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents_En_Us
193     Copy = "ChooseComponents_en-US.html";
194     Name = "ChooseComponents.html";
195     Styles = (XPD_ONLY);
196     Subdir = "installdata/html";
199 ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory
200     README_TXT_ALL_LANG(Copy, ChooseDirectory, html);
201     README_TXT_ALL_LANG(Name, ChooseDirectory, html);
202     Styles = (XPD_ONLY);
203     Subdir = "installdata/html";
206 ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory_En_Us
207     Copy = "ChooseDirectory_en-US.html";
208     Name = "ChooseDirectory.html";
209     Styles = (XPD_ONLY);
210     Subdir = "installdata/html";
213 ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype
214     README_TXT_ALL_LANG(Copy, ChooseInstallationType, html);
215     README_TXT_ALL_LANG(Name, ChooseInstallationType, html);
216     Styles = (XPD_ONLY);
217     Subdir = "installdata/html";
220 ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype_En_Us
221     Copy = "ChooseInstallationType_en-US.html";
222     Name = "ChooseInstallationType.html";
223     Styles = (XPD_ONLY);
224     Subdir = "installdata/html";
227 // ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage
228 //    README_TXT_ALL_LANG(Copy, ChooseLanguage, html);
229 //    README_TXT_ALL_LANG(Name, ChooseLanguage, html);
230 //    Styles = (XPD_ONLY);
231 //    Subdir = "installdata/html";
232 // End
234 // ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage_En_Us
235 //    Copy = "ChooseLanguage_en-US.html";
236 //    Name = "ChooseLanguage.html";
237 //    Styles = (XPD_ONLY);
238 //    Subdir = "installdata/html";
239 // End
241 ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents
242     README_TXT_ALL_LANG(Copy, ChooseUninstallationComponents, html);
243     README_TXT_ALL_LANG(Name, ChooseUninstallationComponents, html);
244     Styles = (XPD_ONLY);
245     Subdir = "installdata/html";
248 ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents_En_Us
249     Copy = "ChooseUninstallationComponents_en-US.html";
250     Name = "ChooseUninstallationComponents.html";
251     Styles = (XPD_ONLY);
252     Subdir = "installdata/html";
255 ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype
256     README_TXT_ALL_LANG(Copy, ChooseUninstallationType, html);
257     README_TXT_ALL_LANG(Name, ChooseUninstallationType, html);
258     Styles = (XPD_ONLY);
259     Subdir = "installdata/html";
262 ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype_En_Us
263     Copy = "ChooseUninstallationType_en-US.html";
264     Name = "ChooseUninstallationType.html";
265     Styles = (XPD_ONLY);
266     Subdir = "installdata/html";
269 ScpAction scp_Copy_Xpd_Help_Html_Installationimminent
270     README_TXT_ALL_LANG(Copy, InstallationImminent, html);
271     README_TXT_ALL_LANG(Name, InstallationImminent, html);
272     Styles = (XPD_ONLY);
273     Subdir = "installdata/html";
276 ScpAction scp_Copy_Xpd_Help_Html_Installationimminent_En_Us
277     Copy = "InstallationImminent_en-US.html";
278     Name = "InstallationImminent.html";
279     Styles = (XPD_ONLY);
280     Subdir = "installdata/html";
283 ScpAction scp_Copy_Xpd_Help_Html_Installationongoing
284     README_TXT_ALL_LANG(Copy, InstallationOngoing, html);
285     README_TXT_ALL_LANG(Name, InstallationOngoing, html);
286     Styles = (XPD_ONLY);
287     Subdir = "installdata/html";
290 ScpAction scp_Copy_Xpd_Help_Html_Installationongoing_En_Us
291     Copy = "InstallationOngoing_en-US.html";
292     Name = "InstallationOngoing.html";
293     Styles = (XPD_ONLY);
294     Subdir = "installdata/html";
297 ScpAction scp_Copy_Xpd_Help_Html_Prologue
298     README_TXT_ALL_LANG(Copy, Prologue, html);
299     README_TXT_ALL_LANG(Name, Prologue, html);
300     Styles = (XPD_ONLY);
301     Subdir = "installdata/html";
304 ScpAction scp_Copy_Xpd_Help_Html_Prologue_En_Us
305     Copy = "Prologue_en-US.html";
306     Name = "Prologue.html";
307     Styles = (XPD_ONLY);
308     Subdir = "installdata/html";
311 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent
312     README_TXT_ALL_LANG(Copy, UninstallationImminent, html);
313     README_TXT_ALL_LANG(Name, UninstallationImminent, html);
314     Styles = (XPD_ONLY);
315     Subdir = "installdata/html";
318 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent_En_Us
319     Copy = "UninstallationImminent_en-US.html";
320     Name = "UninstallationImminent.html";
321     Styles = (XPD_ONLY);
322     Subdir = "installdata/html";
325 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing
326     README_TXT_ALL_LANG(Copy, UninstallationOngoing, html);
327     README_TXT_ALL_LANG(Name, UninstallationOngoing, html);
328     Styles = (XPD_ONLY);
329     Subdir = "installdata/html";
332 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing_En_Us
333     Copy = "UninstallationOngoing_en-US.html";
334     Name = "UninstallationOngoing.html";
335     Styles = (XPD_ONLY);
336     Subdir = "installdata/html";
339 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue
340     README_TXT_ALL_LANG(Copy, UninstallationPrologue, html);
341     README_TXT_ALL_LANG(Name, UninstallationPrologue, html);
342     Styles = (XPD_ONLY);
343     Subdir = "installdata/html";
346 ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue_En_Us
347     Copy = "UninstallationPrologue_en-US.html";
348     Name = "UninstallationPrologue.html";
349     Styles = (XPD_ONLY);
350     Subdir = "installdata/html";
353 #if defined LINUX || defined SOLARIS
354 ScpAction scp_Copy_Update_Script
355     Copy = "update";
356     Name = "update";
357     Styles = (SCPZIP_REPLACE);
358     UnixRights = 775;
360 #endif
362 #ifdef MACOSX
363 ScpAction scp_Copy_Dmg_Background_Image
364     Copy = "osxdndinstall.png";
365     Name = "background.png";
366     UnixRights = 444;
367     Styles = ();
368     Subdir = ".background";
371 ScpAction scp_Copy_Ds_Store
372     Copy = "DS_Store";
373     LangPackCopy = "DS_Store_Langpack";
374     PatchCopy = "DS_Store_Patch";
375     Name = ".DS_Store";
376     UnixRights = 444;
377     Styles = (FORCELANGUAGEPACK);
379 #endif