mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
gio: Add gresource.dtd
This allows linting of .gresource.xml files e.g. in the editor.
This commit is contained in:
parent
9b15842ec1
commit
f10bb13314
14
gio/gresource.dtd
Normal file
14
gio/gresource.dtd
Normal file
@ -0,0 +1,14 @@
|
||||
<!--
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
SPDX-FileCopyrightText: 2023 JCWasmx86
|
||||
-->
|
||||
|
||||
<!ELEMENT gresources (gresource)* >
|
||||
|
||||
<!ELEMENT gresource (file)* >
|
||||
<!ATTLIST gresource prefix CDATA #IMPLIED >
|
||||
|
||||
<!ELEMENT file (#PCDATA) >
|
||||
<!ATTLIST file alias CDATA #IMPLIED
|
||||
compressed (true|false) #IMPLIED
|
||||
preprocess (xml-stripblanks|to-pixdata|json-stripblanks) #IMPLIED >
|
@ -1020,6 +1020,10 @@ glib_compile_resources = executable('glib-compile-resources',
|
||||
# intl.lib is not compatible with SAFESEH
|
||||
link_args : noseh_link_args,
|
||||
dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep, gvdb_dep])
|
||||
install_data('gresource.dtd',
|
||||
install_dir: get_option('datadir') / 'glib-2.0/dtds',
|
||||
install_tag: 'devel',
|
||||
)
|
||||
|
||||
# Cannot override those programs in cross compilation case because they are
|
||||
# native executables that cannot be run on the build machine.
|
||||
|
Loading…
Reference in New Issue
Block a user