Kaydet (Commit) b1eae75f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Undo basis/brand split: moved ini files from basis program/ to brand program/.

Moved uno ini, folded fundamentalbasis ini into fundamental ini, merged
version inis.
üst d9604fa1
...@@ -36,7 +36,7 @@ if test "z$1" = "z" ; then ...@@ -36,7 +36,7 @@ if test "z$1" = "z" ; then
exit 0; exit 0;
fi fi
JVM_CONFIG_FILE=@OOINSTBASE@/basis-link/program/fundamentalbasisrc JVM_CONFIG_FILE=@OOINSTBASE@/program/fundamentalrc
for path in $@ ; do for path in $@ ; do
if test "z${path%%/*}" != "z" ; then if test "z${path%%/*}" != "z" ; then
......
...@@ -548,7 +548,7 @@ Components::Components( ...@@ -548,7 +548,7 @@ Components::Components(
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("uno") "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("uno")
":BUNDLED_EXTENSIONS_USER}/registry/" ":BUNDLED_EXTENSIONS_USER}/registry/"
"com.sun.star.comp.deployment.configuration." "com.sun.star.comp.deployment.configuration."
"PackageRegistryBackend/configmgr.ini"))), "PackageRegistryBackend/configmgr.ini"))),
...@@ -558,7 +558,7 @@ Components::Components( ...@@ -558,7 +558,7 @@ Components::Components(
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("uno") "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("uno")
":SHARED_EXTENSIONS_USER}/registry/" ":SHARED_EXTENSIONS_USER}/registry/"
"com.sun.star.comp.deployment.configuration." "com.sun.star.comp.deployment.configuration."
"PackageRegistryBackend/configmgr.ini"))), "PackageRegistryBackend/configmgr.ini"))),
...@@ -568,7 +568,7 @@ Components::Components( ...@@ -568,7 +568,7 @@ Components::Components(
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("uno") "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("uno")
":UNO_USER_PACKAGES_CACHE}/registry/" ":UNO_USER_PACKAGES_CACHE}/registry/"
"com.sun.star.comp.deployment.configuration." "com.sun.star.comp.deployment.configuration."
"PackageRegistryBackend/registry")))); "PackageRegistryBackend/registry"))));
...@@ -579,7 +579,7 @@ Components::Components( ...@@ -579,7 +579,7 @@ Components::Components(
expand( expand(
rtl::OUString( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("uno") "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("uno")
":UNO_USER_PACKAGES_CACHE}/registry/" ":UNO_USER_PACKAGES_CACHE}/registry/"
"com.sun.star.comp.deployment.configuration." "com.sun.star.comp.deployment.configuration."
"PackageRegistryBackend/configmgr.ini"))), "PackageRegistryBackend/configmgr.ini"))),
......
...@@ -375,7 +375,7 @@ static bool impl_needsCompatCheck() ...@@ -375,7 +375,7 @@ static bool impl_needsCompatCheck()
{ {
bool bNeedsCheck = false; bool bNeedsCheck = false;
rtl::OUString aLastCheckBuildID; rtl::OUString aLastCheckBuildID;
rtl::OUString aCurrentBuildID( UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}" ) ); rtl::OUString aCurrentBuildID( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}" ) );
rtl::Bootstrap::expandMacros( aCurrentBuildID ); rtl::Bootstrap::expandMacros( aCurrentBuildID );
try { try {
......
...@@ -1281,7 +1281,7 @@ IMPL_LINK(UpdateDialog, selectionHandler, void *, EMPTYARG) ...@@ -1281,7 +1281,7 @@ IMPL_LINK(UpdateDialog, selectionHandler, void *, EMPTYARG)
sal_Int32 nPos = m_noDependencyCurVer.indexOf( sVersion ); sal_Int32 nPos = m_noDependencyCurVer.indexOf( sVersion );
if ( nPos >= 0 ) if ( nPos >= 0 )
{ {
::rtl::OUString sCurVersion( RTL_CONSTASCII_USTRINGPARAM( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":Version:OOOPackageVersion}")); ::rtl::OUString sCurVersion( RTL_CONSTASCII_USTRINGPARAM( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":Version:OOOPackageVersion}"));
::rtl::Bootstrap::expandMacros(sCurVersion); ::rtl::Bootstrap::expandMacros(sCurVersion);
m_noDependencyCurVer = m_noDependencyCurVer.replaceAt( nPos, sVersion.getLength(), sCurVersion ); m_noDependencyCurVer = m_noDependencyCurVer.replaceAt( nPos, sVersion.getLength(), sCurVersion );
} }
......
...@@ -62,7 +62,7 @@ lcl_versionIsNot(dp_misc::Order i_eOrder, ::rtl::OUString const& i_rVersion) ...@@ -62,7 +62,7 @@ lcl_versionIsNot(dp_misc::Order i_eOrder, ::rtl::OUString const& i_rVersion)
{ {
::rtl::OUString aVersion( ::rtl::OUString aVersion(
RTL_CONSTASCII_USTRINGPARAM( RTL_CONSTASCII_USTRINGPARAM(
"${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version")
":Version:OOOPackageVersion}")); ":Version:OOOPackageVersion}"));
::rtl::Bootstrap::expandMacros(aVersion); ::rtl::Bootstrap::expandMacros(aVersion);
return ::dp_misc::compareVersions(aVersion, i_rVersion) != i_eOrder; return ::dp_misc::compareVersions(aVersion, i_rVersion) != i_eOrder;
......
...@@ -82,7 +82,7 @@ struct UnoRc : public rtl::StaticWithInit< ...@@ -82,7 +82,7 @@ struct UnoRc : public rtl::StaticWithInit<
boost::shared_ptr<rtl::Bootstrap>, UnoRc> { boost::shared_ptr<rtl::Bootstrap>, UnoRc> {
const boost::shared_ptr<rtl::Bootstrap> operator () () { const boost::shared_ptr<rtl::Bootstrap> operator () () {
OUString unorc( RTL_CONSTASCII_USTRINGPARAM( OUString unorc( RTL_CONSTASCII_USTRINGPARAM(
"$OOO_BASE_DIR/program/" SAL_CONFIGFILE("uno")) ); "$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("uno")) );
::rtl::Bootstrap::expandMacros( unorc ); ::rtl::Bootstrap::expandMacros( unorc );
::boost::shared_ptr< ::rtl::Bootstrap > ret( ::boost::shared_ptr< ::rtl::Bootstrap > ret(
new ::rtl::Bootstrap( unorc ) ); new ::rtl::Bootstrap( unorc ) );
......
...@@ -116,7 +116,7 @@ namespace ...@@ -116,7 +116,7 @@ namespace
static inline rtl::OUString getBuildId() static inline rtl::OUString getBuildId()
{ {
rtl::OUString aPathVal(UNISTRING("${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}")); rtl::OUString aPathVal(UNISTRING("${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":buildid}"));
rtl::Bootstrap::expandMacros(aPathVal); rtl::Bootstrap::expandMacros(aPathVal);
return aPathVal; return aPathVal;
} }
......
...@@ -895,7 +895,7 @@ void UpdateHandler::setFullVersion( rtl::OUString& rString ) ...@@ -895,7 +895,7 @@ void UpdateHandler::setFullVersion( rtl::OUString& rString )
sal_Int32 nVerIndex = rString.indexOf( aProductVersion ); sal_Int32 nVerIndex = rString.indexOf( aProductVersion );
if ( nVerIndex != -1 ) if ( nVerIndex != -1 )
{ {
rtl::OUString aPackageVersion = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":OOOPackageVersion}" ); rtl::OUString aPackageVersion = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":OOOPackageVersion}" );
rtl::Bootstrap::expandMacros( aPackageVersion ); rtl::Bootstrap::expandMacros( aPackageVersion );
if ( aPackageVersion.getLength() ) if ( aPackageVersion.getLength() )
......
...@@ -64,7 +64,7 @@ getBootstrapData( ...@@ -64,7 +64,7 @@ getBootstrapData(
::rtl::OUString & rBuildID, ::rtl::OUString & rBuildID,
::rtl::OUString & rInstallSetID) ::rtl::OUString & rInstallSetID)
{ {
rBuildID = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":ProductBuildid}" ); rBuildID = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":ProductBuildid}" );
rtl::Bootstrap::expandMacros( rBuildID ); rtl::Bootstrap::expandMacros( rBuildID );
if ( ! rBuildID.getLength() ) if ( ! rBuildID.getLength() )
return false; return false;
......
...@@ -384,22 +384,9 @@ UpdateInformationProvider::UpdateInformationProvider( ...@@ -384,22 +384,9 @@ UpdateInformationProvider::UpdateInformationProvider(
} }
rtl::OUString product(buf.makeStringAndClear()); rtl::OUString product(buf.makeStringAndClear());
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 aUserAgent( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateUserAgent}" ) ); rtl::OUString aUserAgent( UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":UpdateUserAgent}" ) );
rtl::Bootstrap::expandMacros( aUserAgent ); rtl::Bootstrap::expandMacros( aUserAgent );
if ( ! aBaseBuildId.equals( aBrandBuildId ) )
{
sal_Int32 nIndex = aUserAgent.indexOf( aBrandBuildId, 0 );
if ( nIndex != -1 )
aUserAgent = aUserAgent.replaceAt( nIndex, aBrandBuildId.getLength(), aBaseBuildId );
}
for (sal_Int32 i = 0;;) { for (sal_Int32 i = 0;;) {
i = aUserAgent.indexOfAsciiL( i = aUserAgent.indexOfAsciiL(
RTL_CONSTASCII_STRINGPARAM("<PRODUCT>"), i); RTL_CONSTASCII_STRINGPARAM("<PRODUCT>"), i);
......
...@@ -1118,6 +1118,14 @@ ProfileItem gid_Brand_Profileitem_Version_Ooobaseversion ...@@ -1118,6 +1118,14 @@ ProfileItem gid_Brand_Profileitem_Version_Ooobaseversion
Value = "${OOOBASEVERSION}"; Value = "${OOOBASEVERSION}";
End End
ProfileItem gid_Brand_Profileitem_Version_Ooopackageversion
ProfileID = gid_Brand_Profile_Version_Ini;
ModuleID = gid_Module_Root_Brand;
Section = "Version";
Key = "OOOPackageVersion";
Value = "${OOOPACKAGEVERSION}";
End
ProfileItem gid_Brand_Profileitem_Version_Extensionupdateurl ProfileItem gid_Brand_Profileitem_Version_Extensionupdateurl
ProfileID = gid_Brand_Profile_Version_Ini; ProfileID = gid_Brand_Profile_Version_Ini;
ModuleID = gid_Module_Root_Brand; ModuleID = gid_Module_Root_Brand;
...@@ -1152,7 +1160,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions ...@@ -1152,7 +1160,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS"; Key = "BUNDLED_EXTENSIONS";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":BUNDLED_EXTENSIONS}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_User ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_User
...@@ -1160,7 +1168,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_User ...@@ -1160,7 +1168,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_User
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS_USER"; Key = "BUNDLED_EXTENSIONS_USER";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":BUNDLED_EXTENSIONS_USER}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_USER}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_Prereg ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_Prereg
...@@ -1168,7 +1176,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_Prereg ...@@ -1168,7 +1176,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Bundled_Extensions_Prereg
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS_PREREG"; Key = "BUNDLED_EXTENSIONS_PREREG";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":BUNDLED_EXTENSIONS_PREREG}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_PREREG}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Packages_Cache ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Packages_Cache
...@@ -1176,7 +1184,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Packages_Cache ...@@ -1176,7 +1184,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Packages_Cache
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "UNO_SHARED_PACKAGES_CACHE"; Key = "UNO_SHARED_PACKAGES_CACHE";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":UNO_SHARED_PACKAGES_CACHE}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_SHARED_PACKAGES_CACHE}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Extensions_User ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Extensions_User
...@@ -1184,7 +1192,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Extensions_User ...@@ -1184,7 +1192,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Shared_Extensions_User
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "SHARED_EXTENSIONS_USER"; Key = "SHARED_EXTENSIONS_USER";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":SHARED_EXTENSIONS_USER}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":SHARED_EXTENSIONS_USER}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_User_Packages_Cache ProfileItem gid_Brand_Profileitem_Fundamental_Uno_User_Packages_Cache
...@@ -1192,7 +1200,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_User_Packages_Cache ...@@ -1192,7 +1200,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_User_Packages_Cache
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "UNO_USER_PACKAGES_CACHE"; Key = "UNO_USER_PACKAGES_CACHE";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":UNO_USER_PACKAGES_CACHE}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_USER_PACKAGES_CACHE}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Tmp_Extensions ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Tmp_Extensions
...@@ -1200,7 +1208,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Tmp_Extensions ...@@ -1200,7 +1208,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Uno_Tmp_Extensions
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "TMP_EXTENSIONS"; Key = "TMP_EXTENSIONS";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":TMP_EXTENSIONS}"; Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Types ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Types
...@@ -1208,7 +1216,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Types ...@@ -1208,7 +1216,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Types
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_MORE_TYPES"; Key = "URE_MORE_TYPES";
Value = "$ORIGIN/offapi.rdb $ORIGIN/oovbaapi.rdb ${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":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}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Services ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Services
...@@ -1216,7 +1224,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Services ...@@ -1216,7 +1224,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Services
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_MORE_SERVICES"; Key = "URE_MORE_SERVICES";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_MORE_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} $ORIGIN/services.rdb";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Java_Types ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Java_Types
...@@ -1224,7 +1232,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Java_Types ...@@ -1224,7 +1232,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Java_Types
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_MORE_JAVA_TYPES"; Key = "URE_MORE_JAVA_TYPES";
Value = "$ORIGIN/classes/unoil.jar $ORIGIN/classes/ScriptFramework.jar ${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_MORE_JAVA_TYPES}"; Value = "$ORIGIN/classes/unoil.jar $ORIGIN/classes/ScriptFramework.jar ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_Shared_Data ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_Shared_Data
...@@ -1232,7 +1240,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_Shared_Data ...@@ -1232,7 +1240,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_Shared_Data
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA"; Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_OVERRIDE_JAVA_JFW_SHARED_DATA}"; Value = "${BRAND_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_User_Data ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_User_Data
...@@ -1240,7 +1248,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_User_Data ...@@ -1240,7 +1248,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_User_Data
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_OVERRIDE_JAVA_JFW_USER_DATA"; Key = "URE_OVERRIDE_JAVA_JFW_USER_DATA";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_OVERRIDE_JAVA_JFW_USER_DATA}"; Value = "${${BRAND_BASE_DIR}/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml";
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Classpath_Urls ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Classpath_Urls
...@@ -1248,7 +1256,16 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Classpath_Urls ...@@ -1248,7 +1256,16 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Classpath_Urls
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_MORE_JAVA_CLASSPATH_URLS"; Key = "URE_MORE_JAVA_CLASSPATH_URLS";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_MORE_JAVA_CLASSPATH_URLS}"; Value = "";
#ifdef SYSTEM_BSH
ValueList1 = BSH_JAR;
#endif
#ifdef SYSTEM_HSQLDB
ValueList2 = HSQLDB_JAR;
#endif
#ifdef SYSTEM_SAXON
ValueList3 = SAXON_JAR;
#endif
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Bin_Dir ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Bin_Dir
...@@ -1256,7 +1273,11 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Bin_Dir ...@@ -1256,7 +1273,11 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Bin_Dir
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_BIN_DIR"; Key = "URE_BIN_DIR";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_BIN_DIR}"; #if defined WNT
Value = "${.link:${OOO_BASE_DIR}/ure-link}/bin";
#else
Value = "${OOO_BASE_DIR}/ure-link/bin";
#endif
End End
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Lib_Dir ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Lib_Dir
...@@ -1264,7 +1285,11 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Lib_Dir ...@@ -1264,7 +1285,11 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Lib_Dir
ProfileID = gid_Brand_Profile_Fundamental_Ini; ProfileID = gid_Brand_Profile_Fundamental_Ini;
Section = "Bootstrap"; Section = "Bootstrap";
Key = "URE_LIB_DIR"; Key = "URE_LIB_DIR";
Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(fundamentalbasis) ":URE_LIB_DIR}"; #if defined WNT
Value = "${.link:${OOO_BASE_DIR}/ure-link}/bin";
#else
Value = "${OOO_BASE_DIR}/ure-link/lib";
#endif
End End
#if !defined MACOSX #if !defined MACOSX
......
...@@ -34,19 +34,6 @@ Profile gid_Profile_Uno_Ini ...@@ -34,19 +34,6 @@ Profile gid_Profile_Uno_Ini
#else #else
Name = "uno.ini"; Name = "uno.ini";
#endif #endif
Dir = gid_Dir_Program; Dir = gid_Brand_Dir_Program;
Styles = (NETWORK); Styles = (NETWORK);
End End
Profile gid_Profile_Version_Ini_Basis
ModuleID = gid_Module_Root;
Name = PROFILENAME(version);
Dir = gid_Dir_Program;
Styles = ();
End
Profile gid_Profile_Fundamentalbasis_Ini
ModuleID = gid_Module_Root;
Name = PROFILENAME(fundamentalbasis);
Dir = gid_Dir_Program;
End
...@@ -271,198 +271,3 @@ ProfileItem gid_Profileitem_Uno_Pkg_UserUnoFile ...@@ -271,198 +271,3 @@ ProfileItem gid_Profileitem_Uno_Pkg_UserUnoFile
Key = "PKG_UserUnoFile"; Key = "PKG_UserUnoFile";
Value = "$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc"; Value = "$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
End End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS";
Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_User
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS_USER";
Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_USER}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_Prereg
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "BUNDLED_EXTENSIONS_PREREG";
Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_PREREG}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Packages_Cache
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "UNO_SHARED_PACKAGES_CACHE";
Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_SHARED_PACKAGES_CACHE}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Extensions_User
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "SHARED_EXTENSIONS_USER";
Value = "${$ORIGIN/" PROFILENAME(uno) ":SHARED_EXTENSIONS_USER}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_User_Packages_Cache
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "UNO_USER_PACKAGES_CACHE";
Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_USER_PACKAGES_CACHE}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Tmp_Extensions
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "TMP_EXTENSIONS";
Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Types
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_MORE_TYPES";
Value = "${${$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
ModuleID = gid_Module_Root;
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}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Java_Types
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_MORE_JAVA_TYPES";
Value = "${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_Shared_Data
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA";
Value = "${BRAND_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_User_Data
ModuleID = gid_Module_Root;
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";
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Classpath_Urls
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_MORE_JAVA_CLASSPATH_URLS";
Value = "";
#ifdef SYSTEM_BSH
ValueList1 = BSH_JAR;
#endif
#ifdef SYSTEM_HSQLDB
ValueList2 = HSQLDB_JAR;
#endif
#ifdef SYSTEM_SAXON
ValueList3 = SAXON_JAR;
#endif
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Bin_Dir
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_BIN_DIR";
#if defined WNT
Value = "${.link:$ORIGIN/../ure-link}/bin";
#else
Value = "$ORIGIN/../ure-link/bin";
#endif
End
ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Lib_Dir
ModuleID = gid_Module_Root;
ProfileID = gid_Profile_Fundamentalbasis_Ini;
Section = "Bootstrap";
Key = "URE_LIB_DIR";
#if defined WNT
Value = "${.link:$ORIGIN/../ure-link}/bin";
#else
Value = "$ORIGIN/../ure-link/lib";
#endif
End
// Basis layer: gid_Profile_Version_Ini_Basis
ProfileItem gid_Basis_Profileitem_Version_Buildid
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "buildid";
Value = "<buildid>";
End
ProfileItem gid_Basis_Profileitem_Version_Productsource
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "ProductSource";
Value = "<sourceid>";
End
ProfileItem gid_Basis_Profileitem_Version_Productmajor
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "ProductMajor";
Value = "<productmajor>";
End
ProfileItem gid_Basis_Profileitem_Version_Productminor
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "ProductMinor";
Value = "<productminor>";
End
ProfileItem gid_Basis_Profileitem_Version_Productbuildid
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "ProductBuildid";
Value = "<productbuildid>";
End
ProfileItem gid_Basis_Profileitem_Version_Ooobaseversion
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "OOOBaseVersion";
Value = "${OOOBASEVERSION}";
End
ProfileItem gid_Basis_Profileitem_Version_Ooopackageversion
ProfileID = gid_Profile_Version_Ini_Basis;
ModuleID = gid_Module_Root;
Section = "Version";
Key = "OOOPackageVersion";
Value = "${OOOPACKAGEVERSION}";
End
...@@ -575,7 +575,7 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp) ...@@ -575,7 +575,7 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void ConfigManager::getBasisAboutBoxProductVersion( OUString& rVersion ) void ConfigManager::getBasisAboutBoxProductVersion( OUString& rVersion )
{ {
rtl::OUString aPackageVersion = UNISTRING( "${$OOO_BASE_DIR/program/" SAL_CONFIGFILE("version") ":OOOPackageVersion}" ); rtl::OUString aPackageVersion = UNISTRING( "${$BRAND_BASE_DIR/program/" SAL_CONFIGFILE("version") ":OOOPackageVersion}" );
rtl::Bootstrap::expandMacros( aPackageVersion ); rtl::Bootstrap::expandMacros( aPackageVersion );
if ( aPackageVersion.getLength() ) if ( aPackageVersion.getLength() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment