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
97ed4864
Kaydet (Commit)
97ed4864
authored
May 11, 2010
tarafından
Ivo Hinkelmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS ause119
üst
439fbec2
0b0d5921
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
30 deletions
+57
-30
fetch_tarballs.sh
fetch_tarballs.sh
+44
-25
cws.pl
solenv/bin/cws.pl
+4
-3
mhids.pl
solenv/bin/mhids.pl
+4
-2
epmfile.pm
solenv/bin/modules/installer/epmfile.pm
+2
-0
tg_config.mk
solenv/inc/tg_config.mk
+3
-0
No files found.
fetch_tarballs.sh
Dosyayı görüntüle @
97ed4864
...
@@ -3,14 +3,10 @@
...
@@ -3,14 +3,10 @@
#
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 200
8 by Sun Microsystems, Inc
.
# Copyright 200
0, 2010 Oracle and/or its affiliates
.
#
#
# OpenOffice.org - a multi-platform office productivity suite
# OpenOffice.org - a multi-platform office productivity suite
#
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.8 $
#
# This file is part of OpenOffice.org.
# This file is part of OpenOffice.org.
#
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# OpenOffice.org is free software: you can redistribute it and/or modify
...
@@ -65,25 +61,31 @@ for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/w
...
@@ -65,25 +61,31 @@ for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/w
fi
fi
done
done
for
i
in
curl /usr/bin/curl /usr/local/bin/curl /usr/sfw/bin/curl /opt/sfw/bin/curl /opt/local/bin/curl
;
do
if
[
-z
"
$wget
"
]
;
then
# mac curl returns "2" on --version
for
i
in
curl /usr/bin/curl /usr/local/bin/curl /usr/sfw/bin/curl /opt/sfw/bin/curl /opt/local/bin/curl
;
do
# eval "$i --version" > /dev/null 2>&1
# mac curl returns "2" on --version
# ret=$?
# eval "$i --version" > /dev/null 2>&1
# if [ $ret -eq 0 ]; then
# ret=$?
if
[
-x
$i
]
;
then
# if [ $ret -eq 0 ]; then
curl
=
$i
if
[
-x
$i
]
;
then
echo
found curl:
$curl
curl
=
$i
break
2
echo
found curl:
$curl
fi
break
2
done
fi
done
fi
if
[
-z
"
$wget
"
-a
-z
"
$curl
"
]
;
then
if
[
-z
"
$wget
"
-a
-z
"
$curl
"
]
;
then
echo
"ERROR: neither wget nor curl found!"
echo
"ERROR: neither wget nor curl found!"
exit
exit
fi
fi
for
i
in
md5sum
/usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/gmd5sum /opt/local/bin/md5sum
;
do
for
i
in
md5
md5sum
/usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/gmd5sum /opt/local/bin/md5sum
;
do
eval
"
$i
--version"
>
/dev/null 2>&1
if
[
"
$i
"
=
"md5"
]
;
then
eval
"
$i
-x"
>
/dev/null 2>&1
else
eval
"
$i
--version"
>
/dev/null 2>&1
fi
ret
=
$?
ret
=
$?
if
[
$ret
-eq
0
]
;
then
if
[
$ret
-eq
0
]
;
then
md5sum
=
$i
md5sum
=
$i
...
@@ -92,44 +94,61 @@ for i in md5sum /usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/g
...
@@ -92,44 +94,61 @@ for i in md5sum /usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/g
fi
fi
done
done
if
[
"
$md5sum
"
=
"md5"
]
;
then
md5special
=
-r
fi
if
[
-z
"
$md5sum
"
]
;
then
if
[
-z
"
$md5sum
"
]
;
then
echo
"Warning: no md5sum: found!"
echo
"Warning: no md5sum: found!"
fi
fi
start_dir
=
`
pwd
`
start_dir
=
`
pwd
`
logfile
=
$TARFILE_LOCATION
/fetch.log
date
>>
$logfile
filelist
=
`
cat
$1
`
filelist
=
`
cat
$1
`
cd
$TARFILE_LOCATION
mkdir
-p
$TARFILE_LOCATION
/tmp
cd
$TARFILE_LOCATION
/tmp
echo
$$
>
fetch-running
for
i
in
$filelist
;
do
for
i
in
$filelist
;
do
# echo $i
#
echo $i
if
[
"
$i
"
!=
`
echo
$i
|
sed
"s/^http:
\/
//"
`
]
;
then
if
[
"
$i
"
!=
`
echo
$i
|
sed
"s/^http:
\/
//"
`
]
;
then
tarurl
=
$i
tarurl
=
$i
# TODO: check for comment
# TODO: check for comment
else
else
if
[
"
$tarurl
"
!=
""
]
;
then
if
[
"
$tarurl
"
!=
""
]
;
then
if
[
!
-f
"
$i
"
]
;
then
if
[
!
-f
"../
$i
"
]
;
then
echo
$i
if
[
!
-z
"
$wget
"
]
;
then
if
[
!
-z
"
$wget
"
]
;
then
$wget
-nv
-N
$tarurl
/
$i
$wget
-nv
-N
$tarurl
/
$i
2>&1 |
tee
-a
$logfile
else
else
echo
fetching
$i
echo
fetching
$i
$curl
$file_date_check
-O
$tarurl
/
$i
$curl
$file_date_check
-O
$tarurl
/
$i
2>&1 |
tee
-a
$logfile
fi
fi
wret
=
$?
wret
=
$?
if
[
$wret
-ne
0
]
;
then
if
[
$wret
-ne
0
]
;
then
mv
$i
${
i
}
_broken
failed
=
"
$failed
$i
"
failed
=
"
$failed
$i
"
wret
=
0
wret
=
0
fi
fi
if
[
-f
$i
-a
-n
"
$md5sum
"
]
;
then
if
[
-f
$i
-a
-n
"
$md5sum
"
]
;
then
sum
=
`
$md5sum
$
i
|
sed
"s/ [ *]
.*//"
`
sum
=
`
$md5sum
$
md5special
$i
|
sed
"s/
.*//"
`
sum2
=
`
echo
$i
|
sed
"s/-.*//"
`
sum2
=
`
echo
$i
|
sed
"s/-.*//"
`
if
[
"
$sum
"
!=
"
$sum2
"
]
;
then
if
[
"
$sum
"
!=
"
$sum2
"
]
;
then
echo
checksum failure
for
$i
echo
checksum failure
for
$i
2>&1 |
tee
-a
$logfile
failed
=
"
$failed
$i
"
failed
=
"
$failed
$i
"
mv
$i
${
i
}
_broken
else
mv
$i
..
fi
fi
else
mv
$i
..
fi
fi
fi
fi
fi
fi
fi
fi
done
done
rm
$TARFILE_LOCATION
/tmp/
*
-
*
cd
$start_dir
cd
$start_dir
if
[
!
-z
"
$failed
"
]
;
then
if
[
!
-z
"
$failed
"
]
;
then
...
...
solenv/bin/cws.pl
Dosyayı görüntüle @
97ed4864
...
@@ -2206,6 +2206,7 @@ sub do_fetch
...
@@ -2206,6 +2206,7 @@ sub do_fetch
my
$ooo_svn_server
=
$config
->
get_ooo_svn_server
();
my
$ooo_svn_server
=
$config
->
get_ooo_svn_server
();
my
$so_svn_server
=
$config
->
get_so_svn_server
();
my
$so_svn_server
=
$config
->
get_so_svn_server
();
my
$prebuild_dir
=
$config
->
get_prebuild_binaries_location
();
my
$prebuild_dir
=
$config
->
get_prebuild_binaries_location
();
my
$external_tarball_source
=
$prebuild_dir
;
# Check early for platforms so we can bail out before anything time consuming is done
# Check early for platforms so we can bail out before anything time consuming is done
# in case of a missing platform
# in case of a missing platform
my
@platforms
;
my
@platforms
;
...
@@ -2368,10 +2369,10 @@ sub do_fetch
...
@@ -2368,10 +2369,10 @@ sub do_fetch
}
}
}
}
if
(
!
$onlysolver
)
{
if
(
!
$onlysolver
&&
defined
(
$external_tarball_source
)
)
{
my
$source_root_dir
=
"$workspace/$masterws"
;
my
$source_root_dir
=
"$workspace/$masterws"
;
my
$external_tarball_source
=
"$prebuild_dir
/$masterws/ext_sources"
;
$external_tarball_source
.=
"
/$masterws/ext_sources"
;
if
(
-
e
"$source_root_dir/ooo/ooo.lst"
&&
defined
(
$prebuild_dir
)
&&
-
d
$external_tarball_source
)
{
if
(
-
e
"$source_root_dir/ooo/ooo.lst"
&&
-
d
$external_tarball_source
)
{
fetch_external_tarballs
(
$source_root_dir
,
$external_tarball_source
);
fetch_external_tarballs
(
$source_root_dir
,
$external_tarball_source
);
}
}
}
}
...
...
solenv/bin/mhids.pl
Dosyayı görüntüle @
97ed4864
...
@@ -155,7 +155,9 @@ $filebase =~ s/\..*?$//;
...
@@ -155,7 +155,9 @@ $filebase =~ s/\..*?$//;
# now stript it to something that doesn't togger vista execution prevention :(
# now stript it to something that doesn't togger vista execution prevention :(
$flbs
=
$filebase
;
$flbs
=
$filebase
;
$flbs
=~
s/[aeiou]//g
;
$flbs
=~
s/[aeiou]//g
;
$workfile
=
"$tmpdir/${flbs}_"
.
$$
;
# call srand ony once per script!
srand
();
$workfile
=
"$tmpdir/${flbs}_"
.
$$
.
rand
();
#$workfile =~ s/setup/set_up/;
#$workfile =~ s/setup/set_up/;
# now get $workfile ready for shell usage...
# now get $workfile ready for shell usage...
...
@@ -171,7 +173,7 @@ unlink "$workfile.obj";
...
@@ -171,7 +173,7 @@ unlink "$workfile.obj";
if
(
-
f
"$workfile.hid"
)
if
(
-
f
"$workfile.hid"
)
{
{
unlink
"$workfile.hid"
or
die
"ERRROR - cannot remove $workfile.hid\n"
;
;
unlink
"$workfile.hid"
or
die
"ERRROR - cannot remove $workfile.hid\n"
;
}
}
# hack to quit for files which cannot be handled
# hack to quit for files which cannot be handled
...
...
solenv/bin/modules/installer/epmfile.pm
Dosyayı görüntüle @
97ed4864
...
@@ -1447,6 +1447,8 @@ sub set_autoprovreq_in_specfile
...
@@ -1447,6 +1447,8 @@ sub set_autoprovreq_in_specfile
$autoreqprovline
=
"AutoReqProv\: no\n"
;
$autoreqprovline
=
"AutoReqProv\: no\n"
;
}
}
$autoreqprovline
.=
"%define _binary_filedigest_algorithm 1\n%define _binary_payload w9.gzdio\n"
;
for
(
my
$i
=
0
;
$i
<=
$#
{
$changefile
};
$i
++
)
for
(
my
$i
=
0
;
$i
<=
$#
{
$changefile
};
$i
++
)
{
{
# Adding "autoreqprov" behind the line beginning with: Group:
# Adding "autoreqprov" behind the line beginning with: Group:
...
...
solenv/inc/tg_config.mk
Dosyayı görüntüle @
97ed4864
...
@@ -120,10 +120,12 @@ $(PROCESSOUT)/registry/data/$(PACKAGEDIR)/%.xcu : %.xcu
...
@@ -120,10 +120,12 @@ $(PROCESSOUT)/registry/data/$(PACKAGEDIR)/%.xcu : %.xcu
$(COMMAND_ECHO)$(XSLTPROC) --nonet -o $(normpath $(subst,$(PATH_IN_MODULE), $(PWD))/$(subst,$(PRJ), $(@:d))$*.val) \
$(COMMAND_ECHO)$(XSLTPROC) --nonet -o $(normpath $(subst,$(PATH_IN_MODULE), $(PWD))/$(subst,$(PRJ), $(@:d))$*.val) \
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--path $(DTDDIR)/registry \
$(SYSXSLDIR)data_val.xsl $<
$(SYSXSLDIR)data_val.xsl $<
$(COMMAND_ECHO)$(XSLTPROC) --nonet -o $(normpath $(subst,$(PATH_IN_MODULE), $(PWD))/$(subst,$(PRJ), $@)) \
$(COMMAND_ECHO)$(XSLTPROC) --nonet -o $(normpath $(subst,$(PATH_IN_MODULE), $(PWD))/$(subst,$(PRJ), $@)) \
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--path $(DTDDIR)/registry \
$(SYSXSLDIR)alllang.xsl $<
$(SYSXSLDIR)alllang.xsl $<
@+-$(RM) $(@:d)$*.val > $(NULLDEV)
@+-$(RM) $(@:d)$*.val > $(NULLDEV)
...
@@ -154,6 +156,7 @@ $(PROCESSOUT)/registry/res/{$(alllangiso)}/$(PACKAGEDIR)/%.xcu :| %.xcu
...
@@ -154,6 +156,7 @@ $(PROCESSOUT)/registry/res/{$(alllangiso)}/$(PACKAGEDIR)/%.xcu :| %.xcu
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam xcs $(XCSROOTURL)/registry/schema/$(XSLTPACKAGEDIR)/$*.xcs \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--stringparam schemaRoot $(XCSROOTURL)/registry/schema \
--stringparam locale {$(subst,/$(PACKAGEDIR)/$(@:f), $(subst,$(PROCESSOUT)/registry/res/, $@))} \
--stringparam locale {$(subst,/$(PACKAGEDIR)/$(@:f), $(subst,$(PROCESSOUT)/registry/res/, $@))} \
--path $(DTDDIR)/registry \
$(SYSXSLDIR)alllang.xsl $<
$(SYSXSLDIR)alllang.xsl $<
# --- languagepack tag modules ---
# --- languagepack tag modules ---
...
...
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