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
d7f7a6de
Kaydet (Commit)
d7f7a6de
authored
May 14, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
linkoo - link instset into install
Change-Id: I9f1c340562030bccbe0627ba9e91a56e1611b64e
üst
324cae2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
linkoo
solenv/bin/linkoo
+48
-0
No files found.
solenv/bin/linkoo
Dosyayı görüntüle @
d7f7a6de
...
@@ -146,6 +146,13 @@ my %replaceable = (
...
@@ -146,6 +146,13 @@ my %replaceable = (
# 'share/uno_packages' => '\.zip$'
# 'share/uno_packages' => '\.zip$'
);
);
my @instdir_replaceable = (
'share',
'program',
# 'presets', # leave these guys alone for now
'help',
);
my @search_dirs = ( 'lib', 'bin', 'class' );
my @search_dirs = ( 'lib', 'bin', 'class' );
my @known_duplicates = ( 'db.jar', 'libi18n', 'libnssckbi', 'libnssdbm', 'libsqlite3', 'libnssutil3', 'pythonloader.uno', 'pyuno', 'libpyuno' );
my @known_duplicates = ( 'db.jar', 'libi18n', 'libnssckbi', 'libnssdbm', 'libsqlite3', 'libnssutil3', 'pythonloader.uno', 'pyuno', 'libpyuno' );
...
@@ -520,6 +527,46 @@ sub link_rdb_files()
...
@@ -520,6 +527,46 @@ sub link_rdb_files()
print "\n";
print "\n";
}
}
# instdir is an internal directory in the build tree
# installdir is the directory we installed into.
sub do_recursive_link($$)
{
my ($instdir, $installdir) = @_;
(-d $installdir && -d $instdir) || die "not directories";
my $dirhandle;
if (opendir ($dirhandle, $instdir)) {
while (my $fname = readdir ($dirhandle)) {
$fname =~ /^\./ && next;
if (-d "$instdir/$fname") {
if (-d "$installdir/$fname") {
do_recursive_link("$instdir/$fname", "$installdir/$fname");
} else {
print STDERR "mismatching directories $instdir/$fname vs. $installdir/$fname\n";
}
} elsif (-f "$installdir/$fname") {
do_link ($instdir, $installdir, $fname, $fname, 0);
} else {
print STDERR "Warning: odd file type for $instdir/$fname\n";
}
}
} else {
print STDERR "Couldn't scan '$instdir': $!";
}
}
sub link_instdir($$)
{
my ($instdir, $installdir) = @_;
print "linking instdir ...\n";
for my $dir (@instdir_replaceable) {
# include target ...
do_recursive_link("$instdir/$dir", "$installdir/$dir");
}
}
evilness ('undo');
evilness ('undo');
my $installed_files = build_installed_list ($OOO_INSTALL);
my $installed_files = build_installed_list ($OOO_INSTALL);
...
@@ -529,6 +576,7 @@ link_gdb_py();
...
@@ -529,6 +576,7 @@ link_gdb_py();
link_pagein_files();
link_pagein_files();
link_ui_files();
link_ui_files();
link_rdb_files();
link_rdb_files();
link_instdir("$OOO_BUILD/instdir/$TARGET", $OOO_INSTALL);
if (!-f "$OOO_INSTALL/" . $brand_program_dir . "/ooenv") {
if (!-f "$OOO_INSTALL/" . $brand_program_dir . "/ooenv") {
my $ooenv;
my $ooenv;
...
...
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