Initial checkin of Pika from heckimp

This commit is contained in:
2023-09-25 15:35:21 -07:00
commit 891e999216
6761 changed files with 5240685 additions and 0 deletions

View 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>

View 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
View 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

View 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
View 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>