diff options
author | David Robillard <d@drobilla.net> | 2017-02-08 00:28:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-08 00:28:38 +0100 |
commit | 0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db (patch) | |
tree | f52961f40e512d5d1798c7a40b48d27a27d141ac | |
parent | b36868f3b96a436961c0c51b5b2dd71d05da9b12 (diff) | |
download | lv2-0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db.tar.xz |
Add lv2_validate utility
35 files changed, 134 insertions, 55 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl b/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl index 0d5d653..681ff77 100644 --- a/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/atom> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Atom" ; doap:shortdesc "A generic value container and several data types." ; doap:license <http://opensource.org/licenses/isc> ; diff --git a/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl b/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl index 84ce980..bc6ffe9 100644 --- a/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/buf-size/lv2-buf-size.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/buf-size> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Buf Size" ; doap:shortdesc "Access to, and restrictions on, buffer sizes." ; doap:created "2012-08-07" ; diff --git a/lv2/lv2plug.in/ns/ext/data-access/lv2-data-access.doap.ttl b/lv2/lv2plug.in/ns/ext/data-access/lv2-data-access.doap.ttl index 084d935..d577e63 100644 --- a/lv2/lv2plug.in/ns/ext/data-access/lv2-data-access.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/data-access/lv2-data-access.doap.ttl @@ -5,8 +5,7 @@ <http://lv2plug.in/ns/ext/data-access> a doap:Project ; - rdfs:seeAlso <data-access.h> , - <../../meta/meta.ttl> ; + rdfs:seeAlso <data-access.h> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Data Access" ; doap:shortdesc "Provides access to LV2_Descriptor::extension_data()." ; diff --git a/lv2/lv2plug.in/ns/ext/dynmanifest/lv2-dynmanifest.doap.ttl b/lv2/lv2plug.in/ns/ext/dynmanifest/lv2-dynmanifest.doap.ttl index da766c2..9dd6c81 100644 --- a/lv2/lv2plug.in/ns/ext/dynmanifest/lv2-dynmanifest.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/dynmanifest/lv2-dynmanifest.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/dynmanifest> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Dynamic Manifest" ; doap:homepage <http://naspro.atheme.org> ; diff --git a/lv2/lv2plug.in/ns/ext/event/lv2-event.doap.ttl b/lv2/lv2plug.in/ns/ext/event/lv2-event.doap.ttl index b396984..5051237 100644 --- a/lv2/lv2plug.in/ns/ext/event/lv2-event.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/event/lv2-event.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/event> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Event" ; doap:shortdesc "A port-based real-time generic event interface." ; diff --git a/lv2/lv2plug.in/ns/ext/instance-access/lv2-instance-access.doap.ttl b/lv2/lv2plug.in/ns/ext/instance-access/lv2-instance-access.doap.ttl index 2c7cba8..5aa70d8 100644 --- a/lv2/lv2plug.in/ns/ext/instance-access/lv2-instance-access.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/instance-access/lv2-instance-access.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/instance-access> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Instance Access" ; doap:shortdesc "Provides access to the LV2_Handle of a plugin." ; diff --git a/lv2/lv2plug.in/ns/ext/log/lv2-log.doap.ttl b/lv2/lv2plug.in/ns/ext/log/lv2-log.doap.ttl index ed89423..d109809 100644 --- a/lv2/lv2plug.in/ns/ext/log/lv2-log.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/log/lv2-log.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/log> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Log" ; doap:shortdesc "A feature for writing log messages." ; doap:created "2012-01-12" ; diff --git a/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl b/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl index 32ee007..94c323e 100644 --- a/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/midi> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 MIDI" ; doap:shortdesc "A normalised definition of raw MIDI." ; diff --git a/lv2/lv2plug.in/ns/ext/morph/lv2-morph.doap.ttl b/lv2/lv2plug.in/ns/ext/morph/lv2-morph.doap.ttl index 3c7a542..533cf10 100644 --- a/lv2/lv2plug.in/ns/ext/morph/lv2-morph.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/morph/lv2-morph.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/morph> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Morph" ; doap:shortdesc "Ports that can dynamically change type." ; doap:created "2012-05-22" ; diff --git a/lv2/lv2plug.in/ns/ext/morph/morph.ttl b/lv2/lv2plug.in/ns/ext/morph/morph.ttl index 9457089..2a2e9fc 100644 --- a/lv2/lv2plug.in/ns/ext/morph/morph.ttl +++ b/lv2/lv2plug.in/ns/ext/morph/morph.ttl @@ -11,8 +11,7 @@ <http://lv2plug.in/ns/ext/morph> a owl:Ontology ; rdfs:seeAlso <morph.h> , - <lv2-morph.doap.ttl> , - <../../meta/meta.ttl> ; + <lv2-morph.doap.ttl> ; lv2:documentation """ <p>This extension defines two port types: morph:MorphPort, which has a host-configurable type, and morph:AutoMorphPort, which may automatically change diff --git a/lv2/lv2plug.in/ns/ext/options/lv2-options.doap.ttl b/lv2/lv2plug.in/ns/ext/options/lv2-options.doap.ttl index 6b99ef3..d828360 100644 --- a/lv2/lv2plug.in/ns/ext/options/lv2-options.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/options/lv2-options.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/options> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Options" ; doap:shortdesc "Instantiation time options." ; doap:created "2012-08-20" ; diff --git a/lv2/lv2plug.in/ns/ext/options/options.ttl b/lv2/lv2plug.in/ns/ext/options/options.ttl index e4aea32..b0f752c 100644 --- a/lv2/lv2plug.in/ns/ext/options/options.ttl +++ b/lv2/lv2plug.in/ns/ext/options/options.ttl @@ -8,7 +8,6 @@ <http://lv2plug.in/ns/ext/options> a owl:Ontology ; rdfs:seeAlso <options.h> , - <../../meta/meta.ttl> , <lv2-options.doap.ttl> ; lv2:documentation """ diff --git a/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl b/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl index e3c6c96..3ff707c 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/lv2-parameters.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/parameters> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Parameters" ; doap:release [ doap:revision "1.4" ; diff --git a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl index 2919c3e..f8ad2ab 100644 --- a/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl +++ b/lv2/lv2plug.in/ns/ext/parameters/parameters.ttl @@ -8,8 +8,7 @@ <http://lv2plug.in/ns/ext/parameters> a lv2:Specification ; - rdfs:seeAlso <../../meta/meta.ttl> , - <lv2-parameters.doap.ttl> ; + rdfs:seeAlso <lv2-parameters.doap.ttl> ; lv2:documentation """ <p>This vocabulary describes parameters common in audio processing software. A <q>parameter</q> is purely a metadata concept, unrelated to any particular code diff --git a/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl b/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl index f5e1f7f..cf10aa6 100644 --- a/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/patch> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:created "2012-02-09" ; doap:license <http://opensource.org/licenses/isc> ; doap:developer <http://drobilla.net/drobilla#me> ; diff --git a/lv2/lv2plug.in/ns/ext/port-groups/lv2-port-groups.doap.ttl b/lv2/lv2plug.in/ns/ext/port-groups/lv2-port-groups.doap.ttl index 87a2ee7..90848d2 100644 --- a/lv2/lv2plug.in/ns/ext/port-groups/lv2-port-groups.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/port-groups/lv2-port-groups.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/port-groups> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Port Groups" ; doap:shortdesc "Multi-channel groups of LV2 ports." ; diff --git a/lv2/lv2plug.in/ns/ext/port-groups/port-groups.ttl b/lv2/lv2plug.in/ns/ext/port-groups/port-groups.ttl index 011b0fc..0681e42 100644 --- a/lv2/lv2plug.in/ns/ext/port-groups/port-groups.ttl +++ b/lv2/lv2plug.in/ns/ext/port-groups/port-groups.ttl @@ -7,8 +7,7 @@ <http://lv2plug.in/ns/ext/port-groups> a owl:Ontology ; - rdfs:seeAlso <../../meta/meta.ttl> , - <lv2-port-groups.doap.ttl> . + rdfs:seeAlso <lv2-port-groups.doap.ttl> . pg:Group a rdfs:Class ; diff --git a/lv2/lv2plug.in/ns/ext/port-props/lv2-port-props.doap.ttl b/lv2/lv2plug.in/ns/ext/port-props/lv2-port-props.doap.ttl index 7188aab..b199d36 100644 --- a/lv2/lv2plug.in/ns/ext/port-props/lv2-port-props.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/port-props/lv2-port-props.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/port-props> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Port Properties" ; doap:created "2009-01-01" ; doap:shortdesc "Various port properties." ; diff --git a/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl b/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl index 5f17d54..5ba8867 100644 --- a/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/presets> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 Presets" ; doap:shortdesc "Presets for LV2 plugins." ; diff --git a/lv2/lv2plug.in/ns/ext/resize-port/lv2-resize-port.doap.ttl b/lv2/lv2plug.in/ns/ext/resize-port/lv2-resize-port.doap.ttl index 644b1ce..49ab3cb 100644 --- a/lv2/lv2plug.in/ns/ext/resize-port/lv2-resize-port.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/resize-port/lv2-resize-port.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/resize-port> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Resize Port" ; doap:shortdesc "Dynamically sized LV2 port buffers." ; doap:created "2007-00-00" ; diff --git a/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl b/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl index 7ff2b68..fd87a13 100644 --- a/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/state> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:created "2010-11-09" ; doap:name "LV2 State" ; doap:shortdesc "An interface for LV2 plugins to save and restore state." ; diff --git a/lv2/lv2plug.in/ns/ext/state/state.ttl b/lv2/lv2plug.in/ns/ext/state/state.ttl index f0a2c3a..c86fea7 100644 --- a/lv2/lv2plug.in/ns/ext/state/state.ttl +++ b/lv2/lv2plug.in/ns/ext/state/state.ttl @@ -6,7 +6,6 @@ <http://lv2plug.in/ns/ext/state> a lv2:Specification ; rdfs:seeAlso <state.h> , - <../../meta/meta.ttl> , <lv2-state.doap.ttl> ; lv2:documentation """ <p>This extension defines a simple mechanism which allows hosts to save and diff --git a/lv2/lv2plug.in/ns/ext/time/lv2-time.doap.ttl b/lv2/lv2plug.in/ns/ext/time/lv2-time.doap.ttl index 06d81e2..89aef99 100644 --- a/lv2/lv2plug.in/ns/ext/time/lv2-time.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/time/lv2-time.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/time> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Time" ; doap:shortdesc "Properties for describing time." ; doap:created "2011-10-05" ; diff --git a/lv2/lv2plug.in/ns/ext/uri-map/lv2-uri-map.doap.ttl b/lv2/lv2plug.in/ns/ext/uri-map/lv2-uri-map.doap.ttl index 504c092..df0feb7 100644 --- a/lv2/lv2plug.in/ns/ext/uri-map/lv2-uri-map.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/uri-map/lv2-uri-map.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/uri-map> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:maintainer <http://drobilla.net/drobilla#me> ; doap:created "2008-00-00" ; doap:developer <http://lv2plug.in/ns/meta#larsl> , diff --git a/lv2/lv2plug.in/ns/ext/urid/lv2-urid.doap.ttl b/lv2/lv2plug.in/ns/ext/urid/lv2-urid.doap.ttl index 99505e6..b79545c 100644 --- a/lv2/lv2plug.in/ns/ext/urid/lv2-urid.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/urid/lv2-urid.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/urid> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 URID" ; doap:shortdesc "Features for mapping URIs to and from integers." ; diff --git a/lv2/lv2plug.in/ns/ext/worker/lv2-worker.doap.ttl b/lv2/lv2plug.in/ns/ext/worker/lv2-worker.doap.ttl index 0258bcd..b01159b 100644 --- a/lv2/lv2plug.in/ns/ext/worker/lv2-worker.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/worker/lv2-worker.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/ext/worker> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Worker" ; doap:shortdesc "Support for a non-realtime plugin worker method." ; doap:created "2012-03-22" ; diff --git a/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl b/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl index 8354819..8b804b1 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl +++ b/lv2/lv2plug.in/ns/extensions/ui/lv2-ui.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/extensions/ui> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2 UI" ; doap:shortdesc "LV2 plugin UIs of any type." ; diff --git a/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl b/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl index 5b4c175..dc7eee7 100644 --- a/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl +++ b/lv2/lv2plug.in/ns/extensions/units/lv2-units.doap.ttl @@ -5,7 +5,6 @@ <http://lv2plug.in/ns/extensions/units> a doap:Project ; - rdfs:seeAlso <../../meta/meta.ttl> ; doap:name "LV2 Units" ; doap:shortdesc "Units for LV2 values." ; doap:created "2007-02-06" ; diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl index 0ad5c3e..601c6d7 100644 --- a/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl +++ b/lv2/lv2plug.in/ns/lv2core/lv2core.doap.ttl @@ -5,7 +5,7 @@ <http://lv2plug.in/ns/lv2core> a doap:Project ; - rdfs:seeAlso <../meta/meta.ttl> ; + rdfs:seeAlso <meta.ttl> ; doap:license <http://opensource.org/licenses/isc> ; doap:name "LV2" ; doap:homepage <http://lv2plug.in> ; diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl index 74ad5ac..1e460ee 100644 --- a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl +++ b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl @@ -39,8 +39,7 @@ devices). See <a href="http://www.w3.org/TR/xhtml-basic/#s_xhtmlmodules" a owl:Ontology ; rdfs:seeAlso <lv2.h> , <lv2_util.h> , - <lv2core.doap.ttl> , - <../meta/meta.ttl> ; + <lv2core.doap.ttl> ; lv2:documentation """ <p>LV2 is an interface for writing audio processors, or <q>plugins</q>, in C/C++ which can be dynamically loaded into many applications, or <q>hosts</q>. diff --git a/lv2/lv2plug.in/ns/lv2core/manifest.ttl b/lv2/lv2plug.in/ns/lv2core/manifest.ttl index 1b60ca8..5c3f7a2 100644 --- a/lv2/lv2plug.in/ns/lv2core/manifest.ttl +++ b/lv2/lv2plug.in/ns/lv2core/manifest.ttl @@ -1,3 +1,4 @@ +@prefix doap: <http://usefulinc.com/ns/doap#> . @prefix lv2: <http://lv2plug.in/ns/lv2core#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @@ -7,3 +8,7 @@ lv2:minorVersion 14 ; lv2:microVersion 0 ; rdfs:seeAlso <lv2core.ttl> . + +<http://lv2plug.in/ns/lv2> + a doap:Project ; + rdfs:seeAlso <meta.ttl> . diff --git a/lv2/lv2plug.in/ns/meta/meta.ttl b/lv2/lv2plug.in/ns/lv2core/meta.ttl index caf5f0e..5246758 100644 --- a/lv2/lv2plug.in/ns/meta/meta.ttl +++ b/lv2/lv2plug.in/ns/lv2core/meta.ttl @@ -7,15 +7,6 @@ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<http://lv2plug.in/ns/meta> - a owl:Ontology ; - doap:license <http://opensource.org/licenses/isc> ; - doap:name "LV2 Meta" ; - doap:shortdesc "LV2 project metadata" ; - doap:created "2012-03-25" ; - doap:maintainer <http://drobilla.net/drobilla#me> ; - rdfs:comment "This document describes metadata relevant to the LV2 project." . - <http://opensource.org/licenses/isc> rdf:value """ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. @@ -52,6 +43,8 @@ THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH R dcs:changeset [ dcs:item [ rdfs:label "eg-sampler: Add waveform display to UI." + ] , [ + rdfs:label "Add lv2_validate utility." ] ] ] , [ diff --git a/lv2/lv2plug.in/ns/meta/manifest.ttl b/lv2/lv2plug.in/ns/meta/manifest.ttl deleted file mode 100644 index 8b2aac6..0000000 --- a/lv2/lv2plug.in/ns/meta/manifest.ttl +++ /dev/null @@ -1,8 +0,0 @@ -@prefix lv2: <http://lv2plug.in/ns/lv2core#> . -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . - -<http://lv2plug.in/ns/meta> - a lv2:Specification ; - lv2:minorVersion 1 ; - lv2:microVersion 0 ; - rdfs:seeAlso <meta.ttl> . 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" \ + $@ @@ -140,7 +140,7 @@ def build_index(task): lv2 = rdflib.Namespace('http://lv2plug.in/ns/lv2core#') rdf = rdflib.Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#') - model = load_ttl(['lv2/lv2plug.in/ns/meta/meta.ttl']) + model = load_ttl(['lv2/lv2plug.in/ns/lv2core/meta.ttl']) # Get date for this version, and list of all LV2 distributions proj = rdflib.URIRef('http://lv2plug.in/ns/lv2') @@ -271,6 +271,14 @@ def build(bld): INCLUDEDIR = bld.env.INCLUDEDIR, VERSION = VERSION) + # Validator + bld(features = 'subst', + source = 'util/lv2_validate.in', + target = 'lv2_validate', + chmod = Utils.O755, + install_path = '${BINDIR}', + LV2DIR = bld.env.LV2DIR) + # Build extensions for i in exts: build_ext(bld, i.srcpath()) @@ -447,7 +455,7 @@ def posts(ctx): dev_dist = dev_dist) entries = autowaf.get_rdf_news('lv2', - ['lv2/lv2plug.in/ns/meta/meta.ttl'], + ['lv2/lv2plug.in/ns/lv2core/meta.ttl'], None, top_entries, dev_dist = dev_dist) @@ -471,7 +479,7 @@ def dist(ctx): # Write top level amalgamated NEWS file entries = autowaf.get_rdf_news('lv2', - ['lv2/lv2plug.in/ns/meta/meta.ttl'], + ['lv2/lv2plug.in/ns/lv2core/meta.ttl'], None, top_entries, dev_dist = dev_dist) |