Undo basis/brand split: merge basis share/ into brand share/.
This commit is contained in:
parent
29e11dd13e
commit
2ff63bcdea
@ -529,32 +529,22 @@ Components::Components(
|
||||
0,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/registry"))));
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
"$BRAND_BASE_DIR/share/registry"))));
|
||||
parseModuleLayer(
|
||||
2,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
"$OOO_BASE_DIR/share/registry/modules"))));
|
||||
"$BRAND_BASE_DIR/share/registry/modules"))));
|
||||
parseResLayer(
|
||||
3,
|
||||
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,
|
||||
4,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
@ -564,7 +554,7 @@ Components::Components(
|
||||
"PackageRegistryBackend/configmgr.ini"))),
|
||||
false);
|
||||
parseXcsXcuIniLayer(
|
||||
9,
|
||||
6,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
@ -574,7 +564,7 @@ Components::Components(
|
||||
"PackageRegistryBackend/configmgr.ini"))),
|
||||
true);
|
||||
parseXcsXcuLayer(
|
||||
11,
|
||||
8,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
@ -585,7 +575,7 @@ Components::Components(
|
||||
// can be dropped once old UserInstallation format can no longer exist
|
||||
// (probably OOo 4)
|
||||
parseXcsXcuIniLayer(
|
||||
13,
|
||||
10,
|
||||
expand(
|
||||
rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
|
@ -79,7 +79,7 @@ done
|
||||
|
||||
if [ "$OPTSYNC" = "true" ] && [ -z "$OPTOTHER" ]
|
||||
then
|
||||
JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
JVMFWKPARAMS='-env:UNO_JAVA_JFW_INSTALL_DATA=$BRAND_BASE_DIR/share/config/javasettingsunopkginstall.xml -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
fi
|
||||
|
||||
# extend the ld_library_path for java: javaldx checks the sofficerc for us
|
||||
|
@ -415,7 +415,7 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main()
|
||||
//for the admin. The value must also be set in the unopkg script (Linux, etc.)
|
||||
//when calling javaldx
|
||||
::rtl::Bootstrap::set(OUSTR("UNO_JAVA_JFW_INSTALL_DATA"),
|
||||
OUSTR("$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml"));
|
||||
OUSTR("$BRAND_BASE_DIR/share/config/javasettingsunopkginstall.xml"));
|
||||
|
||||
}
|
||||
|
||||
|
@ -1169,6 +1169,12 @@ throw ( NoSuchElementException, RuntimeException )
|
||||
void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariables& aPreDefPathVariables )
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "SubstitutePathVariables::SetPredefinedPathVariables" );
|
||||
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
|
||||
rtl::Bootstrap::expandMacros(
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
|
||||
|
||||
Any aAny;
|
||||
::rtl::OUString aOfficePath;
|
||||
::rtl::OUString aUserPath;
|
||||
@ -1180,9 +1186,10 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
||||
::utl::Bootstrap::PathStatus aState;
|
||||
::rtl::OUString sVal ;
|
||||
|
||||
rtl::OUString basis;
|
||||
aState = utl::Bootstrap::locateBaseInstallation( sVal );
|
||||
if( aState==::utl::Bootstrap::PATH_EXISTS ) {
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] = ConvertOSLtoUCBURL( sVal );
|
||||
basis = ConvertOSLtoUCBURL( sVal );
|
||||
}
|
||||
else {
|
||||
LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for instpath!");
|
||||
@ -1197,6 +1204,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
||||
}
|
||||
|
||||
// Set $(inst), $(instpath), $(insturl)
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] = aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL];
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTURL ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INST ] = aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ];
|
||||
// New variable of hierachy service (#i32656#)
|
||||
@ -1210,8 +1218,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
||||
|
||||
// Detect the program directory
|
||||
// Set $(prog), $(progpath), $(progurl)
|
||||
INetURLObject aProgObj(
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_INSTPATH ] );
|
||||
INetURLObject aProgObj( basis );
|
||||
if ( !aProgObj.HasError() && aProgObj.insertName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("program")) ) )
|
||||
{
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_PROGPATH ] = aProgObj.GetMainURL(INetURLObject::NO_DECODE);
|
||||
@ -1256,11 +1263,6 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
||||
// Set $(temp)
|
||||
osl::FileBase::getTempDirURL( aTmp );
|
||||
aPreDefPathVariables.m_FixedVar[ PREDEFVAR_TEMP ] = ConvertOSLtoUCBURL( aTmp );
|
||||
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL] = rtl::OUString(
|
||||
RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR"));
|
||||
rtl::Bootstrap::expandMacros(
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
|
||||
}
|
||||
|
||||
} // namespace framework
|
||||
|
@ -52,11 +52,9 @@ module com { module sun { module star { module util {
|
||||
</p>
|
||||
<dl>
|
||||
<dt>$(inst)</dt>
|
||||
<dd>Installation path of the Office Basis layer.</dd>
|
||||
<dd>Installation path of the Office.</dd>
|
||||
<dt>$(prog)</dt>
|
||||
<dd>Program path of the Office Basis layer.</dd>
|
||||
<dt>$(brandbaseurl)</dt>
|
||||
<dd>Installation path of the the Office Brand layer.</dd>
|
||||
<dd>Program path of the Office.</dd>
|
||||
<dt>$(user)</dt>
|
||||
<dd>The user installation directory.</dd>
|
||||
<dt>$(work)</dt>
|
||||
|
@ -160,7 +160,7 @@
|
||||
</node>
|
||||
<node oor:name="Misc">
|
||||
<prop oor:name="TransitionFiles" install:module="ogltrans">
|
||||
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
</prop>
|
||||
</node>
|
||||
</oor:component-data>
|
||||
|
@ -475,7 +475,7 @@
|
||||
</desc>
|
||||
<label>List of files containing transition effects</label>
|
||||
</info>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
</prop>
|
||||
<prop oor:name="EffectFiles" oor:type="oor:string-list">
|
||||
<!-- OldPath: -->
|
||||
@ -491,7 +491,7 @@
|
||||
</desc>
|
||||
<label>List of files containing object effects</label>
|
||||
</info>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
|
||||
</prop>
|
||||
<prop oor:name="PreviewNewEffects" oor:type="xs:boolean">
|
||||
<!-- OldPath: -->
|
||||
|
@ -64,6 +64,7 @@ MY_FILES_base = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-base.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-base.xcu
|
||||
|
||||
MY_DEPS_brand = main
|
||||
MY_FILES_brand = \
|
||||
$(MY_XCU)/Office/Compatibility.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
|
||||
@ -83,6 +84,7 @@ MY_FILES_calc = \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-calc.xcu
|
||||
|
||||
MY_DEPS_cjk = main
|
||||
MY_FILES_cjk = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
|
||||
$(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
|
||||
@ -120,6 +122,7 @@ MY_FILES_impress = \
|
||||
$(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
|
||||
$(MY_MOD)/org/openoffice/Setup-impress.xcu
|
||||
|
||||
MY_DEPS_korea = main
|
||||
MY_FILES_korea = \
|
||||
$(MY_MOD)/org/openoffice/Office/Common-korea.xcu
|
||||
|
||||
|
@ -84,6 +84,6 @@ End
|
||||
File gid_File_Share_Registry_Base_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "base.xcd";
|
||||
End
|
||||
|
@ -31,7 +31,7 @@
|
||||
File gid_File_Share_Registry_Binfilter_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "binfilter.xcd";
|
||||
End
|
||||
|
||||
|
@ -41,7 +41,7 @@ STD_LIB_FILE( gid_File_Lib_Analysis, analysis)
|
||||
File gid_File_Share_Registry_Calc_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "calc.xcd";
|
||||
End
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
File gid_File_Share_Registry_Draw_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "draw.xcd";
|
||||
End
|
||||
|
||||
|
@ -48,7 +48,7 @@ End
|
||||
File gid_File_Share_Registry_Gnome_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "gnome.xcd";
|
||||
End
|
||||
#endif
|
||||
|
@ -30,7 +30,7 @@
|
||||
File gid_File_Share_Registry_Graphicfilter_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "graphicfilter.xcd";
|
||||
End
|
||||
|
||||
|
@ -40,7 +40,7 @@ End
|
||||
File gid_File_Share_Registry_Impress_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "impress.xcd";
|
||||
End
|
||||
|
||||
|
@ -57,6 +57,6 @@ End
|
||||
File gid_File_Share_Registry_Ogltrans_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "ogltrans.xcd";
|
||||
End
|
||||
|
@ -52,21 +52,21 @@ End
|
||||
File gid_File_Share_Registry_Palm_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "palm.xcd";
|
||||
End
|
||||
|
||||
File gid_File_Share_Registry_Pocketexcel_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "pocketexcel.xcd";
|
||||
End
|
||||
|
||||
File gid_File_Share_Registry_Pocketword_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "pocketword.xcd";
|
||||
End
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "macros.inc"
|
||||
|
||||
Directory gid_Dir_Share_Layout
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "layout";
|
||||
End
|
||||
|
||||
|
@ -46,7 +46,7 @@ STD_RES_FILE( gid_File_Res_Sm, sm )
|
||||
File gid_File_Share_Registry_Math_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "math.xcd";
|
||||
End
|
||||
|
||||
|
@ -32,7 +32,7 @@ SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Updchk , updchk.uno )
|
||||
File gid_File_Share_Registry_Onlineupdate_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "onlineupdate.xcd";
|
||||
End
|
||||
|
||||
|
@ -349,22 +349,13 @@ Directory gid_Dir_Plugin
|
||||
Styles = (WORKSTATION, CREATE);
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share
|
||||
#if defined MACOSX
|
||||
ParentID = gid_Brand_Dir_BasisLink;
|
||||
#else
|
||||
ParentID = gid_Dir_Ooo_Basis;
|
||||
#endif
|
||||
DosName = "share";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Migration
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "migration";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Fonts
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "fonts";
|
||||
End
|
||||
|
||||
@ -378,7 +369,7 @@ End
|
||||
#endif
|
||||
|
||||
Directory gid_Dir_Share_Xslt
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "xslt";
|
||||
End
|
||||
|
||||
@ -460,7 +451,7 @@ Directory gid_Dir_Share_Xslt_Import_Common
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Dtd
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "dtd";
|
||||
End
|
||||
|
||||
@ -485,17 +476,12 @@ Directory gid_Dir_Share_Dtd_Math_1_01
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Pqa
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "pqa";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Config
|
||||
ParentID = gid_Dir_Share;
|
||||
DosName = "config";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Config_Wizard
|
||||
ParentID = gid_Dir_Share_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "wizard";
|
||||
End
|
||||
|
||||
@ -510,7 +496,7 @@ Directory gid_Dir_Share_Config_Wizard_Web_Buttons
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Config_Sofficecfg
|
||||
ParentID = gid_Dir_Share_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "soffice.cfg";
|
||||
End
|
||||
|
||||
@ -674,18 +660,13 @@ Directory gid_Dir_Share_Config_Sofficecfg_Swriter_Menubar
|
||||
DosName = "menubar";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Registry
|
||||
ParentID = gid_Dir_Share;
|
||||
DosName = "registry";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Registry_Res
|
||||
ParentID = gid_Dir_Share_Registry;
|
||||
ParentID = gid_Brand_Dir_Share_Registry;
|
||||
HostName = "res";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Autotext
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "autotext";
|
||||
End
|
||||
|
||||
@ -695,13 +676,13 @@ Directory gid_Dir_Autotext_Language
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Autocorr
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "autocorr";
|
||||
Styles = (WORKSTATION, CREATE);
|
||||
End
|
||||
|
||||
Directory gid_Dir_Basic
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "basic";
|
||||
End
|
||||
|
||||
@ -761,62 +742,57 @@ Directory gid_Dir_Basic_Scriptbindinglib
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Scripts
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "Scripts";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Dict
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "dict";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config
|
||||
ParentID = gid_Dir_Share;
|
||||
DosName = "config";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Language
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DIR_ISOLANGUAGE_ALL_LANG_2;
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Config_Help
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "help";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_More
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "more";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Start
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "start";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Tasks
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "tasks";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Settings
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "settings";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Symbol
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "symbol";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Config_Webcast
|
||||
ParentID = gid_Dir_Config;
|
||||
ParentID = gid_Brand_Dir_Share_Config;
|
||||
DosName = "webcast";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Gallery
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "gallery";
|
||||
End
|
||||
|
||||
@ -961,7 +937,7 @@ Directory gid_Dir_Gallery_Wwwgraf
|
||||
End
|
||||
|
||||
Directory gid_Dir_Template
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "template";
|
||||
End
|
||||
|
||||
@ -1076,7 +1052,7 @@ Directory gid_Dir_Template_Internal
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Database
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "database";
|
||||
End
|
||||
|
||||
@ -1086,12 +1062,12 @@ Directory gid_Dir_Share_Database_Language
|
||||
End
|
||||
|
||||
Directory gid_Dir_Explorer
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "explorer";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Bookmark
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "bookmark";
|
||||
End
|
||||
|
||||
@ -1131,12 +1107,12 @@ Directory gid_Dir_Bookmark_Tourismus
|
||||
End
|
||||
|
||||
Directory gid_Dir_Palmpilot
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "palmpilot";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Samples
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "samples";
|
||||
End
|
||||
|
||||
@ -1187,17 +1163,17 @@ Directory gid_Dir_Samples_Databases_Dateien
|
||||
End
|
||||
|
||||
Directory gid_Dir_Wordbook
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "wordbook";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Plugin
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "plugin";
|
||||
End
|
||||
|
||||
Directory gid_Dir_Share_Fingerprint
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "fingerprint";
|
||||
End
|
||||
|
||||
@ -1307,7 +1283,7 @@ End
|
||||
#ifdef UNX
|
||||
|
||||
Directory gid_Dir_Psprint
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "psprint";
|
||||
End
|
||||
|
||||
@ -1334,7 +1310,7 @@ End
|
||||
#ifdef UNX
|
||||
|
||||
Directory gid_Dir_Share_Icons
|
||||
ParentID = gid_Dir_Share;
|
||||
ParentID = gid_Brand_Dir_Share;
|
||||
DosName = "icons";
|
||||
End
|
||||
|
||||
|
@ -51,7 +51,7 @@ End
|
||||
#ifdef UNX
|
||||
|
||||
File gid_File_Extra_Cfgsrv_Bitmap_Unx
|
||||
Dir = gid_Dir_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
ARCHIVE_TXT_FILE_BODY;
|
||||
Name = "cfgsrvbitmapunx.zip";
|
||||
End
|
||||
@ -66,7 +66,7 @@ File gid_File_Extra_Cfgusr
|
||||
End
|
||||
|
||||
File gid_File_Extra_Cfgsrv
|
||||
Dir = gid_Dir_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
TXT_FILE_BODY;
|
||||
Styles = (ARCHIVE);
|
||||
Name = "cfgsrvnolang.zip";
|
||||
|
@ -598,7 +598,7 @@ End
|
||||
File gid_File_Share_Registry_Main_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED, SCPZIP_REPLACE);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "main.xcd";
|
||||
End
|
||||
|
||||
@ -607,7 +607,7 @@ End
|
||||
File gid_File_Share_Registry_Forcedefault_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED, SCPZIP_REPLACE, SET_OFFICE_LANGUAGE);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "forcedefault.xcd";
|
||||
End
|
||||
|
||||
@ -616,14 +616,14 @@ End
|
||||
File gid_File_Oo_Ldap_Xcd_Sample
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "oo-ldap.xcd.sample";
|
||||
End
|
||||
|
||||
File gid_File_Oo_Ad_Ldap_Xcd_Sample
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "oo-ad-ldap.xcd.sample";
|
||||
End
|
||||
|
||||
@ -656,14 +656,14 @@ End
|
||||
File gid_File_Registry_Spool_Langpack_Lang
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
FILE_ALL_LANG_LETTER(Langpack-,xcd);
|
||||
End
|
||||
|
||||
File gid_File_Share_Registry_Ctl_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED,MAKE_LANG_SPECIFIC);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name (ar) = "ctl.xcd";
|
||||
Name (dz) = "ctl.xcd";
|
||||
Name (fa) = "ctl.xcd";
|
||||
@ -683,7 +683,7 @@ End
|
||||
File gid_File_Share_Registry_Ctlseqcheck_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED,MAKE_LANG_SPECIFIC);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name (km) = "ctlseqcheck.xcd";
|
||||
Name (lo) = "ctlseqcheck.xcd";
|
||||
Name (th) = "ctlseqcheck.xcd";
|
||||
@ -1228,7 +1228,7 @@ End
|
||||
|
||||
File gid_File_Config_Javasettingsunopkginstall
|
||||
USER_FILE_BODY;
|
||||
Dir = gid_Dir_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "javasettingsunopkginstall.xml";
|
||||
#ifdef SOLARIS
|
||||
Styles = (PACKED,VOLATILEFILE);
|
||||
@ -1240,7 +1240,7 @@ End
|
||||
#ifdef THEME_DEFAULT
|
||||
File gid_File_Images_Zip
|
||||
TXT_FILE_BODY;
|
||||
Dir = gid_Dir_Share_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "images.zip";
|
||||
Styles = (PACKED);
|
||||
End
|
||||
@ -1249,7 +1249,7 @@ End
|
||||
#ifdef THEME_CRYSTAL
|
||||
File gid_File_ImagesCrystal_Zip
|
||||
TXT_FILE_BODY;
|
||||
Dir = gid_Dir_Share_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "images_crystal.zip";
|
||||
Styles = (PACKED);
|
||||
End
|
||||
@ -1258,7 +1258,7 @@ End
|
||||
#ifdef THEME_OXYGEN
|
||||
File gid_File_ImagesOxygen_Zip
|
||||
TXT_FILE_BODY;
|
||||
Dir = gid_Dir_Share_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "images_oxygen.zip";
|
||||
Styles = (PACKED);
|
||||
End
|
||||
@ -1267,7 +1267,7 @@ End
|
||||
#ifdef THEME_HICONTRAST
|
||||
File gid_File_ImagesHicontrast_Zip
|
||||
TXT_FILE_BODY;
|
||||
Dir = gid_Dir_Share_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "images_hicontrast.zip";
|
||||
Styles = (PACKED);
|
||||
End
|
||||
@ -1276,7 +1276,7 @@ End
|
||||
#ifdef THEME_TANGO
|
||||
File gid_File_ImagesTango_Zip
|
||||
TXT_FILE_BODY;
|
||||
Dir = gid_Dir_Share_Config;
|
||||
Dir = gid_Brand_Dir_Share_Config;
|
||||
Name = "images_tango.zip";
|
||||
Styles = (PACKED);
|
||||
End
|
||||
@ -1285,7 +1285,7 @@ End
|
||||
File gid_File_Share_Registry_Lingucomponent_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "lingucomponent.xcd";
|
||||
End
|
||||
|
||||
|
@ -118,7 +118,7 @@ End
|
||||
File gid_File_Share_Registry_Pyuno_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "pyuno.xcd";
|
||||
End
|
||||
|
||||
|
@ -88,6 +88,6 @@ End
|
||||
File gid_File_Share_Registry_Writer_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "writer.xcd";
|
||||
End
|
||||
|
@ -30,7 +30,7 @@
|
||||
File gid_File_Share_Registry_Xsltfilter_Xcd
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED);
|
||||
Dir = gid_Dir_Share_Registry;
|
||||
Dir = gid_Brand_Dir_Share_Registry;
|
||||
Name = "xsltfilter.xcd";
|
||||
End
|
||||
|
||||
|
@ -29,8 +29,6 @@
|
||||
#Create the folder which contains the temporary user installation
|
||||
INSTDIR=`/usr/bin/mktemp -d "/tmp/userinstall.XXXXXX"`
|
||||
|
||||
OOO_BASE_DIR="/opt/openoffice.org/basis${OOOBASEVERSION}"
|
||||
|
||||
case "$1" in
|
||||
'start')
|
||||
EXTENSIONDIR=/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/share/extension/install
|
||||
@ -50,7 +48,7 @@ case "$1" in
|
||||
#list. That is, it has not been installed (with unopkg) yet.
|
||||
#Therefore we do it now.
|
||||
echo installing $FILE
|
||||
/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg add --shared --bundled "$FILE" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
/opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg add --shared --bundled "$FILE" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=/opt/openoffice.org/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
#Let us remember that this extensions has been installed
|
||||
#by adding the path name of the extension to the file
|
||||
#installed
|
||||
@ -78,7 +76,7 @@ case "$1" in
|
||||
# #share/extension/install. Now we remove the installed
|
||||
# #extension
|
||||
# echo removing `basename $LINE`
|
||||
# /opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg remove --shared --bundled "`basename $LINE`" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
# /opt/openoffice.org${OOOBRANDPACKAGEVERSION}/program/unopkg remove --shared --bundled "`basename $LINE`" '-env:UserInstallation=file://$INSTDIR' '-env:UNO_JAVA_JFW_INSTALL_DATA=/opt/openoffice.org/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
# REMOVED=1
|
||||
# else
|
||||
# NEWCONTENT+=$LINE
|
||||
|
@ -3146,10 +3146,10 @@
|
||||
<value>true</value>
|
||||
</prop>
|
||||
<prop oor:name="TransitionFiles" oor:type="oor:string-list">
|
||||
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions.xml;vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/transitions-ogl.xml</value>
|
||||
</prop>
|
||||
<prop oor:name="EffectFiles" oor:type="oor:string-list">
|
||||
<value oor:separator=";">vnd.sun.star.expand:$OOO_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
|
||||
<value oor:separator=";">vnd.sun.star.expand:$BRAND_BASE_DIR/share/config/soffice.cfg/simpress/effects.xml</value>
|
||||
</prop>
|
||||
<prop oor:name="PreviewNewEffects" oor:type="xs:boolean">
|
||||
<value>true</value>
|
||||
|
@ -1688,7 +1688,7 @@ static bool AddLocalTempFontDirs( void )
|
||||
return false;
|
||||
bFirst = false;
|
||||
|
||||
// add private font files found in brand and base layer
|
||||
// add private font files
|
||||
|
||||
rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) );
|
||||
rtl_bootstrap_expandMacros( &aBrandStr.pData );
|
||||
@ -1698,19 +1698,7 @@ static bool AddLocalTempFontDirs( void )
|
||||
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 );
|
||||
rtl::OUString aBaseSysPath;
|
||||
OSL_VERIFY( osl_getSystemPathFromFileURL( aBaseStr.pData, &aBaseSysPath.pData ) == osl_File_E_None );
|
||||
|
||||
rtl::OStringBuffer aBaseFontDir( aBaseSysPath.getLength()*2 );
|
||||
aBaseFontDir.append( rtl::OUStringToOString( aBaseSysPath, RTL_TEXTENCODING_UTF8 ) );
|
||||
aBaseFontDir.append( "/share/fonts/truetype/" );
|
||||
bool bBaseSuccess = AddTempFontDir( aBaseFontDir.getStr() );
|
||||
|
||||
return bBrandSuccess && bBaseSuccess;
|
||||
return AddTempFontDir( aBrandFontDir.getStr() );
|
||||
}
|
||||
|
||||
void AquaSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
|
||||
|
@ -1471,7 +1471,7 @@ static bool AddLocalTempFontDirs( void )
|
||||
return false;
|
||||
bFirst = false;
|
||||
|
||||
// add private font files found in brand and base layer
|
||||
// add private font files
|
||||
|
||||
rtl::OUString aBrandStr( RTL_CONSTASCII_USTRINGPARAM( "$BRAND_BASE_DIR" ) );
|
||||
rtl_bootstrap_expandMacros( &aBrandStr.pData );
|
||||
@ -1483,21 +1483,9 @@ static bool AddLocalTempFontDirs( void )
|
||||
aBrandFontDir.append( "/share/fonts/truetype/" );
|
||||
|
||||
// iterate font files in that and call CTFontManagerRegisterFontsForURL for them?
|
||||
bool bBrandSuccess = true;
|
||||
bool bSuccess = true;
|
||||
|
||||
rtl::OUString aBaseStr( RTL_CONSTASCII_USTRINGPARAM( "$OOO_BASE_DIR" ) );
|
||||
rtl_bootstrap_expandMacros( &aBaseStr.pData );
|
||||
rtl::OUString aBaseSysPath;
|
||||
OSL_VERIFY( osl_getSystemPathFromFileURL( aBaseStr.pData, &aBaseSysPath.pData ) == osl_File_E_None );
|
||||
|
||||
rtl::OStringBuffer aBaseFontDir( aBaseSysPath.getLength()*2 );
|
||||
aBaseFontDir.append( rtl::OUStringToOString( aBaseSysPath, RTL_TEXTENCODING_UTF8 ) );
|
||||
aBaseFontDir.append( "/share/fonts/truetype/" );
|
||||
|
||||
// ditto
|
||||
bool bBaseSuccess = true;
|
||||
|
||||
return bBrandSuccess && bBaseSuccess;
|
||||
return bSuccess;
|
||||
}
|
||||
|
||||
void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
|
||||
|
@ -301,7 +301,7 @@ void ImplImageTree::resetZips() {
|
||||
}
|
||||
{
|
||||
rtl::OUString url(
|
||||
RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/config"));
|
||||
RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
|
||||
rtl::Bootstrap::expandMacros(url);
|
||||
INetURLObject u(url);
|
||||
OSL_ASSERT(!u.HasError());
|
||||
@ -320,7 +320,7 @@ void ImplImageTree::resetZips() {
|
||||
{
|
||||
rtl::OUString url(
|
||||
RTL_CONSTASCII_USTRINGPARAM(
|
||||
"$OOO_BASE_DIR/share/config/images.zip"));
|
||||
"$BRAND_BASE_DIR/share/config/images.zip"));
|
||||
rtl::Bootstrap::expandMacros(url);
|
||||
m_zips.push_back(
|
||||
std::make_pair(
|
||||
|
@ -353,7 +353,7 @@ void ContentProvider::init()
|
||||
subst( aPath );
|
||||
aImagesZipPaths[ 0 ] = aPath;
|
||||
|
||||
aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/share/config"));
|
||||
aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
|
||||
rtl::Bootstrap::expandMacros(aPath);
|
||||
aImagesZipPaths[ 1 ] = aPath;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user