Kaydet (Commit) 894ae72e authored tarafından Jürgen Schmidt's avatar Jürgen Schmidt

#122356# rename toolkit lib due to conflicts on MacOS, it's a workaround for…

#122356# rename toolkit lib due to conflicts on MacOS, it's a workaround for conflicts with sqlite..., will be probably solved with dropping mozilla libs
üst 1deb4e88
...@@ -73,7 +73,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \ ...@@ -73,7 +73,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
swd \ swd \
swui \ swui \
textconversiondlgs \ textconversiondlgs \
tk \ ootk \
tl \ tl \
utl \ utl \
unordf \ unordf \
......
...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,drawinglayer,\ ...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,drawinglayer,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
vcl \ vcl \
$(gb_STDLIBS) \ $(gb_STDLIBS) \
......
...@@ -140,7 +140,7 @@ $(eval $(call gb_Library_add_linked_libs,editeng,\ ...@@ -140,7 +140,7 @@ $(eval $(call gb_Library_add_linked_libs,editeng,\
basegfx \ basegfx \
lng \ lng \
svt \ svt \
tk \ ootk \
vcl \ vcl \
svl \ svl \
stl \ stl \
......
...@@ -49,7 +49,7 @@ $(eval $(call gb_Library_add_linked_libs,fwi,\ ...@@ -49,7 +49,7 @@ $(eval $(call gb_Library_add_linked_libs,fwi,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
utl \ utl \
vcl \ vcl \
......
...@@ -49,7 +49,7 @@ $(eval $(call gb_Library_add_linked_libs,fwk,\ ...@@ -49,7 +49,7 @@ $(eval $(call gb_Library_add_linked_libs,fwk,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -46,7 +46,7 @@ $(eval $(call gb_Library_add_linked_libs,fwl,\ ...@@ -46,7 +46,7 @@ $(eval $(call gb_Library_add_linked_libs,fwl,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
utl \ utl \
vcl \ vcl \
......
...@@ -44,7 +44,7 @@ $(eval $(call gb_Library_add_linked_libs,fwm,\ ...@@ -44,7 +44,7 @@ $(eval $(call gb_Library_add_linked_libs,fwm,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
utl \ utl \
vcl \ vcl \
......
...@@ -90,7 +90,7 @@ my_components = \ ...@@ -90,7 +90,7 @@ my_components = \
component/sw/util/sw \ component/sw/util/sw \
component/sw/util/swd \ component/sw/util/swd \
component/sw/util/vbaswobj \ component/sw/util/vbaswobj \
component/toolkit/util/tk \ component/toolkit/util/ootk \
component/unoxml/source/rdf/unordf \ component/unoxml/source/rdf/unordf \
component/unoxml/source/service/unoxml \ component/unoxml/source/service/unoxml \
component/xmloff/source/transform/xof \ component/xmloff/source/transform/xof \
......
...@@ -1503,7 +1503,7 @@ SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Wininetbe, wininetbe1.uno ) ...@@ -1503,7 +1503,7 @@ SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Wininetbe, wininetbe1.uno )
SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Macbe, macbe1.uno ) SPECIAL_COMPONENT_LIB_FILE( gid_File_Lib_Macbe, macbe1.uno )
#endif #endif
STD_LIB_FILE( gid_File_Lib_Tk, tk ) STD_LIB_FILE( gid_File_Lib_Tk, ootk )
STD_LIB_FILE( gid_File_Lib_Acc, acc ) STD_LIB_FILE( gid_File_Lib_Acc, acc )
STD_LIB_FILE( gid_File_Lib_Tools, tl ) STD_LIB_FILE( gid_File_Lib_Tools, tl )
......
...@@ -43,25 +43,15 @@ End ...@@ -43,25 +43,15 @@ End
#ifndef MACOSX #ifndef MACOSX
#ifdef WNT #ifdef WNT
Directory gid_Dir_Sdkoo_Root Directory gid_Dir_OpenOffice_Sdk
ParentID = PREDEFINED_PROGDIR; ParentID = PREDEFINED_PROGDIR;
HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}"; HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}";
Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION); Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION);
End End
#endif #else
Directory gid_Dir_OpenOffice_Sdk
#ifndef WNT
Directory gid_Dir_Ooo_Openofficeorg_Sdk
ParentID = PREDEFINED_PROGDIR; ParentID = PREDEFINED_PROGDIR;
HostName = "${UNIXBASISROOTNAME}"; HostName = "${UNIXPRODUCTNAME}${BRANDPACKAGEVERSION}";
End
#endif
#ifndef WNT
Directory gid_Dir_Ooo_Basis_Sdk
ParentID = gid_Dir_Ooo_Openofficeorg_Sdk;
HostName = "basis${OOOBASEVERSION}";
Styles = (BASISDIRECTORY);
End End
#endif #endif
...@@ -72,11 +62,7 @@ Directory gid_Dir_Basis_Sdk ...@@ -72,11 +62,7 @@ Directory gid_Dir_Basis_Sdk
ParentID = PREDEFINED_PROGDIR; ParentID = PREDEFINED_PROGDIR;
DosName = "OpenOffice_SDK"; DosName = "OpenOffice_SDK";
#else #else
#if defined WNT ParentID = gid_Dir_OpenOffice_Sdk;
ParentID = gid_Dir_Sdkoo_Root;
#else
ParentID = gid_Dir_Ooo_Basis_Sdk;
#endif
DosName = "sdk"; DosName = "sdk";
#endif #endif
End End
...@@ -183,7 +169,7 @@ Unixlink gid_Unixlink_Sal_Link_Sdk ...@@ -183,7 +169,7 @@ Unixlink gid_Unixlink_Sal_Link_Sdk
Styles = (); Styles = ();
Name = SCP2_URE_DL_UNO_NORMAL("sal"); Name = SCP2_URE_DL_UNO_NORMAL("sal");
Dir = gid_Dir_Lib_Sdk; Dir = gid_Dir_Lib_Sdk;
Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("sal", "3"); Target = "../../program/" SCP2_URE_DL_UNO_VER("sal", "3");
End End
#endif #endif
...@@ -193,7 +179,7 @@ Unixlink gid_Unixlink_Salhelper_Link_Sdk ...@@ -193,7 +179,7 @@ Unixlink gid_Unixlink_Salhelper_Link_Sdk
Styles = (); Styles = ();
Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper");
Dir = gid_Dir_Lib_Sdk; Dir = gid_Dir_Lib_Sdk;
Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3");
End End
#endif #endif
...@@ -203,7 +189,7 @@ Unixlink gid_Unixlink_Cppu_Link_Sdk ...@@ -203,7 +189,7 @@ Unixlink gid_Unixlink_Cppu_Link_Sdk
Styles = (); Styles = ();
Name = SCP2_URE_DL_UNO_NORMAL("cppu"); Name = SCP2_URE_DL_UNO_NORMAL("cppu");
Dir = gid_Dir_Lib_Sdk; Dir = gid_Dir_Lib_Sdk;
Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("cppu", "3"); Target = "../../program/" SCP2_URE_DL_UNO_VER("cppu", "3");
End End
#endif #endif
...@@ -214,7 +200,7 @@ Unixlink gid_Unixlink_Cppuhelper_Link_Sdk ...@@ -214,7 +200,7 @@ Unixlink gid_Unixlink_Cppuhelper_Link_Sdk
// Styles = (LAYERLINK); // Styles = (LAYERLINK);
Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper");
Dir = gid_Dir_Lib_Sdk; Dir = gid_Dir_Lib_Sdk;
Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3");
End End
#endif #endif
...@@ -224,7 +210,7 @@ Unixlink gid_Unixlink_Purpenvhelper_Link_Sdk ...@@ -224,7 +210,7 @@ Unixlink gid_Unixlink_Purpenvhelper_Link_Sdk
Styles = (); Styles = ();
Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper"); Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper");
Dir = gid_Dir_Lib_Sdk; Dir = gid_Dir_Lib_Sdk;
Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3");
End End
#endif #endif
......
...@@ -68,7 +68,7 @@ $(eval $(call gb_Library_add_linked_libs,qstart_gtk,\ ...@@ -68,7 +68,7 @@ $(eval $(call gb_Library_add_linked_libs,qstart_gtk,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -65,7 +65,7 @@ $(eval $(call gb_Library_add_linked_libs,sfx,\ ...@@ -65,7 +65,7 @@ $(eval $(call gb_Library_add_linked_libs,sfx,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -166,7 +166,7 @@ AGGLIB=-lagg$(DLLPOSTFIX) ...@@ -166,7 +166,7 @@ AGGLIB=-lagg$(DLLPOSTFIX)
.ENDIF .ENDIF
FREETYPE_LIBS*=-lfreetype FREETYPE_LIBS*=-lfreetype
FREETYPELIB=$(FREETYPE_LIBS) FREETYPELIB=$(FREETYPE_LIBS)
TKLIB=-ltk$(DLLPOSTFIX) TKLIB=-lootk$(DLLPOSTFIX)
LAYOUTLIB=-ltklayout$(DLLPOSTFIX) LAYOUTLIB=-ltklayout$(DLLPOSTFIX)
SVTOOLLIB=-lsvt$(DLLPOSTFIX) SVTOOLLIB=-lsvt$(DLLPOSTFIX)
XMLSECLIB=-lxmlsec1 XMLSECLIB=-lxmlsec1
...@@ -463,7 +463,7 @@ CPPCANVASLIB=icppcanvas.lib ...@@ -463,7 +463,7 @@ CPPCANVASLIB=icppcanvas.lib
FORLIB=ifor.lib FORLIB=ifor.lib
FORUILIB=iforui.lib FORUILIB=iforui.lib
AGGLIB=iagg.lib AGGLIB=iagg.lib
TKLIB=itk.lib TKLIB=iootk.lib
LAYOUTLIB=itklayout.lib LAYOUTLIB=itklayout.lib
SVXLLIB=svxl.lib SVXLLIB=svxl.lib
FREETYPELIB=freetype.lib FREETYPELIB=freetype.lib
......
...@@ -40,7 +40,7 @@ $(eval $(call gb_Library_add_linked_libs,hatchwindowfactory,\ ...@@ -40,7 +40,7 @@ $(eval $(call gb_Library_add_linked_libs,hatchwindowfactory,\
cppu \ cppu \
cppuhelper \ cppuhelper \
sal \ sal \
tk \ ootk \
tl \ tl \
vcl \ vcl \
stl \ stl \
......
...@@ -60,7 +60,7 @@ $(eval $(call gb_Library_add_linked_libs,svt,\ ...@@ -60,7 +60,7 @@ $(eval $(call gb_Library_add_linked_libs,svt,\
sot \ sot \
stl \ stl \
svl \ svl \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -58,7 +58,7 @@ $(eval $(call gb_Library_add_linked_libs,svx,\ ...@@ -58,7 +58,7 @@ $(eval $(call gb_Library_add_linked_libs,svx,\
svl \ svl \
svt \ svt \
svxcore \ svxcore \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -72,7 +72,7 @@ $(eval $(call gb_Library_add_linked_libs,svxcore,\ ...@@ -72,7 +72,7 @@ $(eval $(call gb_Library_add_linked_libs,svxcore,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -44,7 +44,7 @@ $(eval $(call gb_Library_add_linked_libs,textconversiondlgs,\ ...@@ -44,7 +44,7 @@ $(eval $(call gb_Library_add_linked_libs,textconversiondlgs,\
svl \ svl \
svt \ svt \
stl \ stl \
tk \ ootk \
tl \ tl \
utl \ utl \
vcl \ vcl \
......
...@@ -62,7 +62,7 @@ $(eval $(call gb_Library_add_linked_libs,msword,\ ...@@ -62,7 +62,7 @@ $(eval $(call gb_Library_add_linked_libs,msword,\
svx \ svx \
svxcore \ svxcore \
sw \ sw \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -69,7 +69,7 @@ $(eval $(call gb_Library_add_linked_libs,sw,\ ...@@ -69,7 +69,7 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
svt \ svt \
svx \ svx \
svxcore \ svxcore \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,swui,\ ...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,swui,\
svx \ svx \
svxcore \ svxcore \
sw \ sw \
tk \ ootk \
tl \ tl \
ucbhelper \ ucbhelper \
utl \ utl \
......
...@@ -52,7 +52,7 @@ $(eval $(call gb_Library_add_linked_libs,vbaswobj,\ ...@@ -52,7 +52,7 @@ $(eval $(call gb_Library_add_linked_libs,vbaswobj,\
svx \ svx \
svxcore \ svxcore \
sw \ sw \
tk \ ootk \
tl \ tl \
utl \ utl \
vbahelper \ vbahelper \
......
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
$(eval $(call gb_Library_Library,tk)) $(eval $(call gb_Library_Library,ootk))
$(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk)) $(eval $(call gb_Library_set_componentfile,ootk,toolkit/util/ootk))
$(eval $(call gb_Library_add_package_headers,tk,toolkit_inc)) $(eval $(call gb_Library_add_package_headers,ootk,toolkit_inc))
#$(eval $(call gb_Library_add_precompiled_header,tk,$(SRCDIR)/toolkit/inc/pch/precompiled_toolkit)) #$(eval $(call gb_Library_add_precompiled_header,ootk,$(SRCDIR)/toolkit/inc/pch/precompiled_toolkit))
$(eval $(call gb_Library_set_include,tk,\ $(eval $(call gb_Library_set_include,ootk,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/toolkit/inc \ -I$(SRCDIR)/toolkit/inc \
-I$(SRCDIR)/toolkit/inc/pch \ -I$(SRCDIR)/toolkit/inc/pch \
...@@ -37,12 +37,12 @@ $(eval $(call gb_Library_set_include,tk,\ ...@@ -37,12 +37,12 @@ $(eval $(call gb_Library_set_include,tk,\
-I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc/offuh \
)) ))
$(eval $(call gb_Library_set_defs,tk,\ $(eval $(call gb_Library_set_defs,ootk,\
$$(DEFS) \ $$(DEFS) \
-DTOOLKIT_DLLIMPLEMENTATION \ -DTOOLKIT_DLLIMPLEMENTATION \
)) ))
$(eval $(call gb_Library_add_linked_libs,tk,\ $(eval $(call gb_Library_add_linked_libs,ootk,\
comphelper \ comphelper \
cppu \ cppu \
cppuhelper \ cppuhelper \
...@@ -54,7 +54,7 @@ $(eval $(call gb_Library_add_linked_libs,tk,\ ...@@ -54,7 +54,7 @@ $(eval $(call gb_Library_add_linked_libs,tk,\
$(gb_STDLIBS) \ $(gb_STDLIBS) \
)) ))
$(eval $(call gb_Library_add_exception_objects,tk,\ $(eval $(call gb_Library_add_exception_objects,ootk,\
toolkit/source/awt/asynccallback \ toolkit/source/awt/asynccallback \
toolkit/source/awt/stylesettings \ toolkit/source/awt/stylesettings \
toolkit/source/awt/vclxaccessiblecomponent \ toolkit/source/awt/vclxaccessiblecomponent \
...@@ -152,12 +152,12 @@ $(eval $(call gb_Library_add_exception_objects,tk,\ ...@@ -152,12 +152,12 @@ $(eval $(call gb_Library_add_exception_objects,tk,\
)) ))
ifeq ($(GUIBASE),aqua) ifeq ($(GUIBASE),aqua)
$(eval $(call gb_Library_set_cxxflags,tk,\ $(eval $(call gb_Library_set_cxxflags,ootk,\
$$(CXXFLAGS) $(gb_OBJCXXFLAGS))) $$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
endif endif
ifeq ($(OS),LINUX) ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,tk,\ $(eval $(call gb_Library_add_linked_libs,ootk,\
X11 \ X11 \
)) ))
endif endif
......
This diff is collapsed.
...@@ -53,7 +53,7 @@ $(eval $(call gb_Library_add_linked_libs,msforms,\ ...@@ -53,7 +53,7 @@ $(eval $(call gb_Library_add_linked_libs,msforms,\
svt \ svt \
svx \ svx \
stl \ stl \
tk \ ootk \
tl \ tl \
vbahelper \ vbahelper \
vcl \ vcl \
......
...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,vbahelper,\ ...@@ -56,7 +56,7 @@ $(eval $(call gb_Library_add_linked_libs,vbahelper,\
stl \ stl \
svl \ svl \
svt \ svt \
tk \ ootk \
tl \ tl \
utl \ utl \
vcl \ vcl \
......
...@@ -1728,7 +1728,7 @@ UnoWrapperBase* Application::GetUnoWrapper( sal_Bool bCreateIfNotExist ) ...@@ -1728,7 +1728,7 @@ UnoWrapperBase* Application::GetUnoWrapper( sal_Bool bCreateIfNotExist )
static sal_Bool bAlreadyTriedToCreate = sal_False; static sal_Bool bAlreadyTriedToCreate = sal_False;
if ( !pSVData->mpUnoWrapper && bCreateIfNotExist && !bAlreadyTriedToCreate ) if ( !pSVData->mpUnoWrapper && bCreateIfNotExist && !bAlreadyTriedToCreate )
{ {
::rtl::OUString aLibName = ::vcl::unohelper::CreateLibraryName( "tk", sal_True ); ::rtl::OUString aLibName = ::vcl::unohelper::CreateLibraryName( "ootk", sal_True );
oslModule hTkLib = osl_loadModuleRelative( oslModule hTkLib = osl_loadModuleRelative(
&thisModule, aLibName.pData, SAL_LOADMODULE_DEFAULT ); &thisModule, aLibName.pData, SAL_LOADMODULE_DEFAULT );
if ( hTkLib ) if ( hTkLib )
......
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