From b7e61a4b756a629df13e008cb13b78cb2582646c Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 13 Sep 2021 02:57:04 -0500 Subject: Tell gtk-doc where the XML catalog is (#25569) * Tell gtk-doc where the XML catalog is The gtk-doc configure script has an option for specifying the path to the XML catalog. If this is not set the configure script will search a defined set of directories for a catalog file and will set `with_xml_catalog` based on that. Only if no system catalog is found will the XML_CATALOG_FILES be looked at. In order to make sure that the spack provided catalog is used, pass the `--with-xml-catalog` option. * Use the property from docbook-xml --- var/spack/repos/builtin/packages/gtk-doc/package.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/gtk-doc/package.py b/var/spack/repos/builtin/packages/gtk-doc/package.py index 9b35b9de3a..1cb992b3a5 100644 --- a/var/spack/repos/builtin/packages/gtk-doc/package.py +++ b/var/spack/repos/builtin/packages/gtk-doc/package.py @@ -59,3 +59,9 @@ class GtkDoc(AutotoolsPackage): """Handle gnome's version-based custom URLs.""" url = 'https://gitlab.gnome.org/GNOME/gtk-doc/-/archive/GTK_DOC_{0}/gtk-doc-GTK_DOC_{0}.tar.gz' return url.format(version.underscored) + + def configure_args(self): + args = [ + '--with-xml-catalog={0}'.format(self.spec['docbook-xml'].package.catalog) + ] + return args -- cgit v1.2.3-70-g09d2