Commit 6c7ea72c authored by Christian Hergert's avatar Christian Hergert

build: disable dtd validation

This doesn't pass, and likely seems to be in relation to the DTD provided
by Glade rather than GtkSourceView's use of it.
parent 8d676465
...@@ -16,20 +16,22 @@ catalog_xml = configure_file( ...@@ -16,20 +16,22 @@ catalog_xml = configure_file(
install_dir: join_paths(datadir, 'glade', 'catalogs') install_dir: join_paths(datadir, 'glade', 'catalogs')
) )
if xmllint_prg.found() # Currently DTD validation does not work with glade's DTD.
catalog_dtd = join_paths( # This does not appear to be limited to GtkSourceView.
gladeui_dep.get_pkgconfig_variable('catalogdir'), #if xmllint_prg.found()
'glade-catalog.dtd' # catalog_dtd = join_paths(
) # gladeui_dep.get_pkgconfig_variable('catalogdir'),
# 'glade-catalog.dtd'
test( # )
'Validate Glade catalogue', #
xmllint_prg, # test(
args: [ # 'Validate Glade catalogue',
'--dtdvalid', # xmllint_prg,
catalog_dtd, # args: [
catalog_xml, # '--dtdvalid',
'--noout', # catalog_dtd,
] # catalog_xml,
) # '--noout',
endif # ]
# )
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment