[Libreoffice-commits] .: Branch 'libreoffice-4-0' - desktop/source scp2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 10 04:38:49 PST 2013


 desktop/source/deployment/manager/dp_manager.cxx |    2 +-
 scp2/source/ooo/common_brand.scp                 |    8 ++++++++
 scp2/source/ooo/profileitem_ooo.scp              |    9 +++++++++
 3 files changed, 18 insertions(+), 1 deletion(-)

New commits:
commit 147ce2ebeeac686d0a8e9e3d6d804aeba0fcbcdc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 10 11:54:28 2013 +0100

    fdo#58909: Missing BAK_EXTENSIONS bootstrap variable
    
    daeed90f4586eb9533041fb89bee163a5193596c "re-base on ALv2 code" had incorporated
    from <http://svn.apache.org/viewvc?view=revision&revision=1172102> "imported
    patch extensions_i117681.patch" the parts using BAK_EXTENSIONS in
    desktop/source/deployment/manager/, but not the parts setting BAK_EXTENSIONS in
    scp2/source/ooo/.
    
    Also, setting the stamp for "bak" in PackageManagerImpl::create needed to be
    adapted to bee742eb7a0d5dfe23e61d9ee49a29286de90256 "Fix sense of r/o detection
    code, and clean up" and 61eeb689d7605a23c3e71c652b57ee65cf5b28dc "fix smoketest
    - need to check read-only-ness of non-existent paths."
    
    (cherry picked from commit 8dd405d32cb331818dc8f9bd1af3c5a074100f0f)
    Conflicts:
    	desktop/source/deployment/manager/dp_manager.cxx
    
    Change-Id: Ie73ce50b6c26bbee6f3b7230a4d163715180ef52
    Reviewed-on: https://gerrit.libreoffice.org/1626
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx
index ba67f9e..b9949df 100644
--- a/desktop/source/deployment/manager/dp_manager.cxx
+++ b/desktop/source/deployment/manager/dp_manager.cxx
@@ -398,7 +398,7 @@ Reference<deployment::XPackageManager> PackageManagerImpl::create(
             "vnd.sun.star.expand:$BAK_EXTENSIONS");
         that->m_registryCache = OUSTR(
             "vnd.sun.star.expand:$BAK_EXTENSIONS/registry");
-        stamp = OUSTR("vnd.sun.star.expand:$BAK_EXTENSIONS/stamp.sys");
+        stamp = OUSTR("$BAK_EXTENSIONS");
     }
 
     else if (! context.matchAsciiL(
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 7ba7e76..0c21df8 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -1198,6 +1198,14 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Tmp_Extensions
     Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
 End
 
+ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bak_Extensions
+    ModuleID = gid_Module_Root_Brand;
+    ProfileID = gid_Brand_Profile_Fundamental_Ini;
+    Section = "Bootstrap";
+    Key = "BAK_EXTENSIONS";
+    Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
+End
+
 ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Types
     ModuleID = gid_Module_Root_Brand;
     ProfileID = gid_Brand_Profile_Fundamental_Ini;
diff --git a/scp2/source/ooo/profileitem_ooo.scp b/scp2/source/ooo/profileitem_ooo.scp
index 69ca5c6..abe5df4 100644
--- a/scp2/source/ooo/profileitem_ooo.scp
+++ b/scp2/source/ooo/profileitem_ooo.scp
@@ -166,6 +166,15 @@ ProfileItem gid_Profileitem_Uno_Uno_Bundled_Tmp_Extensions
     Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/tmp";
 End
 
+ProfileItem gid_Profileitem_Uno_Uno_Bundled_Bak_Extensions
+    ProfileID = gid_Profile_Uno_Ini;
+    ModuleID = gid_Module_Root;
+    Section = "Bootstrap";
+    Order = 1;
+    Key = "BAK_EXTENSIONS";
+    Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bak";
+End
+
 ProfileItem gid_Profileitem_Uno_Uno_User_Packages_Cache
     ProfileID = gid_Profile_Uno_Ini;
     ModuleID = gid_Module_Root;


More information about the Libreoffice-commits mailing list