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
f780859b
Kaydet (Commit)
f780859b
authored
Nis 13, 2012
tarafından
Petr Mladek
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unpack-sources, download: update for .xz source tarballs
üst
0c80ad06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
unpack-sources
bin/unpack-sources
+9
-8
download
download
+7
-7
No files found.
bin/unpack-sources
Dosyayı görüntüle @
f780859b
...
...
@@ -73,13 +73,13 @@ if test -z "$start_dir" ; then
echo
"Error: Please, define where to unpack sources, try --help"
fi
if
!
test
-
d
$start_dir
/src
-a
-f
$start_dir
/solenv/inc/target.mk
;
then
echo
"Error:
$start_dir
is not a valid
bootstrap
directory"
if
!
test
-
f
$start_dir
/Repository.mk
-a
-f
$start_dir
/solenv/inc/target.mk
;
then
echo
"Error:
$start_dir
is not a valid
LibreOffice core source
directory"
exit
1
;
fi
if
test
!
-f
$start_dir
/
bootstrap
.ver
-o
-d
$start_dir
/.git
;
then
echo
"Warning:
bootstrap
sources are from git and not from tarball"
if
test
!
-f
$start_dir
/
core
.ver
-o
-d
$start_dir
/.git
;
then
echo
"Warning:
core
sources are from git and not from tarball"
echo
" Do nothing."
exit
0
;
fi
...
...
@@ -89,17 +89,18 @@ lo_src_dir="$start_dir/src"
mkdir
-p
"
$lo_src_dir
"
for
tarball
in
$tarballs
;
do
tarname
=
`
basename
$tarball
|
sed
-e
"s/
.tar.bz2
//"
`
tarname
=
`
basename
$tarball
|
sed
-e
"s/
\.
tar
\.
.*
//"
`
if
test
-d
$lo_src_dir
/
$tarname
;
then
echo
"Warning:
$lo_src_dir
/
$tarname
already exists => skipping"
continue
;
fi
echo
"Unpacking
$tarname
..."
tar
-xjf
"
$tarball
"
-C
"
$lo_src_dir
"
echo tar
-xf
"
$tarball
"
-C
"
$lo_src_dir
"
tar
-xf
"
$tarball
"
-C
"
$lo_src_dir
"
# create symlinks
for
dir
in
`
find
"
$lo_src_dir
/
$tarname
"
-mindepth
1
-maxdepth
1
-type
d
-printf
"
$tarname
/%f
\n
"
`
;
do
# create symlinks
for module directories; ignore git-hooks directory
for
dir
in
`
find
"
$lo_src_dir
/
$tarname
"
-mindepth
1
-maxdepth
1
-type
d
-p
ath
$lo_src_dir
/
$tarname
/git-hooks
-o
-p
rintf
"
$tarname
/%f
\n
"
`
;
do
ln
-sf
"src/
$dir
"
"
$start_dir
"
done
done
download
Dosyayı görüntüle @
f780859b
...
...
@@ -183,17 +183,17 @@ if [ "$COM" = "MSC" ]; then
downloaditem
"http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/"
"WindowsXP-KB975337-x86-ENU.exe"
"946d00d87e4094f3a6e425e2d538eadd"
fi
if
[
-f
$start_dir
/
bootstrap
.ver
-a
!
-d
$start_dir
/.git
]
;
then
#
bootstrap
is from sources, so get the other source tarballs
.
$start_dir
/
bootstrap
.ver
if
[
-f
$start_dir
/
core
.ver
-a
!
-d
$start_dir
/.git
]
;
then
#
core
is from sources, so get the other source tarballs
.
$start_dir
/
core
.ver
lo_src_dir
=
"
$start_dir
/src"
mkdir
-p
"
$lo_src_dir
"
for
piece
in
`
cat
$start_dir
/bin/repo-list
`
;
do
tarname
=
"libreoffice-
$piece
-
$lo_
bootstrap
_ver
"
if
[
!
-f
"
$TARFILE_LOCATION
/
$tarname
.tar.
bz2
"
]
;
then
downloaditem
"http://download.documentfoundation.org/libreoffice/src/"
"
$tarname
.tar.
bz2
"
""
tarname
=
"libreoffice-
$piece
-
$lo_
core
_ver
"
if
[
!
-f
"
$TARFILE_LOCATION
/
$tarname
.tar.
xz
"
]
;
then
downloaditem
"http://download.documentfoundation.org/libreoffice/src/"
"
$tarname
.tar.
xz
"
""
fi
$start_dir
/bin/unpack-sources
$start_dir
$TARFILE_LOCATION
/
$tarname
.tar.
bz2
$start_dir
/bin/unpack-sources
$start_dir
$TARFILE_LOCATION
/
$tarname
.tar.
xz
done
fi
...
...
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