[Libreoffice-commits] core.git: solenv/bin

Jan Holesovsky kendy at suse.cz
Thu Apr 11 00:55:54 PDT 2013


 solenv/bin/linkoo |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

New commits:
commit 53ac5b9a559f707224465527c46cca0a6023d1b2
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Thu Apr 11 09:53:24 2013 +0200

    linkoo: Link .rdb files again.
    
    A stale types.rdb can cause that you spend 2 hours debugging hard core UNO
    exception throwing - like me yesterday...
    
    Change-Id: I5eb88a9f1d2c9dd34f1e7945d449b697d3253193

diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
index 2bf9f7b..2c052e1 100755
--- a/solenv/bin/linkoo
+++ b/solenv/bin/linkoo
@@ -506,6 +506,20 @@ sub link_ui_files()
     print "\n";
 }
 
+sub link_rdb_files()
+{
+    print "linking rdb:";
+    my $src_prefix  = "$SOLARVER/$TARGET/";
+    my $dest_prefix = "$OOO_INSTALL/";
+
+    do_link ($src_prefix . "xml" , $dest_prefix . $brand_program_dir . "/services", "services.rdb", "services.rdb");
+    do_link ($src_prefix . "xml/ure" , $dest_prefix . "ure/share/misc", "services.rdb", "services.rdb");
+
+    do_link ($src_prefix . "bin/ure" , $dest_prefix . "ure/share/misc", "types.rdb", "types.rdb");
+
+    print "\n";
+}
+
 evilness ('undo');
 
 my $installed_files = build_installed_list ($OOO_INSTALL);
@@ -514,6 +528,7 @@ scan_and_link_files ($OOO_BUILD, $installed_files, $TARGET);
 link_gdb_py();
 link_pagein_files();
 link_ui_files();
+link_rdb_files();
 
 if (!-f "$OOO_INSTALL/" . $brand_program_dir . "/ooenv") {
     my $ooenv;


More information about the Libreoffice-commits mailing list