visualize module dependencies

Enrico Weigelt enrico.weigelt at
Sun Nov 18 15:23:04 PST 2012

> modules_dep utility can produce graphviz output now (thank you
> Norbert
> for not writing it in perl ;-).
> This command generates the dependency graph of all LO modules:
> find $SRC_DIR -name build.lst | sed 's/prj.*//' | xargs
> $DEV_TOOLS_DIR/modules_dep/modules_dep.bin -s -c solenv -g | grep -v
> tail_build | dot -Tpng -o lo_modules.png
> Deep pink are modules that still not migrated to gbuild:

cool. does that also work for external dependencies ?
and perhaps also basen on the current build onfiguration ?

this could be helpful to find out whether certain libs are
unnecessarily linked in. for example, a few days ago, i was working
on --enable-dbus+friends and found out that this is just an dependency
for other optional features and is completely useless if they're
switched off.

Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt at; 

More information about the LibreOffice mailing list