Web lists-archives.com

Re: qtwebkit




On Tue, Mar 27, 2018 at 03:26:39PM +0200, Stéphane Ancelot wrote:
> hi,
> 
> It looks like qtwebkit is no more required, however, some packages seems 
> depnd on it for compiling .
> 
> how to inhibit webkit deps with kdesrc-build ?

The simplest way is to use an ignore-modules declaration [1] in the
module-set that brings in the module that requires Qt WebKit.

For example if you have a module "juk" that breaks without Qt WebKit in
a module-set like:

module-set
    repository kde-projects
    use-modules kdemultimedia  # implicitly includes juk
end module-set

then you could keep from building juk in particular with

module-set
    repository kde-projects
    use-modules kdemultimedia  # implicitly includes juk
    ignore-modules juk         # now juk filtered out
end module-set

This is less useful if you're trying to avoid editing the kdesrc-build
configuration files.

Until a better way to handle this is implemented in kdesrc-build, you
could use the --ignore-modules command line argument every time you run
kdesrc-build (passing the modules to skip building).

[1] See https://docs.kde.org/trunk5/en/extragear-utils/kdesrc-build/kde-modules-and-selection.html#ignoring-project-modules

Regards,
 - Michael Pyne