Issue 103496 - clean up dependencies
Summary: clean up dependencies
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: Mathias_Bauer
QA Contact: issues@tools
Depends on:
Reported: 2009-07-13 09:46 UTC by Mathias_Bauer
Modified: 2010-06-28 15:51 UTC (History)
4 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Mathias_Bauer 2009-07-13 09:46:29 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.
Comment 1 Stephan Bergmann 2009-07-13 10:14:24 UTC
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.
Comment 2 Mathias_Bauer 2009-07-13 11:13:32 UTC
Removed dependency on tools in cli_ure
Comment 3 Mathias_Bauer 2009-07-13 13:19:30 UTC
Removed dependencies on sandbox, cpputools, remotebridges, stoc, io, unoil,
cli_ure in odk.
ODK builds fine without them
Comment 4 Mathias_Bauer 2009-07-28 15:28:00 UTC
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 is used.
This is a stupid dependency and it is better resolved by undefining UWINAPIDLL
in the 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 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.

Comment 5 Mathias_Bauer 2009-07-28 15:28:41 UTC
I removed a superfluous dependency of berkeleydb on xml2cmp
Comment 6 Mathias_Bauer 2009-07-28 16:18:01 UTC
Removed superfluous dependencies in agg (sal, xml2cmp)
Comment 7 Mathias_Bauer 2009-07-29 16:21:58 UTC
svx and forms had some stupid dependencies on ucb, fileaccess and configmgr. I
removed them, of course without a problem.
Comment 8 Mathias_Bauer 2009-07-29 17:46:45 UTC
I removed the dependency on officecfg in setup_native
Comment 9 Mathias_Bauer 2009-07-30 19:34:51 UTC
Removed dependency on uui ino binfilter, dbaccess, desktop, extensions, sc, sd,
sw. Added dependency on uui to postprocess.
Comment 10 Mathias_Bauer 2009-09-09 14:00:42 UTC
removed dependency on sal from berkeleydb by not linking it against uwinapi anymore
Comment 11 Mathias_Bauer 2009-09-15 18:56:48 UTC
removed dependency of cppunit on sal by moving all sal dependent parts to
testshl2. All auto tests have been adjusted
Comment 12 Mathias_Bauer 2009-09-15 18:57:27 UTC
removed linkage against STLPORT in all soltools except makedepend
needs further improvement
Comment 13 Mathias_Bauer 2009-09-15 18:57:56 UTC
removed perl dependency in soldep
Comment 14 Mathias_Bauer 2009-09-15 21:16:58 UTC
Moved wiki export filter to mwiki extension in swext, removed depedency of swext
on filter
Comment 15 Mathias_Bauer 2009-09-15 21:18:26 UTC
cleaned all dependencies on office libraries in sdext except for pdfimport
Comment 16 Mathias_Bauer 2009-09-16 22:25:54 UTC
Missing dependency on soltools added to cppunit, hyphen, libtextcat

All modules using dmake makefile *must* depend on soltools!
Comment 17 Mathias_Bauer 2009-09-16 22:26:46 UTC
Removed dependency on readlicense_oo from dictionaries. Dicts have their own
license files, so luckily we don't need the OOo license here.
Comment 18 Mathias_Bauer 2009-09-17 09:12:00 UTC
I removed the dependency of xmlhelp on svtools by replacing the usage of
SvtMiscOptions by direct usage of the Configuration API
Comment 19 Mathias_Bauer 2009-09-17 22:54:49 UTC
I also removed the dependency on unotools in xmlhelp by using Configuratio API
Comment 20 Mathias_Bauer 2009-10-01 15:51:09 UTC
moved kde_headers.h from vcl to shell as shell shouldn't depend on vcl (but no
problem having it the other way around)
Comment 21 Mathias_Bauer 2009-10-01 15:54:10 UTC
code in linguistic was reworked to get rid of sfx2 dependency
Comment 22 Mathias_Bauer 2009-10-01 15:56:47 UTC
sdi processing now works without ilb files, only with sdi files (no sideeffects
by building multiple targets in one rule)
Comment 23 Mathias_Bauer 2009-10-21 09:44:44 UTC
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.
Comment 24 Mathias_Bauer 2009-10-21 09:46:37 UTC
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.
Comment 25 eric.bachard 2009-11-02 05:08:11 UTC
Comment 26 Mathias_Bauer 2009-11-05 15:43:02 UTC
Fixed dependencies in soltools: no dependency on stlport anymore.
Can now be moved into a "prerequisites" module that doesn't have any external
Comment 27 Mathias_Bauer 2009-11-09 13:17:53 UTC
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.
Comment 28 Mathias_Bauer 2009-11-09 14:13:29 UTC
verified in cws master repository
Comment 29 Mathias_Bauer 2009-11-17 13:58:06 UTC
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.
Comment 30 Martin Hollmichel 2010-06-28 15:51:10 UTC
close issue.