[LV2] [PR] fix-lv2-validate
Hanspeter Portner
dev at open-music-kontrollers.ch
Sun Feb 24 01:34:06 PST 2019
Hi list
Since LV2 1.16.0 lv2_validate does not work anymore here.
/usr/lib/lv2/lv2core.lv2 does not anymore exist on my system.
There were also some errors about xsd:float/decimal mismatches.
----------------------------------------------------------------
The following changes since commit 0fa4d4847eb6d5bb0f58da889933c94c37ecb730:
LV2 1.16.0 (2019-02-03 17:01:24 +0100)
are available in the Git repository at:
https://github.com/ventosus/lv2.git fix-lv2-validate
for you to fetch changes up to 51e6005c9f33a9dd6ac5004a09fcb6ffbdee8dee:
Fix lv2_validate to use proper core.lv2 path (2019-02-24 10:18:16 +0100)
----------------------------------------------------------------
Hanspeter Portner (1):
Fix lv2_validate to use proper core.lv2 path
plugins/eg-params.lv2/params.ttl | 6 +++---
plugins/eg-sampler.lv2/sampler.ttl | 2 +-
util/lv2_validate.in | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/plugins/eg-params.lv2/params.ttl b/plugins/eg-params.lv2/params.ttl
index dbcf6aa..931c826 100644
--- a/plugins/eg-params.lv2/params.ttl
+++ b/plugins/eg-params.lv2/params.ttl
@@ -116,11 +116,11 @@ plug:spring
state:state [
plug:int 0 ;
plug:long "0"^^xsd:long ;
- plug:float 0.1234 ;
+ plug:float "0.1234"^^xsd:float ;
plug:double "0e0"^^xsd:double ;
plug:bool false ;
plug:string "Hello, world" ;
plug:path <params.ttl> ;
- plug:spring 0.0 ;
- plug:lfo 0.0
+ plug:spring "0.0"^^xsd:float ;
+ plug:lfo "0.0"^^xsd:float
] .
diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl
index 92570e5..062b177 100644
--- a/plugins/eg-sampler.lv2/sampler.ttl
+++ b/plugins/eg-sampler.lv2/sampler.ttl
@@ -57,7 +57,7 @@
] ;
state:state [
<http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> ;
- param:gain 1.0
+ param:gain "1.0"^^xsd:float
] .
<http://lv2plug.in/plugins/eg-sampler#ui>
diff --git a/util/lv2_validate.in b/util/lv2_validate.in
index 165b1bf..2f9853d 100755
--- a/util/lv2_validate.in
+++ b/util/lv2_validate.in
@@ -72,10 +72,10 @@ sord_validate \
"$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/core.lv2/manifest.ttl" \
+ "$LV2DIR/core.lv2/lv2core.ttl" \
+ "$LV2DIR/core.lv2/lv2core.doap.ttl" \
+ "$LV2DIR/core.lv2/meta.ttl" \
"$LV2DIR/eg-metro.lv2/manifest.ttl" \
"$LV2DIR/eg-metro.lv2/metro.ttl" \
"$LV2DIR/presets.lv2/manifest.ttl" \
More information about the Devel
mailing list