GNOME Bugzilla – Bug 749192
xml dep: first check for /etc/xml/catalog
Last modified: 2015-06-14 07:44:07 UTC
Hi. This commit: https://git.gnome.org/browse/jhbuild/commit/jhbuild/utils/systeminstall.py?id=cb76d6809ac9390faa06eec36887293026bd6ffd introduced a check for "xml" system dependencies. Unfortunately, that prevents docbook-xml from being properly detected as installed on OpenBSD. The reason is that we have this file: $ cat /usr/local/share/xml/catalog CATALOG "docbook/catalog" which is not a proper xml catalog of course (just an "include this dir" configuration). The "correct" xml catalog is under /etc/xml/catalog on OpenBSD (and some other Linux distros as well afaict; except they don't have /usr/share/xml/catalog so they don't run into the same issue as ours). Would it be alright to reverse the logic? That is check for /etc/xml/catalog first and then fallback to XDG_DATA_DIRS/share/catalog? I can provide a patch for that but first I wanted to make sure that's a direction that GNOME developers agree on. Thanks.
Hi. Any feedback on this? Thanks.
Sorry about that; I'm fine putting /etc/xml/catalog first.
Created attachment 304128 [details] [review] reverse XML docbook catalog check Awesome Frederic, thanks. Let me know if it's ok to push this.
Hi Frederic. Any comment about that patch? Thanks.
Comment on attachment 304128 [details] [review] reverse XML docbook catalog check ok.
It's in, thanks a lot :-)