summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-29 23:18:50 +0100
committerMichael Stahl <mstahl@redhat.com>2013-10-30 00:01:36 +0100
commit8817dcb8f43051d352c0caed6eebf29c6b0192b8 (patch)
treec2009cbcf22876d0f3136a563529ecca4ef2def0
parent5503a68395641d8ae927c635eec2960c617ddbc3 (diff)
l10ntools: remove Package_ulfconv
Change-Id: I7a8c3fdf34951e00fca8c0a2543f33817fa874fa
-rw-r--r--l10ntools/Module_l10ntools.mk4
-rw-r--r--l10ntools/Package_ulfconv.mk16
-rw-r--r--solenv/bin/modules/installer/control.pm7
-rw-r--r--solenv/bin/modules/installer/globals.pm2
4 files changed, 4 insertions, 25 deletions
diff --git a/l10ntools/Module_l10ntools.mk b/l10ntools/Module_l10ntools.mk
index 771e717c051f..979725296ee7 100644
--- a/l10ntools/Module_l10ntools.mk
+++ b/l10ntools/Module_l10ntools.mk
@@ -25,8 +25,4 @@ $(eval $(call gb_Module_add_targets_for_build,l10ntools,\
StaticLibrary_transex \
))
-$(eval $(call gb_Module_add_targets,l10ntools,\
- Package_ulfconv \
-))
-
# vim:set noet sw=4 ts=4:
diff --git a/l10ntools/Package_ulfconv.mk b/l10ntools/Package_ulfconv.mk
deleted file mode 100644
index 18be8b410502..000000000000
--- a/l10ntools/Package_ulfconv.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call gb_Package_Package,l10ntools_ulfconv,$(SRCDIR)/l10ntools/source/ulfconv))
-
-$(eval $(call gb_Package_set_outdir,l10ntools_ulfconv,$(OUTDIR)))
-
-$(eval $(call gb_Package_add_file,l10ntools_ulfconv,bin/msi-encodinglist.txt,msi-encodinglist.txt))
-
-# vim: set noet sw=4 ts=4:
diff --git a/solenv/bin/modules/installer/control.pm b/solenv/bin/modules/installer/control.pm
index 955158d06c49..6e81431a82fe 100644
--- a/solenv/bin/modules/installer/control.pm
+++ b/solenv/bin/modules/installer/control.pm
@@ -408,14 +408,13 @@ sub check_logfile
sub read_lcidlist
{
my ($patharrayref) = @_;
- my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$installer::globals::lcidlistname, $patharrayref , 0);
- if ( $$fileref eq "" ) { installer::exiter::exit_program("ERROR: Did not find Windows LCID list $installer::globals::lcidlistname!", "read_lcidlist"); }
+ if ( ! -f $installer::globals::lcidlistname ) { installer::exiter::exit_program("ERROR: Did not find Windows LCID list $installer::globals::lcidlistname!", "read_lcidlist"); }
- my $infoline = "Found LCID file: $$fileref\n";
+ my $infoline = "Found LCID file: $installer::globals::lcidlistname\n";
push(@installer::globals::globallogfileinfo, $infoline);
- my $lcidlist = installer::files::read_file($$fileref);
+ my $lcidlist = installer::files::read_file($installer::globals::lcidlistname);
my %msilanguage = ();
for ( my $i = 0; $i <= $#{$lcidlist}; $i++ )
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index 29ca75d63afd..23b76d06afca 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -81,7 +81,7 @@ BEGIN
$templatefoldername = "Templates";
$programmenufolder = "ProgramMenuFolder";
$systemfolder = "SystemFolder";
- $lcidlistname = "msi-encodinglist.txt";
+ $lcidlistname = $ENV{'SRCDIR'} . "/l10ntools/source/ulfconv/msi-encodinglist.txt";
$msilanguage = ""; # hash reference for msi languages LCID
$sofficeiconadded = 0;
$temppath = "";