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