Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
bb311c94
Kaydet (Commit)
bb311c94
authored
Ock 12, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
BrOffice Windows start menu branding
üst
16f9504d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
make_installer.pl
solenv/bin/make_installer.pl
+2
-1
directory.pm
solenv/bin/modules/installer/windows/directory.pm
+16
-6
No files found.
solenv/bin/make_installer.pl
Dosyayı görüntüle @
bb311c94
...
...
@@ -2051,7 +2051,8 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"productfiles17c.log"
,
$filesinproductlanguageresolvedarrayref
);
}
if
(
$
installer::globals::
updatedatabase
)
{
installer::windows::file::
check_file_sequences
(
$allupdatefileorder
,
$allupdatecomponentorder
);
}
installer::windows::directory::
create_directory_table
(
$directoriesforepmarrayref
,
$newidtdir
,
$allvariableshashref
,
$shortdirname
,
$loggingdir
);
# Attention: The table "Director.idt" contains language specific strings -> parameter: $languagesarrayref !
installer::windows::directory::
create_directory_table
(
$directoriesforepmarrayref
,
$languagesarrayref
,
$newidtdir
,
$allvariableshashref
,
$shortdirname
,
$loggingdir
);
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"productfiles18.log"
,
$filesinproductlanguageresolvedarrayref
);
}
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"directoriesforidt1.log"
,
$directoriesforepmarrayref
);
}
...
...
solenv/bin/modules/installer/windows/directory.pm
Dosyayı görüntüle @
bb311c94
...
...
@@ -309,7 +309,7 @@ sub create_directorytable_from_collection
sub
add_root_directories
{
my
(
$directorytableref
,
$allvariableshashref
)
=
@_
;
my
(
$directorytableref
,
$allvariableshashref
,
$onelanguage
)
=
@_
;
# my $sourcediraddon = "";
# if (($installer::globals::addchildprojects) ||
...
...
@@ -324,7 +324,12 @@ sub add_root_directories
if
((
!
$
installer::globals::
patch
)
&&
(
!
$
installer::globals::
languagepack
)
&&
(
!
$
installer::globals::
helppack
)
&&
(
!
$allvariableshashref
->
{
'DONTUSESTARTMENUFOLDER'
}
))
{
my
$productname
=
$allvariableshashref
->
{
'PRODUCTNAME'
};
my
$productname
;
$productname
=
$allvariableshashref
->
{
'PRODUCTNAME'
};
if
(
$onelanguage
eq
'pt-BR'
&&
defined
$allvariableshashref
->
{
'PRODUCTNAME_BR'
})
{
$productname
=
$allvariableshashref
->
{
'PRODUCTNAME_BR'
};
}
my
$productversion
=
$allvariableshashref
->
{
'PRODUCTVERSION'
};
my
$baseproductversion
=
$productversion
;
...
...
@@ -427,7 +432,7 @@ sub add_root_directories
sub
create_directory_table
{
my
(
$directoryref
,
$basedir
,
$allvariableshashref
,
$shortdirnamehashref
,
$loggingdir
)
=
@_
;
my
(
$directoryref
,
$
languagesarrayref
,
$
basedir
,
$allvariableshashref
,
$shortdirnamehashref
,
$loggingdir
)
=
@_
;
# Structure of the directory table:
# Directory Directory_Parent DefaultDir
...
...
@@ -437,6 +442,11 @@ sub create_directory_table
# Before ":" : [sourcedir]:[destdir] (not programmed yet)
# After ":" : 8+3 and not 8+3 the destination directory name
for
(
my
$m
=
0
;
$m
<=
$#
{
$languagesarrayref
};
$m
++
)
{
my
$onelanguage
=
$
{
$languagesarrayref
}[
$m
];
$
installer::globals::
installlocationdirectoryset
=
0
;
my
@directorytable
=
();
my
$infoline
;
...
...
@@ -448,16 +458,16 @@ sub create_directory_table
set_installlocation_directory
(
$directoryref
,
$allvariableshashref
);
if
(
$
installer::globals::
globallogging
)
{
installer::files::
save_array_of_hashes
(
$loggingdir
.
"directoriesforidt_local_3.log"
,
$directoryref
);
}
installer::windows::idtglobal::
write_idt_header
(
\
@directorytable
,
"directory"
);
add_root_directories
(
\
@directorytable
,
$allvariableshashref
);
add_root_directories
(
\
@directorytable
,
$allvariableshashref
,
$onelanguage
);
create_directorytable_from_collection
(
\
@directorytable
,
$directoryref
);
# Saving the file
my
$directorytablename
=
$basedir
.
$
installer::globals::
separator
.
"Director.idt"
;
my
$directorytablename
=
$basedir
.
$
installer::globals::
separator
.
"Director.idt"
.
"."
.
$onelanguage
;
installer::files::
save_file
(
$directorytablename
,
\
@directorytable
);
$infoline
=
"Created idt file: $directorytablename\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
}
1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment