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
37902bd3
Kaydet (Commit)
37902bd3
authored
Mar 14, 2012
tarafından
Tim Retout
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use Exporter in installer::strip.
üst
36c26581
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
make_installer.pl
solenv/bin/make_installer.pl
+2
-2
simplepackage.pm
solenv/bin/modules/installer/simplepackage.pm
+2
-2
strip.pm
solenv/bin/modules/installer/strip.pm
+8
-4
No files found.
solenv/bin/make_installer.pl
Dosyayı görüntüle @
37902bd3
...
@@ -57,7 +57,7 @@ use installer::scpzipfiles;
...
@@ -57,7 +57,7 @@ use installer::scpzipfiles;
use
installer::
scriptitems
;
use
installer::
scriptitems
;
use
installer::
setupscript
;
use
installer::
setupscript
;
use
installer::
simplepackage
;
use
installer::
simplepackage
;
use
installer::
strip
;
use
installer::
strip
qw(strip_libraries)
;
use
installer::
substfilenamefiles
;
use
installer::
substfilenamefiles
;
use
installer::
systemactions
;
use
installer::
systemactions
;
use
installer::windows::
assembly
;
use
installer::windows::
assembly
;
...
@@ -1256,7 +1256,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
...
@@ -1256,7 +1256,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
if
(
$
installer::globals::
strip
)
if
(
$
installer::globals::
strip
)
{
{
installer::strip::
strip_libraries
(
$filesinpackage
,
$languagestringref
);
strip_libraries
(
$filesinpackage
,
$languagestringref
);
}
}
###############################################################
###############################################################
...
...
solenv/bin/modules/installer/simplepackage.pm
Dosyayı görüntüle @
37902bd3
...
@@ -33,7 +33,7 @@ use installer::download;
...
@@ -33,7 +33,7 @@ use installer::download;
use
installer::
exiter
;
use
installer::
exiter
;
use
installer::
globals
;
use
installer::
globals
;
use
installer::
logger
;
use
installer::
logger
;
use
installer::
strip
;
use
installer::
strip
qw(strip_libraries)
;
use
installer::
systemactions
;
use
installer::
systemactions
;
use
installer::
worker
;
use
installer::
worker
;
...
@@ -677,7 +677,7 @@ sub create_simple_package
...
@@ -677,7 +677,7 @@ sub create_simple_package
}
}
# stripping files ?!
# stripping files ?!
if
((
$
installer::globals::
strip
)
&&
(
!
$
installer::globals::
iswindowsbuild
))
{
installer::strip::
strip_libraries
(
$filesref
,
$languagestringref
);
}
if
((
$
installer::globals::
strip
)
&&
(
!
$
installer::globals::
iswindowsbuild
))
{
strip_libraries
(
$filesref
,
$languagestringref
);
}
# copy Files
# copy Files
installer::logger::
print_message
(
"... copying files ...\n"
);
installer::logger::
print_message
(
"... copying files ...\n"
);
...
...
solenv/bin/modules/installer/strip.pm
Dosyayı görüntüle @
37902bd3
...
@@ -30,16 +30,20 @@ package installer::strip;
...
@@ -30,16 +30,20 @@ package installer::strip;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
use
base
'Exporter'
;
use
installer::
globals
;
use
installer::
globals
;
use
installer::
logger
;
use
installer::
logger
;
use
installer::
pathanalyzer
;
use
installer::
pathanalyzer
;
use
installer::
systemactions
;
use
installer::
systemactions
;
our
@EXPORT_OK
=
qw(strip_libraries)
;
#####################################################################
#####################################################################
# Checking whether a file has to be stripped
# Checking whether a file has to be stripped
#####################################################################
#####################################################################
sub
need_to_strip
sub
_
need_to_strip
{
{
my
(
$filename
)
=
@_
;
my
(
$filename
)
=
@_
;
...
@@ -60,7 +64,7 @@ sub need_to_strip
...
@@ -60,7 +64,7 @@ sub need_to_strip
# Checking whether a file has to be stripped
# Checking whether a file has to be stripped
#####################################################################
#####################################################################
sub
do_strip
sub
_
do_strip
{
{
my
(
$filename
)
=
@_
;
my
(
$filename
)
=
@_
;
...
@@ -104,7 +108,7 @@ sub strip_libraries
...
@@ -104,7 +108,7 @@ sub strip_libraries
{
{
my
$sourcefilename
=
$
{
$filelist
}[
$i
]
->
{
'sourcepath'
};
my
$sourcefilename
=
$
{
$filelist
}[
$i
]
->
{
'sourcepath'
};
if
(
need_to_strip
(
$sourcefilename
)
)
if
(
_
need_to_strip
(
$sourcefilename
)
)
{
{
my
$shortfilename
=
$sourcefilename
;
my
$shortfilename
=
$sourcefilename
;
installer::pathanalyzer::
make_absolute_filename_to_relative_filename
(
\
$shortfilename
);
installer::pathanalyzer::
make_absolute_filename_to_relative_filename
(
\
$shortfilename
);
...
@@ -132,7 +136,7 @@ sub strip_libraries
...
@@ -132,7 +136,7 @@ sub strip_libraries
# strip file
# strip file
do_strip
(
$destfilename
);
_
do_strip
(
$destfilename
);
}
}
}
}
}
}
...
...
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