Damson/assets/syntax/kdesrc-buildrc.xml
astar76 11c1a7808b Build the syntax definitions into the app
Highlighting relied on the syntax-highlighting package, so removing it
left every file uncoloured. The 462 definitions now live in assets/syntax
and are compressed into the binary at build time, unpacked per language
when used. User .xml files still add to or replace them, and the licence
each file declares is recorded in assets/syntax/LICENSES.md.

Also moves files to the trash without needing gio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
8.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="kdesrc-buildrc" version="5" kateversion="5.62" section="Configuration" extensions=".kdesrc-buildrc;kdesrc-buildrc" author="Michael Pyne &lt;[email protected]>" license="LGPLv3"><highlighting><list name="bools"><item>0</item><item>1</item><item>FALSE</item><item>False</item><item>TRUE</item><item>True</item><item>false</item><item>true</item></list><list name="setEnvOptions"><item>set-env</item></list><list name="globalBoolOptions"><item>async</item><item>colorful-output</item><item>disable-agent-check</item><item>install-environment-driver</item><item>install-login-session</item><item>install-session-driver</item><item>pretend</item><item>purge-old-logs</item><item>stop-on-failure</item><item>use-idle-io-priority</item><item>use-inactive-modules</item></list><list name="globalOptions"><item>debug-level</item><item>directory-layout</item><item>git-desired-protocol</item><item>git-push-protocol</item><item>git-repository-base</item><item>http-proxy</item><item>include-dependencies</item><item>libname</item><item>niceness</item><item>num-cores</item><item>num-cores-low-mem</item><item>persistent-data-file</item><item>source-when-start-program</item><item>ssh-identity-file</item></list><list name="boolOptions"><item>build-system-only</item><item>build-when-unchanged</item><item>install-after-build</item><item>manual-build</item><item>manual-update</item><item>no-src</item><item>reconfigure</item><item>refresh-build</item><item>run-tests</item><item>use-clean-install</item></list><list name="options"><item>binpath</item><item>branch</item><item>branch-group</item><item>build-dir</item><item>cmake-generator</item><item>cmake-options</item><item>cmake-toolchain</item><item>compile-commands-export</item><item>compile-commands-linking</item><item>configure-flags</item><item>custom-build-command</item><item>cxxflags</item><item>dest-dir</item><item>do-not-compile</item><item>generate-vscode-project-config</item><item>git-user</item><item>kdedir</item><item>libpath</item><item>log-dir</item><item>make-install-prefix</item><item>make-options</item><item>ninja-options</item><item>override-build-system</item><item>prefix</item><item>qmake-options</item><item>qtdir</item><item>remove-after-install</item><item>repository</item><item>revision</item><item>source-dir</item><item>tag</item></list><list name="moduleSetOptions"><item>ignore-modules</item><item>use-modules</item></list><list name="includeKeyword"><item>include</item></list><list name="openModule"><item>module</item><item>options</item></list><list name="openModuleSet"><item>module-set</item></list><list name="openGlobal"><item>global</item></list><contexts><context name="Root Level" attribute="Normal Text"><DetectSpaces/><keyword String="openGlobal" attribute="Global Declaration" context="Global Options" beginRegion="Global Options" firstNonSpace="1"/><keyword String="openModuleSet" attribute="Module Declaration" context="ModuleSet Options" beginRegion="ModuleSet Options" firstNonSpace="1"/><keyword String="openModule" attribute="Module Declaration" context="Module Decl" beginRegion="Module Options" firstNonSpace="1"/><keyword String="includeKeyword" attribute="Option Name" context="Include Decl" firstNonSpace="1"/><DetectChar char="#" attribute="Comment" context="Comment"/></context><context name="Option Value" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><RegExpr String="\$\{[a-zA-Z0-9_-]+\}" attribute="Variable"/><RegExpr String="[a-zA-Z:0-9,./+!=@_-]*" attribute="Option Value"/><DetectChar char="#" attribute="Comment" context="Comment"/><LineContinue attribute="Option Value"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Bool Option Value" attribute="Possible Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><keyword String="bools" attribute="Option Value"/><DetectChar char="#" attribute="Comment" context="Comment"/><LineContinue attribute="Possible Error"/></context><context name="Common Module Options" attribute="Normal Text"><DetectSpaces/><StringDetect String="cmake-options" attribute="Option Name" context="CMake Option"/><keyword String="setEnvOptions" attribute="Option Name" context="Environment Name"/><keyword String="options" attribute="Option Name" context="Option Value"/><keyword String="boolOptions" attribute="Option Name" context="Bool Option Value"/><RegExpr String="[0-9-][a-zA-Z0-9_-]+" attribute="Possible Error" context="Option Value"/><RegExpr String="[a-zA-Z0-9_-]+" attribute="Unknown Option Name" context="Option Value"/><DetectChar char="#" attribute="Comment" context="Comment"/></context><context name="CMake Option" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><RegExpr String="-D[A-Za-z0-9_]+" attribute="Option Name"/><DetectChar char="="/><RegExpr String="[^\s]+" attribute="Option Value"/></context><context name="Environment Name" attribute="Environment Variable Name" lineEndContext="#pop"><DetectSpaces/><RegExpr String="[a-zA-Z0-9_-]+" attribute="Environment Variable Name" context="Option Value"/><DetectChar char="#" attribute="Comment" context="Comment"/></context><context name="Global Options" attribute="Normal Text"><StringDetect String="end global" attribute="Module Declaration" context="Root Level" endRegion="Global Options" firstNonSpace="1"/><keyword String="moduleSetOptions" attribute="Possible Error"/><keyword String="globalOptions" attribute="Option Name" context="Option Value"/><keyword String="globalBoolOptions" attribute="Option Name" context="Bool Option Value"/><IncludeRules context="Common Module Options"/></context><context name="Include Decl" attribute="Option Value" lineEndContext="#pop"/><context name="Module Decl" attribute="Module Name" lineEndContext="Module Options"><DetectSpaces/><RegExpr String="[a-zA-Z0-9/-]+" attribute="Module Name"/><DetectChar char="#" attribute="Comment" context="Comment"/></context><context name="Module Options" attribute="Normal Text"><DetectSpaces/><StringDetect String="end module" attribute="Module Declaration" context="Root Level" endRegion="Module Options" firstNonSpace="1"/><StringDetect String="end options" attribute="Module Declaration" context="Root Level" endRegion="Module Options" firstNonSpace="1"/><keyword String="moduleSetOptions" attribute="Possible Error"/><keyword String="globalOptions" attribute="Possible Error" context="Option Value"/><keyword String="globalBoolOptions" attribute="Possible Error" context="Bool Option Value"/><IncludeRules context="Common Module Options"/></context><context name="ModuleSet Options" attribute="Normal Text"><DetectSpaces/><RegExpr String="end module(-?set)?$" attribute="Module Declaration" context="Root Level" endRegion="ModuleSet Options" firstNonSpace="1"/><StringDetect String="use-modules" attribute="Option Name" context="ModuleSet use-module"/><keyword String="moduleSetOptions" attribute="Option Name" context="Option Value"/><keyword String="globalOptions" attribute="Possible Error" context="Option Value"/><keyword String="globalBoolOptions" attribute="Possible Error" context="Bool Option Value"/><IncludeRules context="Common Module Options"/></context><context name="ModuleSet use-module" attribute="Module Name" lineEndContext="#pop"><DetectChar char="#" attribute="Comment" context="Comment"/><LineContinue attribute="Possible Error"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Option Name" defStyleNum="dsKeyword" bold="0"/><itemData name="Unknown Option Name" defStyleNum="dsKeyword" bold="0" color="#7D4C0B"/><itemData name="Environment Variable Name" defStyleNum="dsString" color="#EE6A50"/><itemData name="Option Value" defStyleNum="dsDecVal"/><itemData name="Variable" defStyleNum="dsOthers"/><itemData name="Module Declaration" defStyleNum="dsKeyword" bold="0"/><itemData name="Module Name" defStyleNum="dsOthers" bold="1"/><itemData name="Global Declaration" defStyleNum="dsKeyword" bold="1"/><itemData name="Possible Error" defStyleNum="dsError"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments><keywords weakDeliminator="-"/></general></language>