aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/host-info
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-08 04:56:24 +0000
committerDavid Robillard <d@drobilla.net>2012-02-08 04:56:24 +0000
commited78bbe5ba12be1f9bcc736f14c51da6b4f639f3 (patch)
tree653a2dfe33f3923da45a38fc04ed2106f93528f3 /lv2/lv2plug.in/ns/ext/host-info
parentb617875c6f3ad439d25ae166da79df839ebfdc71 (diff)
downloadlv2-ed78bbe5ba12be1f9bcc736f14c51da6b4f639f3.tar.xz
Rearrange tree so top level can be used as an include path for standard style LV2 includes.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/host-info')
l---------lv2/lv2plug.in/ns/ext/host-info/ext.pc.in1
-rw-r--r--lv2/lv2plug.in/ns/ext/host-info/host-info.ttl117
-rw-r--r--lv2/lv2plug.in/ns/ext/host-info/manifest.ttl9
l---------lv2/lv2plug.in/ns/ext/host-info/waf1
l---------lv2/lv2plug.in/ns/ext/host-info/wscript1
5 files changed, 129 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/host-info/ext.pc.in b/lv2/lv2plug.in/ns/ext/host-info/ext.pc.in
new file mode 120000
index 0000000..03dd044
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/host-info/ext.pc.in
@@ -0,0 +1 @@
+../../../../../ext.pc.in \ No newline at end of file
diff --git a/lv2/lv2plug.in/ns/ext/host-info/host-info.ttl b/lv2/lv2plug.in/ns/ext/host-info/host-info.ttl
new file mode 100644
index 0000000..4f563bb
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/host-info/host-info.ttl
@@ -0,0 +1,117 @@
+# LV2 Host Info Extension
+# Copyright (C) 2009 David Robillard <d@drobilla.net>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+
+@prefix hi: <http://lv2plug.in/ns/ext/host-info#> .
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix doap: <http://usefulinc.com/ns/doap#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix amb: <http://ambisonics.ch/standards/channels/> .
+
+<http://lv2plug.in/ns/ext/host-info> a lv2:Specification ;
+ doap:license <http://usefulinc.com/doap/licenses/mit> ;
+ doap:name "LV2 Host Info" ;
+ doap:shortdesc "A format for describing LV2 hosts." ;
+ doap:maintainer [
+ a foaf:Person ;
+ foaf:name "David Robillard" ;
+ foaf:homepage <http://drobilla.net/> ;
+ rdfs:seeAlso <http://drobilla.net/drobilla.rdf>
+ ] ;
+ lv2:documentation """
+<p>This specification defines various properties to represent useful information
+about LV2 hosts. Currently, the primary use of this specification is to describe which
+extensions are supported by a given host.</p>
+
+<p>The extensions supported by a host can be described like this:</p>
+<pre class="turtle-code">
+@prefix hi: &lt;http://lv2plug.in/ns/ext/host-info#&gt; .
+
+&lt;http://example.org/some-host&gt;
+ a hi:Host ;
+ doap:name "Foo Rack" ;
+ hi:supportsExtension [
+ hi:extension &lt;http://example.org/some-extension&gt; ;
+ hi:sinceVersion "1.2.0"
+ ] .
+</pre>
+""" .
+
+
+## Core Classes / Properties
+
+hi:Host a rdfs:Class ;
+ rdfs:label "LV2 Host" ;
+ rdfs:subClassOf [ a owl:Restriction ;
+ owl:onProperty doap:name ;
+ owl:someValuesFrom xsd:string ;
+ owl:minCardinality 1 ;
+ rdfs:comment "A hi:Host MUST have at least one string doap:name"
+ ] ;
+ rdfs:comment """
+An application that supports loading LV2 plugins, or performs other
+LV2 related functionality.
+""" .
+
+hi:supportsExtension a rdf:Property ;
+ rdfs:domain hi:Host ;
+ rdfs:range hi:ExtensionSupport ;
+ rdfs:label "supports extension" ;
+ rdfs:comment "Relates a Host to its ExtensionSupport" .
+
+hi:ExtensionSupport a rdfs:Class ;
+ rdfs:label "Extension Support" ;
+ rdfs:subClassOf [ a owl:Restriction ;
+ owl:onProperty hi:sinceVersion ;
+ owl:someValuesFrom xsd:string ;
+ owl:minCardinality 1 ;
+ rdfs:comment """
+A hi:ExtensionSupport MUST have at least one string hi:sinceVersion
+""" ] ;
+ rdfs:comment "A description of the support for an extension by a Host" .
+
+hi:extension a rdf:Property ;
+ rdfs:domain hi:ExtensionSupport ;
+ rdfs:range lv2:Specification ;
+ rdfs:label "extension" ;
+ rdfs:comment "Indicates the extension supported by a host." .
+
+hi:sinceVersion a rdf:Property ;
+ rdfs:domain hi:ExtensionSupport ;
+ rdfs:range xsd:string ;
+ rdfs:label "since version" ;
+ rdfs:comment """
+The initial version of a host which supported an extension.
+This property MUST always be given
+""" .
+
+hi:untilVersion a rdf:Property ;
+ rdfs:domain hi:ExtensionSupport ;
+ rdfs:range xsd:string ;
+ rdfs:label "until version" ;
+ rdfs:comment """
+The final version of a host which supported an extension. This property can
+be used if support for an extension was discontinued in a host for some reason.
+""" .
+
diff --git a/lv2/lv2plug.in/ns/ext/host-info/manifest.ttl b/lv2/lv2plug.in/ns/ext/host-info/manifest.ttl
new file mode 100644
index 0000000..ae1e097
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/host-info/manifest.ttl
@@ -0,0 +1,9 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+
+<http://lv2plug.in/ns/ext/host-info>
+ a lv2:Specification ;
+ lv2:minorVersion 0 ;
+ lv2:microVersion 1 ;
+ rdfs:seeAlso <host-info.ttl> .
+
diff --git a/lv2/lv2plug.in/ns/ext/host-info/waf b/lv2/lv2plug.in/ns/ext/host-info/waf
new file mode 120000
index 0000000..5235032
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/host-info/waf
@@ -0,0 +1 @@
+../../../../../waf \ No newline at end of file
diff --git a/lv2/lv2plug.in/ns/ext/host-info/wscript b/lv2/lv2plug.in/ns/ext/host-info/wscript
new file mode 120000
index 0000000..7e2c01b
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/host-info/wscript
@@ -0,0 +1 @@
+../../../../../ext.wscript \ No newline at end of file