Apache OpenOffice (AOO) Bugzilla – Issue 103496
clean up dependencies
Last modified: 2010-06-28 15:51:10 UTC
A lot of wrong or unnecessary dependencies exist. Removing them should reduce total number of dependencies and so make the build more suitable for parallel processing and the dependency diagram more readable.
By the way, I recently cleaned up the lists of linker dependencies among the libraries we build (issue 99519), so *that* source of unnecessary module dependencies should be relatively clean nowadays.
Removed dependency on tools in cli_ure
Removed dependencies on sandbox, cpputools, remotebridges, stoc, io, unoil, cli_ure in odk. ODK builds fine without them
Some external libraries had a build dependency on sal just because uwinapi is part of sal and it is linked to every windows library by default if a makefile.mk is used. This is a stupid dependency and it is better resolved by undefining UWINAPIDLL in the makefile.mk of the external libraries so that they no longer link against uwinapi.dll. I removed the dependency for * hunspell * hyphen * libtextcat * libxmlsec * lpsolve * msfontextract * redland * xpdf If the patchfile contained a makefile.mk for linking the dll I adjusted the patch. As berkeleydb currently is updated, I postponed the fix for this libary until the CWS with the update is integrated.
I removed a superfluous dependency of berkeleydb on xml2cmp
Removed superfluous dependencies in agg (sal, xml2cmp)
svx and forms had some stupid dependencies on ucb, fileaccess and configmgr. I removed them, of course without a problem.
I removed the dependency on officecfg in setup_native
Removed dependency on uui ino binfilter, dbaccess, desktop, extensions, sc, sd, sw. Added dependency on uui to postprocess.
removed dependency on sal from berkeleydb by not linking it against uwinapi anymore
removed dependency of cppunit on sal by moving all sal dependent parts to testshl2. All auto tests have been adjusted
removed linkage against STLPORT in all soltools except makedepend needs further improvement
removed perl dependency in soldep
Moved wiki export filter to mwiki extension in swext, removed depedency of swext on filter
cleaned all dependencies on office libraries in sdext except for pdfimport
Missing dependency on soltools added to cppunit, hyphen, libtextcat All modules using dmake makefile *must* depend on soltools!
Removed dependency on readlicense_oo from dictionaries. Dicts have their own license files, so luckily we don't need the OOo license here.
I removed the dependency of xmlhelp on svtools by replacing the usage of SvtMiscOptions by direct usage of the Configuration API
I also removed the dependency on unotools in xmlhelp by using Configuratio API directly
moved kde_headers.h from vcl to shell as shell shouldn't depend on vcl (but no problem having it the other way around)
code in linguistic was reworked to get rid of sfx2 dependency
sdi processing now works without ilb files, only with sdi files (no sideeffects by building multiple targets in one rule)
svtools has been split up. Code not depending on vcl has been moved to a new library "svl". Some vcl code has been replaced to move even more code to svl. A new tools::SolarMutex class has been added that gives access to the SolarMutex without linking against vcl. some files have even been moved to unotools, mainly to be able to use them in vcl also without adding a new dependency in vcl.
now several libs (inguistic, lingucomponent, connectivity, xmloff) don't need svtools anymore. xmloff still used vcl, this has been fixed by moving these parts (font conversion, font enums, mapunit) to tools and svl.
+me
Fixed dependencies in soltools: no dependency on stlport anymore. Can now be moved into a "prerequisites" module that doesn't have any external dependencies.
Removed sandbox module as it seems to be not in use anymore. For now this will be enough; we now have a build that can be split into several pieces without cross build dependencies.
verified in cws master repository
A split built showed that removing the dependency of soltools on stlport created a problem: now modules that themselves depend on soltools and stlport but only have soltools in their build.lst can't be built from scratch. It worked by luck until now, but now it's broken. Fixed that for agg, libegg, cppunit.
close issue.