[Libreoffice-commits] .: Branch 'libreoffice-3-3' - solenv/bin

Petr Mladek pmladek at kemper.freedesktop.org
Wed Dec 15 05:30:01 PST 2010


 solenv/bin/modules/installer/epmfile.pm      |    4 ++--
 solenv/bin/modules/installer/globals.pm      |    2 +-
 solenv/bin/modules/installer/helppack.pm     |    2 +-
 solenv/bin/modules/installer/languagepack.pm |    2 +-
 solenv/bin/modules/installer/worker.pm       |    4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit cf49284f7708e027631fd2371ad2de40d14d277e
Author: Petr Mladek <pmladek at suse.cz>
Date:   Wed Dec 15 14:28:37 2010 +0100

    lang-specific license files are not longer available
    
    fix installer to use LICENSE/license.txt instead

diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index 2af2f3c..16e9deb 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -405,12 +405,12 @@ sub create_epm_header
     {
         if ( $installer::globals::iswindowsbuild )
         {
-            $licensefilename = "license_$searchlanguage.txt";
+            $licensefilename = "license.txt"; # _$searchlanguage.txt";
             $readmefilename = "readme_$searchlanguage.txt";
         }
         else
         {
-            $licensefilename = "LICENSE_$searchlanguage";
+            $licensefilename = "LICENSE"; # _$searchlanguage";
             $readmefilename = "README_$searchlanguage";
         }
     }
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index a29750e..6241128 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -190,7 +190,7 @@ BEGIN
     %alllangmodules = ();
     $englishlicenseset = 0;
     $englishlicense = "";
-    $englishsolarislicensename = "LICENSE_en-US";
+    $englishsolarislicensename = "LICENSE"; # _en-US";
     $solarisdontcompress = 0;
     $patharray = "";
     
diff --git a/solenv/bin/modules/installer/helppack.pm b/solenv/bin/modules/installer/helppack.pm
index e12e2da..17fcdad 100644
--- a/solenv/bin/modules/installer/helppack.pm
+++ b/solenv/bin/modules/installer/helppack.pm
@@ -490,7 +490,7 @@ sub build_installer_for_helppack
 
     # find and read english license file
     my $licenselanguage = "en-US";					# always english !
-    my $licensefilename = "LICENSE_" . $licenselanguage;
+    my $licensefilename = "LICENSE"; # _" . $licenselanguage;
     my $licenseincludepatharrayref = installer::worker::get_language_specific_include_pathes($includepatharrayref, $licenselanguage);
 
     my $licenseref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$licensefilename, $licenseincludepatharrayref, 0);
diff --git a/solenv/bin/modules/installer/languagepack.pm b/solenv/bin/modules/installer/languagepack.pm
index e46dbc7..3272693 100644
--- a/solenv/bin/modules/installer/languagepack.pm
+++ b/solenv/bin/modules/installer/languagepack.pm
@@ -519,7 +519,7 @@ sub build_installer_for_languagepack
 
     # find and read english license file
     my $licenselanguage = "en-US";					# always english !
-    my $licensefilename = "LICENSE_" . $licenselanguage;
+    my $licensefilename = "LICENSE"; # _" . $licenselanguage;
     my $licenseincludepatharrayref = installer::worker::get_language_specific_include_pathes($includepatharrayref, $licenselanguage);
 
     my $licenseref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$licensefilename, $licenseincludepatharrayref, 0);
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index 95a1677..28745cc 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -3157,8 +3157,8 @@ sub put_license_into_setup
 
     # find and read english license file
     my $licenselanguage = "en-US";					# always english !
-    # my $licensefilename = "LICENSE_" . $licenselanguage;
-    my $licensefilename = "license_" . $licenselanguage . ".txt";
+    # my $licensefilename = "LICENSE"; # _" . $licenselanguage;
+    my $licensefilename = "license"; # . $licenselanguage . ".txt";
     my $licenseincludepatharrayref = get_language_specific_include_pathes($includepatharrayref, $licenselanguage);
 
     my $licenseref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$licensefilename, $licenseincludepatharrayref, 0);


More information about the Libreoffice-commits mailing list