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
b4774e17
Kaydet (Commit)
b4774e17
authored
Ara 13, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
We don't use any 'pooling' when packaging
üst
42b7c64e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
94 deletions
+3
-94
openoffice.lst
instsetoo_native/util/openoffice.lst
+0
-6
make_installer.pl
solenv/bin/make_installer.pl
+3
-76
exiter.pm
solenv/bin/modules/installer/exiter.pm
+0
-4
globals.pm
solenv/bin/modules/installer/globals.pm
+0
-8
packagepool.pm
solenv/bin/modules/installer/packagepool.pm
+0
-0
No files found.
instsetoo_native/util/openoffice.lst
Dosyayı görüntüle @
b4774e17
...
...
@@ -20,7 +20,6 @@ Globals
SOLSUREPACKAGEPREFIX libreoffice
USE_FILEVERSION 1
LIBRARYVERSION 9.4.0
POOLPRODUCT 1
REGISTRATION_HOST https://registration.libreoffice.org/RegistrationWeb
REGISTRATIONURL http://survey.libreoffice.org/user/index.php
PROGRESSBARCOLOR 126,170,23
...
...
@@ -185,7 +184,6 @@ URE
SETSTATICPATH 1
NOVERSIONINDIRNAME 1
PCPFILENAME ure.pcp
POOLPRODUCT 0
GLOBALFILEGID gid_File_Dl_Cppu
DONTUSESTARTMENUFOLDER 1
RELATIVE_PATHES_IN_DDF 1
...
...
@@ -222,7 +220,6 @@ LibreOffice_SDK
PACKAGEVERSION 3.6.0
PACKAGEREVISION {buildid}
PACK_INSTALLED 1
POOLPRODUCT 0
DMG_VOLUMEEXTENSION SDK
DATABASENAME libreoffice35sdk
NO_README_IN_ROOTDIR 1
...
...
@@ -271,7 +268,6 @@ LibreOffice_Dev_SDK
REGISTRYLAYERNAME LayerDev
DEVELOPMENTPRODUCT 1
PACK_INSTALLED 1
POOLPRODUCT 0
DMG_VOLUMEEXTENSION SDK
DATABASENAME libreoffice35devsdk
NO_README_IN_ROOTDIR 1
...
...
@@ -314,7 +310,6 @@ LibreOffice_Test
PACKAGEVERSION 3.6.0
PACKAGEREVISION {buildid}
PACK_INSTALLED 1
POOLPRODUCT 0
DMG_VOLUMEEXTENSION TEST
DATABASENAME libreoffice35test
NO_README_IN_ROOTDIR 1
...
...
@@ -363,7 +358,6 @@ LibreOffice_Dev_Test
REGISTRYLAYERNAME LayerDev
DEVELOPMENTPRODUCT 1
PACK_INSTALLED 1
POOLPRODUCT 0
DMG_VOLUMEEXTENSION TEST
DATABASENAME libreoffice35devtest
NO_README_IN_ROOTDIR 1
...
...
solenv/bin/make_installer.pl
Dosyayı görüntüle @
b4774e17
...
...
@@ -49,7 +49,6 @@ use installer::languagepack;
use
installer::
languages
;
use
installer::
logger
;
use
installer::
packagelist
;
use
installer::
packagepool
;
use
installer::
parameter
;
use
installer::
pathanalyzer
;
use
installer::
profiles
;
...
...
@@ -1354,39 +1353,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::logger::
include_header_into_logfile
(
"Creating package: $packagename ($k)"
);
####################################################
# Pool check: If package is created at the moment
# try it again later.
####################################################
if
((
$
installer::globals::
patch
)
||
(
$
installer::globals::
languagepack
)
||
(
$
installer::globals::
helppack
)
||
(
$
installer::globals::
packageformat
eq
"native"
)
||
(
$
installer::globals::
packageformat
eq
"portable"
)
||
(
$
installer::globals::
packageformat
eq
"osx"
))
{
$allvariableshashref
->
{
'POOLPRODUCT'
}
=
0
;
}
if
(
$allvariableshashref
->
{
'POOLPRODUCT'
}
)
{
if
(
!
$
installer::globals::
sessionidset
)
{
installer::packagepool::
set_sessionid
();
}
if
(
!
$
installer::globals::
poolpathset
)
{
installer::packagepool::
set_pool_path
();
}
if
((
!
$
installer::globals::
getuidpathset
)
&&
(
$
installer::globals::
issolarisbuild
))
{
installer::worker::
set_getuid_path
(
$includepatharrayref
);
}
my
$package_is_creatable
=
installer::packagepool::
check_package_availability
(
$packagename
);
if
((
!
$package_is_creatable
)
&&
(
!
exists
(
$
installer::globals::
poolshiftedpackages
{
$packagename
})
))
{
splice
(
@
{
$packages
},
$k
,
1
);
# removing package ...
push
(
@
{
$packages
},
$onepackage
);
# ... and adding it to the end
$
installer::globals::
poolshiftedpackages
{
$packagename
}
=
1
;
# only shifting each package once
$k
--
;
# decreasing the counter
my
$localinfoline
=
"Pool: Package \"$packagename\" cannot be created at the moment. Trying again later (1).\n"
;
installer::logger::
print_message
(
$localinfoline
);
push
(
@
installer::globals::
logfileinfo
,
$localinfoline
);
next
;
# repeating this iteration with new package
}
}
###########################################
# Root path, can be defined as parameter
###########################################
...
...
@@ -1611,42 +1577,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::epmfile::
resolve_path_in_epm_list_before_packaging
(
\
@epmfile
,
$completeepmfilename
,
"UREPACKAGEPREFIX"
,
$allvariableshashref
->
{
'UREPACKAGEPREFIX'
});
installer::files::
save_file
(
$completeepmfilename
,
\
@epmfile
);
#######################################################
# Now the complete content of the package is known,
# including variables and shell scripts.
# Create the package or using the package pool?
#######################################################
my
$use_package_from_pool
=
0
;
if
(
$allvariableshashref
->
{
'POOLPRODUCT'
}
)
{
$use_package_from_pool
=
installer::packagepool::
package_is_up_to_date
(
$allvariableshashref
,
$onepackage
,
$packagename
,
\
@epmfile
,
$filesinpackage
,
$installdir
,
$
installer::globals::
epmoutpath
,
$languagestringref
);
}
if
(
$use_package_from_pool
==
3
)
# repeat this package later
{
my
$package_is_creatable
=
installer::packagepool::
check_package_availability
(
$packagename
);
if
((
!
$package_is_creatable
)
&&
(
!
exists
(
$
installer::globals::
poolshiftedpackages
{
$packagename
})
))
{
splice
(
@
{
$packages
},
$k
,
1
);
# removing package ...
push
(
@
{
$packages
},
$onepackage
);
# ... and adding it to the end
$
installer::globals::
poolshiftedpackages
{
$packagename
}
=
1
;
# only shifting each package once
$k
--
;
# decreasing the counter
my
$localinfoline
=
"\nPool: Package \"$packagename\" cannot be created at the moment. Trying again later (2).\n"
;
installer::logger::
print_message
(
$localinfoline
);
push
(
@
installer::globals::
logfileinfo
,
$localinfoline
);
next
;
# repeating this iteration with new package
}
}
if
(
$use_package_from_pool
==
4
)
# There was a problem with pooling. Repeat this package immediately.
{
$k
--
;
# decreasing the counter
my
$localinfoline
=
"\nPool: Package \"$packagename\" had pooling problems. Repeating packaging immediately (3).\n"
;
installer::logger::
print_message
(
$localinfoline
);
push
(
@
installer::globals::
logfileinfo
,
$localinfoline
);
next
;
# repeating this iteration
}
if
(
$use_package_from_pool
==
0
)
{
# changing into the "install" directory to create installation sets
...
...
@@ -1694,6 +1624,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
# solaris patch not needed anymore
}
}
else
# this is the standard epm (not relocatable) or ( nonlinux and nonsolaris )
{
installer::epmfile::
resolve_path_in_epm_list_before_packaging
(
\
@epmfile
,
$completeepmfilename
,
"\$\$PRODUCTINSTALLLOCATION"
,
$relocatablepath
);
...
...
@@ -1714,11 +1645,9 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
}
}
if
(
$allvariableshashref
->
{
'POOLPRODUCT'
}
)
{
installer::packagepool::
put_content_into_pool
(
$packagename
,
$installdir
,
$
installer::globals::
epmoutpath
,
$filesinpackage
,
\
@epmfile
);
}
chdir
(
$currentdir
);
# changing back into start directory
}
# end of "if ( ! $use_package_from_pool )
}
}
# end of "if ( ! $installer::globals::simple )
...
...
@@ -1726,7 +1655,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
# xpd installation mechanism
###########################################
# Creating the xpd file for the package. This has to happen always
, not determined by $use_package_from_pool
# Creating the xpd file for the package. This has to happen always
if
(
$
installer::globals::
isxpdplatform
)
{
...
...
@@ -1745,8 +1674,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
}
# end of "for ( my $k = 0; $k <= $#{$packages}; $k++ )"
installer::packagepool::
log_pool_statistics
();
##############################################################
# Post epm functionality, after the last package is packed
##############################################################
...
...
solenv/bin/modules/installer/exiter.pm
Dosyayı görüntüle @
b4774e17
...
...
@@ -47,10 +47,6 @@ sub exit_program
if
(
$
installer::globals::
saveinstalldir
=~
/_inprogress/
)
{
installer::systemactions::
rename_string_in_directory
(
$
installer::globals::
saveinstalldir
,
"_inprogress"
,
"_witherror"
);
}
# Cleaning files from pool tooling
if
(
$
installer::globals::
processhaspoolcheckfile
)
{
unlink
$
installer::globals::
poolcheckfilename
;
}
if
(
$
installer::globals::
processhaspoollockfile
)
{
unlink
$
installer::globals::
poollockfilename
;
}
installer::worker::
clean_output_tree
();
# removing directories created in the output tree
# If @installer::globals::logfileinfo is not empty, it can be used.
...
...
solenv/bin/modules/installer/globals.pm
Dosyayı görüntüle @
b4774e17
...
...
@@ -342,15 +342,7 @@ BEGIN
$nopatchfilecollector
=
""
;
@userregistrycollector
=
();
$addeduserregitrykeys
=
0
;
$poolpathset
=
0
;
$poolpath
=
0
;
$poollockfilename
=
""
;
$poolcheckfilename
=
""
;
%
poolshiftedpackages
=
();
%
poolpackages
=
();
%
createpackages
=
();
$processhaspoolcheckfile
=
0
;
$processhaspoollockfile
=
0
;
$newpcfcontentcalculated
=
0
;
$sessionid
=
0
;
$sessionidset
=
0
;
...
...
solenv/bin/modules/installer/packagepool.pm
deleted
100644 → 0
Dosyayı görüntüle @
42b7c64e
This diff is collapsed.
Click to expand it.
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