From 4ff6c527a9feda500eff87beb4d92780eef2665b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 20 Nov 2011 20:41:39 +0000 Subject: Release preparation. --- core.lv2/lv2.doap.ttl | 2 +- ext/data-access.lv2/data-access.ttl | 74 +++++++++++++++----- ext/data-access.lv2/manifest.ttl | 2 +- ext/instance-access.lv2/instance-access.ttl | 68 ++++++++++++++----- ext/instance-access.lv2/manifest.ttl | 2 +- ext/midi.lv2/manifest.ttl | 2 +- ext/midi.lv2/midi.ttl | 69 ++++++++++++++----- ext/presets.lv2/manifest.ttl | 2 +- ext/presets.lv2/presets.ttl | 102 ++++++++++++++++------------ extensions/ui.lv2/lv2-ui.doap.ttl | 2 +- gendoc.py | 17 +++-- 11 files changed, 237 insertions(+), 105 deletions(-) diff --git a/core.lv2/lv2.doap.ttl b/core.lv2/lv2.doap.ttl index f01eadb..a17b142 100644 --- a/core.lv2/lv2.doap.ttl +++ b/core.lv2/lv2.doap.ttl @@ -91,7 +91,7 @@ dcs:blame ; dcs:changeset [ dcs:item [ - rdfs:label "Initial packaging." + rdfs:label "Initial release." ] ] ] ; diff --git a/ext/data-access.lv2/data-access.ttl b/ext/data-access.lv2/data-access.ttl index a83da2e..1f2ec04 100644 --- a/ext/data-access.lv2/data-access.ttl +++ b/ext/data-access.lv2/data-access.ttl @@ -14,29 +14,69 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @prefix da: . +@prefix dcs: . +@prefix doap: . +@prefix foaf: . @prefix lv2: . @prefix lv2ev: . @prefix rdf: . @prefix rdfs: . -@prefix doap: . -@prefix foaf: . + + + a foaf:Person ; + foaf:name "David Robillard" ; + foaf:homepage ; + foaf:mbox ; + rdfs:seeAlso . - a lv2:Specification ; + a lv2:Specification , + doap:Project ; doap:license ; doap:name "LV2 Data Access" ; - doap:shortdesc "Provides access to LV2_Descriptor::extension_data." ; - doap:release [ - doap:revision "1.2" ; - doap:created "2011-05-26" - ] ; - doap:maintainer [ - a foaf:Person ; - foaf:name "David Robillard" ; - foaf:homepage ; - rdfs:seeAlso + doap:shortdesc "Provides access to LV2_Descriptor::extension_data()." ; + doap:developer ; + doap:release [ + doap:revision "1.4" ; + doap:created "2011-11-14" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Update packaging." + ] , [ + rdfs:label "Improve documentation." + ] + ] + ] , [ + doap:revision "1.2" ; + doap:created "2011-05-26" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add build system for installation." + ] , [ + rdfs:label "Switch to ISC license." + ] + ] + ] , [ + doap:revision "1.0" ; + doap:created "2010-10-04" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Initial release." + ] + ] ] ; - rdfs:comment """ -This extension defines a method for (e.g.) plugin UIs to have (possibly -marshalled) access to the extension_data function on a plugin instance. -""" . + lv2:documentation """ +

This extension defines a feature, LV2_Extension_Data_Feature, which provides +access to LV2_Descriptor::extension_data() for plugin UIs or other potentially +remote users of a plugin.

+ +

To support this feature the host must pass an LV2_Feature struct to the +instantiate method with URI "http://lv2plug.in/ns/ext/data-access" and data +pointed to an instance of LV2_Extension_Data_Feature.

+""" . \ No newline at end of file diff --git a/ext/data-access.lv2/manifest.ttl b/ext/data-access.lv2/manifest.ttl index 9d26fab..f7ccd9d 100644 --- a/ext/data-access.lv2/manifest.ttl +++ b/ext/data-access.lv2/manifest.ttl @@ -4,6 +4,6 @@ a lv2:Specification ; lv2:minorVersion 1 ; - lv2:microVersion 2 ; + lv2:microVersion 4 ; rdfs:seeAlso . diff --git a/ext/instance-access.lv2/instance-access.ttl b/ext/instance-access.lv2/instance-access.ttl index 5e1b9f8..f3d1a42 100644 --- a/ext/instance-access.lv2/instance-access.ttl +++ b/ext/instance-access.lv2/instance-access.ttl @@ -13,34 +13,68 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +@prefix dcs: . +@prefix doap: . +@prefix foaf: . @prefix ia: . @prefix lv2: . @prefix lv2ev: . @prefix rdf: . @prefix rdfs: . -@prefix doap: . -@prefix foaf: . + + + a foaf:Person ; + foaf:name "David Robillard" ; + foaf:homepage ; + foaf:mbox ; + rdfs:seeAlso . a lv2:Specification ; doap:license ; doap:name "LV2 Instance Access" ; - doap:shortdesc "Provides access to the LV2_Handle of a plugin." ; - doap:release [ - doap:revision "1.2" ; - doap:created "2011-05-26" - ] ; - doap:maintainer [ - a foaf:Person ; - foaf:name "David Robillard" ; - foaf:homepage ; - rdfs:seeAlso + doap:shortdesc "Provides access to the LV2_Handle of a plugin." ; + doap:developer ; + doap:release [ + doap:revision "1.4" ; + doap:created "2011-11-14" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Update packaging." + ] , [ + rdfs:label "Improve documentation." + ] + ] + ] , [ + doap:revision "1.2" ; + doap:created "2011-05-26" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add build system for installation." + ] , [ + rdfs:label "Switch to ISC license." + ] + ] + ] , [ + doap:revision "1.0" ; + doap:created "2010-10-04" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Initial release." + ] + ] ] ; - rdfs:comment """ -This extension defines a method for (e.g.) plugin UIs to get a direct handle to -an LV2 plugin instance (LV2_Handle), if possible. + lv2:documentation """ +

This extension defines a feature which allows plugin UIs to get a direct +handle to an LV2 plugin instance (LV2_Handle), if possible.

-To support this feature the host must pass an LV2_Feature struct to the UI +

To support this feature the host must pass an LV2_Feature struct to the UI instantiate method with URI "http://lv2plug.in/ns/ext/instance-access" and data -pointed directly to the LV2_Handle of the plugin instance. +pointed directly to the LV2_Handle of the plugin instance.

""" . diff --git a/ext/instance-access.lv2/manifest.ttl b/ext/instance-access.lv2/manifest.ttl index 67571cf..d6412c5 100644 --- a/ext/instance-access.lv2/manifest.ttl +++ b/ext/instance-access.lv2/manifest.ttl @@ -4,6 +4,6 @@ a lv2:Specification ; lv2:minorVersion 1 ; - lv2:microVersion 2 ; + lv2:microVersion 4 ; rdfs:seeAlso . diff --git a/ext/midi.lv2/manifest.ttl b/ext/midi.lv2/manifest.ttl index a701fe0..a8e194e 100644 --- a/ext/midi.lv2/manifest.ttl +++ b/ext/midi.lv2/manifest.ttl @@ -4,6 +4,6 @@ a lv2:Specification ; lv2:minorVersion 1 ; - lv2:microVersion 3 ; + lv2:microVersion 4 ; rdfs:seeAlso . diff --git a/ext/midi.lv2/midi.ttl b/ext/midi.lv2/midi.ttl index bf293d1..0b66f42 100644 --- a/ext/midi.lv2/midi.ttl +++ b/ext/midi.lv2/midi.ttl @@ -14,35 +14,70 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +@prefix dcs: . @prefix atom: . @prefix doap: . -@prefix ev: . +@prefix ev: . @prefix foaf: . -@prefix lv2: . +@prefix lv2: . @prefix midi: . @prefix rdfs: . + + a foaf:Person ; + foaf:name "David Robillard" ; + foaf:homepage ; + foaf:mbox ; + rdfs:seeAlso . + +_:larsl + a foaf:Person ; + foaf:name "Lars Luthman" ; + foaf:mbox . + a lv2:Specification ; doap:license ; doap:name "LV2 MIDI" ; doap:shortdesc "A data type for raw MIDI." ; + doap:maintainer ; + doap:developer _:larsl ; doap:release [ - doap:revision "1.3" ; - doap:created "2011-11-04" - ] ; - doap:maintainer [ - a foaf:Person ; - foaf:name "David Robillard" ; - foaf:homepage ; - rdfs:seeAlso + doap:revision "1.4" ; + doap:created "2011-11-14" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Update packaging." + ] , [ + rdfs:label "Improve documentation." + ] + ] + ] , [ + doap:revision "1.2" ; + doap:created "2011-05-26" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add build system for installation." + ] , [ + rdfs:label "Switch to ISC license." + ] + ] + ] , [ + doap:revision "1.0" ; + doap:created "2010-10-04" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Initial release." + ] + ] ] ; - doap:developer [ - a foaf:Person ; - foaf:name "Lars Luthman" ; - foaf:mbox - ] ; - lv2:documentation """ + lv2:documentation """

This extension defines a data type for a MIDI message, midi:MidiEvent, which is normalized for fast and convenient processing by plugins. It is particularly useful as the payload of an A single raw MIDI message (i.e. a sequence of bytes).

-

These is equivalent to a standard MIDI messages, except with the following +

This is equivalent to a standard MIDI messages, except with the following restrictions to simplify handling:

  • Running status is not allowed, every message must have its own status diff --git a/ext/presets.lv2/manifest.ttl b/ext/presets.lv2/manifest.ttl index 09ea111..51985ab 100644 --- a/ext/presets.lv2/manifest.ttl +++ b/ext/presets.lv2/manifest.ttl @@ -4,6 +4,6 @@ a lv2:Specification ; lv2:minorVersion 2 ; - lv2:microVersion 1 ; + lv2:microVersion 2 ; rdfs:seeAlso . diff --git a/ext/presets.lv2/presets.ttl b/ext/presets.lv2/presets.ttl index 165fc57..ebe6d0f 100644 --- a/ext/presets.lv2/presets.ttl +++ b/ext/presets.lv2/presets.ttl @@ -1,53 +1,70 @@ # LV2 Presets Extension -# PROVISIONAL -# Copyright (C) 2009 David Robillard +# Copyright 2009-2011 David Robillard # -# 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. +# 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. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -@prefix pset: . +@prefix dcs: . +@prefix doap: . +@prefix foaf: . @prefix lv2: . +@prefix owl: . +@prefix pset: . @prefix rdf: . @prefix rdfs: . -@prefix owl: . @prefix xsd: . -@prefix doap: . -@prefix foaf: . - a lv2:Specification ; + + a foaf:Person ; + foaf:name "David Robillard" ; + foaf:homepage ; + foaf:mbox ; + rdfs:seeAlso . + + + a lv2:Specification ; doap:license ; - doap:name "LV2 Presets" ; + doap:name "LV2 Presets" ; doap:shortdesc "Presets for LV2 plugins. " ; + doap:maintainer ; doap:release [ - doap:revision "2.1" ; - doap:created "2010-10-29" - ] ; - doap:maintainer [ - a foaf:Person ; - foaf:name "David Robillard" ; - foaf:homepage ; - rdfs:seeAlso + doap:revision "2.2" ; + doap:created "2011-11-14" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Update packaging." + ] , [ + rdfs:label "Improve documentation." + ] + ] + ] , [ + doap:revision "2.0" ; + doap:created "2010-10-04" ; + doap:file-release ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Initial release." + ] + ] ] ; rdfs:comment """ Defines presets (e.g. named sets of control values) for LV2 plugins. """ . -pset:Preset a rdfs:Class ; +pset:Preset + a rdfs:Class ; rdfs:subClassOf lv2:PluginBase ; rdfs:label "LV2 Preset" ; rdfs:subClassOf [ @@ -69,10 +86,11 @@ Each Port on a Preset MUST have at least a lv2:symbol property and a pset:value property. """ . -pset:appliesTo a rdf:Property ; - rdfs:domain pset:Preset ; - rdfs:range lv2:Plugin ; - rdfs:label "Applies to" ; +pset:appliesTo + a rdf:Property ; + rdfs:domain pset:Preset ; + rdfs:range lv2:Plugin ; + rdfs:label "Applies to" ; rdfs:comment """ Specifies the Plugin(s) a Preset may be applied to. When a Preset applies to a Plugin, that Preset SHOULD have ports for every control port on that @@ -85,11 +103,11 @@ in some way. The host SHOULD simply ignore any values on a Preset it does not understand. """ . -pset:value a rdf:Property ; - rdfs:domain lv2:Port ; - rdfs:label "Has value" ; +pset:value + a rdf:Property ; + rdfs:domain lv2:Port ; + rdfs:label "Has value" ; rdfs:comment """ Specifies the value of a Port on some Preset. This property is used in a similar way to e.g. lv2:default. """ . - diff --git a/extensions/ui.lv2/lv2-ui.doap.ttl b/extensions/ui.lv2/lv2-ui.doap.ttl index 0f9c03a..44b135d 100644 --- a/extensions/ui.lv2/lv2-ui.doap.ttl +++ b/extensions/ui.lv2/lv2-ui.doap.ttl @@ -56,7 +56,7 @@ dcs:blame ; dcs:changeset [ dcs:item [ - rdfs:label "Initial packaging." + rdfs:label "Initial release." ] ] ] . diff --git a/gendoc.py b/gendoc.py index 84442f0..2f6ae7e 100755 --- a/gendoc.py +++ b/gendoc.py @@ -170,13 +170,18 @@ for dir in ['ext', 'extensions']: date = None for r in model.triples([ext_node, doap.release, None]): revision = model.value(r[2], doap.revision, None) - if revision != ("%d.%d" % (minor, micro)): - print("warning: %s: doap:revision %s != %d.%d" % ( - bundle, revision, minor, micro)) - continue + if revision == ("%d.%d" % (minor, micro)): + date = model.value(r[2], doap.created, None) + break - date = model.value(r[2], doap.created, None) - break + # Verify that this date is the latest + for r in model.triples([ext_node, doap.release, None]): + revision = model.value(r[2], doap.revision, None) + this_date = model.value(r[2], doap.created, None) + if this_date > date: + print "warning: revision %d.%d (%s) is not the latest release" % ( + minor, micro, date) + break # Get short description shortdesc = model.value(ext_node, doap.shortdesc, None) -- cgit v1.2.1