← Index
NYTProf Performance Profile   « block view • line view • sub view »
For C:/lo/libo-master/solenv/bin/make_installer.pl
  Run on Mon Sep 24 00:52:54 2012
Reported on Mon Sep 24 07:34:49 2012

Filename/cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/globals.pm
StatementsExecuted 247 statements in 861µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111603µs622µsinstaller::globals::::BEGIN@35installer::globals::BEGIN@35
11119µs19µsinstaller::globals::::CORE:matchinstaller::globals::CORE:match (opcode)
Call graph for these subroutines as a Graphviz dot language file.
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
28package installer::globals;
29
30############################################
31# Global settings
32############################################
33
34BEGIN
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
{
3612µs $ziplistname = "";
3711µs $pathfilename = "";
381500ns $setupscriptname = "";
3911µs $product = "";
4011µs $languagelist = "";
411600ns $added_english = 0;
421500ns $set_office_start_language = 0;
43
4411µs $destdir = "";
4511µs $rootpath = "";
46
4711µs $productextension = "";
4813µs @languageproducts = ();
491500ns $build = "";
501500ns $minor = "";
511500ns $lastminor = "";
521600ns $compiler = "";
531500ns $pro = 0;
541500ns $dounzip = 1;
551500ns $languages_defined_in_productlist = 0;
5610s $setupscript_defined_in_productlist = 0;
571500ns $iswindowsbuild = 0;
581500ns $islinuxbuild = 0;
591600ns $isrpmbuild = 0;
6010s $isdebbuild = 0;
611500ns $issolarisbuild = 0;
621600ns $issolarispkgbuild = 0;
6310s $issolarissparcbuild = 0;
641500ns $issolarisx86build = 0;
651500ns $isfreebsdbuild = 0;
6610s $isfreebsdpkgbuild = 0;
671500ns $ismacbuild = 0;
681500ns $ismacdmgbuild = 0;
6911µs $unpackpath = "";
7011µs $idttemplatepath = "";
711600ns $idtlanguagepath = "";
721500ns $buildid = "Not set";
731500ns $fontsfolder = "FontsFolder";
741500ns $fontsfoldername = "Fonts";
751500ns $fontsdirparent = "";
761600ns $fontsdirname = "";
7711µs $fontsdirhostname = "truetype";
7811µs $officemenufolder = "OfficeMenuFolder";
7911µs $startupfolder = "StartupFolder";
801500ns $startmenufolder = "StartMenuFolder";
811500ns $desktopfolder = "DesktopFolder";
8211µs $programfilesfolder = "ProgramFilesFolder";
8311µs $commonfilesfolder = "CommonFilesFolder";
8411µs $commonappdatafolder = "CommonAppDataFolder";
8511µs $localappdatafolder = "LocalAppDataFolder";
861500ns $templatefolder = "TemplateFolder";
871500ns $templatefoldername = "Templates";
881500ns $programmenufolder = "ProgramMenuFolder";
891500ns $systemfolder = "SystemFolder";
901500ns $encodinglistname = "msi-encodinglist.txt";
911500ns $msiencoding = ""; # hash reference for msi encodings
921500ns $msilanguage = ""; # hash reference for msi languages LCID
9310s $sofficeiconadded = 0;
9411µs $temppath = "";
9511µs $cyg_temppath = "";
9610s $temppathdefined = 0;
971500ns $packageversion = 1;
981500ns $packagerevision = 1;
991500ns $rpm = "";
10010s $rpminfologged = 0;
1011500ns $debian = "";
10211µs $installertypedir = "";
10311µs $controlledmakecabversion = "5";
10410s $max_lang_length = 50;
10511µs $globalblock = "Globals";
10611µs $rootmodulegid = "";
10712µs %alllangmodules = ();
1081500ns $englishlicenseset = 0;
1091500ns $englishlicense = "";
1101500ns $englishsolarislicensename = "LICENSE"; # _en-US";
11110s $solarisdontcompress = 0;
1121500ns $patharray = "";
113
1141500ns $is_special_epm = 0;
1151500ns $epm_in_path = 0;
1161500ns $epm_path = "";
1171500ns $epmoutpath = "";
1181500ns $simple = 0;
11911µs $simpledefaultuserdir = "\$ORIGIN/..";
1201500ns $call_epm = 1;
1211500ns $packageformat = "";
1221500ns $packagename = "";
12311µs $packagelist = "";
12411µs $shiptestdirectory = "";
12511µs $archiveformat = "";
12610s $updatelastsequence = 0;
12710s $updatesequencecounter = 0;
1281500ns $updatedatabase = 0;
12911µs $updatedatabasepath = "";
13010s $pfffileexists = 0;
13111µs $pffcabfilename = "ooobasis3.0_pff.cab";
1321500ns $mergemodulenumber = 0;
13311µs %allmergemodulefilesequences = ();
1341500ns %newupdatefiles = ();
1351500ns %allusedupdatesequences = ();
1361500ns %mergemodulefiles = ();
1371500ns $mergefiles_added_into_collector = 0;
1381500ns $creating_windows_installer_patch = 0;
139
1401500ns $strip = 0;
141
1421500ns $logfilename = "logfile.log"; # the default logfile name for global errors
14310s @logfileinfo = ();
1441500ns @errorlogfileinfo = ();
1451500ns @globallogfileinfo = ();
1461500ns $ignore_error_in_logfile = 0;
14711µs $exitlog = "";
1481500ns $globalinfo_copied = 0;
1491500ns $quiet = 0;
150
1511500ns $ismultilingual = 0;
15210s %alluniquefilenames = ();
1531500ns %alllcuniquefilenames = ();
1541500ns %uniquefilenamesequence = ();
1551500ns %dependfilenames = ();
15611µs $manufacturer = "";
1571500ns $longmanufacturer = "";
1581500ns $codefilename = "codes.txt";
1591500ns $componentfilename = "components.txt";
1601500ns $productcode = "";
1611500ns $upgradecode = "";
1621500ns $msiproductversion = "";
16311µs $msimajorproductversion = "";
1641500ns @allddffiles = ();
16511µs $infodirectory = "";
166
16710s %mergemodules = ();
1681500ns %merge_media_line = ();
1691600ns %merge_allfeature_hash = ();
1701500ns %merge_alldirectory_hash = ();
17110s %copy_msm_files = ();
17210s $mergefeaturecollected = 0;
1731500ns $mergedirectoriescollected = 0;
1741500ns $lastsequence_before_merge = 0;
17511µs $lastcabfilename = "";
176
17711µs $defaultlanguage = "";
17810s $addlicensefile = 1;
1791600ns $addsystemintegration = 0;
1801500ns $makedownload = 1;
18110s @binarytableonlyfiles = ();
1821500ns @allscpactions = ();
18311µs $languagepackaddon = "LanguagePack";
1841500ns $patchaddon = "Patch";
18511µs $ooodownloadfilename = "";
18611µs $downloadfilename = "";
18711µs $downloadfileextension = "";
18810s %multilingual_only_modules = ();
1891500ns %application_modules = ();
190
1911600ns $is_copy_only_project = 0;
19210s $is_simple_packager_project = 0;
1931500ns $patch_user_dir = 0;
1941500ns $languagepack = 0;
19510s $helppack = 0;
19610s $patch = 0;
19711µs $patchincludepath = "";
1981500ns $refresh_includepaths = 0;
19910s $include_paths_read = 0;
2001500ns @patchfilecollector = ();
20111µs $nopatchfilecollector = "";
2021500ns @userregistrycollector = ();
20310s $addeduserregitrykeys = 0;
2041500ns $desktoplinkexists = 0;
2051500ns $analyze_spellcheckerlanguage = 0;
20610s %spellcheckerlanguagehash = ();
2071500ns %spellcheckerfilehash = ();
2081500ns $registryrootcomponent = "";
20910s %allcomponents = ();
2101500ns %allcomponents_in_this_database = ();
2111500ns %allshortcomponents = ();
21210s %alluniquedirectorynames = ();
2131500ns %allregistrycomponents_ = ();
2141500ns %allregistrycomponents_in_this_database_ = ();
2151500ns %allshortregistrycomponents = ();
216
21711µs $installlocationdirectory = "";
2181500ns $installlocationdirectoryset = 0;
21911µs $vendordirectory = "";
2201500ns $officeinstalldirectory = "";
2211500ns $rootbrandpackage = "";
22210s $rootbrandpackageset = 0;
2231500ns $officedirhostname = "";
2241500ns $officedirgid = "";
225
2261500ns %treestyles = ();
2271500ns %treelayername = ();
2281500ns %hostnametreestyles = ();
2291600ns %treeconditions = ();
23010s %usedtreeconditions = ();
2311500ns %moduledestination = ();
232
2331600ns $fix_number_of_cab_files = 1;
23410s $cabfilecompressionlevel = 21; # Using LZX compression, possible values are: 15 | 16 | ... | 21 (best compression)
2351500ns $number_of_cabfiles = 1; # only for $fix_number_of_cab_files = 1
2361500ns $include_cab_in_msi = 1;
2371500ns $msidatabasename = "";
2381500ns $prepare_winpatch = 0;
23911µs $previous_idt_dir = "";
24011µs $msitranpath = "";
2411500ns $insert_file_at_end = 0;
2421500ns $newfilesexist = 0;
2431500ns $usesharepointpath = 0;
2441500ns %newfilescollector = ();
245
24611µs $saveinstalldir = "";
2471500ns $csp_installdir = ""; # global installdir of createsimplepackage() in simplepackage.pm
2481600ns $csp_installlogdir = ""; # global installlogdir of createsimplepackage() in simplepackage.pm
2491500ns $csp_languagestring = ""; # global languagestring of createsimplepackage() in simplepackage.pm
25011µs $localunpackdir = "";
2511500ns $localinstalldirset = 0;
2521500ns $localinstalldir = "";
253
25411µs $urefile = "";
255
2561500ns $postprocess_specialepm = 0;
2571500ns $postprocess_standardepm = 0;
25810s $mergemodules_analyzed = 0;
259
26015µs @solarispatchscripts = ("checkinstall", "copyright", "patch_checkinstall", "patch_postinstall", "postinstall", "preinstall", "i.none");
26115µs @solarispatchscriptsforextensions = ("checkinstall", "copyright", "patch_checkinstall", "patch_postinstall_extensions", "postinstall_extensions", "preinstall", "i.none");
26212µs @solarispatchfiles = (".diPatch", "patchinfo");
26314µs @packagelistitems = ("module", "solarispackagename", "packagename", "copyright", "vendor", "description" );
2641500ns @languagepackfeature =();
2651500ns @helppackfeature =();
26610s @featurecollector =();
26711µs $msiassemblyfiles = "";
26811µs $macinstallfilename = "macinstall.ulf";
26911µs $extensioninstalldir = "gid_Dir_Share_Extension_Install";
2701600ns @languagenames = ();
2711500ns @requiredpackages = ();
2721500ns %componentcondition = ();
27310s %componentid = ();
2741500ns %comparecomponentname = ();
2751500ns %allcabinets = ();
27610s %allcabinetassigns = ();
2771500ns %cabfilecounter = ();
2781500ns %lastsequence = ();
27910s %dontdeletecomponents = ();
2801500ns %allcalculated_guids = ();
2811500ns %calculated_component_guids = ();
28210s %base_independent_components = ();
2831500ns %all_english_languagestrings = ();
2841500ns %all_required_english_languagestrings = ();
285
28610s @removedirs = ();
2871600ns @removefiletable = ();
288
289145µs119µs if ( $^O =~ /cygwin/i )
# spent 19µs making 1 call to installer::globals::CORE:match
290 {
2911500ns $zippath = "zip"; # Has to be in the path: /usr/bin/zip
29211µs $separator = "/";
29311µs $pathseparator = "\:";
2941500ns $isunix = 0;
2951500ns $iswin = 1;
2961500ns $archiveformat = ".zip";
2971500ns %savedmapping = ();
2981500ns %savedrevmapping = ();
29910s %savedrev83mapping = ();
30012µ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
3121660µs1622µs}
# spent 622µs making 1 call to installer::globals::BEGIN@35
313
31418µs1;
 
# spent 19µs within installer::globals::CORE:match which was called: # once (19µs+0s) by installer::globals::BEGIN@35 at line 289
sub installer::globals::CORE:match; # opcode