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
04ec3f08
Kaydet (Commit)
04ec3f08
authored
Mar 17, 2010
tarafından
Hans-Joachim Lankenau
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
ause110: update to DEV300_m75
üst
4746986b
ff3ac45a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
98 deletions
+24
-98
pack.lst
instsetoo_native/util/pack.lst
+1
-1
build.pl
solenv/bin/build.pl
+9
-90
SourceConfig.pm
solenv/bin/modules/SourceConfig.pm
+0
-0
epmfile.pm
solenv/bin/modules/installer/epmfile.pm
+10
-0
sdev300.ini
solenv/config/sdev300.ini
+1
-0
antsettings.mk
solenv/inc/antsettings.mk
+0
-4
minor.mk
solenv/inc/minor.mk
+3
-3
No files found.
instsetoo_native/util/pack.lst
Dosyayı görüntüle @
04ec3f08
...
...
@@ -19,6 +19,6 @@ OpenOffice_Dev_SDK unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci1
#URE unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngi6,unxsoli4,unxsols4,wntmsci12 en-US ure
OpenOfficeLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxmacxi.pro de ooolanguagepack
OpenOfficeLanguagepack unxlngi6,unxsoli4,unxsols4,wntmsci12,unxmacxi de ooolanguagepack
OpenOfficeDevLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxmacxi.pro de|fr|ja|ar ooodevlanguagepack
OpenOfficeDevLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxmacxi.pro de|fr|ja|ar
|ru
ooodevlanguagepack
#BrOfficeLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro pt-BR broolanguagepack
solenv/bin/build.pl
Dosyayı görüntüle @
04ec3f08
...
...
@@ -342,102 +342,19 @@ sub rename_file {
};
sub generate_config_file {
my $source_config = SourceConfig -> new();
$source_config_file = $source_config->get_config_file_path();
my $temp_config_file = File::Temp::tmpnam($ENV{TMP});
my @config_content_new = ();
my $addition_message;
my $removal_message;
my %present_modules = ();
if ($source_config_file) {
open(SOURCE_CONFIG_FILE, $source_config_file);
my @config_content = <SOURCE_CONFIG_FILE>;
close SOURCE_CONFIG_FILE;
my ($module_section, $repository_section);
foreach (@config_content) {
if ((!/^\S+/)||(/^\s*#+/)) {
push(@config_content_new, $_);
next;
}
if (/^\[repositories\]\s*(\s+#)*/) {
if ($module_section) {
$addition_message = add_modules_to_source_config(\%add_to_config, \@config_content_new);
};
$module_section = 0;
$repository_section = 1;
push(@config_content_new, $_);
next;
};
if (/^\[modules\]\s*(\s+#)*/) {
$module_section = 1;
$repository_section = 0;
push(@config_content_new, $_);
next;
};
if ($module_section && /\s*(\S+)=active\s*(\s+#)*/) {
if ($clear_config || defined $remove_from_config{$1}) {
delete $remove_from_config{$1};
$removal_message .= "
$1
";
} else {
push(@config_content_new, $_);
if (defined $add_to_config{$1} && !$prepare) {
push(@warnings, "
Module
$1
already
activated
in
$source_config_file
\
n
");
delete $add_to_config{$1};
}
};
} else {
push(@config_content_new, $_);
};
};
if (keys %add_to_config) {
if (!$module_section) {
push(@config_content_new, "
[
modules
]
\
n
");
};
$addition_message = add_modules_to_source_config(\%add_to_config, \@config_content_new);
};
} else {
if ($clear_config || scalar %remove_from_config) {
print_error('No source config file found');
};
$source_config_file = $source_config->get_config_file_default_path();
push(@config_content_new, "
[
modules
]
\
n
");
$addition_message = add_modules_to_source_config(\%add_to_config, \@config_content_new);
};
die("
Cannot
open
$temp_config_file
") if (!open(NEW_CONFIG, "
>
$temp_config_file
"));
print NEW_CONFIG $_ foreach (@config_content_new);
close NEW_CONFIG;
rename_file($temp_config_file, $source_config_file, 1);
foreach (keys %remove_from_config) {
push(@warnings, "
Module
(
s
)
$_
not
found
in
" . $source_config_file . "
\
n
");
};
print_warnings();
print $addition_message if ($addition_message);
print "
Module
(
s
):
\
n$removal_message
\
nremoved
from
$source_config_file
\
n
" if ($removal_message);
my $source_config = SourceConfig->new();
$source_config->add_active_modules([keys %add_to_config], 1) if (scalar %add_to_config);
$source_config->remove_activated_modules([keys %remove_from_config], 1) if (scalar %remove_from_config);
$source_config->remove_all_activated_modules() if ($clear_config);
};
#
# Add modules from the passed hash to the array of config strigns
#
sub add_modules_to_source_config {
my ($modules_hash_ref, $config_content_new) = @_;
my $message;
foreach (keys %$modules_hash_ref) {
push(@$config_content_new, "
$_
=
active
\
n
");
$message .= "
$_
";
};
if ($message) {
return "
Module
(
s
):
\
n
" .$message . "
\
nare
added
to
the
" . $source_config_file . "
\
n
\
n
";
} else {
return '';
};
};
sub start_interactive {
$pid = open(HTML_PIPE, "
-|
");
print "
Pipe
is
open
\
n
";
if ($pid) { # parent
# make file handle non-bloking
# make file handle non-blo
c
king
my $flags = '';
fcntl(HTML_PIPE, F_GETFL, $flags);
$flags |= O_NONBLOCK;
...
...
@@ -1675,7 +1592,7 @@ sub get_options {
};
sub
get_module_and_buildlist_paths
{
if
(
$build_all_parents
)
{
if
(
$build_all_parents
||
$checkparents
)
{
my
$source_config
=
SourceConfig
->
new
(
$StandDir
);
$source_config_file
=
$source_config
->
get_config_file_path
();
$active_modules
{
$_
}
++
foreach
(
$source_config
->
get_active_modules
());
...
...
@@ -2371,7 +2288,9 @@ sub prepare_incompatible_build {
@modules_built
=
keys
%
$deps_hash
;
%
add_to_config
=
%
$deps_hash
;
if
(
$prepare
)
{
generate_config_file
()
if
((
!
defined
$ENV
{
UPDATER
})
||
(
defined
$ENV
{
CWS_WORK_STAMP
}));
if
((
!
defined
$ENV
{
UPDATER
})
||
(
defined
$ENV
{
CWS_WORK_STAMP
}))
{
SourceConfig
->
new
()
->
add_active_modules
([
keys
%
add_to_config
],
0
);
}
clear_delivered
();
}
my
$old_output_tree
=
''
;
...
...
solenv/bin/modules/SourceConfig.pm
100644 → 100755
Dosyayı görüntüle @
04ec3f08
This diff is collapsed.
Click to expand it.
solenv/bin/modules/installer/epmfile.pm
Dosyayı görüntüle @
04ec3f08
...
...
@@ -2544,6 +2544,7 @@ sub create_packages_without_epm
my
$dir
=
getcwd
;
my
$buildroot
=
$dir
.
"/"
.
$epmdir
.
"buildroot/"
;
$buildrootstring
=
"--buildroot=$buildroot"
;
mkdir
(
$buildroot
=
$dir
.
"/"
.
$epmdir
.
"BUILD/"
);
}
my
$systemcall
=
"$rpmcommand -bb --define \"_unpackaged_files_terminate_build 0\" $specfilename --target $target $buildrootstring 2\>\&1 |"
;
...
...
@@ -2719,6 +2720,15 @@ sub remove_temporary_epm_files
my
$returnvalue
=
system
(
$systemcall
);
$removedir
=
$epmdir
.
"BUILD"
;
$systemcall
=
"rm -rf $removedir"
;
installer::logger::
print_message
(
"... $systemcall ...\n"
);
$returnvalue
=
system
(
$systemcall
);
my
$infoline
=
"Systemcall: $systemcall\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
...
...
solenv/config/sdev300.ini
Dosyayı görüntüle @
04ec3f08
...
...
@@ -211,6 +211,7 @@ finish
SOLARLIB
-L%SOLARVER%/%INPATH%/lib%UPDMINOREXT%
%JDKLIBS%
%SOLAREXTRALIB%
SOLARSRC
%SRC_ROOT%
SOURCE_ROOT_DIR
$expand(%SOLARSRC%/..)
ANT_HOME
%COMMON_BUILD_TOOLS%$/apache-ant-1.7.1
}
common_2:0
IF
X%CWS_WORK_STAMP%
X
=
= XX
{
...
...
solenv/inc/antsettings.mk
Dosyayı görüntüle @
04ec3f08
...
...
@@ -28,10 +28,6 @@
.IF "$(SOLAR_JAVA)"!=""
.IF "$(ANT_HOME)" == ""
ANT_HOME*:=$(COMMON_BUILD_TOOLS)/apache-ant-1.7.0
.EXPORT : ANT_HOME
.ENDIF
ANT_LIB*:=$(ANT_HOME)/lib
ANT_CLASSPATH:=$(ANT_LIB)/xercesImpl.jar$(PATH_SEPERATOR)$(ANT_LIB)/xml-apis.jar$(PATH_SEPERATOR)$(ANT_LIB)/ant.jar
...
...
solenv/inc/minor.mk
Dosyayı görüntüle @
04ec3f08
RSCVERSION=300
RSCREVISION=300m7
4(Build:9487
)
BUILD=948
7
LAST_MINOR=m7
4
RSCREVISION=300m7
5(Build:9488
)
BUILD=948
8
LAST_MINOR=m7
5
SOURCEVERSION=DEV300
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