xref: /trunk/main/scp2/source/ooo/profileitem_ooo.scp (revision cdf0e10c)
1/*************************************************************************
2*
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26************************************************************************/
27
28#include "macros.inc"
29
30ProfileItem gid_Profileitem_Setup_Uno_Java_Comppath
31    ProfileID = gid_Profile_Setup_Ini;
32    ModuleID = gid_Module_Root;
33    Section = "Bootstrap";
34    Order = 1;
35    Key = "UNO_JAVA_COMPPATH";
36    Value = "$ORIGIN/classes";
37End
38
39ProfileItem gid_Profileitem_Setup_Uno_Services
40    ProfileID = gid_Profile_Setup_Ini;
41    ModuleID = gid_Module_Root;
42    Section = "Bootstrap";
43    Order = 2;
44    Key = "UNO_SERVICES";
45    Value = "$ORIGIN/setup_services.rdb";
46End
47
48ProfileItem gid_Profileitem_Setup_Uno_Types
49    ProfileID = gid_Profile_Setup_Ini;
50    ModuleID = gid_Module_Root;
51    Section = "Bootstrap";
52    Order = 3;
53    Key = "UNO_TYPES";
54    Value = "$ORIGIN/types.rdb";
55End
56
57#ifdef WNT
58
59ProfileItem gid_Profileitem_Setup_Alluserset
60    ProfileID = gid_Profile_Setup_Ini;
61    ModuleID = gid_Module_Root;
62    Section = "Bootstrap";
63    Order = 4;
64    Key = "ALLUSERS";
65    Value = "[ALLUSERS]";
66    Inifiletablekey = "AllUsersSet";
67    Inifiletableaction = "1";
68    Styles = (INIFILETABLE);
69End
70
71#endif
72
73#ifdef WNT
74
75ProfileItem gid_Profileitem_Setup_Findproduct
76    ProfileID = gid_Profile_Setup_Ini;
77    ModuleID = gid_Module_Root;
78    Section = "Bootstrap";
79    Order = 5;
80    Key = "FINDPRODUCT";
81    Value = "[FINDPRODUCT]";
82    Inifiletablekey = "FindProductSet";
83    Inifiletableaction = "1";
84    Styles = (INIFILETABLE);
85End
86
87#endif
88
89#ifdef WNT
90
91ProfileItem gid_Profileitem_Setup_Productcode
92    ProfileID = gid_Profile_Setup_Ini;
93    ModuleID = gid_Module_Root;
94    Section = "Bootstrap";
95    Order = 6;
96    Key = "ProductCode";
97    Value = "<productcode>";
98End
99
100#endif
101
102#ifdef WNT
103
104ProfileItem gid_Profileitem_Setup_Upgradecode
105    ProfileID = gid_Profile_Setup_Ini;
106    ModuleID = gid_Module_Root;
107    Section = "Bootstrap";
108    Order = 7;
109    Key = "UpgradeCode";
110    Value = "<upgradecode>";
111End
112
113#endif
114
115ProfileItem gid_Profileitem_Soffice_Logo
116    ProfileID = gid_Profile_Soffice_Ini;
117    ModuleID = gid_Module_Root;
118    Section = "Bootstrap";
119    Order = 1;
120    Key = "Logo";
121    Value = "1";
122End
123
124ProfileItem gid_Profileitem_Soffice_ProgressBarColor
125    ProfileID = gid_Profile_Soffice_Ini;
126    ModuleID = gid_Module_Root;
127    Section = "Bootstrap";
128    Order = 2;
129    Key = "ProgressBarColor";
130    Value = "0,0,128";
131End
132
133ProfileItem gid_Profileitem_Soffice_ProgressSize
134    ProfileID = gid_Profile_Soffice_Ini;
135    ModuleID = gid_Module_Root;
136    Section = "Bootstrap";
137    Order = 3;
138    Key = "ProgressSize";
139    Value = "-1,6";
140End
141
142ProfileItem gid_Profileitem_Soffice_ProgressPosition
143    ProfileID = gid_Profile_Soffice_Ini;
144    ModuleID = gid_Module_Root;
145    Section = "Bootstrap";
146    Order = 4;
147    Key = "ProgressPosition";
148    Value = "-1,-1";
149End
150
151ProfileItem gid_Profileitem_Soffice_NativeProgress
152    ProfileID = gid_Profile_Soffice_Ini;
153    ModuleID = gid_Module_Root;
154    Section = "Bootstrap";
155    Order = 6;
156    Key = "NativeProgress";
157    Value = "true";
158End
159
160#ifdef WNT
161
162ProfileItem gid_Profileitem_Soffice_Hideeula
163    ProfileID = gid_Profile_Soffice_Ini;
164    ModuleID = gid_Module_Root;
165    Section = "Bootstrap";
166    Order = 8;
167    Key = "HideEula";
168    Value = "[HIDEEULA]";
169    Inifiletablekey = "HideEula";
170    Inifiletableaction = "1";
171    Styles = (INIFILETABLE);
172End
173
174#endif
175
176ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions
177    ProfileID = gid_Profile_Uno_Ini;
178    ModuleID = gid_Module_Root;
179    Section = "Bootstrap";
180    Order = 1;
181    Key = "BUNDLED_EXTENSIONS";
182    Value = "$BRAND_BASE_DIR/share/extensions";
183End
184
185ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_User
186    ProfileID = gid_Profile_Uno_Ini;
187    ModuleID = gid_Module_Root;
188    Section = "Bootstrap";
189    Order = 1;
190    Key = "BUNDLED_EXTENSIONS_USER";
191    Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bundled";
192End
193
194ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_Prereg
195    ProfileID = gid_Profile_Uno_Ini;
196    ModuleID = gid_Module_Root;
197    Section = "Bootstrap";
198    Order = 1;
199    Key = "BUNDLED_EXTENSIONS_PREREG";
200    Value = "$BRAND_BASE_DIR/share/prereg/bundled";
201End
202
203
204ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages
205    ProfileID = gid_Profile_Uno_Ini;
206    ModuleID = gid_Module_Root;
207    Section = "Bootstrap";
208    Order = 1;
209    Key = "UNO_SHARED_PACKAGES";
210    Value = "$BRAND_BASE_DIR/share/uno_packages";
211End
212
213ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages_Cache
214    ProfileID = gid_Profile_Uno_Ini;
215    ModuleID = gid_Module_Root;
216    Section = "Bootstrap";
217    Order = 2;
218    Key = "UNO_SHARED_PACKAGES_CACHE";
219    Value = "$UNO_SHARED_PACKAGES/cache";
220End
221
222ProfileItem gid_Profileitem_Uno_Uno_Shared_Extensions_User
223    ProfileID = gid_Profile_Uno_Ini;
224    ModuleID = gid_Module_Root;
225    Section = "Bootstrap";
226    Order = 1;
227    Key = "SHARED_EXTENSIONS_USER";
228    Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/shared";
229End
230
231ProfileItem gid_Profileitem_Uno_Uno_User_Packages
232    ProfileID = gid_Profile_Uno_Ini;
233    ModuleID = gid_Module_Root;
234    Section = "Bootstrap";
235    Order = 3;
236    Key = "UNO_USER_PACKAGES";
237    Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/uno_packages";
238End
239
240ProfileItem gid_Profileitem_Uno_Uno_Bundled_Tmp_Extensions
241    ProfileID = gid_Profile_Uno_Ini;
242    ModuleID = gid_Module_Root;
243    Section = "Bootstrap";
244    Order = 1;
245    Key = "TMP_EXTENSIONS";
246    Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/tmp";
247End
248
249ProfileItem gid_Profileitem_Uno_Uno_User_Packages_Cache
250    ProfileID = gid_Profile_Uno_Ini;
251    ModuleID = gid_Module_Root;
252    Section = "Bootstrap";
253    Order = 4;
254    Key = "UNO_USER_PACKAGES_CACHE";
255    Value = "$UNO_USER_PACKAGES/cache";
256End
257ProfileItem gid_Profileitem_Uno_Pkg_BundledUnoFile
258    ProfileID = gid_Profile_Uno_Ini;
259    ModuleID = gid_Module_Root;
260    Section = "Bootstrap";
261    Order = 5;
262    Key = "PKG_BundledUnoFile";
263    Value = "$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
264End
265
266ProfileItem gid_Profileitem_Uno_Pkg_SharedUnoFile
267    ProfileID = gid_Profile_Uno_Ini;
268    ModuleID = gid_Module_Root;
269    Section = "Bootstrap";
270    Order = 5;
271    Key = "PKG_SharedUnoFile";
272    Value = "$SHARED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
273End
274
275ProfileItem gid_Profileitem_Uno_Pkg_UserUnoFile
276    ProfileID = gid_Profile_Uno_Ini;
277    ModuleID = gid_Module_Root;
278    Section = "Bootstrap";
279    Order = 6;
280    Key = "PKG_UserUnoFile";
281    Value = "$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
282End
283
284ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions
285    ModuleID = gid_Module_Root;
286    ProfileID = gid_Profile_Fundamentalbasis_Ini;
287    Section = "Bootstrap";
288    Key = "BUNDLED_EXTENSIONS";
289    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS}";
290End
291
292ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_User
293    ModuleID = gid_Module_Root;
294    ProfileID = gid_Profile_Fundamentalbasis_Ini;
295    Section = "Bootstrap";
296    Key = "BUNDLED_EXTENSIONS_USER";
297    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_USER}";
298End
299
300ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_Prereg
301    ModuleID = gid_Module_Root;
302    ProfileID = gid_Profile_Fundamentalbasis_Ini;
303    Section = "Bootstrap";
304    Key = "BUNDLED_EXTENSIONS_PREREG";
305    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_PREREG}";
306End
307
308ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Packages_Cache
309    ModuleID = gid_Module_Root;
310    ProfileID = gid_Profile_Fundamentalbasis_Ini;
311    Section = "Bootstrap";
312    Key = "UNO_SHARED_PACKAGES_CACHE";
313    Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_SHARED_PACKAGES_CACHE}";
314End
315
316ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Extensions_User
317    ModuleID = gid_Module_Root;
318    ProfileID = gid_Profile_Fundamentalbasis_Ini;
319    Section = "Bootstrap";
320    Key = "SHARED_EXTENSIONS_USER";
321    Value = "${$ORIGIN/" PROFILENAME(uno) ":SHARED_EXTENSIONS_USER}";
322End
323
324ProfileItem gid_Profileitem_Fundamentalbasis_Uno_User_Packages_Cache
325    ModuleID = gid_Module_Root;
326    ProfileID = gid_Profile_Fundamentalbasis_Ini;
327    Section = "Bootstrap";
328    Key = "UNO_USER_PACKAGES_CACHE";
329    Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_USER_PACKAGES_CACHE}";
330End
331
332ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Tmp_Extensions
333    ModuleID = gid_Module_Root;
334    ProfileID = gid_Profile_Fundamentalbasis_Ini;
335    Section = "Bootstrap";
336    Key = "TMP_EXTENSIONS";
337    Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
338End
339
340ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Types
341    ModuleID = gid_Module_Root;
342    ProfileID = gid_Profile_Fundamentalbasis_Ini;
343    Section = "Bootstrap";
344    Key = "URE_MORE_TYPES";
345    Value = "$ORIGIN/offapi.rdb $ORIGIN/oovbaapi.rdb ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_TYPES}";
346End
347
348ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Services
349    ModuleID = gid_Module_Root;
350    ProfileID = gid_Profile_Fundamentalbasis_Ini;
351    Section = "Bootstrap";
352    Key = "URE_MORE_SERVICES";
353    Value = "${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_SERVICES} $ORIGIN/services.rdb";
354End
355
356ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Java_Types
357    ModuleID = gid_Module_Root;
358    ProfileID = gid_Profile_Fundamentalbasis_Ini;
359    Section = "Bootstrap";
360    Key = "URE_MORE_JAVA_TYPES";
361    Value = "$ORIGIN/classes/unoil.jar $ORIGIN/classes/ScriptFramework.jar ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
362End
363
364ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_Shared_Data
365    ModuleID = gid_Module_Root;
366    ProfileID = gid_Profile_Fundamentalbasis_Ini;
367    Section = "Bootstrap";
368    Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA";
369    Value = "${BRAND_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
370End
371
372ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_User_Data
373    ModuleID = gid_Module_Root;
374    ProfileID = gid_Profile_Fundamentalbasis_Ini;
375    Section = "Bootstrap";
376    Key = "URE_OVERRIDE_JAVA_JFW_USER_DATA";
377    Value = "${${BRAND_BASE_DIR}/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml";
378End
379
380ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Classpath_Urls
381    ModuleID = gid_Module_Root;
382    ProfileID = gid_Profile_Fundamentalbasis_Ini;
383    Section = "Bootstrap";
384    Key = "URE_MORE_JAVA_CLASSPATH_URLS";
385    Value = "";
386#ifdef SYSTEM_BSH
387    ValueList1 = BSH_JAR;
388#endif
389#ifdef SYSTEM_HSQLDB
390    ValueList2 = HSQLDB_JAR;
391#endif
392#ifdef SYSTEM_SAXON
393    ValueList3 = SAXON_JAR;
394#endif
395End
396
397ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Bin_Dir
398    ModuleID = gid_Module_Root;
399    ProfileID = gid_Profile_Fundamentalbasis_Ini;
400    Section = "Bootstrap";
401    Key = "URE_BIN_DIR";
402#if defined WNT
403    Value = "${.link:$ORIGIN/../ure-link}/bin";
404#else
405    Value = "$ORIGIN/../ure-link/bin";
406#endif
407End
408
409ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Lib_Dir
410    ModuleID = gid_Module_Root;
411    ProfileID = gid_Profile_Fundamentalbasis_Ini;
412    Section = "Bootstrap";
413    Key = "URE_LIB_DIR";
414#if defined WNT
415    Value = "${.link:$ORIGIN/../ure-link}/bin";
416#else
417    Value = "$ORIGIN/../ure-link/lib";
418#endif
419End
420
421// Basis layer: gid_Profile_Version_Ini_Basis
422
423ProfileItem gid_Basis_Profileitem_Version_Buildid
424    ProfileID = gid_Profile_Version_Ini_Basis;
425    ModuleID = gid_Module_Root;
426    Section = "Version";
427    Key = "buildid";
428    Value = "<buildid>";
429End
430
431ProfileItem gid_Basis_Profileitem_Version_Productsource
432    ProfileID = gid_Profile_Version_Ini_Basis;
433    ModuleID = gid_Module_Root;
434    Section = "Version";
435    Key = "ProductSource";
436    Value = "<sourceid>";
437End
438
439ProfileItem gid_Basis_Profileitem_Version_Productmajor
440    ProfileID = gid_Profile_Version_Ini_Basis;
441    ModuleID = gid_Module_Root;
442    Section = "Version";
443    Key = "ProductMajor";
444    Value = "<productmajor>";
445End
446
447ProfileItem gid_Basis_Profileitem_Version_Productminor
448    ProfileID = gid_Profile_Version_Ini_Basis;
449    ModuleID = gid_Module_Root;
450    Section = "Version";
451    Key = "ProductMinor";
452    Value = "<productminor>";
453End
454
455ProfileItem gid_Basis_Profileitem_Version_Productbuildid
456    ProfileID = gid_Profile_Version_Ini_Basis;
457    ModuleID = gid_Module_Root;
458    Section = "Version";
459    Key = "ProductBuildid";
460    Value = "<productbuildid>";
461End
462
463ProfileItem gid_Basis_Profileitem_Version_Ooobaseversion
464    ProfileID = gid_Profile_Version_Ini_Basis;
465    ModuleID = gid_Module_Root;
466    Section = "Version";
467    Key = "OOOBaseVersion";
468    Value = "${OOOBASEVERSION}";
469End
470
471ProfileItem gid_Basis_Profileitem_Version_Ooopackageversion
472    ProfileID = gid_Profile_Version_Ini_Basis;
473    ModuleID = gid_Module_Root;
474    Section = "Version";
475    Key = "OOOPackageVersion";
476    Value = "${OOOPACKAGEVERSION}";
477End
478