Kaydet (Commit) 63480c99 authored tarafından Jürgen Schmidt's avatar Jürgen Schmidt

adapt setup package scripts to handle special DS_Store file for developer snapshot builds

üst 4166969f
......@@ -362,6 +362,7 @@ End
ScpAction scp_Copy_Ds_Store
Copy = "DS_Store";
DevCopy = "DS_Store_Dev";
LangPackCopy = "DS_Store_Langpack";
PatchCopy = "DS_Store_Patch";
Name = ".DS_Store";
......
......@@ -34,6 +34,7 @@ mkdir: %_DEST%\bin%_EXT%\osolsmf
..\source\mac\ooo\osxdndinstall.png %_DEST%\bin%_EXT%\osl\osxdndinstall.png
..\source\mac\ooo\osxdndinstall_nologo.png %_DEST%\bin%_EXT%\osl\osxdndinstall_nologo.png
..\source\mac\ooo\DS_Store %_DEST%\bin%_EXT%\osl\DS_Store
..\source\mac\ooo\DS_Store_Dev %_DEST%\bin%_EXT%\osl\DS_Store_Dev
..\source\mac\ooo\DS_Store_Langpack %_DEST%\bin%_EXT%\osl\DS_Store_Langpack
..\source\mac\sdk\DS_Store_SDK %_DEST%\bin%_EXT%\osl\DS_Store_SDK
..\source\java\openofficeorg_setup.gif %_DEST%\bin%_EXT%\osl\Setup.gif
......
......@@ -258,7 +258,6 @@ if ( $installer::globals::globallogging ) { installer::files::save_hash($logging
installer::ziplist::overwrite_ooovendor( $allvariableshashref );
if ( $installer::globals::globallogging ) { installer::files::save_hash($loggingdir . "allvariables3c.log", $allvariableshashref); }
########################################################
# Check if this is simple packaging mechanism
########################################################
......@@ -341,6 +340,11 @@ if ($installer::globals::languages_defined_in_productlist) { installer::language
if ( $installer::globals::iswindowsbuild ) { installer::control::read_encodinglist($includepatharrayref); }
####################################################################
# MacOS dmg build requires special DS_Store file to arrange icons
####################################################################
if (($installer::globals::ismacdmgbuild) && ($installer::globals::product eq "OpenOffice_Dev")) { $installer::globals::devsnapshotbuild = 1; }
#####################################################################
# Including additional inc files for variable settings, if defined
#####################################################################
......@@ -483,6 +487,7 @@ if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isx
if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_copy_scpaction($scpactionsinproductarrayref); }
if ( $installer::globals::patch ) { installer::scriptitems::use_patch_copy_scpaction($scpactionsinproductarrayref); }
if (($installer::globals::devsnapshotbuild)) { installer::scriptitems::use_dev_copy_scpaction($scpactionsinproductarrayref); }
if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "productscpactions1b.log", $scpactionsinproductarrayref); }
# $scpactionsinproductarrayref = installer::scriptitems::remove_scpactions_without_name($scpactionsinproductarrayref);
......
......@@ -346,6 +346,7 @@ BEGIN
$patch_user_dir = 0;
$addchildprojects = 0;
$languagepack = 0;
$devsnapshotbuild = 0;
$tab = 0;
$patch = 0;
$patchincludepath = "";
......
......@@ -605,7 +605,7 @@ sub use_patch_hostname
}
################################################################################
# Using different HostName for language packs
# Using langpack copy action for language packs
################################################################################
sub use_langpack_copy_scpaction
......@@ -620,7 +620,7 @@ sub use_langpack_copy_scpaction
}
################################################################################
# Using different HostName for language packs
# Using copy patch action
################################################################################
sub use_patch_copy_scpaction
......@@ -634,6 +634,21 @@ sub use_patch_copy_scpaction
}
}
################################################################################
# Using dev copy patch action for developer snapshot builds
################################################################################
sub use_dev_copy_scpaction
{
my ($scpactionsref) = @_;
for ( my $i = 0; $i <= $#{$scpactionsref}; $i++ )
{
my $onescpaction = ${$scpactionsref}[$i];
if (( $onescpaction->{'DevCopy'} ) && ( $onescpaction->{'DevCopy'} ne "" )) { $onescpaction->{'Copy'} = $onescpaction->{'DevCopy'}; }
}
}
################################################################################
# Shifting parent directories of URE and Basis layer, so that
# these directories are located below the Brand layer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment