I've added a few files in contrib/dev-tools
http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/commit/?id=39d65491629488111879d3b748ffee53f31232a2
this commit, create a little program called module_dep. the README
should explain how to use it.
The motivation is to find out the dependencies of a give module
(either which modules depend on it or upon which modules it depend on.
This is useful to make decision regarding gbuildification.
for example:
$find /Volumes/Raid0/tb -maxdepth 5 -name "build.lst" | grep -v
"splitbuild/" | xargs ./modules_dep -u -c svx
svx
+ xmlsecurity
+ postprocess
+ packimages
+ instsetoo_native
+ testgraphical
+ smoketestoo_native
+ writerfilter
+ sw
+ vbahelper
+ tail_build
+ scripting
+ sc
+ starmath
+ sd
+ oox
+ lotuswordpro
+ formula
+ reportdesign
+ forms
+ filter
+ desktop
+ extensions
+ dbaccess
+ cui
+ chart2
+ basctl
so in order to get svx under tail_build, we need xmlsecurity,
scripting, filter, desktop, extensions, basctl gbuildified....
Norbert
PS: yeah, I know. I probably re-invented the wheel... kohei's python
program to generate the nice little dep picture probably could have
done the work. But 1/ I could not find the source, 2/ I don't know
python and learning it would have taken me more time than writing a
small C-program :-) same rational for build.pl, which clearly has
already all it take to parse build.lst files... but extracting the
interesting piece of that glob of perl sounded a bigger project to me
than writing a small c-program from scratch :-).
PS2: in the TODO list there is to flags modules that are under gbuild
(stat $(SRC_ROOT)/<foo>/Module_<foo>.mk) and flags the ones that are
already under tail_build ('^ <foo> \' is in
Module_tail_build.mk)....
Context
- [Libreoffice] module dependencies. a little tools to display them · Norbert Thiebaud
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.