Filename | /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/globals.pm |
Statements | Executed 247 statements in 861µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 603µs | 622µs | BEGIN@35 | installer::globals::
1 | 1 | 1 | 19µs | 19µs | CORE:match (opcode) | installer::globals::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
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 | package installer::globals; | ||||
29 | |||||
30 | ############################################ | ||||
31 | # Global settings | ||||
32 | ############################################ | ||||
33 | |||||
34 | BEGIN | ||||
35 | # spent 622µs (603+19) within installer::globals::BEGIN@35 which was called:
# once (603µs+19µs) by installer::logger::BEGIN@36 at line 312 | ||||
36 | 246 | 194µs | $ziplistname = ""; | ||
37 | $pathfilename = ""; | ||||
38 | $setupscriptname = ""; | ||||
39 | $product = ""; | ||||
40 | $languagelist = ""; | ||||
41 | $added_english = 0; | ||||
42 | $set_office_start_language = 0; | ||||
43 | |||||
44 | $destdir = ""; | ||||
45 | $rootpath = ""; | ||||
46 | |||||
47 | $productextension = ""; | ||||
48 | @languageproducts = (); | ||||
49 | $build = ""; | ||||
50 | $minor = ""; | ||||
51 | $lastminor = ""; | ||||
52 | $compiler = ""; | ||||
53 | $pro = 0; | ||||
54 | $dounzip = 1; | ||||
55 | $languages_defined_in_productlist = 0; | ||||
56 | $setupscript_defined_in_productlist = 0; | ||||
57 | $iswindowsbuild = 0; | ||||
58 | $islinuxbuild = 0; | ||||
59 | $isrpmbuild = 0; | ||||
60 | $isdebbuild = 0; | ||||
61 | $issolarisbuild = 0; | ||||
62 | $issolarispkgbuild = 0; | ||||
63 | $issolarissparcbuild = 0; | ||||
64 | $issolarisx86build = 0; | ||||
65 | $isfreebsdbuild = 0; | ||||
66 | $isfreebsdpkgbuild = 0; | ||||
67 | $ismacbuild = 0; | ||||
68 | $ismacdmgbuild = 0; | ||||
69 | $unpackpath = ""; | ||||
70 | $idttemplatepath = ""; | ||||
71 | $idtlanguagepath = ""; | ||||
72 | $buildid = "Not set"; | ||||
73 | $fontsfolder = "FontsFolder"; | ||||
74 | $fontsfoldername = "Fonts"; | ||||
75 | $fontsdirparent = ""; | ||||
76 | $fontsdirname = ""; | ||||
77 | $fontsdirhostname = "truetype"; | ||||
78 | $officemenufolder = "OfficeMenuFolder"; | ||||
79 | $startupfolder = "StartupFolder"; | ||||
80 | $startmenufolder = "StartMenuFolder"; | ||||
81 | $desktopfolder = "DesktopFolder"; | ||||
82 | $programfilesfolder = "ProgramFilesFolder"; | ||||
83 | $commonfilesfolder = "CommonFilesFolder"; | ||||
84 | $commonappdatafolder = "CommonAppDataFolder"; | ||||
85 | $localappdatafolder = "LocalAppDataFolder"; | ||||
86 | $templatefolder = "TemplateFolder"; | ||||
87 | $templatefoldername = "Templates"; | ||||
88 | $programmenufolder = "ProgramMenuFolder"; | ||||
89 | $systemfolder = "SystemFolder"; | ||||
90 | $encodinglistname = "msi-encodinglist.txt"; | ||||
91 | $msiencoding = ""; # hash reference for msi encodings | ||||
92 | $msilanguage = ""; # hash reference for msi languages LCID | ||||
93 | $sofficeiconadded = 0; | ||||
94 | $temppath = ""; | ||||
95 | $cyg_temppath = ""; | ||||
96 | $temppathdefined = 0; | ||||
97 | $packageversion = 1; | ||||
98 | $packagerevision = 1; | ||||
99 | $rpm = ""; | ||||
100 | $rpminfologged = 0; | ||||
101 | $debian = ""; | ||||
102 | $installertypedir = ""; | ||||
103 | $controlledmakecabversion = "5"; | ||||
104 | $max_lang_length = 50; | ||||
105 | $globalblock = "Globals"; | ||||
106 | $rootmodulegid = ""; | ||||
107 | %alllangmodules = (); | ||||
108 | $englishlicenseset = 0; | ||||
109 | $englishlicense = ""; | ||||
110 | $englishsolarislicensename = "LICENSE"; # _en-US"; | ||||
111 | $solarisdontcompress = 0; | ||||
112 | $patharray = ""; | ||||
113 | |||||
114 | $is_special_epm = 0; | ||||
115 | $epm_in_path = 0; | ||||
116 | $epm_path = ""; | ||||
117 | $epmoutpath = ""; | ||||
118 | $simple = 0; | ||||
119 | $simpledefaultuserdir = "\$ORIGIN/.."; | ||||
120 | $call_epm = 1; | ||||
121 | $packageformat = ""; | ||||
122 | $packagename = ""; | ||||
123 | $packagelist = ""; | ||||
124 | $shiptestdirectory = ""; | ||||
125 | $archiveformat = ""; | ||||
126 | $updatelastsequence = 0; | ||||
127 | $updatesequencecounter = 0; | ||||
128 | $updatedatabase = 0; | ||||
129 | $updatedatabasepath = ""; | ||||
130 | $pfffileexists = 0; | ||||
131 | $pffcabfilename = "ooobasis3.0_pff.cab"; | ||||
132 | $mergemodulenumber = 0; | ||||
133 | %allmergemodulefilesequences = (); | ||||
134 | %newupdatefiles = (); | ||||
135 | %allusedupdatesequences = (); | ||||
136 | %mergemodulefiles = (); | ||||
137 | $mergefiles_added_into_collector = 0; | ||||
138 | $creating_windows_installer_patch = 0; | ||||
139 | |||||
140 | $strip = 0; | ||||
141 | |||||
142 | $logfilename = "logfile.log"; # the default logfile name for global errors | ||||
143 | @logfileinfo = (); | ||||
144 | @errorlogfileinfo = (); | ||||
145 | @globallogfileinfo = (); | ||||
146 | $ignore_error_in_logfile = 0; | ||||
147 | $exitlog = ""; | ||||
148 | $globalinfo_copied = 0; | ||||
149 | $quiet = 0; | ||||
150 | |||||
151 | $ismultilingual = 0; | ||||
152 | %alluniquefilenames = (); | ||||
153 | %alllcuniquefilenames = (); | ||||
154 | %uniquefilenamesequence = (); | ||||
155 | %dependfilenames = (); | ||||
156 | $manufacturer = ""; | ||||
157 | $longmanufacturer = ""; | ||||
158 | $codefilename = "codes.txt"; | ||||
159 | $componentfilename = "components.txt"; | ||||
160 | $productcode = ""; | ||||
161 | $upgradecode = ""; | ||||
162 | $msiproductversion = ""; | ||||
163 | $msimajorproductversion = ""; | ||||
164 | @allddffiles = (); | ||||
165 | $infodirectory = ""; | ||||
166 | |||||
167 | %mergemodules = (); | ||||
168 | %merge_media_line = (); | ||||
169 | %merge_allfeature_hash = (); | ||||
170 | %merge_alldirectory_hash = (); | ||||
171 | %copy_msm_files = (); | ||||
172 | $mergefeaturecollected = 0; | ||||
173 | $mergedirectoriescollected = 0; | ||||
174 | $lastsequence_before_merge = 0; | ||||
175 | $lastcabfilename = ""; | ||||
176 | |||||
177 | $defaultlanguage = ""; | ||||
178 | $addlicensefile = 1; | ||||
179 | $addsystemintegration = 0; | ||||
180 | $makedownload = 1; | ||||
181 | @binarytableonlyfiles = (); | ||||
182 | @allscpactions = (); | ||||
183 | $languagepackaddon = "LanguagePack"; | ||||
184 | $patchaddon = "Patch"; | ||||
185 | $ooodownloadfilename = ""; | ||||
186 | $downloadfilename = ""; | ||||
187 | $downloadfileextension = ""; | ||||
188 | %multilingual_only_modules = (); | ||||
189 | %application_modules = (); | ||||
190 | |||||
191 | $is_copy_only_project = 0; | ||||
192 | $is_simple_packager_project = 0; | ||||
193 | $patch_user_dir = 0; | ||||
194 | $languagepack = 0; | ||||
195 | $helppack = 0; | ||||
196 | $patch = 0; | ||||
197 | $patchincludepath = ""; | ||||
198 | $refresh_includepaths = 0; | ||||
199 | $include_paths_read = 0; | ||||
200 | @patchfilecollector = (); | ||||
201 | $nopatchfilecollector = ""; | ||||
202 | @userregistrycollector = (); | ||||
203 | $addeduserregitrykeys = 0; | ||||
204 | $desktoplinkexists = 0; | ||||
205 | $analyze_spellcheckerlanguage = 0; | ||||
206 | %spellcheckerlanguagehash = (); | ||||
207 | %spellcheckerfilehash = (); | ||||
208 | $registryrootcomponent = ""; | ||||
209 | %allcomponents = (); | ||||
210 | %allcomponents_in_this_database = (); | ||||
211 | %allshortcomponents = (); | ||||
212 | %alluniquedirectorynames = (); | ||||
213 | %allregistrycomponents_ = (); | ||||
214 | %allregistrycomponents_in_this_database_ = (); | ||||
215 | %allshortregistrycomponents = (); | ||||
216 | |||||
217 | $installlocationdirectory = ""; | ||||
218 | $installlocationdirectoryset = 0; | ||||
219 | $vendordirectory = ""; | ||||
220 | $officeinstalldirectory = ""; | ||||
221 | $rootbrandpackage = ""; | ||||
222 | $rootbrandpackageset = 0; | ||||
223 | $officedirhostname = ""; | ||||
224 | $officedirgid = ""; | ||||
225 | |||||
226 | %treestyles = (); | ||||
227 | %treelayername = (); | ||||
228 | %hostnametreestyles = (); | ||||
229 | %treeconditions = (); | ||||
230 | %usedtreeconditions = (); | ||||
231 | %moduledestination = (); | ||||
232 | |||||
233 | $fix_number_of_cab_files = 1; | ||||
234 | $cabfilecompressionlevel = 21; # Using LZX compression, possible values are: 15 | 16 | ... | 21 (best compression) | ||||
235 | $number_of_cabfiles = 1; # only for $fix_number_of_cab_files = 1 | ||||
236 | $include_cab_in_msi = 1; | ||||
237 | $msidatabasename = ""; | ||||
238 | $prepare_winpatch = 0; | ||||
239 | $previous_idt_dir = ""; | ||||
240 | $msitranpath = ""; | ||||
241 | $insert_file_at_end = 0; | ||||
242 | $newfilesexist = 0; | ||||
243 | $usesharepointpath = 0; | ||||
244 | %newfilescollector = (); | ||||
245 | |||||
246 | $saveinstalldir = ""; | ||||
247 | $csp_installdir = ""; # global installdir of createsimplepackage() in simplepackage.pm | ||||
248 | $csp_installlogdir = ""; # global installlogdir of createsimplepackage() in simplepackage.pm | ||||
249 | $csp_languagestring = ""; # global languagestring of createsimplepackage() in simplepackage.pm | ||||
250 | $localunpackdir = ""; | ||||
251 | $localinstalldirset = 0; | ||||
252 | $localinstalldir = ""; | ||||
253 | |||||
254 | $urefile = ""; | ||||
255 | |||||
256 | $postprocess_specialepm = 0; | ||||
257 | $postprocess_standardepm = 0; | ||||
258 | $mergemodules_analyzed = 0; | ||||
259 | |||||
260 | @solarispatchscripts = ("checkinstall", "copyright", "patch_checkinstall", "patch_postinstall", "postinstall", "preinstall", "i.none"); | ||||
261 | @solarispatchscriptsforextensions = ("checkinstall", "copyright", "patch_checkinstall", "patch_postinstall_extensions", "postinstall_extensions", "preinstall", "i.none"); | ||||
262 | @solarispatchfiles = (".diPatch", "patchinfo"); | ||||
263 | @packagelistitems = ("module", "solarispackagename", "packagename", "copyright", "vendor", "description" ); | ||||
264 | @languagepackfeature =(); | ||||
265 | @helppackfeature =(); | ||||
266 | @featurecollector =(); | ||||
267 | $msiassemblyfiles = ""; | ||||
268 | $macinstallfilename = "macinstall.ulf"; | ||||
269 | $extensioninstalldir = "gid_Dir_Share_Extension_Install"; | ||||
270 | @languagenames = (); | ||||
271 | @requiredpackages = (); | ||||
272 | %componentcondition = (); | ||||
273 | %componentid = (); | ||||
274 | %comparecomponentname = (); | ||||
275 | %allcabinets = (); | ||||
276 | %allcabinetassigns = (); | ||||
277 | %cabfilecounter = (); | ||||
278 | %lastsequence = (); | ||||
279 | %dontdeletecomponents = (); | ||||
280 | %allcalculated_guids = (); | ||||
281 | %calculated_component_guids = (); | ||||
282 | %base_independent_components = (); | ||||
283 | %all_english_languagestrings = (); | ||||
284 | %all_required_english_languagestrings = (); | ||||
285 | |||||
286 | @removedirs = (); | ||||
287 | @removefiletable = (); | ||||
288 | |||||
289 | 1 | 19µs | if ( $^O =~ /cygwin/i ) # spent 19µs making 1 call to installer::globals::CORE:match | ||
290 | { | ||||
291 | $zippath = "zip"; # Has to be in the path: /usr/bin/zip | ||||
292 | $separator = "/"; | ||||
293 | $pathseparator = "\:"; | ||||
294 | $isunix = 0; | ||||
295 | $iswin = 1; | ||||
296 | $archiveformat = ".zip"; | ||||
297 | %savedmapping = (); | ||||
298 | %savedrevmapping = (); | ||||
299 | %savedrev83mapping = (); | ||||
300 | %saved83dirmapping = (); | ||||
301 | } | ||||
302 | else | ||||
303 | { | ||||
304 | $zippath = "zip"; # Has to be in the path: /usr/bin/zip | ||||
305 | $separator = "/"; | ||||
306 | $pathseparator = "\:"; | ||||
307 | $archiveformat = ".tar.gz"; | ||||
308 | $isunix = 1; | ||||
309 | $iswin = 0; | ||||
310 | } | ||||
311 | |||||
312 | 1 | 660µs | 1 | 622µs | } # spent 622µs making 1 call to installer::globals::BEGIN@35 |
313 | |||||
314 | 1 | 8µs | 1; | ||
# spent 19µs within installer::globals::CORE:match which was called:
# once (19µs+0s) by installer::globals::BEGIN@35 at line 289 |