diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/lv2_validate.in | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/util/lv2_validate.in b/util/lv2_validate.in new file mode 100755 index 0000000..165b1bf --- /dev/null +++ b/util/lv2_validate.in @@ -0,0 +1,110 @@ +#!/bin/sh + +LV2DIR="@LV2DIR@" + +if [ "$#" -eq "0" ]; then + echo "lv2_validate: missing operand" 1>&2; + echo "" 1>&2; + echo "Usage: lv2_validate [FILE]..." 1>&2; + echo "Validate the given ttl files against the installed LV2 spec" 1>&2; + exit 1 +fi + +sord_validate \ + "$LV2DIR/patch.lv2/manifest.ttl" \ + "$LV2DIR/patch.lv2/lv2-patch.doap.ttl" \ + "$LV2DIR/patch.lv2/patch.ttl" \ + "$LV2DIR/eg-amp.lv2/manifest.ttl" \ + "$LV2DIR/eg-amp.lv2/amp.ttl" \ + "$LV2DIR/eg-fifths.lv2/manifest.ttl" \ + "$LV2DIR/eg-fifths.lv2/fifths.ttl" \ + "$LV2DIR/port-props.lv2/manifest.ttl" \ + "$LV2DIR/port-props.lv2/lv2-port-props.doap.ttl" \ + "$LV2DIR/port-props.lv2/port-props.ttl" \ + "$LV2DIR/eg-midigate.lv2/manifest.ttl" \ + "$LV2DIR/eg-midigate.lv2/midigate.ttl" \ + "$LV2DIR/worker.lv2/lv2-worker.doap.ttl" \ + "$LV2DIR/worker.lv2/manifest.ttl" \ + "$LV2DIR/worker.lv2/worker.ttl" \ + "$LV2DIR/buf-size.lv2/manifest.ttl" \ + "$LV2DIR/buf-size.lv2/lv2-buf-size.doap.ttl" \ + "$LV2DIR/buf-size.lv2/buf-size.ttl" \ + "$LV2DIR/eg-scope.lv2/manifest.ttl" \ + "$LV2DIR/eg-scope.lv2/examploscope.ttl" \ + "$LV2DIR/midi.lv2/lv2-midi.doap.ttl" \ + "$LV2DIR/midi.lv2/manifest.ttl" \ + "$LV2DIR/midi.lv2/midi.ttl" \ + "$LV2DIR/atom.lv2/manifest.ttl" \ + "$LV2DIR/atom.lv2/atom.ttl" \ + "$LV2DIR/atom.lv2/lv2-atom.doap.ttl" \ + "$LV2DIR/dynmanifest.lv2/lv2-dynmanifest.doap.ttl" \ + "$LV2DIR/dynmanifest.lv2/manifest.ttl" \ + "$LV2DIR/dynmanifest.lv2/dynmanifest.ttl" \ + "$LV2DIR/options.lv2/manifest.ttl" \ + "$LV2DIR/options.lv2/lv2-options.doap.ttl" \ + "$LV2DIR/options.lv2/options.ttl" \ + "$LV2DIR/parameters.lv2/manifest.ttl" \ + "$LV2DIR/parameters.lv2/parameters.ttl" \ + "$LV2DIR/parameters.lv2/lv2-parameters.doap.ttl" \ + "$LV2DIR/instance-access.lv2/instance-access.ttl" \ + "$LV2DIR/instance-access.lv2/manifest.ttl" \ + "$LV2DIR/instance-access.lv2/lv2-instance-access.doap.ttl" \ + "$LV2DIR/state.lv2/manifest.ttl" \ + "$LV2DIR/state.lv2/lv2-state.doap.ttl" \ + "$LV2DIR/state.lv2/state.ttl" \ + "$LV2DIR/port-groups.lv2/manifest.ttl" \ + "$LV2DIR/port-groups.lv2/port-groups.ttl" \ + "$LV2DIR/port-groups.lv2/lv2-port-groups.doap.ttl" \ + "$LV2DIR/eg-sampler.lv2/manifest.ttl" \ + "$LV2DIR/eg-sampler.lv2/sampler.ttl" \ + "$LV2DIR/ui.lv2/manifest.ttl" \ + "$LV2DIR/ui.lv2/ui.ttl" \ + "$LV2DIR/ui.lv2/lv2-ui.doap.ttl" \ + "$LV2DIR/morph.lv2/manifest.ttl" \ + "$LV2DIR/morph.lv2/morph.ttl" \ + "$LV2DIR/morph.lv2/lv2-morph.doap.ttl" \ + "$LV2DIR/event.lv2/manifest.ttl" \ + "$LV2DIR/event.lv2/lv2-event.doap.ttl" \ + "$LV2DIR/event.lv2/event.ttl" \ + "$LV2DIR/resize-port.lv2/manifest.ttl" \ + "$LV2DIR/resize-port.lv2/resize-port.ttl" \ + "$LV2DIR/resize-port.lv2/lv2-resize-port.doap.ttl" \ + "$LV2DIR/log.lv2/log.ttl" \ + "$LV2DIR/log.lv2/manifest.ttl" \ + "$LV2DIR/log.lv2/lv2-log.doap.ttl" \ + "$LV2DIR/lv2core.lv2/manifest.ttl" \ + "$LV2DIR/lv2core.lv2/lv2core.ttl" \ + "$LV2DIR/lv2core.lv2/lv2core.doap.ttl" \ + "$LV2DIR/lv2core.lv2/meta.ttl" \ + "$LV2DIR/eg-metro.lv2/manifest.ttl" \ + "$LV2DIR/eg-metro.lv2/metro.ttl" \ + "$LV2DIR/presets.lv2/manifest.ttl" \ + "$LV2DIR/presets.lv2/presets.ttl" \ + "$LV2DIR/presets.lv2/lv2-presets.doap.ttl" \ + "$LV2DIR/eg-params.lv2/manifest.ttl" \ + "$LV2DIR/eg-params.lv2/params.ttl" \ + "$LV2DIR/urid.lv2/manifest.ttl" \ + "$LV2DIR/urid.lv2/urid.ttl" \ + "$LV2DIR/urid.lv2/lv2-urid.doap.ttl" \ + "$LV2DIR/time.lv2/lv2-time.doap.ttl" \ + "$LV2DIR/time.lv2/manifest.ttl" \ + "$LV2DIR/time.lv2/time.ttl" \ + "$LV2DIR/data-access.lv2/manifest.ttl" \ + "$LV2DIR/data-access.lv2/lv2-data-access.doap.ttl" \ + "$LV2DIR/data-access.lv2/data-access.ttl" \ + "$LV2DIR/units.lv2/manifest.ttl" \ + "$LV2DIR/units.lv2/units.ttl" \ + "$LV2DIR/units.lv2/lv2-units.doap.ttl" \ + "$LV2DIR/schemas.lv2/xsd.ttl" \ + "$LV2DIR/schemas.lv2/manifest.ttl" \ + "$LV2DIR/schemas.lv2/rdf.ttl" \ + "$LV2DIR/schemas.lv2/dct.ttl" \ + "$LV2DIR/schemas.lv2/doap.ttl" \ + "$LV2DIR/schemas.lv2/rdfs.ttl" \ + "$LV2DIR/schemas.lv2/dcs.ttl" \ + "$LV2DIR/schemas.lv2/foaf.ttl" \ + "$LV2DIR/schemas.lv2/owl.ttl" \ + "$LV2DIR/uri-map.lv2/manifest.ttl" \ + "$LV2DIR/uri-map.lv2/uri-map.ttl" \ + "$LV2DIR/uri-map.lv2/lv2-uri-map.doap.ttl" \ + $@ |