Lines Matching refs:installer
24 package installer::ziplist;
26 use installer::existence;
27 use installer::exiter;
28 use installer::globals;
29 use installer::logger;
30 use installer::parameter;
31 use installer::remover;
32 use installer::systemactions;
43 my $ziplistref = installer::files::read_file($filename);
46 my ($productblockref, $parent) = installer::ziplist::getproductblock(
48 …my ($settingsblockref, undef) = installer::ziplist::getproductblock($productblockref, "Settings", …
49 $settingsblockref = installer::ziplist::analyze_settings_block($settingsblockref);
52 my $allsettingsarrayref = installer::ziplist::get_settings_from_ziplist($settingsblockref);
53 my $allvariablesarrayref = installer::ziplist::get_variables_from_ziplist($settingsblockref);
56 my ($globalproductblockref, undef) = installer::ziplist::getproductblock(
57 $ziplistref, $installer::globals::globalblock, 0);
59 if ($installer::globals::globallogging && defined $loggingdir)
61 installer::files::save_file($loggingdir . "productblock.log", $productblockref);
62 installer::files::save_file($loggingdir . "settingsblock.log", $settingsblockref);
63 installer::files::save_file($loggingdir . "allsettings1.log", $allsettingsarrayref);
64 installer::files::save_file($loggingdir . "allvariables1.log", $allvariablesarrayref);
65 installer::files::save_file($loggingdir . "globalproductblock.log", $globalproductblockref);
72 … ($parentproductblockref, $parent) = installer::ziplist::getproductblock($ziplistref, $parent, 1);
73 my ($parentsettingsblockref, undef) = installer::ziplist::getproductblock(
75 … $parentsettingsblockref = installer::ziplist::analyze_settings_block($parentsettingsblockref);
76 …my $allparentsettingsarrayref = installer::ziplist::get_settings_from_ziplist($parentsettingsblock…
77 …my $allparentvariablesarrayref = installer::ziplist::get_variables_from_ziplist($parentsettingsblo…
80 $allsettingsarrayref = installer::converter::combine_arrays_from_references_first_win(
86 $allvariablesarrayref = installer::converter::combine_arrays_from_references_first_win(
96 my ($globalsettingsblockref, undef) = installer::ziplist::getproductblock(
100 … $globalsettingsblockref = installer::ziplist::analyze_settings_block($globalsettingsblockref);
102 …my $allglobalsettingsarrayref = installer::ziplist::get_settings_from_ziplist($globalsettingsblock…
103 …my $allglobalvariablesarrayref = installer::ziplist::get_variables_from_ziplist($globalsettingsblo…
105 if ($installer::globals::globallogging && defined $loggingdir)
107 … installer::files::save_file($loggingdir . "globalsettingsblock1.log", $globalsettingsblockref);
108 … installer::files::save_file($loggingdir . "globalsettingsblock2.log", $globalsettingsblockref);
109 … installer::files::save_file($loggingdir . "allglobalsettings1.log", $allglobalsettingsarrayref);
110 … installer::files::save_file($loggingdir . "allglobalvariables1.log", $allglobalvariablesarrayref);
115 $allsettingsarrayref = installer::converter::combine_arrays_from_references_first_win(
120 $allvariablesarrayref = installer::converter::combine_arrays_from_references_first_win(
126 $allsettingsarrayref = installer::ziplist::remove_multiples_from_ziplist($allsettingsarrayref);
127 … $allvariablesarrayref = installer::ziplist::remove_multiples_from_ziplist($allvariablesarrayref);
128 installer::ziplist::replace_variables_in_ziplist_variables($allvariablesarrayref);
131 my $allvariableshashref = installer::converter::convert_array_to_hash($allvariablesarrayref);
134 installer::ziplist::set_default_productversion_if_required($allvariableshashref);
135 installer::ziplist::add_variables_to_allvariableshashref($allvariableshashref);
136 installer::ziplist::overwrite_ooovendor($allvariableshashref);
138 if ($installer::globals::globallogging && defined $loggingdir)
140 installer::files::save_file($loggingdir . "allsettings2.log" ,$allsettingsarrayref);
141 installer::files::save_file($loggingdir . "allvariables2.log" ,$allvariablesarrayref);
197 if (( ! $searchexists ) && ( $search ne $installer::globals::globalblock ))
199 if ($search eq $installer::globals::product )
201 …installer::exiter::exit_program("ERROR: Product $installer::globals::product not defined in $insta…
203 elsif ($search eq $installer::globals::compiler )
205 …installer::exiter::exit_program("ERROR: Compiler $installer::globals::compiler not defined in $ins…
209 …installer::exiter::exit_program("ERROR: Unknown value for $search in getproductblock()", "getprodu…
235 if ( $installer::globals::pro )
237 $compilerstring = $installer::globals::compiler . ".pro";
241 $compilerstring = $installer::globals::compiler;
261 (!($line =~ /^\s*\Q$installer::globals::build\E\s*$/i)) &&
377 installer::remover::remove_leading_and_ending_whitespaces(\$line);
459 installer::remover::remove_leading_and_ending_whitespaces(\$line);
497 if (! installer::existence::exists_in_array($itemname, \@itemarray))
532 installer::remover::remove_leading_and_ending_whitespaces(\$line);
606 $line =~ s/\{minor\}/$installer::globals::minor/g;
608 $line =~ s/\{minornonpre\}/$installer::globals::minor/g;
632 if (( $installer::globals::installertypedir ) && ( $line =~ /\{pkgtype\}/ ))
634 $line =~ s/\{pkgtype\}/$installer::globals::installertypedir/g;
653 installer::remover::remove_ending_pathseparator(\$line);
670 installer::logger::include_header_into_logfile("Replacing languages in include paths:");
692 installer::remover::remove_leading_and_ending_whitespaces(\$newline);
698 if ( ! installer::systemactions::is_empty_dir($newdir) )
700 $installer::globals::refresh_includepathes = 1;
702 $installer::logger::Lang->print($infoline);
707 $installer::logger::Lang->print($infoline);
713 $installer::logger::Lang->print($infoline);
734 installer::logger::include_header_into_logfile("Include paths:");
739 installer::remover::remove_leading_and_ending_whitespaces(\$path);
741 $installer::logger::Lang->print($infoline);
744 $installer::logger::Lang->print("\n");
761 $installer::globals::isopensourceproduct = 1;
762 $installer::globals::manufacturer = $openofficeproductname;
763 $installer::globals::longmanufacturer = $openofficeproductname;
767 $installer::globals::isopensourceproduct = 0;
769 …else { installer::exiter::exit_program("ERROR: Property DEFINEDMANUFACTURER has to be set for this…
770 $installer::globals::manufacturer = $sunname;
771 $installer::globals::longmanufacturer = $sunname;
774 $allvariables->{'MANUFACTURER'} = $installer::globals::manufacturer;
804 …while ( $oldpath =~ /(^.*)(\Q$installer::globals::separator\E.*\w+?)(\Q$installer::globals::separa…
825 installer::parameter::make_path_absolute(\${$patharrayref}[$i]);
840 my $milestonevariable = $installer::globals::lastminor;
844 my $localminor = $installer::globals::lastminor;
845 if ( $installer::globals::minor ) { $localminor = $installer::globals::minor; }
847 …my $buildidstringcws = $installer::globals::build . $localminor . "(Build:" . $installer::globals:…
854 if ($installer::globals::lastminor) { ${$blockref}[$i] =~ s/\{milestone\}/$milestonevariable/; }
858 …if ( $installer::globals::buildid ) { ${$blockref}[$i] =~ s/\{buildid\}/$installer::globals::build…
860 …if ( $installer::globals::build ) { ${$blockref}[$i] =~ s/\{buildsource\}/$installer::globals::bui…
896 if ($installer::globals::patch)
898 $variableshashref->{'PRODUCTADDON'} = $installer::globals::patchaddon;
900 elsif ($installer::globals::languagepack)
902 $variableshashref->{'PRODUCTADDON'} = $installer::globals::languagepackaddon;
909 my $localbuild = $installer::globals::build;
914 if ( $installer::globals::minor ne "" ) { $localminor = $installer::globals::minor; }
915 else { $localminor = $installer::globals::lastminor; }
919 $variableshashref->{'PRODUCTBUILDID'} = $installer::globals::buildid;