summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2013-04-18 09:58:02 +0000
committerJürgen Schmidt <jsc@apache.org>2013-04-18 09:58:02 +0000
commit2af65172af2cfc768e4f44507a02e1b17a9806ba (patch)
treefd4c4c673a8a83bee9427170d8963559017474cf
parent581c83c696bd850066d425427c10374b6587b45d (diff)
#121996# integrate first part to remove 3layer office
Notes
Notes: prefer: a66f9903bba9dc7eeff6683ebddcd34d4ad70068
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx16
-rw-r--r--configmgr/qa/unit/makefile.mk2
-rw-r--r--configmgr/source/components.cxx16
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx8
-rw-r--r--crashrep/source/win32/soreport.cpp2
-rw-r--r--cui/source/dialogs/about.cxx16
-rw-r--r--desktop/scripts/soffice.sh11
-rw-r--r--desktop/source/app/app.cxx4
-rw-r--r--desktop/source/app/appfirststart.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_update.cxx2
-rwxr-xr-xdesktop/source/deployment/registry/sfwk/dp_sfwk.cxx4
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx4
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx2
-rw-r--r--desktop/source/splash/splash.cxx6
-rw-r--r--desktop/win32/source/extendloaderenvironment.cxx19
-rw-r--r--extensions/source/update/check/updatecheck.cxx2
-rwxr-xr-xextensions/source/update/check/updateprotocol.cxx4
-rw-r--r--extensions/source/update/feed/updatefeed.cxx9
-rw-r--r--filter/source/msfilter/msocximex.cxx2
-rw-r--r--framework/source/services/substitutepathvars.cxx2
-rw-r--r--instsetoo_native/util/makefile.mk51
-rw-r--r--postprocess/packcomponents/makefile.mk19
-rw-r--r--postprocess/packregistry/makefile.mk26
-rw-r--r--sal/osl/unx/signal.c2
-rw-r--r--scp2/source/ooo/common_brand.scp100
-rw-r--r--scp2/source/ooo/directory_ooo.scp61
-rw-r--r--scp2/source/ooo/file_ooo.scp3
-rw-r--r--scp2/source/ooo/makefile.mk6
-rw-r--r--scp2/source/ooo/ooo_brand.scp12
-rw-r--r--scp2/source/ooo/profile_ooo.scp3
-rw-r--r--scp2/source/ooo/profileitem_ooo.scp147
-rw-r--r--scp2/source/ooo/ure.scp129
-rw-r--r--scp2/source/ooo/ure_into_ooo.scp77
-rw-r--r--scripting/examples/beanshell/Highlight/ShowDialog.bsh2
-rw-r--r--scripting/examples/java/Highlight/HighlightText.java2
-rw-r--r--scripting/examples/javascript/Highlight/ShowDialog.js2
-rw-r--r--scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java4
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java12
-rw-r--r--scripting/source/provider/URIHelper.cxx5
-rw-r--r--scripting/source/pyprov/pythonscript.py4
-rw-r--r--scripting/source/storage/ScriptStorageManager.cxx2
-rw-r--r--setup_native/scripts/install_linux.sh4
-rw-r--r--setup_native/scripts/install_solaris.sh4
-rw-r--r--setup_native/source/win32/customactions/languagepacks/checkrunningofficelanguagepack.cxx3
-rw-r--r--setup_native/source/win32/customactions/patch/swappatchfiles.cxx3
-rw-r--r--setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx4
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
-rw-r--r--sfx2/source/doc/objmisc.cxx24
-rw-r--r--solenv/bin/macosx-change-install-names.pl39
-rw-r--r--solenv/gbuild/platform/os2.mk2
-rw-r--r--solenv/gbuild/platform/windows.mk2
-rw-r--r--solenv/gbuild/platform/winmingw.mk2
-rw-r--r--solenv/inc/settings.mk8
-rw-r--r--solenv/inc/unxfbsd.mk15
-rw-r--r--solenv/inc/unxlng.mk15
-rw-r--r--solenv/inc/unxsoli4.mk15
-rw-r--r--solenv/inc/unxsols4.mk15
-rw-r--r--solenv/inc/unxsolu4.mk12
-rw-r--r--svtools/source/filter/filter.cxx4
-rw-r--r--svx/source/dialog/docrecovery.cxx2
-rw-r--r--svx/source/dialog/sendreportunx.cxx2
-rw-r--r--svx/source/unodraw/recoveryui.cxx2
-rw-r--r--tools/source/rc/resmgr.cxx4
-rw-r--r--unotools/source/config/bootstrap.cxx4
-rw-r--r--unotools/source/config/configmgr.cxx2
-rw-r--r--ure/source/jvmfwk3.ini2
-rw-r--r--ure/source/jvmfwk3rc2
-rw-r--r--vcl/aqua/source/gdi/salgdi.cxx21
-rw-r--r--vcl/source/gdi/imagerepository.cxx2
-rw-r--r--vcl/source/gdi/impimagetree.cxx6
-rw-r--r--vcl/unx/generic/app/saldata.cxx2
-rw-r--r--vcl/unx/generic/fontmanager/helper.cxx2
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx4
73 files changed, 566 insertions, 466 deletions
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
index f4cf0dee22db..5796d15ce029 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
@@ -343,27 +343,27 @@ void OfficeInstallationDirectories::initDirs()
{
*m_pOfficeBrandDir =
xExpander->expandMacros(
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) ) );
+ rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) ) );
OSL_ENSURE( m_pOfficeBrandDir->getLength() > 0,
"Unable to obtain office brand installation directory!" );
makeCanonicalFileURL( *m_pOfficeBrandDir );
- *m_pOfficeBaseDir =
- xExpander->expandMacros(
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap" ) ":BaseInstallation}" ) ) );
+ *m_pOfficeBaseDir = *m_pOfficeBrandDir;
+ // xExpander->expandMacros(
+ // rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
+ // "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap" ) ":BaseInstallation}" ) ) );
- OSL_ENSURE( m_pOfficeBaseDir->getLength() > 0,
- "Unable to obtain office base installation directory!" );
+ // OSL_ENSURE( m_pOfficeBaseDir->getLength() > 0,
+ // "Unable to obtain office base installation directory!" );
makeCanonicalFileURL( *m_pOfficeBaseDir );
*m_pUserDir =
xExpander->expandMacros(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap" ) ":UserInstallation}" ) ) );
+ "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap" ) ":UserInstallation}" ) ) );
OSL_ENSURE( m_pUserDir->getLength() > 0,
"Unable to obtain office user data directory!" );
diff --git a/configmgr/qa/unit/makefile.mk b/configmgr/qa/unit/makefile.mk
index 22452af75c64..ea24171961c8 100644
--- a/configmgr/qa/unit/makefile.mk
+++ b/configmgr/qa/unit/makefile.mk
@@ -68,7 +68,7 @@ TEST .PHONY: $(SHL1TARGETN) $(MISC)/unit.rdb
echo 'UNO_SHARED_PACKAGES_CACHE = $$OOO_BASE_DIR' \
>> $(MISC)/unitdata/basis/program/uno$(MY_INI)
echo 'UNO_USER_PACKAGES_CACHE =' \
- '$${$$BRAND_BASE_DIR/program/bootstrap$(MY_INI):UserInstallation}' \
+ '$${$$OOO_BASE_DIR/program/bootstrap$(MY_INI):UserInstallation}' \
>> $(MISC)/unitdata/basis/program/uno$(MY_INI)
mkdir $(MISC)/unitdata/basis/share
mkdir $(MISC)/unitdata/basis/share/registry
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 0cacc9759e13..af9b846916de 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -515,18 +515,6 @@ Components::Components(
expand(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/registry"))));
- parseXcsXcuLayer(
- 4,
- expand(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "$BRAND_BASE_DIR/share/registry"))));
- parseModuleLayer(
- 6,
- expand(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "$BRAND_BASE_DIR/share/registry/modules"))));
parseXcsXcuIniLayer(
7,
expand(
@@ -829,7 +817,7 @@ rtl::OUString Components::getModificationFileUrl() const {
return expand(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap")
+ "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap")
":UserInstallation}/user/registrymodifications.xcu")));
}
@@ -850,7 +838,7 @@ void Components::parseModificationLayer() {
expand(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap")
+ "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap")
":UserInstallation}/user/registry/data"))),
false);
}
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx
index 37085b1d7cb7..c83cc7a841a7 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx
@@ -122,13 +122,7 @@ sal_Bool MNS_InitXPCOM(sal_Bool* aProfileExists)
{
nsCOMPtr<nsILocalFile> binDir;
// Note: if path3 construction fails, mozilla will default to using MOZILLA_FIVE_HOME in the NS_InitXPCOM2()
- rtl::OUString path1(
-#if defined WNT
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program")
-#else
- RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program")
-#endif
- );
+ rtl::OUString path1( RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program") );
rtl::Bootstrap::expandMacros(path1);
rtl::OString path2;
if ((osl::FileBase::getSystemPathFromFileURL(path1, path1) ==
diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp
index 7d531e7f5d58..8521a2ce2d66 100644
--- a/crashrep/source/win32/soreport.cpp
+++ b/crashrep/source/win32/soreport.cpp
@@ -179,7 +179,7 @@ static FILE *_tmpfile(void)
static BOOL GetCrashDataPath( LPTSTR szBuffer )
{
- ::rtl::OUString ustrValue = ::rtl::OUString::createFromAscii("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}");
+ ::rtl::OUString ustrValue = ::rtl::OUString::createFromAscii("${$OOO_BASE_DIR/program/bootstrap.ini:UserInstallation}");
::rtl::Bootstrap::expandMacros( ustrValue );
if ( ustrValue.getLength() )
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index b76deb2633cb..3b586d07b7fc 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -71,7 +71,7 @@
#define NOTICE_FILE "NOTICE" FILE_EXTENSION
// Dir where the files are located
-#define BRAND_DIR_SHARE_README "${BRAND_BASE_DIR}/share/readme/"
+#define OOO_DIR_SHARE_README "${OOO_BASE_DIR}/share/readme/"
using namespace com::sun::star;
@@ -219,13 +219,13 @@ namespace
maTabCtrl.Show();
// Notice and License are not localized
- const rtl::OUString sLicense( RTL_CONSTASCII_USTRINGPARAM( BRAND_DIR_SHARE_README LICENSE_FILE ) );
- const rtl::OUString sNotice( RTL_CONSTASCII_USTRINGPARAM( BRAND_DIR_SHARE_README NOTICE_FILE ) );
+ const rtl::OUString sLicense( RTL_CONSTASCII_USTRINGPARAM( OOO_DIR_SHARE_README LICENSE_FILE ) );
+ const rtl::OUString sNotice( RTL_CONSTASCII_USTRINGPARAM( OOO_DIR_SHARE_README NOTICE_FILE ) );
// get localized README
rtl::OUStringBuffer aBuff;
lang::Locale aLocale = Application::GetSettings().GetUILocale();
- aBuff.appendAscii( RTL_CONSTASCII_STRINGPARAM( BRAND_DIR_SHARE_README README_FILE "_" ) );
+ aBuff.appendAscii( RTL_CONSTASCII_STRINGPARAM( OOO_DIR_SHARE_README README_FILE "_" ) );
aBuff.append( aLocale.Language );
if ( aLocale.Country.getLength() )
{
@@ -350,6 +350,7 @@ void AboutDialog::ApplyStyleSettings()
Color aWindowColor( rSettings.GetWindowColor() );
Wallpaper aWall( aWindowColor );
SetBackground( aWall );
+
Font aNewFont( maCopyrightEdit.GetFont() );
aNewFont.SetTransparent( sal_True );
@@ -517,6 +518,13 @@ sal_Bool AboutDialog::Close()
void AboutDialog::Paint( const Rectangle& rRect )
{
SetClipRegion( rRect );
+
+ // workaround to ensure that the background is painted correct
+ // on MacOS for exmaple the background was grey and the image and other controls white
+ SetFillColor(GetSettings().GetStyleSettings().GetWindowColor());
+ SetLineColor();
+ DrawRect(rRect);
+
DrawImage( maMainLogoPos, maMainLogo );
DrawImage( maAppLogoPos, maAppLogo );
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index c8d1bfae01f0..c562b545b184 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -81,21 +81,20 @@ for sd_arg in "$@"; do
;;
esac
done
-"$sd_prog/../basis-link/program/pagein" -L"$sd_prog/../basis-link/program" \
+"$sd_prog/pagein" -L"$sd_prog" \
${sd_pagein_args}
# extend the ld_library_path for java: javaldx checks the sofficerc for us
-if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
+if [ -x "$sd_prog/javaldx" ] ; then
# this is a temporary hack until we can live with the default search paths
case "`uname -s`" in
FreeBSD)
- sd_prog1="$sd_prog/../basis-link/program"
- sd_prog2="$sd_prog/../basis-link/ure-link/lib"
- LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
+ sd_prog1="$sd_prog"
+ LD_LIBRARY_PATH=$sd_prog1:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH
;;
esac
- my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
+ my_path=`"$sd_prog/javaldx" $BOOTSTRAPVARS \
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
if [ -n "$my_path" ] ; then
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 3128be3cb372..e010f121b23a 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -589,7 +589,7 @@ static bool needsSynchronization(
static ::rtl::OUString getBrandSharePreregBundledPathURL()
{
::rtl::OUString url(
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/prereg/bundled"));
+ RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/prereg/bundled"));
::rtl::Bootstrap::expandMacros(url);
return url;
@@ -883,7 +883,7 @@ static bool needsInstallBundledExtensionBlobs (
// install bundled but non-pre-registered extension blobs
static void installBundledExtensionBlobs()
{
- rtl::OUString aDirUrl( OUSTR("$BRAND_BASE_DIR/share/extensions/install"));
+ rtl::OUString aDirUrl( OUSTR("$OOO_BASE_DIR/share/extensions/install"));
::rtl::Bootstrap::expandMacros( aDirUrl);
::osl::Directory aDir( aDirUrl);
diff --git a/desktop/source/app/appfirststart.cxx b/desktop/source/app/appfirststart.cxx
index c08b73cb2c29..f2e5ca3cb8e5 100644
--- a/desktop/source/app/appfirststart.cxx
+++ b/desktop/source/app/appfirststart.cxx
@@ -61,7 +61,7 @@ OUString Desktop::GetLicensePath()
if (aLicensePath.getLength() > 0)
return aLicensePath;
- OUString aBaseInstallPath(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
+ OUString aBaseInstallPath(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR"));
rtl::Bootstrap::expandMacros(aBaseInstallPath);
// determine the filename of the license to show
diff --git a/desktop/source/deployment/misc/dp_update.cxx b/desktop/source/deployment/misc/dp_update.cxx
index db99dc6d9154..69cea69a0d99 100644
--- a/desktop/source/deployment/misc/dp_update.cxx
+++ b/desktop/source/deployment/misc/dp_update.cxx
@@ -237,7 +237,7 @@ OUString getExtensionDefaultUpdateURL()
{
::rtl::OUString sUrl(
RTL_CONSTASCII_USTRINGPARAM(
- "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version")
+ "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version")
":Version:ExtensionUpdateURL}"));
::rtl::Bootstrap::expandMacros(sUrl);
return sUrl;
diff --git a/desktop/source/deployment/registry/sfwk/dp_sfwk.cxx b/desktop/source/deployment/registry/sfwk/dp_sfwk.cxx
index cf3bcf48619f..f4642dda1d99 100755
--- a/desktop/source/deployment/registry/sfwk/dp_sfwk.cxx
+++ b/desktop/source/deployment/registry/sfwk/dp_sfwk.cxx
@@ -197,10 +197,10 @@ BackendImpl::BackendImpl(
{
OUString basic_path(
m_eContext == CONTEXT_USER
- ? OUSTR("vnd.sun.star.expand:${$BRAND_BASE_DIR/program/"
+ ? OUSTR("vnd.sun.star.expand:${$OOO_BASE_DIR/program/"
SAL_CONFIGFILE("bootstrap")
":UserInstallation}/user/basic")
- : OUSTR("vnd.sun.star.expand:${$BRAND_BASE_DIR/program/"
+ : OUSTR("vnd.sun.star.expand:${$OOO_BASE_DIR/program/"
SAL_CONFIGFILE("bootstrap")
":BaseInstallation}/share/basic") );
m_basic_script_libs.reset(
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index d67ca598d65e..d7ec7fe3162a 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -391,10 +391,10 @@ extern "C" int unopkg_main()
//bootstrapped. Otherwies files could be locked by this process.
//If there is no folder left in
- //$BRAND_BASE_DIR/share/extensions
+ //$OOO_BASE_DIR/share/extensions
//then we can delete the registration data at
//$BUNDLED_EXTENSIONS_USER
- if (hasNoFolder(OUSTR("$BRAND_BASE_DIR/share/extensions")))
+ if (hasNoFolder(OUSTR("$OOO_BASE_DIR/share/extensions")))
{
removeFolder(OUSTR("$BUNDLED_EXTENSIONS_PREREG"));
//return otherwise we create the registration data again
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
index f8fdd9f37e0e..8e63a5c395e3 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
@@ -451,7 +451,7 @@ Reference<XComponentContext> connectToOffice(
OUString getLockFilePath()
{
OUString ret;
- OUString sBootstrap(RTL_CONSTASCII_USTRINGPARAM("${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}"));
+ OUString sBootstrap(RTL_CONSTASCII_USTRINGPARAM("${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}"));
rtl::Bootstrap::expandMacros(sBootstrap);
OUString sAbs;
if (::osl::File::E_None == ::osl::File::getAbsoluteFileURL(
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 909b206f2dea..7546e3e6d2b3 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -279,7 +279,7 @@ OUString implReadBootstrapKey( const OUString& _rKey )
OUString sValue(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${.override:${BRAND_BASE_DIR}/program/edition/edition.ini:")) +
+ "${.override:${OOO_BASE_DIR}/program/edition/edition.ini:")) +
_rKey + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("}")));
rtl::Bootstrap::expandMacros(sValue);
return sValue;
@@ -391,7 +391,7 @@ void SplashScreen::initBitmap()
{
OUString sExecutePath;
::rtl::Bootstrap::get(
- OUString( RTL_CONSTASCII_USTRINGPARAM( "BRAND_BASE_DIR" ) ),
+ OUString( RTL_CONSTASCII_USTRINGPARAM( "OOO_BASE_DIR" ) ),
sExecutePath );
sExecutePath += OUString( RTL_CONSTASCII_USTRINGPARAM( "/program/" ) );
@@ -410,7 +410,7 @@ void SplashScreen::initBitmap()
rtl::OUString edition(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${BRAND_BASE_DIR}/program/edition")));
+ "${OOO_BASE_DIR}/program/edition")));
rtl::Bootstrap::expandMacros(edition);
haveBitmap = findBitmap(edition);
}
diff --git a/desktop/win32/source/extendloaderenvironment.cxx b/desktop/win32/source/extendloaderenvironment.cxx
index 42260fa0d083..6dd656f8bc5c 100644
--- a/desktop/win32/source/extendloaderenvironment.cxx
+++ b/desktop/win32/source/extendloaderenvironment.cxx
@@ -145,18 +145,19 @@ void extendLoaderEnvironment(WCHAR * binPath, WCHAR * iniDirectory) {
exclude1 = true;
}
WCHAR * pad2 = exclude1 ? pad : padEnd + 1;
- pathEnd = tools::buildPath(path, path, pathEnd, MY_STRING(L"\\ure-link"));
+// pathEnd = tools::buildPath(path, path, pathEnd, MY_STRING(L"\\ure-link"));
+ pathEnd = tools::buildPath(path, path, pathEnd, MY_STRING(L""));
if (pathEnd == NULL) {
fail();
}
- pathEnd = tools::resolveLink(path);
- if (pathEnd == NULL) {
- fail();
- }
- padEnd = tools::buildPath(pad2, path, pathEnd, MY_STRING(L"\\bin"));
- if (padEnd == NULL) {
- fail();
- }
+ // pathEnd = tools::resolveLink(path);
+ // if (pathEnd == NULL) {
+ // fail();
+ // }
+ // padEnd = tools::buildPath(pad2, path, pathEnd, MY_STRING(L"\\bin"));
+ // if (padEnd == NULL) {
+ // fail();
+ // }
bool exclude2 = contains(env, pad2, padEnd);
if (!(exclude1 && exclude2)) {
if (!(exclude1 || exclude2)) {
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 58f180dc50c1..642d7940291f 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -120,7 +120,7 @@ static inline rtl::OUString getBuildId()
//------------------------------------------------------------------------------
static inline rtl::OUString getBaseInstallation()
{
- rtl::OUString aPathVal(UNISTRING("${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":BaseInstallation}"));
+ rtl::OUString aPathVal(UNISTRING("${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":BaseInstallation}"));
rtl::Bootstrap::expandMacros(aPathVal);
return aPathVal;
}
diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx
index e73dc33ca6b9..b9a2eee51362 100755
--- a/extensions/source/update/check/updateprotocol.cxx
+++ b/extensions/source/update/check/updateprotocol.cxx
@@ -66,12 +66,12 @@ getBootstrapData(
if ( ! rBuildID.getLength() )
return false;
- rInstallSetID = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateID}" );
+ rInstallSetID = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateID}" );
rtl::Bootstrap::expandMacros( rInstallSetID );
if ( ! rInstallSetID.getLength() )
return false;
- rtl::OUString aValue( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateURL}" ) );
+ rtl::OUString aValue( UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateURL}" ) );
rtl::Bootstrap::expandMacros( aValue );
if( aValue.getLength() > 0 )
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 06b8d3d8996a..2355d5b546dd 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -357,7 +357,7 @@ UpdateInformationProvider::UpdateInformationProvider(
UNISTRING("ooSetupVersion")));
rtl::OUString edition(
UNISTRING(
- "${${BRAND_BASE_DIR}/program/edition/edition.ini:"
+ "${${OOO_BASE_DIR}/program/edition/edition.ini:"
"EDITIONNAME}"));
rtl::Bootstrap::expandMacros(edition);
if (edition.getLength() != 0) {
@@ -378,10 +378,11 @@ UpdateInformationProvider::UpdateInformationProvider(
rtl::OUString aBaseBuildId( UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}" ) );
rtl::Bootstrap::expandMacros( aBaseBuildId );
- rtl::OUString aBrandBuildId( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}" ) );
- rtl::Bootstrap::expandMacros( aBrandBuildId );
+ rtl::OUString aBrandBuildId(aBaseBuildId);
+ // rtl::OUString aBrandBuildId( UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}" ) );
+ // rtl::Bootstrap::expandMacros( aBrandBuildId );
- rtl::OUString aUserAgent( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateUserAgent}" ) );
+ rtl::OUString aUserAgent( UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateUserAgent}" ) );
rtl::Bootstrap::expandMacros( aUserAgent );
if ( ! aBaseBuildId.equals( aBrandBuildId ) )
diff --git a/filter/source/msfilter/msocximex.cxx b/filter/source/msfilter/msocximex.cxx
index 11441009dade..2ba2f036c04d 100644
--- a/filter/source/msfilter/msocximex.cxx
+++ b/filter/source/msfilter/msocximex.cxx
@@ -5306,7 +5306,7 @@ sal_Bool OCX_Image::Read(SotStorageStream *pS)
pS->Seek( imagePos );
- sImageUrl = C2U("vnd.sun.star.expand:${$BRAND_BASE_DIR/program/") + C2U( SAL_CONFIGFILE( "bootstrap" ) ) + C2U("::UserInstallation}/user/temp/") + sName;
+ sImageUrl = C2U("vnd.sun.star.expand:${$OOO_BASE_DIR/program/") + C2U( SAL_CONFIGFILE( "bootstrap" ) ) + C2U("::UserInstallation}/user/temp/") + sName;
sal_uInt8* pImage = new sal_uInt8[ nImageLen ];
pS->Read(pImage, nImageLen);
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 190fd3b9f378..c4debde83410 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1242,7 +1242,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_TEMP ] = ConvertOSLtoUCBURL( aTmp );
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
+ RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR"));
rtl::Bootstrap::expandMacros(
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
}
diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk
index 3472278b6ae3..a4839dd9290f 100644
--- a/instsetoo_native/util/makefile.mk
+++ b/instsetoo_native/util/makefile.mk
@@ -82,7 +82,8 @@ ALLTAR : $(LOCALPYFILES)
.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
ALLTAR : openoffice
.ELSE
-ALLTAR : openoffice sdkoo_en-US ure_en-US
+ALLTAR : openoffice sdkoo_en-US
+#ALLTAR : openoffice sdkoo_en-US ure_en-US
.ENDIF
.ELSE # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
ALLTAR : updatepack
@@ -138,24 +139,24 @@ sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
-ure: $(foreach,i,$(alllangiso) ure_$i)
+#ure: $(foreach,i,$(alllangiso) ure_$i)
MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
-MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
+#MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
.IF "$(BUILD_SPECIAL)"!=""
MSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
MSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
-MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
+#MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
MSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
.ELSE # "$(BUILD_SPECIAL)"!=""
NOLOGOSPLASH:=$(BIN)$/intro.zip
DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
-MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
+#MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
ADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
@@ -179,7 +180,7 @@ $(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS)
$(foreach,i,$(alllangiso) sdkoodev_$i) : $(ADDDEPS)
-$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
+#$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
.IF "$(MAKETARGETS)"!=""
$(MAKETARGETS) : $(ADDDEPS)
@@ -223,16 +224,16 @@ $(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
sdkoodev_%{$(PKGFORMAT:^".")} :
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p Apache_OpenOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
-$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
-ure_%{$(PKGFORMAT:^".")} :
-.IF "$(OS)" == "MACOSX"
- @echo 'for now, there is no standalone URE for Mac OS X'
-.ELSE
- $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst \
- -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) -format $(@:e:s/.//) $(VERBOSESWITCH) \
- -msitemplate $(MSIURETEMPLATEDIR) \
- -msilanguage $(MISC)$/win_ulffiles
-.ENDIF
+#$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
+#ure_%{$(PKGFORMAT:^".")} :
+#.IF "$(OS)" == "MACOSX"
+# @echo 'for now, there is no standalone URE for Mac OS X'
+#.ELSE
+# $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.#lst \
+# -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) -#format $(@:e:s/.//) $(VERBOSESWITCH) \
+# -msitemplate $(MSIURETEMPLATEDIR) \
+# -msilanguage $(MISC)$/win_ulffiles
+#.ENDIF
.IF "$(MAKETARGETS)"!=""
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
@@ -254,37 +255,39 @@ $(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewi
$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
@$(COPY) $< $@
-$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_nologo$/intro.zip
+#$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_nologo$/intro.zip
+$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
$(COPY) $< $@
-$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev_nologo$/intro.zip
+#$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev_nologo$/intro.zip
+$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
@-$(MKDIR) $(@:d)
$(COPY) $< $@
hack_msitemplates .PHONY:
-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)
-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)
- -$(MKDIRHIER) $(MSIURETEMPLATEDIR)
+# -$(MKDIRHIER) $(MSIURETEMPLATEDIR)
-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)
-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)$/Binary
-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)$/Binary
- -$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary
+# -$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary
-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)$/Binary
$(GNUCOPY) $(MSIOFFICETEMPLATESOURCE)$/*.* $(MSIOFFICETEMPLATEDIR)
$(GNUCOPY) $(MSILANGPACKTEMPLATESOURCE)$/*.* $(MSILANGPACKTEMPLATEDIR)
- $(GNUCOPY) $(MSIURETEMPLATESOURCE)$/*.* $(MSIURETEMPLATEDIR)
+# $(GNUCOPY) $(MSIURETEMPLATESOURCE)$/*.* $(MSIURETEMPLATEDIR)
$(GNUCOPY) $(MSISDKOOTEMPLATESOURCE)$/*.* $(MSISDKOOTEMPLATEDIR)
$(GNUCOPY) $(MSIOFFICETEMPLATESOURCE)$/Binary$/*.* $(MSIOFFICETEMPLATEDIR)$/Binary
$(GNUCOPY) $(MSILANGPACKTEMPLATESOURCE)$/Binary$/*.* $(MSILANGPACKTEMPLATEDIR)$/Binary
- $(GNUCOPY) $(MSIURETEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary
+# $(GNUCOPY) $(MSIURETEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary
$(GNUCOPY) $(MSISDKOOTEMPLATESOURCE)$/Binary$/*.* $(MSISDKOOTEMPLATEDIR)$/Binary
$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
- $(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
+# $(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
- $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
+# $(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index fe244c7d15cb..ed2fd0fae020 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -35,6 +35,24 @@ GTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES)
.END
my_components = \
+ acceptor \
+ binaryurp \
+ bootstrap \
+ connector \
+ introspection \
+ invocadapt \
+ invocation \
+ javaloader \
+ javavm \
+ juh \
+ namingservice \
+ proxyfac \
+ reflection \
+ stocservices \
+ streams \
+ textinstream \
+ textoutstream \
+ uuresolver \
abp \
adabasui \
analysis \
@@ -110,6 +128,7 @@ my_components = \
lnth \
localebe1 \
log \
+ mailmerge \
mcnttype \
migrationoo2 \
msfilter \
diff --git a/postprocess/packregistry/makefile.mk b/postprocess/packregistry/makefile.mk
index 3241f7fb80ba..52e165b1546b 100644
--- a/postprocess/packregistry/makefile.mk
+++ b/postprocess/packregistry/makefile.mk
@@ -63,15 +63,15 @@ MY_FILES_base = \
$(MY_MOD)/org/openoffice/Office/Common-base.xcu \
$(MY_MOD)/org/openoffice/Setup-base.xcu
-MY_FILES_brand = \
- $(MY_XCU)/Office/Compatibility.xcu \
- $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
- $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
- $(MY_MOD)/org/openoffice/Setup-brand.xcu
-.IF "$(ENABLE_SVCTAGS)" == "YES"
-MY_FILES_brand += \
- $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
-.END
+#MY_FILES_brand = \
+# $(MY_XCU)/Office/Compatibility.xcu \
+# $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
+# $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
+# $(MY_MOD)/org/openoffice/Setup-brand.xcu
+#.IF "$(ENABLE_SVCTAGS)" == "YES"
+#MY_FILES_brand += \
+# $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
+#.END
MY_DEPS_calc = main
MY_FILES_calc = \
@@ -230,6 +230,7 @@ MY_FILES_main = \
$(MY_XCU)/Office/Calc.xcu \
$(MY_XCU)/Office/Canvas.xcu \
$(MY_XCU)/Office/Common.xcu \
+ $(MY_XCU)/Office/Compatibility.xcu \
$(MY_XCU)/Office/DataAccess.xcu \
$(MY_XCU)/Office/Embedding.xcu \
$(MY_XCU)/Office/ExtensionDependencies.xcu \
@@ -289,13 +290,20 @@ MY_FILES_main = \
$(MY_MOD)/fcfg_chart_types.xcu \
$(MY_MOD)/fcfg_internalgraphics_filters.xcu \
$(MY_MOD)/fcfg_internalgraphics_types.xcu \
+ $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-chart.xcu \
+ $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
+ $(MY_MOD)/org/openoffice/Setup-brand.xcu \
$(MY_MOD)/org/openoffice/Setup-start.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
+.IF "$(ENABLE_SVCTAGS)" == "YES"
+MY_FILES_main += \
+ $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
+.END
.IF "$(GUIBASE)" == "aqua"
MY_FILES_main += \
$(MY_MOD)/DataAccess/macab.xcu \
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index d6852e0d67bf..9a0ce703838a 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -737,7 +737,7 @@ static int ReportCrash( int Signal )
rtl_string2UString(
&crashrep_url,
RTL_CONSTASCII_USTRINGPARAM(
- "$BRAND_BASE_DIR/program/crashrep"),
+ "$OOO_BASE_DIR/program/crashrep"),
OSTRING_TO_OUSTRING_CVTFLAGS);
rtl_bootstrap_expandMacros(&crashrep_url);
osl_getSystemPathFromFileURL(crashrep_url, &crashrep_path);
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 64bb55473acb..2e5065571fa9 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -43,8 +43,8 @@ Module gid_Module_Root_Brand
gid_Brand_Dir_Share_Uno_Packages_Cache,
gid_Brand_Dir_Share_Registry,
gid_Brand_Dir_Share_Xdg);
- Files = (gid_Brand_File_BasisLink,
- gid_Brand_File_Bin_Crashreport,
+ // Files = (gid_Brand_File_BasisLink,
+ Files = (gid_Brand_File_Bin_Crashreport,
gid_Brand_File_Bin_Crashreport_Script,
gid_Brand_File_Bin_Crashreport_Com,
gid_Brand_File_Bin_Python,
@@ -73,8 +73,8 @@ Module gid_Module_Root_Brand
gid_Brand_File_Lib_Oirm2,
gid_Brand_File_Msvcm80crt_Manifest,
gid_Brand_File_Lib_Npsoplugin,
- gid_Brand_File_ServicesRdb,
- gid_Brand_File_Share_Registry_Brand_Xcd,
+// gid_Brand_File_ServicesRdb,
+// gid_Brand_File_Share_Registry_Brand_Xcd,
gid_Brand_File_Share_Registry_O5oo_Xcd,
gid_Brand_File_Script_Unopkg,
gid_Brand_File_Share_Xdg_Base,
@@ -89,10 +89,12 @@ Module gid_Module_Root_Brand
gid_Brand_File_Share_Xdg_StartCenter,
gid_Brand_File_Share_Xdg_Writer,
gid_Brand_File_Txt_Package);
- Unixlinks = (gid_Brand_Unixlink_BasisLink,
- gid_Brand_Unixlink_Program,
- gid_Brand_Unixlink_Unopkg,
- gid_Brand_Unixlink_Urelibs);
+ Unixlinks = (gid_Brand_Unixlink_Program,
+ gid_Brand_Unixlink_Unopkg);
+// Unixlinks = (gid_Brand_Unixlink_BasisLink,
+// gid_Brand_Unixlink_Program,
+// gid_Brand_Unixlink_Unopkg,
+// gid_Brand_Unixlink_Urelibs);
End
// Language specific brand module
@@ -139,7 +141,7 @@ End
Directory gid_Brand_Dir_Readme
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Dir_Bundle_Contents;
#else
ParentID = gid_Dir_Brand_Root;
#endif
@@ -148,7 +150,7 @@ End
Directory gid_Brand_Dir_License
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Dir_Bundle_Contents;
#else
ParentID = gid_Dir_Brand_Root;
#endif
@@ -246,28 +248,29 @@ End
// Link to basis
-#if defined(WNT) || defined(OS2)
-File gid_Brand_File_BasisLink
- TXT_FILE_BODY;
- Dir = gid_Dir_Brand_Root;
- Name = "basis-link";
- Styles = (PACKED);
-End
-#elif defined MACOSX
-Directory gid_Brand_Dir_BasisLink
- ParentID = gid_Dir_Bundle_Contents;
- DosName = "basis-link";
-End
-#else
-Unixlink gid_Brand_Unixlink_BasisLink
- BIN_FILE_BODY;
- Styles = ();
- // Styles = (LAYERLINK);
- Name = "basis-link";
- Dir = gid_Dir_Brand_Root;
- Target = "../${UNIXBASISROOTNAME}/basis${OOOBASEVERSION}";
-End
-#endif
+//#if defined(WNT) || defined(OS2)
+//File gid_Brand_File_BasisLink
+// TXT_FILE_BODY;
+// Dir = gid_Dir_Brand_Root;
+// Name = "basis-link";
+// Styles = (PACKED);
+//End
+//#elif defined MACOSX
+//Directory gid_Brand_Dir_BasisLink
+// ParentID = gid_Dir_Bundle_Contents;
+// DosName = "";
+//// DosName = "basis-link";
+//End
+//#else
+//Unixlink gid_Brand_Unixlink_BasisLink
+// BIN_FILE_BODY;
+// Styles = ();
+// // Styles = (LAYERLINK);
+// Name = "basis-link";
+// Dir = gid_Dir_Brand_Root;
+// Target = "../${UNIXBASISROOTNAME}/basis${OOOBASEVERSION}";
+//End
+//#endif
// UnixLinks
@@ -473,12 +476,12 @@ File gid_Brand_File_Txt_Package
Styles = (PACKED);
End
-File gid_Brand_File_Share_Registry_Brand_Xcd
- TXT_FILE_BODY;
- Styles = (PACKED, SCPZIP_REPLACE);
- Dir = gid_Brand_Dir_Share_Registry;
- Name = "brand.xcd";
-End
+#File gid_Brand_File_Share_Registry_Brand_Xcd
+# TXT_FILE_BODY;
+# Styles = (PACKED, SCPZIP_REPLACE);
+# Dir = gid_Brand_Dir_Share_Registry;
+# Name = "brand.xcd";
+#End
File gid_Brand_File_Share_Registry_Cjk_Xcd
TXT_FILE_BODY;
@@ -723,11 +726,13 @@ Profile gid_Brand_Profile_Version_Ini
Styles = (NETWORK);
End
+#ifdef JSC
Profile gid_Brand_Profile_Fundamental_Ini
ModuleID = gid_Module_Root_Brand;
Name = PROFILENAME(fundamental);
Dir = gid_Brand_Dir_Program;
End
+#endif
#if !defined MACOSX
Profile gid_Brand_Profile_Redirect_Ini
@@ -1025,6 +1030,15 @@ ProfileItem gid_Brand_Profileitem_Version_Ooobaseversion
Value = "${OOOBASEVERSION}";
End
+ProfileItem gid_Brand_Profileitem_Version_Ooopackageversion
+ ProfileID = gid_Brand_Profile_Version_Ini;
+ ModuleID = gid_Module_Root_Brand;
+ Section = "Version";
+ Order = 18;
+ Key = "OOOPackageVersion";
+ Value = "${OOOPACKAGEVERSION}";
+End
+
ProfileItem gid_Brand_Profileitem_Version_Extensionupdateurl
ProfileID = gid_Brand_Profile_Version_Ini;
ModuleID = gid_Module_Root_Brand;
@@ -1034,6 +1048,8 @@ ProfileItem gid_Brand_Profileitem_Version_Extensionupdateurl
Value = "http://updateexte.services.openoffice.org/ExtensionUpdateService/check.Update";
End
+#ifdef JSC
+
ProfileItem gid_Brand_Profileitem_Fundamental_Brand_Base_Dir
ModuleID = gid_Module_Root_Brand;
ProfileID = gid_Brand_Profile_Fundamental_Ini;
@@ -1048,9 +1064,11 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ooo_Base_Dir
Section = "Bootstrap";
Key = "OOO_BASE_DIR";
#if defined(WNT) || defined(OS2)
- Value = "${.link:${BRAND_BASE_DIR}/basis-link}";
+ Value = "${BRAND_BASE_DIR}";
+// Value = "${.link:${BRAND_BASE_DIR}/basis-link}";
#else
- Value = "${BRAND_BASE_DIR}/basis-link";
+ Value = "${BRAND_BASE_DIR}";
+// Value = "${BRAND_BASE_DIR}/basis-link";
#endif
End
@@ -1182,6 +1200,8 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Lib_Dir
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_LIB_DIR}";
End
+#endif # JSC
+
#if !defined MACOSX
ProfileItem gid_Brand_Profileitem_Redirect_Ure_Bootstrap
ModuleID = gid_Module_Root_Brand;
diff --git a/scp2/source/ooo/directory_ooo.scp b/scp2/source/ooo/directory_ooo.scp
index 389351e02477..288c87a15bd9 100644
--- a/scp2/source/ooo/directory_ooo.scp
+++ b/scp2/source/ooo/directory_ooo.scp
@@ -69,36 +69,47 @@ End
Directory gid_Dir_Ooo_Openofficeorg
ParentID = PREDEFINED_PROGDIR;
#if defined(WNT) || defined(OS2)
- HostName = "${BASISROOTNAME}";
+ HostName = "${PRODUCTNAME} ${BRANDPACKAGEVERSION}";
#else
- HostName = "${UNIXBASISROOTNAME}";
+ HostName = "${UNIXPRODUCTNAME}${BRANDPACKAGEVERSION}";
#endif
+// ParentID = PREDEFINED_PROGDIR;
+// #if defined(WNT) || defined(OS2)
+// HostName = "${BASISROOTNAME}";
+// #else
+// HostName = "${UNIXBASISROOTNAME}";
+// #endif
End
#endif
#ifndef MACOSX
Directory gid_Dir_Ooo_Basis
- #if defined(WNT) || defined(OS2)
- ParentID = gid_Dir_Brand_Root;
- #else
ParentID = gid_Dir_Ooo_Openofficeorg;
- #endif
- #if defined(WNT) || defined(OS2)
- HostName = "Basis";
- #else
- HostName = "basis${OOOBASEVERSION}";
- #endif
+ HostName = "";
Styles = (BASISDIRECTORY);
+// #if defined(WNT) || defined(OS2)
+// ParentID = gid_Dir_Brand_Root;
+// #else
+// ParentID = gid_Dir_Ooo_Openofficeorg;
+// #endif
+// #if defined(WNT) || defined(OS2)
+// HostName = "";
+// #else
+// HostName = "basis${OOOBASEVERSION}";
+// #endif
+// Styles = (BASISDIRECTORY);
End
#endif
Directory gid_Dir_Program
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Brand_Dir_Program;
+// ParentID = gid_Brand_Dir_BasisLink;
#else
- ParentID = gid_Dir_Ooo_Basis;
+ ParentID = gid_Brand_Dir_Program;
+// ParentID = gid_Dir_Ooo_Basis;
#endif
- DosName = "program";
+ DosName = "";
End
#if defined MACOSX
@@ -163,7 +174,7 @@ End
Directory gid_Dir_User
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Dir_Bundle_Contents;
#else
ParentID = gid_Dir_Ooo_Basis;
#endif
@@ -342,7 +353,7 @@ End
Directory gid_Dir_Share
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Dir_Bundle_Contents;
#else
ParentID = gid_Dir_Ooo_Basis;
#endif
@@ -1236,18 +1247,26 @@ Directory gid_Dir_Share_Fingerprint
DosName = "fingerprint";
End
+
+#ifndef MACOSX
Directory gid_Dir_Basis_Sdk
-#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
-#else
ParentID = gid_Dir_Ooo_Basis;
-#endif
DosName = "sdk";
End
+#endif
+
+//Directory gid_Dir_Basis_Sdk
+//#if defined MACOSX
+// ParentID = gid_Brand_Dir_BasisLink;
+//#else
+// ParentID = gid_Dir_Ooo_Basis;
+//#endif
+// DosName = "sdk";
+//End
Directory gid_Dir_Help
#if defined MACOSX
- ParentID = gid_Brand_Dir_BasisLink;
+ ParentID = gid_Dir_Bundle_Contents;
#else
ParentID = gid_Dir_Ooo_Basis;
#endif
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index ac313ed72bd5..49f29b2d4a95 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -1129,7 +1129,8 @@ File gid_File_Rdb_Offapi
TXT_FILE_BODY;
Dir = gid_Dir_Program;
Styles = (PACKED);
- Name = "offapi.rdb";
+ Name = "types.rdb";
+// Name = "offapi.rdb";
End
File gid_File_Rdb_TypesVba
diff --git a/scp2/source/ooo/makefile.mk b/scp2/source/ooo/makefile.mk
index dd1559ca8ff7..0e219ef07069 100644
--- a/scp2/source/ooo/makefile.mk
+++ b/scp2/source/ooo/makefile.mk
@@ -348,10 +348,12 @@ PARFILES= \
profileitem_ooo.par \
ure.par \
ure_into_ooo.par \
- ure_standalone.par \
+ ure_standalone.par \
+ common_brand.par \
common_brand.par \
common_brand_readme.par \
- ooo_brand.par
+ ooo_brand.par
+
.IF "$(GUI)"=="WNT"
PARFILES += \
diff --git a/scp2/source/ooo/ooo_brand.scp b/scp2/source/ooo/ooo_brand.scp
index 27cb37a5903a..fc617ad70a67 100644
--- a/scp2/source/ooo/ooo_brand.scp
+++ b/scp2/source/ooo/ooo_brand.scp
@@ -53,12 +53,12 @@ File gid_File_Txt_License_Root
Styles = (PACKED);
End
-File gid_Brand_File_ServicesRdb
- TXT_FILE_BODY;
- Dir = gid_Brand_Dir_Program;
- Name = "/ooo/services.rdb";
- Styles = (PACKED);
-End
+//File gid_Brand_File_ServicesRdb
+// TXT_FILE_BODY;
+// Dir = gid_Brand_Dir_Program;
+// Name = "/ooo/services.rdb";
+// Styles = (PACKED);
+//End
ProfileItem gid_Brand_Profileitem_Bootstrap_Errorreport_Server
ProfileID = gid_Brand_Profile_Bootstrap_Ini;
diff --git a/scp2/source/ooo/profile_ooo.scp b/scp2/source/ooo/profile_ooo.scp
index 7bc1c150fd98..8ac3bb206374 100644
--- a/scp2/source/ooo/profile_ooo.scp
+++ b/scp2/source/ooo/profile_ooo.scp
@@ -43,6 +43,7 @@ End
Profile gid_Profile_Fundamentalbasis_Ini
ModuleID = gid_Module_Root;
- Name = PROFILENAME(fundamentalbasis);
+ Name = PROFILENAME(fundamental);
+// Name = PROFILENAME(fundamentalbasis);
Dir = gid_Dir_Program;
End
diff --git a/scp2/source/ooo/profileitem_ooo.scp b/scp2/source/ooo/profileitem_ooo.scp
index e8dbda191426..f03e87de33b0 100644
--- a/scp2/source/ooo/profileitem_ooo.scp
+++ b/scp2/source/ooo/profileitem_ooo.scp
@@ -169,93 +169,137 @@ End
#endif
-ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions
+ProfileItem gid_Profileitem_Uno_Ure_Internal_Lib_Dir
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
Order = 1;
- Key = "BUNDLED_EXTENSIONS";
- Value = "$BRAND_BASE_DIR/share/extensions";
+ Key = "URE_INTERNAL_LIB_DIR";
+ Value = "${ORIGIN}";
End
-ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_User
+ProfileItem gid_Profileitem_Uno_Ure_Internal_Java_Dir
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
- Key = "BUNDLED_EXTENSIONS_USER";
- Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bundled";
+ Order = 2;
+ Key = "URE_INTERNAL_JAVA_DIR";
+ Value = "${ORIGIN}/classes";
+End
+
+ProfileItem gid_Profileitem_Uno_Ure_Internal_Java_Classpath
+ ProfileID = gid_Profile_Uno_Ini;
+ ModuleID = gid_Module_Root;
+ Section = "Bootstrap";
+ Order = 3;
+ Key = "URE_INTERNAL_JAVA_CLASSPATH";
+ Value = "${URE_MORE_JAVA_TYPES}";
+End
+
+ProfileItem gid_Profileitem_Uno_Uno_Types
+ ProfileID = gid_Profile_Uno_Ini;
+ ModuleID = gid_Module_Root;
+ Section = "Bootstrap";
+ Order = 4;
+ Key = "UNO_TYPES";
+ Value = "${ORIGIN}/types.rdb ${URE_MORE_TYPES}";
+End
+
+ProfileItem gid_Profileitem_Uno_Uno_Services
+ ProfileID = gid_Profile_Uno_Ini;
+ ModuleID = gid_Module_Root;
+ Section = "Bootstrap";
+ Order = 5;
+ Key = "UNO_SERVICES";
+ Value = "${ORIGIN}/services.rdb ${URE_MORE_SERVICES}";
+End
+
+ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions
+ ProfileID = gid_Profile_Uno_Ini;
+ ModuleID = gid_Module_Root;
+ Section = "Bootstrap";
+ Order = 6;
+ Key = "BUNDLED_EXTENSIONS";
+ Value = "$OOO_BASE_DIR/share/extensions";
End
ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_Prereg
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
+ Order = 7;
Key = "BUNDLED_EXTENSIONS_PREREG";
- Value = "$BRAND_BASE_DIR/share/prereg/bundled";
+ Value = "$OOO_BASE_DIR/share/prereg/bundled";
End
+ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_User
+ ProfileID = gid_Profile_Uno_Ini;
+ ModuleID = gid_Module_Root;
+ Section = "Bootstrap";
+ Order = 8;
+ Key = "BUNDLED_EXTENSIONS_USER";
+ Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bundled";
+End
ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
+ Order = 9;
Key = "UNO_SHARED_PACKAGES";
- Value = "$BRAND_BASE_DIR/share/uno_packages";
+ Value = "$OOO_BASE_DIR/share/uno_packages";
End
ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages_Cache
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 2;
+ Order = 10;
Key = "UNO_SHARED_PACKAGES_CACHE";
Value = "$UNO_SHARED_PACKAGES/cache";
End
-ProfileItem gid_Profileitem_Uno_Uno_Shared_Extensions_User
+ProfileItem gid_Profileitem_Uno_Uno_Bundled_Tmp_Extensions
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
- Key = "SHARED_EXTENSIONS_USER";
- Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/shared";
+ Order = 11;
+ Key = "TMP_EXTENSIONS";
+ Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/tmp";
End
-ProfileItem gid_Profileitem_Uno_Uno_User_Packages
+ProfileItem gid_Profileitem_Uno_Uno_Shared_Extensions_User
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 3;
- Key = "UNO_USER_PACKAGES";
- Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/uno_packages";
+ Order = 12;
+ Key = "SHARED_EXTENSIONS_USER";
+ Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/shared";
End
-ProfileItem gid_Profileitem_Uno_Uno_Bundled_Tmp_Extensions
+ProfileItem gid_Profileitem_Uno_Uno_User_Packages
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
- Key = "TMP_EXTENSIONS";
- Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/tmp";
+ Order = 13;
+ Key = "UNO_USER_PACKAGES";
+ Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/uno_packages";
End
ProfileItem gid_Profileitem_Uno_Uno_Bundled_Bak_Extensions
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 1;
+ Order = 14;
Key = "BAK_EXTENSIONS";
- Value = "${$BRAND_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bak";
+ Value = "${$OOO_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;
Section = "Bootstrap";
- Order = 4;
+ Order = 15;
Key = "UNO_USER_PACKAGES_CACHE";
Value = "$UNO_USER_PACKAGES/cache";
End
@@ -263,7 +307,7 @@ ProfileItem gid_Profileitem_Uno_Pkg_BundledUnoFile
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 5;
+ Order = 16;
Key = "PKG_BundledUnoFile";
Value = "$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
End
@@ -272,7 +316,7 @@ ProfileItem gid_Profileitem_Uno_Pkg_SharedUnoFile
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 5;
+ Order = 17;
Key = "PKG_SharedUnoFile";
Value = "$SHARED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
End
@@ -281,11 +325,30 @@ ProfileItem gid_Profileitem_Uno_Pkg_UserUnoFile
ProfileID = gid_Profile_Uno_Ini;
ModuleID = gid_Module_Root;
Section = "Bootstrap";
- Order = 6;
+ Order = 18;
Key = "PKG_UserUnoFile";
Value = "$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
End
+#ifdef JSC
+// JSC, will be removed soon
+ProfileItem gid_Profileitem_Fundamentalbasis_Brand_Base_Dir
+ ModuleID = gid_Module_Root;
+ ProfileID = gid_Profile_Fundamentalbasis_Ini;
+ Section = "Bootstrap";
+ Key = "BRAND_BASE_DIR";
+ Value = "${ORIGIN}/..";
+End
+#endif
+
+ProfileItem gid_Profileitem_Fundamentalbasis_Ooo_Base_Dir
+ ModuleID = gid_Module_Root;
+ ProfileID = gid_Profile_Fundamentalbasis_Ini;
+ Section = "Bootstrap";
+ Key = "OOO_BASE_DIR";
+ Value = "${ORIGIN}/..";
+End
+
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
@@ -355,7 +418,7 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Types
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_MORE_TYPES";
- Value = "$ORIGIN/offapi.rdb $ORIGIN/oovbaapi.rdb ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_TYPES}";
+ Value = "$ORIGIN/oovbaapi.rdb ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_TYPES}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Services
@@ -363,7 +426,7 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Services
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_MORE_SERVICES";
- Value = "${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_SERVICES} $ORIGIN/services.rdb";
+ Value = "${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_SERVICES}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Java_Types
@@ -379,7 +442,7 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_Shared_Data
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA";
- Value = "${BRAND_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
+ Value = "${OOO_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_User_Data
@@ -387,7 +450,7 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_User_Data
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_OVERRIDE_JAVA_JFW_USER_DATA";
- Value = "${${BRAND_BASE_DIR}/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml";
+ Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Classpath_Urls
@@ -413,9 +476,11 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Bin_Dir
Section = "Bootstrap";
Key = "URE_BIN_DIR";
#if defined(WNT) || defined(OS2)
- Value = "${.link:$ORIGIN/../ure-link}/bin";
+ Value = "$ORIGIN";
+// Value = "${.link:$ORIGIN/../ure-link}/bin";
#else
- Value = "$ORIGIN/../ure-link/bin";
+ Value = "$ORIGIN";
+// Value = "$ORIGIN/../ure-link/bin";
#endif
End
@@ -425,14 +490,18 @@ ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Lib_Dir
Section = "Bootstrap";
Key = "URE_LIB_DIR";
#if defined(WNT) || defined(OS2)
- Value = "${.link:$ORIGIN/../ure-link}/bin";
+ Value = "$ORIGIN";
+// Value = "${.link:$ORIGIN/../ure-link}/bin";
#else
- Value = "$ORIGIN/../ure-link/lib";
+ Value = "$ORIGIN";
+// Value = "$ORIGIN/../ure-link/lib";
#endif
End
// Basis layer: gid_Profile_Version_Ini_Basis
+#if defined(JSC)
+
ProfileItem gid_Basis_Profileitem_Version_Buildid
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
@@ -496,3 +565,5 @@ ProfileItem gid_Basis_Profileitem_Version_Ooopackageversion
Key = "OOOPackageVersion";
Value = "${OOOPACKAGEVERSION}";
End
+
+#endif // JSC
diff --git a/scp2/source/ooo/ure.scp b/scp2/source/ooo/ure.scp
index 44d92bff1de8..cb413cdd66a2 100644
--- a/scp2/source/ooo/ure.scp
+++ b/scp2/source/ooo/ure.scp
@@ -25,47 +25,38 @@
Directory gid_Dir_Ure_Bin
#if defined MACOSX
- ParentID = gid_Dir_UreLink;
+ ParentID = gid_Brand_Dir_Program;
+// ParentID = gid_Dir_UreLink;
#else
+// see ure_into.scp -> should be cleaned up later
ParentID = gid_Dir_Common_Ure;
#endif
- DosName = "bin";
+ DosName = "";
End
#if !defined(WNT) && !defined(OS2)
Directory gid_Dir_Ure_Lib
#if defined MACOSX
- ParentID = gid_Dir_UreLink;
+ ParentID = gid_Brand_Dir_Program;
+// Parentid = gid_Dir_UreLink;
#else
ParentID = gid_Dir_Common_Ure;
#endif
- DosName = "lib";
+ DosName = "";
End
#endif
-#if !defined(WNT) && !defined(OS2)
-Directory gid_Dir_Ure_Share
+#if defined SOLAR_JAVA
+Directory gid_Dir_Ure_Java
#if defined MACOSX
- ParentID = gid_Dir_UreLink;
+ ParentID = gid_Brand_Dir_Program;
#else
ParentID = gid_Dir_Common_Ure;
#endif
- DosName = "share";
-End
-#endif
-
-#if defined SOLAR_JAVA
-Directory gid_Dir_Ure_Java
- ParentID = SCP2_URE_SHARE_DIR;
- DosName = "java";
+ DosName = "classes";
End
#endif
-Directory gid_Dir_Ure_Misc
- ParentID = SCP2_URE_SHARE_DIR;
- DosName = "misc";
-End
-
// Public Executables:
#if defined WNT
@@ -288,13 +279,13 @@ End
// Private Dynamic Libraries:
-File gid_File_Dl_Profile_Uno
- TXT_FILE_BODY;
- Dir = SCP2_URE_DL_DIR;
- Name = PROFILENAME(/ure/uno);
- Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
- // CompID = "4681F5C1-8F64-486F-B804-03B4D8CEB41F";
-End
+//File gid_File_Dl_Profile_Uno
+// TXT_FILE_BODY;
+// Dir = SCP2_URE_DL_DIR;
+// Name = PROFILENAME(/ure/uno);
+// Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+// // CompID = "4681F5C1-8F64-486F-B804-03B4D8CEB41F";
+//End
File gid_File_Dl_Reg
TXT_FILE_BODY;
@@ -1109,29 +1100,13 @@ File gid_File_Java_JavaUnoJar
End
#endif
-// Public Miscellaneous Files:
-
-File gid_File_Misc_TypesRdb
- TXT_FILE_BODY;
- Dir = gid_Dir_Ure_Misc;
- Name = "/ure/types.rdb";
- Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
- // CompID = "E5086F6A-855B-4CAE-AD3A-A85A21C5AE44";
-End
-
-File gid_File_Misc_ServicesRdb
- TXT_FILE_BODY;
- Dir = gid_Dir_Ure_Misc;
- Name = "/ure/services.rdb";
- Styles = (PACKED);
-End
-
// Private Miscellaneous Files:
#if defined SOLAR_JAVA
File gid_File_Misc_JavavendorsXml
TXT_FILE_BODY;
- Dir = gid_Dir_Ure_Misc;
+ //Dir = gid_Dir_Ure_Misc;
+ Dir = gid_Dir_Ure_Bin;
Name = "javavendors.xml";
Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
// CompID = "403FCCFE-545B-44F6-91D1-5C75F846E587";
@@ -1159,9 +1134,7 @@ Module gid_Module_Root_Ure_Hidden
Styles = (HIDDEN_ROOT);
Dirs = (gid_Dir_Ure_Bin,
gid_Dir_Ure_Lib,
- gid_Dir_Ure_Share,
- gid_Dir_Ure_Java,
- gid_Dir_Ure_Misc);
+ gid_Dir_Ure_Java);
Files = (gid_File_Readme_Ure,
gid_File_LICENSE_Ure,
gid_File_NOTICE_Ure,
@@ -1194,7 +1167,6 @@ Module gid_Module_Root_Ure_Hidden
gid_File_Dl_PurpEnvHelper,
gid_File_Dl_Sal,
gid_File_Dl_Salhelper,
- gid_File_Dl_Profile_Uno,
gid_File_Dl_Reg,
gid_File_Dl_Store,
gid_File_Dl_Xmlreader,
@@ -1248,69 +1220,10 @@ Module gid_Module_Root_Ure_Hidden
gid_File_Java_JurtJar,
gid_File_Java_RidlJar,
gid_File_Java_JavaUnoJar,
- gid_File_Misc_TypesRdb,
- gid_File_Misc_ServicesRdb,
gid_File_Misc_JavavendorsXml);
Unixlinks = (gid_Unixlink_Ure_Bin_Urelibs);
End
-// Profile version.ini
-
-Profile gid_Profile_Version_Ini_Ure
- ModuleID = gid_Module_Root_Ure_Hidden;
- Name = PROFILENAME(version);
- Dir = gid_Dir_Ure_Bin;
- Styles = ();
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Buildid
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "buildid";
- Value = "<buildid>";
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Productsource
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "ProductSource";
- Value = "<sourceid>";
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Productmajor
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "ProductMajor";
- Value = "<productmajor>";
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Productminor
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "ProductMinor";
- Value = "<productminor>";
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Productbuildid
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "ProductBuildid";
- Value = "<productbuildid>";
-End
-
-ProfileItem gid_Ure_Profileitem_Version_Ooobaseversion
- ProfileID = gid_Profile_Version_Ini_Ure;
- ModuleID = gid_Module_Root_Ure_Hidden;
- Section = "Version";
- Key = "OOOBaseVersion";
- Value = "${OOOBASEVERSION}";
-End
-
// Windows Registry:
RegistryItem gid_Regitem_Path
diff --git a/scp2/source/ooo/ure_into_ooo.scp b/scp2/source/ooo/ure_into_ooo.scp
index ccd1979dcfad..d57fbd54f7d7 100644
--- a/scp2/source/ooo/ure_into_ooo.scp
+++ b/scp2/source/ooo/ure_into_ooo.scp
@@ -23,41 +23,52 @@
#include "macros.inc"
-#ifndef MACOSX
+//#ifndef MACOSX
Directory gid_Dir_Common_Ure
- #if defined(WNT) || defined(OS2)
+#ifndef MACOSX
ParentID = gid_Dir_Brand_Root;
- #else
- ParentID = gid_Dir_Ooo_Openofficeorg;
- #endif
- #if defined(WNT) || defined(OS2)
- HostName = "URE";
- #else
- HostName = "ure";
- #endif
+#else
+ ParentID = gid_Dir_Bundle_Contents
+#endif
+ HostName = "program";
Styles = (UREDIRECTORY);
End
-#endif
-#if defined(WNT) || defined(OS2)
-File gid_File_UreLink
- TXT_FILE_BODY;
- Dir = gid_Dir_Ooo_Basis;
- Name = "ure-link";
- Styles = (PACKED);
-End
-#elif defined MACOSX
-Directory gid_Dir_UreLink
- ParentID = gid_Brand_Dir_BasisLink;
- DosName = "ure-link";
-End
-#else
-Unixlink gid_Unixlink_UreLink
- BIN_FILE_BODY;
- Styles = ();
- // Styles = (LAYERLINK);
- Name = "ure-link";
- Dir = gid_Dir_Ooo_Basis;
- Target = "../ure";
-End
-#endif
+//#ifndef MACOSX
+//Directory gid_Dir_Common_Ure
+// #if defined(WNT) || defined(OS2)
+// ParentID = gid_Dir_Brand_Root;
+// #else
+// ParentID = gid_Dir_Ooo_Openofficeorg;
+// #endif
+// #if defined(WNT) || defined(OS2)
+// HostName = "URE";
+// #else
+// HostName = "ure";
+// #endif
+// Styles = (UREDIRECTORY);
+//End
+//#endif
+
+//#if defined(WNT) || defined(OS2)
+//File gid_File_UreLink
+// TXT_FILE_BODY;
+// Dir = gid_Dir_Ooo_Basis;
+// Name = "ure-link";
+// Styles = (PACKED);
+//End
+//#elif defined MACOSX
+//Directory gid_Dir_UreLink
+// ParentID = gid_Brand_Dir_BasisLink;
+// DosName = "ure-link";
+//End
+//#else
+//Unixlink gid_Unixlink_UreLink
+// BIN_FILE_BODY;
+// Styles = ();
+// // Styles = (LAYERLINK);
+// Name = "ure-link";
+// Dir = gid_Dir_Ooo_Basis;
+// Target = "../ure";
+//End
+//#endif
diff --git a/scripting/examples/beanshell/Highlight/ShowDialog.bsh b/scripting/examples/beanshell/Highlight/ShowDialog.bsh
index b224cc99de3c..b1226eb8b7bf 100644
--- a/scripting/examples/beanshell/Highlight/ShowDialog.bsh
+++ b/scripting/examples/beanshell/Highlight/ShowDialog.bsh
@@ -58,7 +58,7 @@ boolean tryLoadingLibrary( xmcf, context, name )
}
libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
+ "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
"/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
diff --git a/scripting/examples/java/Highlight/HighlightText.java b/scripting/examples/java/Highlight/HighlightText.java
index a60204531fc5..e277140b0e65 100644
--- a/scripting/examples/java/Highlight/HighlightText.java
+++ b/scripting/examples/java/Highlight/HighlightText.java
@@ -224,7 +224,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener {
}
String libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
+ "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
"/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
diff --git a/scripting/examples/javascript/Highlight/ShowDialog.js b/scripting/examples/javascript/Highlight/ShowDialog.js
index 2e4793b70dd4..5a6ca1f0f81e 100644
--- a/scripting/examples/javascript/Highlight/ShowDialog.js
+++ b/scripting/examples/javascript/Highlight/ShowDialog.js
@@ -52,7 +52,7 @@ function tryLoadingLibrary( xmcf, context, name )
}
libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
+ "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
"/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
index 0008b0de6fbe..72884702da18 100644
--- a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
+++ b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
@@ -130,12 +130,12 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable {
// to be exposed at all
private static final String SHARE =
- "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" +
+ "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" +
PathUtils.BOOTSTRAP_NAME +
"::BaseInstallation}/share";
private static final String USER =
- "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" +
+ "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" +
PathUtils.BOOTSTRAP_NAME +
"::UserInstallation}/user";
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java
index a7b35d26ff02..f8e3912f83b3 100644
--- a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java
+++ b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java
@@ -138,7 +138,7 @@ public abstract class ScriptProvider
new Type(XMacroExpander.class), serviceObj);
XMLParserFactory.setOfficeDTDURL(me.expandMacros(
- "${$BRAND_BASE_DIR/program/bootstraprc::BaseInstallation}/share/dtd/officedocument/1_0/"));
+ "${$OOO_BASE_DIR/program/bootstraprc::BaseInstallation}/share/dtd/officedocument/1_0/"));
}
catch ( Exception e )
@@ -214,20 +214,20 @@ public abstract class ScriptProvider
if ( originalContextURL.startsWith( "bundled" ) )
{
contextUrl = "vnd.sun.star.expand:$BUNDLED_EXTENSIONS";
- extensionDb = "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
+ extensionDb = "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
extensionRepository = "bundled";
}
if ( originalContextURL.startsWith( "share" ) )
{
- contextUrl = "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::BaseInstallation}/share";
- extensionDb = "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
+ contextUrl = "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::BaseInstallation}/share";
+ extensionDb = "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
extensionRepository = "shared";
}
else if ( originalContextURL.startsWith( "user" ) )
{
- contextUrl = "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
- extensionDb = "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
+ contextUrl = "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
+ extensionDb = "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + PathUtils.BOOTSTRAP_NAME + "::UserInstallation}/user";
extensionRepository = "user";
}
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index c664e2a4ac15..6d64a1bd27e6 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -42,7 +42,8 @@ namespace script = ::com::sun::star::script;
static const char SHARE[] = "share";
static const char SHARE_URI[] =
- "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap") "::BaseInstallation}";
+ "vnd.sun.star.expand:$$OOO_BASE_DIR";
+// "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap") "::BaseInstallation}";
static const char SHARE_UNO_PACKAGES[] = "share:uno_packages";
static const char SHARE_UNO_PACKAGES_URI[] =
@@ -50,7 +51,7 @@ static const char SHARE_UNO_PACKAGES_URI[] =
static const char USER[] = "user";
static const char USER_URI[] =
- "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}";
+ "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}";
static const char USER_UNO_PACKAGES[] = "user:uno_packages";
static const char USER_UNO_PACKAGES_DIR[] =
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index d7480e90b3b2..7fca7aa82359 100644
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -167,9 +167,9 @@ class MyUriHelper:
def __init__( self, ctx, location ):
self.s_UriMap = \
- { "share" : "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + toIniName( "bootstrap") + "::BaseInstallation}/share/Scripts/python" , \
+ { "share" : "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + toIniName( "bootstrap") + "::BaseInstallation}/share/Scripts/python" , \
"share:uno_packages" : "vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE/uno_packages", \
- "user" : "vnd.sun.star.expand:${$BRAND_BASE_DIR/program/" + toIniName( "bootstrap") + "::UserInstallation}/user/Scripts/python" , \
+ "user" : "vnd.sun.star.expand:${$OOO_BASE_DIR/program/" + toIniName( "bootstrap") + "::UserInstallation}/user/Scripts/python" , \
"user:uno_packages" : "vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages" }
self.m_uriRefFac = ctx.ServiceManager.createInstanceWithContext("com.sun.star.uri.UriReferenceFactory",ctx)
if location.startswith( "vnd.sun.star.tdoc" ):
diff --git a/scripting/source/storage/ScriptStorageManager.cxx b/scripting/source/storage/ScriptStorageManager.cxx
index 623591cefbec..3b0d3f350df1 100644
--- a/scripting/source/storage/ScriptStorageManager.cxx
+++ b/scripting/source/storage/ScriptStorageManager.cxx
@@ -82,7 +82,7 @@ ScriptStorageManager::ScriptStorageManager( const Reference<
"/singletons/com.sun.star.util.theMacroExpander" ) ), UNO_QUERY_THROW );
OUString base = OUString::createFromAscii(
- SAL_CONFIGFILE( "${$BRAND_BASE_DIR/program/bootstrap" ) );
+ SAL_CONFIGFILE( "${$OOO_BASE_DIR/program/bootstrap" ) );
setupAppStorage( xME,
base.concat( OUString::createFromAscii( "::BaseInstallation}/share" ) ),
diff --git a/setup_native/scripts/install_linux.sh b/setup_native/scripts/install_linux.sh
index 9d6edbdd4602..5ad12a54ab45 100644
--- a/setup_native/scripts/install_linux.sh
+++ b/setup_native/scripts/install_linux.sh
@@ -281,7 +281,7 @@ echo "Installing the RPMs"
ABSROOT=`cd ${INSTALLDIR}; pwd`
RELOCATIONS=`rpm -qp --qf "--relocate %{PREFIXES}=${ABSROOT}%{PREFIXES} \n" $RPMLIST | sort -u | tr -d "\012"`
-UserInstallation=\$BRAND_BASE_DIR/../UserInstallation rpm ${DEBIAN_FLAGS} $RPMCMD --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPMLIST
+UserInstallation=\$OOO_BASE_DIR/../UserInstallation rpm ${DEBIAN_FLAGS} $RPMCMD --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPMLIST
#
# Create a link into the users home directory
@@ -305,7 +305,7 @@ then
fi
# patch the "bootstraprc" to create a self-containing installation
-find "$INSTALLDIR" -type f -name bootstraprc -exec /bin/bash -ce 'test ! -e "$0".orig && mv "$0" "$0".orig && sed '\''s,^UserInstallation=$SYSUSERCONFIG.*,UserInstallation=$BRAND_BASE_DIR/../UserInstallation,'\'' "$0".orig > "$0"' {} \;
+find "$INSTALLDIR" -type f -name bootstraprc -exec /bin/bash -ce 'test ! -e "$0".orig && mv "$0" "$0".orig && sed '\''s,^UserInstallation=$SYSUSERCONFIG.*,UserInstallation=$OOO_BASE_DIR/../UserInstallation,'\'' "$0".orig > "$0"' {} \;
# if an unpack directory exists, it can be removed now
if [ ! -z "$UNPACKDIR" ]
diff --git a/setup_native/scripts/install_solaris.sh b/setup_native/scripts/install_solaris.sh
index e8014c23a357..228c2f9f29b3 100644
--- a/setup_native/scripts/install_solaris.sh
+++ b/setup_native/scripts/install_solaris.sh
@@ -254,7 +254,7 @@ cat > ${INSTALL_ROOT}/usr/lib/postrun << \EOF
set -e
# Override UserInstallation in bootstraprc for unopkg ..
-UserInstallation='$BRAND_BASE_DIR/../UserInstallation'
+UserInstallation='$OOO_BASE_DIR/../UserInstallation'
export UserInstallation
if [ -x /usr/bin/mktemp ]
@@ -363,7 +363,7 @@ fi
# patch the "bootstraprc" to create a self-containing installation
for i in ${PKG_LIST}; do
my_dir=${INSTALL_ROOT}`pkgparam -d ${PACKAGE_PATH} "$i" BASEDIR`
- find "$my_dir" -type f -name bootstraprc -exec sh -ce 'test ! -f "$0".orig && mv "$0" "$0".orig && sed '\''s,^UserInstallation=$SYSUSERCONFIG.*,UserInstallation=$BRAND_BASE_DIR/../UserInstallation,'\'' "$0".orig > "$0"' {} \;
+ find "$my_dir" -type f -name bootstraprc -exec sh -ce 'test ! -f "$0".orig && mv "$0" "$0".orig && sed '\''s,^UserInstallation=$SYSUSERCONFIG.*,UserInstallation=$OOO_BASE_DIR/../UserInstallation,'\'' "$0".orig > "$0"' {} \;
done
# if an unpack directory exists, it can be removed now
diff --git a/setup_native/source/win32/customactions/languagepacks/checkrunningofficelanguagepack.cxx b/setup_native/source/win32/customactions/languagepacks/checkrunningofficelanguagepack.cxx
index fa67c8902acb..e490b668633f 100644
--- a/setup_native/source/win32/customactions/languagepacks/checkrunningofficelanguagepack.cxx
+++ b/setup_native/source/win32/customactions/languagepacks/checkrunningofficelanguagepack.cxx
@@ -174,7 +174,8 @@ static BOOL MoveFileExImpl( LPCSTR lpExistingFileNameA, LPCSTR lpNewFileNameA, D
extern "C" UINT __stdcall IsOfficeRunning( MSIHANDLE handle )
{
std::_tstring sInstDir = GetMsiProperty( handle, TEXT("INSTALLLOCATION") );
- std::_tstring sResourceDir = sInstDir + TEXT("Basis\\program\\resource\\");
+// std::_tstring sResourceDir = sInstDir + TEXT("Basis\\program\\resource\\");
+ std::_tstring sResourceDir = sInstDir + TEXT("program\\resource\\");
std::_tstring sPattern = sResourceDir + TEXT("vcl*.res");
WIN32_FIND_DATA aFindFileData;
diff --git a/setup_native/source/win32/customactions/patch/swappatchfiles.cxx b/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
index 8ec5ab276215..4819ed46c056 100644
--- a/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
+++ b/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
@@ -540,7 +540,8 @@ static std::queue< std::_tstring > getProfileKeys( const std::_tstring& aFileNam
extern "C" UINT __stdcall InstallPatchedFiles( MSIHANDLE handle )
{
std::_tstring sInstDir = GetMsiProperty( handle, TEXT("INSTALLLOCATION") );
- std::_tstring sProgramDir = sInstDir + TEXT("Basis\\program\\");
+// std::_tstring sProgramDir = sInstDir + TEXT("Basis\\program\\");
+ std::_tstring sProgramDir = sInstDir + TEXT("program\\");
std::_tstring sPatchFile = sProgramDir + TEXT("patchlist.txt");
std::queue< std::_tstring > aSectionNames;
diff --git a/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx b/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx
index 0ac78b98057d..9d673c97ebbe 100644
--- a/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx
@@ -184,8 +184,8 @@ extern "C" UINT __stdcall IsOfficeRunning( MSIHANDLE handle )
// Property empty -> no office installed
if ( sInstDir.length() == 0 )
return ERROR_SUCCESS;
-
- std::_tstring sResourceDir = sInstDir + TEXT("Basis\\program\\resource\\");
+// std::_tstring sResourceDir = sInstDir + TEXT("Basis\\program\\resource\\");
+ std::_tstring sResourceDir = sInstDir + TEXT("program\\resource\\");
std::_tstring sPattern = sResourceDir + TEXT("vcl*.res");
// std::_tstring mystr;
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 0d6501e12eb9..e6e6141a26fd 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -894,7 +894,7 @@ void ShutdownIcon::SetAutostart( bool bActivate )
#else // UNX
getDotAutostart( true );
- OUString aPath( RTL_CONSTASCII_USTRINGPARAM("${BRAND_BASE_DIR}/share/xdg/qstart.desktop" ) );
+ OUString aPath( RTL_CONSTASCII_USTRINGPARAM("${OOO_BASE_DIR}/share/xdg/qstart.desktop" ) );
Bootstrap::expandMacros( aPath );
OUString aDesktopFile;
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index dd0703fc5348..e7ee3cc1b508 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -2366,20 +2366,20 @@ void SfxObjectShell::StoreLog()
if ( pImp->m_xLogRing.is() )
{
-#ifdef WNT
- ::rtl::OUString aFileURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}" ) );
-#else
- ::rtl::OUString aFileURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}" ) );
-#endif
-
+ ::rtl::OUString aFileURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}" ) );
+//#ifdef WNT
+// ::rtl::OUString aFileURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}" ) );
+//#else
+// ::rtl::OUString aFileURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/bootstraprc:UserInstallation}" ) );
+//#endif
::rtl::Bootstrap::expandMacros( aFileURL );
-#ifdef WNT
- ::rtl::OUString aBuildID = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$BRAND_BASE_DIR/program/setup.ini:buildid}" ) );
-#else
- ::rtl::OUString aBuildID = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$BRAND_BASE_DIR/program/setuprc:buildid}" ) );
-#endif
-
+//#ifdef WNT
+// ::rtl::OUString aBuildID = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/setup.ini:buildid}" ) );
+//#else
+// ::rtl::OUString aBuildID = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/setuprc:buildid}" ) );
+//#endif
+ ::rtl::OUString aBuildID = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("setup") ":buildid}" ) );
::rtl::Bootstrap::expandMacros( aBuildID );
if ( aFileURL.getLength() )
diff --git a/solenv/bin/macosx-change-install-names.pl b/solenv/bin/macosx-change-install-names.pl
index b76070b8c3ed..09ec20a7a559 100644
--- a/solenv/bin/macosx-change-install-names.pl
+++ b/solenv/bin/macosx-change-install-names.pl
@@ -27,25 +27,46 @@ use macosxotoolhelper;
sub action($$$)
{
my %action =
- ('app/UREBIN/URELIB' => '@executable_path/../lib',
- 'app/OOO/URELIB' => '@executable_path/../ure-link/lib',
+ ('app/UREBIN/URELIB' => '@executable_path',
+ 'app/OOO/URELIB' => '@executable_path/',
'app/OOO/OOO' => '@executable_path',
- 'app/SDK/URELIB' => '@executable_path/../../ure-link/lib',
- 'app/BRAND/URELIB' => '@executable_path/../basis-link/ure-link/lib',
- 'app/BRAND/OOO' => '@executable_path/../basis-link/program',
+ 'app/SDK/URELIB' => '@executable_path',
+ 'app/BRAND/URELIB' => '@executable_path',
+ 'app/BRAND/OOO' => '@executable_path',
'app/NONE/URELIB' => '@__VIA_LIBRARY_PATH__',
'app/NONE/OOO' => '@__VIA_LIBRARY_PATH__',
'app/NONE/NONE' => '@__VIA_LIBRARY_PATH__',
'shl/URELIB/URELIB' => '@loader_path',
- 'shl/OOO/URELIB' => '@loader_path/../ure-link/lib',
+ 'shl/OOO/URELIB' => '@loader_path',
'shl/OOO/OOO' => '@loader_path',
'shl/LOADER/LOADER' => '@loader_path',
- 'shl/OXT/URELIB' => '@executable_path/urelibs',
- 'shl/BOXT/URELIB' => '@executable_path/urelibs',
- 'shl/BOXT/OOO' => '@loader_path/../../../basis-link/program',
+ 'shl/OXT/URELIB' => '@executable_path',
+ 'shl/BOXT/URELIB' => '@executable_path',
+ 'shl/BOXT/OOO' => '@loader_path',
'shl/NONE/URELIB' => '@__VIA_LIBRARY_PATH__',
'shl/NONE/OOO' => '@__VIA_LIBRARY_PATH__',
'shl/NONE/NONE' => '@__VIA_LIBRARY_PATH__');
+
+# ('app/UREBIN/URELIB' => '@executable_path/../lib',
+# 'app/OOO/URELIB' => '@executable_path/../ure-link/lib',
+# 'app/OOO/OOO' => '@executable_path',
+# 'app/SDK/URELIB' => '@executable_path/../../ure-link/lib',
+# 'app/BRAND/URELIB' => '@executable_path/../basis-link/ure-link/lib',
+# 'app/BRAND/OOO' => '@executable_path/../basis-link/program',
+# 'app/NONE/URELIB' => '@__VIA_LIBRARY_PATH__',
+# 'app/NONE/OOO' => '@__VIA_LIBRARY_PATH__',
+# 'app/NONE/NONE' => '@__VIA_LIBRARY_PATH__',
+# 'shl/URELIB/URELIB' => '@loader_path',
+# 'shl/OOO/URELIB' => '@loader_path/../ure-link/lib',
+# 'shl/OOO/OOO' => '@loader_path',
+# 'shl/LOADER/LOADER' => '@loader_path',
+# 'shl/OXT/URELIB' => '@executable_path/urelibs',
+# 'shl/BOXT/URELIB' => '@executable_path/urelibs',
+# 'shl/BOXT/OOO' => '@loader_path/../../../basis-link/program',
+# 'shl/NONE/URELIB' => '@__VIA_LIBRARY_PATH__',
+# 'shl/NONE/OOO' => '@__VIA_LIBRARY_PATH__',
+# 'shl/NONE/NONE' => '@__VIA_LIBRARY_PATH__');
+
my ($type, $loc1, $loc2) = @_;
my $act = $action{"$type/$loc1/$loc2"};
die "illegal combination $type/$loc1/$loc2" unless defined $act;
diff --git a/solenv/gbuild/platform/os2.mk b/solenv/gbuild/platform/os2.mk
index b5103e70699e..565f51186cf9 100644
--- a/solenv/gbuild/platform/os2.mk
+++ b/solenv/gbuild/platform/os2.mk
@@ -657,7 +657,7 @@ endif
gb_XSLTPROCPRECOMMAND := PATH="$${PATH}:$(OUTDIR)/bin"
gb_Library_COMPONENTPREFIXES := \
- OOO:vnd.sun.star.expand:\dBRAND_BASE_DIR/program/ \
+ OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
# vim: set noet sw=4 ts=4:
diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk
index 4e72dd92dfd7..e01f9083a5ff 100644
--- a/solenv/gbuild/platform/windows.mk
+++ b/solenv/gbuild/platform/windows.mk
@@ -749,7 +749,7 @@ endif
gb_XSLTPROCPRECOMMAND := PATH="$${PATH}:$(OUTDIR)/bin"
gb_Library_COMPONENTPREFIXES := \
- OOO:vnd.sun.star.expand:\dBRAND_BASE_DIR/program/ \
+ OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
# vim: set noet sw=4 ts=4:
diff --git a/solenv/gbuild/platform/winmingw.mk b/solenv/gbuild/platform/winmingw.mk
index b7df79733094..0dd65bb415fd 100644
--- a/solenv/gbuild/platform/winmingw.mk
+++ b/solenv/gbuild/platform/winmingw.mk
@@ -692,7 +692,7 @@ endif
gb_XSLTPROCPRECOMMAND := PATH="$${PATH}:$(OUTDIR)/bin"
gb_Library_COMPONENTPREFIXES := \
- OOO:vnd.sun.star.expand:\dBRAND_BASE_DIR/program/ \
+ OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
# vim: set noet sw=4 ts=4:
diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk
index 34a16a7a72e1..01234a70d04d 100644
--- a/solenv/inc/settings.mk
+++ b/solenv/inc/settings.mk
@@ -1359,11 +1359,11 @@ CPPUNIT_CFLAGS =
COMPONENTPREFIX_URE_NATIVE = vnd.sun.star.expand:$$URE_INTERNAL_LIB_DIR/
COMPONENTPREFIX_URE_JAVA = vnd.sun.star.expand:$$URE_INTERNAL_JAVA_DIR/
-.IF "$(OS)" == "WNT" || "$(OS)" == "OS2"
-COMPONENTPREFIX_BASIS_NATIVE = vnd.sun.star.expand:$$BRAND_BASE_DIR/program/
-.ELSE
+#.IF "$(OS)" == "WNT" || "$(OS)" == "OS2"
+#COMPONENTPREFIX_BASIS_NATIVE = vnd.sun.star.expand:$$OOO_BASE_DIR/program/
+#.ELSE
COMPONENTPREFIX_BASIS_NATIVE = vnd.sun.star.expand:$$OOO_BASE_DIR/program/
-.END
+#.END
COMPONENTPREFIX_BASIS_JAVA = vnd.sun.star.expand:$$OOO_BASE_DIR/program/classes/
COMPONENTPREFIX_BASIS_PYTHON = vnd.openoffice.pymodule:
COMPONENTPREFIX_INBUILD_NATIVE = \
diff --git a/solenv/inc/unxfbsd.mk b/solenv/inc/unxfbsd.mk
index 0e20e8cc12a6..07ba14a5b244 100644
--- a/solenv/inc/unxfbsd.mk
+++ b/solenv/inc/unxfbsd.mk
@@ -137,13 +137,18 @@ LINKFLAGS_SYSBASE:=-Wl,--sysroot=$(SYSBASE)
.ENDIF # "$(SYSBASE)"!=""
LINKFLAGSDEFS*=-Wl,-z,defs
LINKFLAGSRUNPATH_URELIB=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
-LINKFLAGSRUNPATH_UREBIN=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
+LINKFLAGSRUNPATH_UREBIN=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_UREBIN=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
#TODO: drop $ORIGIN once no URE executable is also shipped in OOo
-LINKFLAGSRUNPATH_OOO=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
-LINKFLAGSRUNPATH_SDK=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\'
-LINKFLAGSRUNPATH_BRAND=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
+LINKFLAGSRUNPATH_OOO=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_SDK=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_BRAND=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_OOO=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
+#LINKFLAGSRUNPATH_SDK=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\'
+#LINKFLAGSRUNPATH_BRAND=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
LINKFLAGSRUNPATH_OXT=
-LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\'
+LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_BOXT=-Wl,-z,origin -Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
LINKFLAGS=-Wl,-z,combreloc $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE)
diff --git a/solenv/inc/unxlng.mk b/solenv/inc/unxlng.mk
index ef745f27a824..187946e6c79f 100644
--- a/solenv/inc/unxlng.mk
+++ b/solenv/inc/unxlng.mk
@@ -144,13 +144,18 @@ LINKFLAGS_SYSBASE:=-Wl,--sysroot=$(SYSBASE)
.ENDIF # "$(SYSBASE)"!=""
LINKFLAGSDEFS*=-Wl,-z,defs
LINKFLAGSRUNPATH_URELIB=-Wl,-rpath,\''$$ORIGIN'\'
-LINKFLAGSRUNPATH_UREBIN=-Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
+LINKFLAGSRUNPATH_UREBIN=-Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_UREBIN=-Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\'
#TODO: drop $ORIGIN once no URE executable is also shipped in OOo
-LINKFLAGSRUNPATH_OOO=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
-LINKFLAGSRUNPATH_SDK=-Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\'
-LINKFLAGSRUNPATH_BRAND=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
+LINKFLAGSRUNPATH_OOO=-Wl,-rpath,\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_SDK=-Wl,-rpath,\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_BRAND=-Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_OOO=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
+#LINKFLAGSRUNPATH_SDK=-Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\'
+#LINKFLAGSRUNPATH_BRAND=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-lin
LINKFLAGSRUNPATH_OXT=
-LINKFLAGSRUNPATH_BOXT=-Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\'
+LINKFLAGSRUNPATH_BOXT=-Wl,-rpath,\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_BOXT=-Wl,-rpath,\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
LINKFLAGS=-Wl,-z,combreloc $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE)
.IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)" == "TRUE"
diff --git a/solenv/inc/unxsoli4.mk b/solenv/inc/unxsoli4.mk
index c3aaaf952247..028198f161dc 100644
--- a/solenv/inc/unxsoli4.mk
+++ b/solenv/inc/unxsoli4.mk
@@ -127,13 +127,18 @@ CFLAGSCC+=$(C_RESTRICTIONFLAGS)
# -z combreloc combines multiple relocation sections. Reduces overhead on startup
# -norunpath prevents the compiler from recording his own libs in the runpath
LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\'
-LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
+LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
#TODO: drop $ORIGIN once no URE executable is also shipped in OOo
-LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
-LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\'
-LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
+LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
+#LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\'
+#LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
LINKFLAGSRUNPATH_OXT=
-LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
+LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd
LINKCFLAGS=-w -mt -z combreloc -norunpath
diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk
index 0c249b1361f4..9df72cd7125e 100644
--- a/solenv/inc/unxsols4.mk
+++ b/solenv/inc/unxsols4.mk
@@ -133,13 +133,18 @@ CFLAGSCC+=$(C_RESTRICTIONFLAGS)
# -z combreloc combines multiple relocation sections. Reduces overhead on startup
# -norunpath prevents the compiler from recording his own libs in the runpath
LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\'
-LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
+LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
#TODO: drop $ORIGIN once no URE executable is also shipped in OOo
-LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
-LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\'
-LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
+LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
+#LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\'
+#LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
LINKFLAGSRUNPATH_OXT=
-LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
+LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd
LINKCFLAGS=-w -mt -z combreloc -norunpath
diff --git a/solenv/inc/unxsolu4.mk b/solenv/inc/unxsolu4.mk
index d5e05ef53eb1..759ca8a756df 100644
--- a/solenv/inc/unxsolu4.mk
+++ b/solenv/inc/unxsolu4.mk
@@ -128,12 +128,16 @@ CFLAGSCC+=$(C_RESTRICTIONFLAGS)
# -z combreloc combines multiple relocation sections. Reduces overhead on startup
# -norunpath prevents the compiler from recording his own libs in the runpath
LINKFLAGSRUNPATH_URELIB=-R\''$$ORIGIN'\'
-LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
+LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\'
#TODO: drop $ORIGIN once no URE executable is also shipped in OOo
-LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
-LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
+LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN'\'
+LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\'
+#LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\'
LINKFLAGSRUNPATH_OXT=
-LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
+LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN'\'
+#LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../basis-link/program'\'
LINKFLAGSRUNPATH_NONE=
LINKFLAGS=-m64 -w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=stlport4
LINKCFLAGS=-m64 -w -mt -z combreloc -norunpath
diff --git a/svtools/source/filter/filter.cxx b/svtools/source/filter/filter.cxx
index 8beb694aa889..9733bae59b81 100644
--- a/svtools/source/filter/filter.cxx
+++ b/svtools/source/filter/filter.cxx
@@ -1158,11 +1158,7 @@ void GraphicFilter::ImplInit()
if( bUseConfig )
{
-#if defined WNT || defined OS2
- rtl::OUString url(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program"));
-#else
rtl::OUString url(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program"));
-#endif
rtl::Bootstrap::expandMacros(url); //TODO: detect failure
utl::LocalFileHelper::ConvertURLToPhysicalName(url, aFilterPath);
}
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 593a1d56efa5..aec7768ba8b9 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -2032,7 +2032,7 @@ void BrokenRecoveryDialog::impl_askForSavePath()
{
#if defined(WNT) || defined(OS2)
- OUString ustrValue = OUString::createFromAscii("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}");
+ OUString ustrValue = OUString::createFromAscii("${$OOO_BASE_DIR/program/bootstrap.ini:UserInstallation}");
#elif defined( MACOSX )
OUString ustrValue = OUString::createFromAscii("~");
#else
diff --git a/svx/source/dialog/sendreportunx.cxx b/svx/source/dialog/sendreportunx.cxx
index e8bc37f56d0e..9f893b79998f 100644
--- a/svx/source/dialog/sendreportunx.cxx
+++ b/svx/source/dialog/sendreportunx.cxx
@@ -239,7 +239,7 @@ namespace svx{
int ret = -1;
rtl::OUString path1(
RTL_CONSTASCII_USTRINGPARAM(
- "$BRAND_BASE_DIR/program/crashrep"));
+ "$OOO_BASE_DIR/program/crashrep"));
rtl::Bootstrap::expandMacros(path1);
rtl::OString path2;
if ((osl::FileBase::getSystemPathFromFileURL(path1, path1) ==
diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx
index 274df1d9e982..08f1368be260 100644
--- a/svx/source/unodraw/recoveryui.cxx
+++ b/svx/source/unodraw/recoveryui.cxx
@@ -186,7 +186,7 @@ static OUString GetCrashConfigDir()
{
#if defined(WNT) || defined(OS2)
- OUString ustrValue = OUString::createFromAscii("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}");
+ OUString ustrValue = OUString::createFromAscii("${$OOO_BASE_DIR/program/bootstrap.ini:UserInstallation}");
#elif defined(MACOSX)
OUString ustrValue = OUString::createFromAscii("~");
#else
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index b6ba19a07cdc..20201cf9a0c3 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -200,10 +200,6 @@ void ResMgrContainer::init()
// 1. fixed locations
rtl::OUString uri(
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program/resource"));
- rtl::Bootstrap::expandMacros(uri);
- aDirs.push_back(uri);
- uri = rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program/resource"));
rtl::Bootstrap::expandMacros(uri);
aDirs.push_back(uri);
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index f89732d3d532..48ce1e8f0893 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -148,7 +148,7 @@ namespace utl
// s_pData = &s_theData;
rtl::OUString uri;
rtl::Bootstrap::get(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BRAND_BASE_DIR")), uri);
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OOO_BASE_DIR")), uri);
s_pData = new Impl(uri + OUString(RTL_CONSTASCII_USTRINGPARAM( "/program/" BOOTSTRAP_DATA_NAME)));
}
return *s_pData;
@@ -908,7 +908,7 @@ sal_Bool Bootstrap::Impl::getVersionValue(OUString const& _sName, OUString& _rVa
// try to open version.ini (versionrc)
rtl::OUString uri;
rtl::Bootstrap::get(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BRAND_BASE_DIR")), uri);
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("OOO_BASE_DIR")), uri);
rtl::Bootstrap aData( uri +
OUString(RTL_CONSTASCII_USTRINGPARAM( "/program/" SAL_CONFIGFILE("version"))) );
if ( aData.getHandle() == NULL )
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 7ca0cac7515a..5503cd3f000f 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -487,7 +487,7 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp)
rtl::OUString name(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${BRAND_BASE_DIR}/program/edition/edition.ini")));
+ "${OOO_BASE_DIR}/program/edition/edition.ini")));
rtl::Bootstrap::expandMacros(name);
if (rtl::Bootstrap(name).getFrom(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EDITIONNAME")),
diff --git a/ure/source/jvmfwk3.ini b/ure/source/jvmfwk3.ini
index 381866bdbe2b..6e2870bac886 100644
--- a/ure/source/jvmfwk3.ini
+++ b/ure/source/jvmfwk3.ini
@@ -19,7 +19,7 @@
#
# *************************************************************
[Bootstrap]
-UNO_JAVA_JFW_VENDOR_SETTINGS=${ORIGIN}/../misc/javavendors.xml
+UNO_JAVA_JFW_VENDOR_SETTINGS=${ORIGIN}/javavendors.xml
UNO_JAVA_JFW_SHARED_DATA=${URE_OVERRIDE_JAVA_JFW_SHARED_DATA} ${SYSUSERCONFIG}/URE/javasettings_${_OS}_${_ARCH}.xml
UNO_JAVA_JFW_USER_DATA=${URE_OVERRIDE_JAVA_JFW_USER_DATA} ${SYSUSERCONFIG}/URE/javasettings_${_OS}_${_ARCH}.xml
UNO_JAVA_JFW_CLASSPATH_URLS=${URE_MORE_JAVA_CLASSPATH_URLS}
diff --git a/ure/source/jvmfwk3rc b/ure/source/jvmfwk3rc
index 11a117954bde..95dba9f03ab7 100644
--- a/ure/source/jvmfwk3rc
+++ b/ure/source/jvmfwk3rc
@@ -19,7 +19,7 @@
#
# *************************************************************
[Bootstrap]
-UNO_JAVA_JFW_VENDOR_SETTINGS=${ORIGIN}/../share/misc/javavendors.xml
+UNO_JAVA_JFW_VENDOR_SETTINGS=${ORIGIN}/javavendors.xml
UNO_JAVA_JFW_SHARED_DATA=${URE_OVERRIDE_JAVA_JFW_SHARED_DATA} file:///etc/opt/ure/javasettings_${_OS}_${_ARCH}.xml
UNO_JAVA_JFW_USER_DATA=${URE_OVERRIDE_JAVA_JFW_USER_DATA} ${SYSUSERHOME}/.ure/javasettings_${_OS}_${_ARCH}.xml
UNO_JAVA_JFW_CLASSPATH_URLS=${URE_MORE_JAVA_CLASSPATH_URLS}
diff --git a/vcl/aqua/source/gdi/salgdi.cxx b/vcl/aqua/source/gdi/salgdi.cxx
index 64fa84dd6ac7..5c43366a9bb6 100644
--- a/vcl/aqua/source/gdi/salgdi.cxx
+++ b/vcl/aqua/source/gdi/salgdi.cxx
@@ -1718,17 +1718,17 @@ static bool AddLocalTempFontDirs( void )
return false;
bFirst = false;
- // add private font files found in brand and base layer
+ // add private font files found in office base dir
- rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) );
- rtl_bootstrap_expandMacros( &aBrandStr.pData );
- rtl::OUString aBrandSysPath;
- OSL_VERIFY( osl_getSystemPathFromFileURL( aBrandStr.pData, &aBrandSysPath.pData ) == osl_File_E_None );
+ // rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) );
+ // rtl_bootstrap_expandMacros( &aBrandStr.pData );
+ // rtl::OUString aBrandSysPath;
+ // OSL_VERIFY( osl_getSystemPathFromFileURL( aBrandStr.pData, &aBrandSysPath.pData ) == osl_File_E_None );
- rtl::OStringBuffer aBrandFontDir( aBrandSysPath.getLength()*2 );
- aBrandFontDir.append( rtl::OUStringToOString( aBrandSysPath, RTL_TEXTENCODING_UTF8 ) );
- aBrandFontDir.append( "/share/fonts/truetype/" );
- bool bBrandSuccess = AddTempFontDir( aBrandFontDir.getStr() );
+ // rtl::OStringBuffer aBrandFontDir( aBrandSysPath.getLength()*2 );
+ // aBrandFontDir.append( rtl::OUStringToOString( aBrandSysPath, RTL_TEXTENCODING_UTF8 ) );
+ // aBrandFontDir.append( "/share/fonts/truetype/" );
+ // bool bBrandSuccess = AddTempFontDir( aBrandFontDir.getStr() );
rtl::OUString aBaseStr( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) );
rtl_bootstrap_expandMacros( &aBaseStr.pData );
@@ -1740,7 +1740,8 @@ static bool AddLocalTempFontDirs( void )
aBaseFontDir.append( "/share/fonts/truetype/" );
bool bBaseSuccess = AddTempFontDir( aBaseFontDir.getStr() );
- return bBrandSuccess && bBaseSuccess;
+// return bBrandSuccess && bBaseSuccess;
+ return bBaseSuccess;
}
void AquaSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
diff --git a/vcl/source/gdi/imagerepository.cxx b/vcl/source/gdi/imagerepository.cxx
index 42bfaf8468ca..6554e347f766 100644
--- a/vcl/source/gdi/imagerepository.cxx
+++ b/vcl/source/gdi/imagerepository.cxx
@@ -81,7 +81,7 @@ namespace vcl
{
rtl::OUString sImages;
rtl::OUStringBuffer aBuff( rName );
- rtl::OUString aBasePath( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR/program" ) );
+ rtl::OUString aBasePath( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR/program" ) );
rtl::Bootstrap::expandMacros( aBasePath );
bool bLoaded = false;
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
index d8b3a8b8de03..2aef2e7dbc7e 100644
--- a/vcl/source/gdi/impimagetree.cxx
+++ b/vcl/source/gdi/impimagetree.cxx
@@ -215,7 +215,7 @@ void ImplImageTree::resetZips() {
m_zips.clear();
{
rtl::OUString url(
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program/edition/images.zip"));
+ RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program/edition/images.zip"));
rtl::Bootstrap::expandMacros(url);
INetURLObject u(url);
OSL_ASSERT(!u.HasError());
@@ -226,7 +226,7 @@ void ImplImageTree::resetZips() {
}
{
rtl::OUString url(
- RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
+ RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/config"));
rtl::Bootstrap::expandMacros(url);
INetURLObject u(url);
OSL_ASSERT(!u.HasError());
@@ -244,7 +244,7 @@ void ImplImageTree::resetZips() {
{
rtl::OUString url(
RTL_CONSTASCII_USTRINGPARAM(
- "$BRAND_BASE_DIR/share/config/images_brand.zip"));
+ "$OOO_BASE_DIR/share/config/images_brand.zip"));
rtl::Bootstrap::expandMacros(url);
m_zips.push_back(
std::make_pair(
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index 235f709cde54..24780e0c043f 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -831,7 +831,7 @@ const char* X11SalData::getFrameClassName()
if( !aClassName.getLength() )
{
rtl::OUString aIni, aProduct;
- rtl::Bootstrap::get( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BRAND_BASE_DIR" ) ), aIni );
+ rtl::Bootstrap::get( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "OOO_BASE_DIR" ) ), aIni );
aIni += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/program/" SAL_CONFIGFILE( "bootstrap" ) ) );
rtl::Bootstrap aBootstrap( aIni );
aBootstrap.getFrom( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ProductKey" ) ), aProduct );
diff --git a/vcl/unx/generic/fontmanager/helper.cxx b/vcl/unx/generic/fontmanager/helper.cxx
index d138b2fc4252..ef195054b8e4 100644
--- a/vcl/unx/generic/fontmanager/helper.cxx
+++ b/vcl/unx/generic/fontmanager/helper.cxx
@@ -53,7 +53,7 @@ OUString getOfficePath( enum whichOfficePath ePath )
{
bOnce = true;
OUString aIni;
- Bootstrap::get( OUString( RTL_CONSTASCII_USTRINGPARAM( "BRAND_BASE_DIR" ) ), aIni );
+ Bootstrap::get( OUString( RTL_CONSTASCII_USTRINGPARAM( "OOO_BASE_DIR" ) ), aIni );
aIni += OUString( RTL_CONSTASCII_USTRINGPARAM( "/program/" SAL_CONFIGFILE( "bootstrap" ) ) );
Bootstrap aBootstrap( aIni );
aBootstrap.getFrom( OUString( RTL_CONSTASCII_USTRINGPARAM( "CustomDataUrl" ) ), aConfigPath );
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index e2328c05d4d0..681c151491d3 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -2340,7 +2340,7 @@ void WinSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
::rtl::OUString aExecutableFile( aPath );
aPath = aPath.copy( 0, aPath.lastIndexOf('/') );
String aFontDirUrl = aPath.copy( 0, aPath.lastIndexOf('/') );
- aFontDirUrl += String( RTL_CONSTASCII_USTRINGPARAM("/Basis/share/fonts/truetype") );
+ aFontDirUrl += String( RTL_CONSTASCII_USTRINGPARAM("/share/fonts/truetype") );
// collect fonts in font path that could not be registered
osl::Directory aFontDir( aFontDirUrl );
@@ -2351,7 +2351,7 @@ void WinSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
String aEmptyString;
::rtl::OUString aBootStrap;
- rtl::Bootstrap::get( String( RTL_CONSTASCII_USTRINGPARAM( "BRAND_BASE_DIR" ) ), aBootStrap );
+ rtl::Bootstrap::get( String( RTL_CONSTASCII_USTRINGPARAM( "OOO_BASE_DIR" ) ), aBootStrap );
aBootStrap += String( RTL_CONSTASCII_USTRINGPARAM( "/program/" SAL_CONFIGFILE( "bootstrap" ) ) );
rtl::Bootstrap aBootstrap( aBootStrap );
::rtl::OUString aUserPath;