This allow to user to get abstracted about the passed intltool-merge
flags, so this code:
bld(
features = 'intltool_in',
flags = ['-d', '-q', '-u'],
source = 'myapp.desktop.in',
)
Now is equivalent to:
bld(
features = 'intltool_in',
style = 'desktop',
source = 'myapp.desktop.in',
)
In some scenarios only some components of the glib2 tool are
necessary; for example, if intltool-merge is only used for
creating localized desktop files, it's not useful on Windows.
Rewrite the configuration function of the tools into several methods,
so that the 'funs' parameter can be used to only configure
specific programs from the tools.