make_installer.pl (19d58b3a) make_installer.pl (1ed5bd48)
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#

--- 244 unchanged lines hidden (view full) ---

253if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3a.log", $allvariableshashref); }
254
255installer::ziplist::add_variables_to_allvariableshashref($allvariableshashref);
256if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3b.log", $allvariableshashref); }
257
258installer::ziplist::overwrite_ooovendor( $allvariableshashref );
259if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3c.log", $allvariableshashref); }
260
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#

--- 244 unchanged lines hidden (view full) ---

253if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3a.log", $allvariableshashref); }
254
255installer::ziplist::add_variables_to_allvariableshashref($allvariableshashref);
256if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3b.log", $allvariableshashref); }
257
258installer::ziplist::overwrite_ooovendor( $allvariableshashref );
259if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3c.log", $allvariableshashref); }
260
261
262########################################################
263# Check if this is simple packaging mechanism
264########################################################
265
266installer::simplepackage::check_simple_packager_project($allvariableshashref);
267
268####################################################################
269# setting global variables

--- 66 unchanged lines hidden (view full) ---

336if ($installer::globals::languages_defined_in_productlist) { installer::languages::get_info_about_languages($allsettingsarrayref); }
337
338#####################################
339# Windows requires the encoding list
340#####################################
341
342if ( $installer::globals::iswindowsbuild ) { installer::control::read_encodinglist($includepatharrayref); }
343
261########################################################
262# Check if this is simple packaging mechanism
263########################################################
264
265installer::simplepackage::check_simple_packager_project($allvariableshashref);
266
267####################################################################
268# setting global variables

--- 66 unchanged lines hidden (view full) ---

335if ($installer::globals::languages_defined_in_productlist) { installer::languages::get_info_about_languages($allsettingsarrayref); }
336
337#####################################
338# Windows requires the encoding list
339#####################################
340
341if ( $installer::globals::iswindowsbuild ) { installer::control::read_encodinglist($includepatharrayref); }
342
343####################################################################
344# MacOS dmg build requires special DS_Store file to arrange icons
345####################################################################
346if (($installer::globals::ismacdmgbuild) && ($installer::globals::product eq "OpenOffice_Dev")) { $installer::globals::devsnapshotbuild = 1; }
347
344#####################################################################
345# Including additional inc files for variable settings, if defined
346#####################################################################
347
348if ( $allvariableshashref->{'ADD_INCLUDE_FILES'} ) { installer::worker::add_variables_from_inc_to_hashref($allvariableshashref, $includepatharrayref); }
349
350################################################
351# Disable xpd installer, if SOLAR_JAVA not set

--- 126 unchanged lines hidden (view full) ---

478if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
479{
480 $scpactionsinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($scpactionsinproductarrayref);
481 if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions1a.log", $scpactionsinproductarrayref); }
482}
483
484if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_copy_scpaction($scpactionsinproductarrayref); }
485if ( $installer::globals::patch ) { installer::scriptitems::use_patch_copy_scpaction($scpactionsinproductarrayref); }
348#####################################################################
349# Including additional inc files for variable settings, if defined
350#####################################################################
351
352if ( $allvariableshashref->{'ADD_INCLUDE_FILES'} ) { installer::worker::add_variables_from_inc_to_hashref($allvariableshashref, $includepatharrayref); }
353
354################################################
355# Disable xpd installer, if SOLAR_JAVA not set

--- 126 unchanged lines hidden (view full) ---

482if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
483{
484 $scpactionsinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($scpactionsinproductarrayref);
485 if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions1a.log", $scpactionsinproductarrayref); }
486}
487
488if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_copy_scpaction($scpactionsinproductarrayref); }
489if ( $installer::globals::patch ) { installer::scriptitems::use_patch_copy_scpaction($scpactionsinproductarrayref); }
490if (($installer::globals::devsnapshotbuild)) { installer::scriptitems::use_dev_copy_scpaction($scpactionsinproductarrayref); }
486if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions1b.log", $scpactionsinproductarrayref); }
487
488# $scpactionsinproductarrayref = installer::scriptitems::remove_scpactions_without_name($scpactionsinproductarrayref);
489# if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions2.log", $scpactionsinproductarrayref); }
490
491installer::scriptitems::change_keys_of_scpactions($scpactionsinproductarrayref);
492if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions2.log", $scpactionsinproductarrayref); }
493

--- 1850 unchanged lines hidden ---
491if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions1b.log", $scpactionsinproductarrayref); }
492
493# $scpactionsinproductarrayref = installer::scriptitems::remove_scpactions_without_name($scpactionsinproductarrayref);
494# if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions2.log", $scpactionsinproductarrayref); }
495
496installer::scriptitems::change_keys_of_scpactions($scpactionsinproductarrayref);
497if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions2.log", $scpactionsinproductarrayref); }
498

--- 1850 unchanged lines hidden ---