Initial checkin of Pika from heckimp
This commit is contained in:
5
data/tags/its/pika-tags.its
Normal file
5
data/tags/its/pika-tags.its
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:translateRule selector="/tags" translate="no"/>
|
||||
<its:translateRule selector="//thetag" translate="yes"/>
|
||||
</its:rules>
|
6
data/tags/its/pika-tags.loc
Normal file
6
data/tags/its/pika-tags.loc
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<locatingRules>
|
||||
<locatingRule name="PikaTags" pattern="*.xml">
|
||||
<documentRule localName="tags" target="pika-tags.its"/>
|
||||
</locatingRule>
|
||||
</locatingRules>
|
22
data/tags/meson.build
Normal file
22
data/tags/meson.build
Normal file
@ -0,0 +1,22 @@
|
||||
pika_tags_default = i18n.merge_file(
|
||||
input : 'pika-tags-default.xml.in',
|
||||
output: '@BASENAME@',
|
||||
data_dirs: meson.current_source_dir(),
|
||||
po_dir: potags_dir,
|
||||
install: true,
|
||||
install_dir: pikadatadir / 'tags',
|
||||
)
|
||||
|
||||
if xmllint.found()
|
||||
custom_target('validate-tags',
|
||||
command: [
|
||||
xmllint,
|
||||
'--output', '@OUTPUT@',
|
||||
'--path', meson.current_source_dir(),
|
||||
'--valid', pika_tags_default,
|
||||
],
|
||||
output: [ 'validate-tags-output.xml' ],
|
||||
build_by_default: true,
|
||||
install: false
|
||||
)
|
||||
endif
|
22
data/tags/pika-tags-default.xml.in
Normal file
22
data/tags/pika-tags-default.xml.in
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE tags SYSTEM "pika-tags.dtd">
|
||||
|
||||
<!-- This is a list of default tags for PIKA resources. -->
|
||||
<!-- -->
|
||||
<!-- Please do not use separator characters, such as comma, in tags. -->
|
||||
|
||||
<tags>
|
||||
<resource identifier="${pika_data_dir}/brushes/Round.vbr" checksum="a7f02530d3bc7484c8f9240cbe9c65b1">
|
||||
<tag>
|
||||
<thetag>round</thetag>
|
||||
</tag>
|
||||
</resource>
|
||||
|
||||
<resource identifier="${pika_data_dir}/brushes/Round-Fuzzy.vbr" checksum="f8cb2466841104a55e42afce4568d103">
|
||||
<tag>
|
||||
<!-- fuzzy as in a feathered, blurred, unfocused, soft brush -->
|
||||
<thetag>fuzzy</thetag>
|
||||
<thetag>round</thetag>
|
||||
</tag>
|
||||
</resource>
|
||||
</tags>
|
12
data/tags/pika-tags.dtd
Normal file
12
data/tags/pika-tags.dtd
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- Simple DTD for PIKA tags -->
|
||||
|
||||
<!ELEMENT tags (resource+)>
|
||||
|
||||
<!ELEMENT resource (tag*)>
|
||||
<!ATTLIST resource identifier CDATA #REQUIRED>
|
||||
<!ATTLIST resource checksum CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT tag (thetag+)>
|
||||
|
||||
<!ELEMENT thetag (#PCDATA)>
|
||||
<!ATTLIST thetag xml:lang CDATA #IMPLIED>
|
Reference in New Issue
Block a user