[Libreoffice-commits] .: solenv/bin
Sebastian Spaeth
spaetz at kemper.freedesktop.org
Tue Nov 9 01:39:42 PST 2010
solenv/bin/modules/installer/configuration.pm | 2 +
solenv/bin/modules/installer/epmfile.pm | 50 ++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
New commits:
commit f2632e3e6ab2b3eedcdcf84df9d49345aed35006
Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date: Tue Nov 9 10:39:06 2010 +0100
Perl installer: Reinstate some potentially useful commented out code
diff --git a/solenv/bin/modules/installer/configuration.pm b/solenv/bin/modules/installer/configuration.pm
index 6c9920d..7212b79 100644
--- a/solenv/bin/modules/installer/configuration.pm
+++ b/solenv/bin/modules/installer/configuration.pm
@@ -524,6 +524,8 @@ sub insert_into_config_file
if (( $styles =~ /\bCREATE\b/ ) && (!($isbracketnode)))
{
+ # $typepart is 'oor:type="xs:VALUETYPE"';
+ # VALUETYPE can be "string", "boolean", ...
my $localtypepart = $typepart;
$localtypepart =~ s/VALUETYPE/$valuetype/;
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index b150133..62934fb 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -2446,6 +2446,56 @@ sub create_packages_without_epm
$infoline = "Success: Executed \"$systemcall\" successfully!\n";
push( @installer::globals::logfileinfo, $infoline);
}
+
+
+ ######################
+ # making pkg files
+ ######################
+
+ # my $streamname = $packagename . ".pkg";
+ # $systemcall = "pkgtrans $destinationdir $streamname $packagename";
+ # print "... $systemcall ...\n";
+
+ # $returnvalue = system($systemcall);
+
+ # $infoline = "Systemcall: $systemcall\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+
+ # if ($returnvalue)
+ # {
+ # $infoline = "ERROR: Could not execute \"$systemcall\"!\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+ # }
+ # else
+ # {
+ # $infoline = "Success: Executed \"$systemcall\" successfully!\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+ # }
+
+ #########################
+ # making tar.gz files
+ #########################
+
+ # my $targzname = $packagename . ".tar.gz";
+ # $systemcall = "cd $destinationdir; tar -cf - $packagename | gzip > $targzname";
+ # print "... $systemcall ...\n";
+
+ # $returnvalue = system($systemcall);
+
+ # $infoline = "Systemcall: $systemcall\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+
+ # if ($returnvalue)
+ # {
+ # $infoline = "ERROR: Could not execute \"$systemcall\"!\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+ # }
+ # else
+ # {
+ # $infoline = "Success: Executed \"$systemcall\" successfully!\n";
+ # push( @installer::globals::logfileinfo, $infoline);
+ # }
+
}
# Linux: rpm -bb so8m35.spec ( -> dependency check abklemmen? )
More information about the Libreoffice-commits
mailing list