GNOME Bugzilla – Bug 782564
Update moduleset.dtd and moduleset.rnc to keep modulesets validated
Last modified: 2017-05-16 14:21:17 UTC
JHBuild was updated to support meson build system and distutils with python3, but moduleset.dtd and moduleset.rnc are not kept updated with these changes, causing validation error when running 'make check'. <after> can include <if>, but moduleset.dtd and moduleset.rnc don't allow it. GLib module was modified to use <if> in <after> for macos condition, so we should update them to keep modulesets validated.
Created attachment 351734 [details] [review] moduleset.{dtd,rnc}: Update definitions to keep modulesets validated There are 3 changes in this commit: 1. meson element is added. The definition of meson element is largely based on cmake element. 2. python3 attribute is added to distutils element. It is an optional attribute having only only one possible value, 1. The restriction on value is added to keep consistency since the code only checks the existence of the attribute. 3. after element can contain if element. The code supports it, but no module use it until glib module was updated to support macOS.
Attachment 351734 [details] pushed as 28d866f - moduleset.{dtd,rnc}: Update definitions to keep modulesets validated