RESOLVED FIXED 213614
[JHBuild] Add support for using a minimal moduleset
https://bugs.webkit.org/show_bug.cgi?id=213614
Summary [JHBuild] Add support for using a minimal moduleset
Carlos Alberto Lopez Perez
Reported 2020-06-25 12:37:08 PDT
We would like to be able to build WebKit on a given distribution using as much libraries from the system as possible. So the idea is to have a minimum JHBuild moduleset for building only the libraries that are not available on the distribution.
Attachments
Patch (14.81 KB, patch)
2020-06-25 12:45 PDT, Carlos Alberto Lopez Perez
no flags
Patch (15.62 KB, patch)
2020-07-07 08:54 PDT, Carlos Alberto Lopez Perez
no flags
Carlos Alberto Lopez Perez
Comment 1 2020-06-25 12:45:33 PDT
Carlos Garcia Campos
Comment 2 2020-06-27 01:17:06 PDT
Comment on attachment 402796 [details] Patch I think there's an option in jhbuild to prefer system modules when the version is newer than the one in the moduleset.
Carlos Alberto Lopez Perez
Comment 3 2020-07-07 08:45:39 PDT
(In reply to Carlos Garcia Campos from comment #2) > Comment on attachment 402796 [details] > Patch > > I think there's an option in jhbuild to prefer system modules when the > version is newer than the one in the moduleset. Right. But AFAIK that doesn't work for what I intend to do here. AFAIK <systemmodule ...> tells JHBuild that the dependency should be installed by the system (distro package), and if is not installed then JHBuild will fail. In other words: with systemmodule, jhbuild won't build the dependency if the system doesn't provide one new enough. It will simply fail. What I'm trying to do here is to tell JHBuild to check if the system provides a new enough version of the dependency, and if it does then skip building it. If it doesn't then JHBuild will build it, instead of failing. This is achieved by using the <pkg-config> directive in the modules
Carlos Alberto Lopez Perez
Comment 4 2020-07-07 08:54:05 PDT
EWS
Comment 5 2020-07-08 03:41:58 PDT
Committed r264092: <https://trac.webkit.org/changeset/264092> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403692 [details].
Radar WebKit Bug Importer
Comment 6 2020-07-08 03:42:14 PDT
Note You need to log in before you can comment on or make changes to this bug.