lv2-1.16.0-fix_lv2_validate.patch 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. From 51e6005c9f33a9dd6ac5004a09fcb6ffbdee8dee Mon Sep 17 00:00:00 2001
  2. From: Hanspeter Portner <dev@open-music-kontrollers.ch>
  3. Date: Sun, 24 Feb 2019 10:18:16 +0100
  4. Subject: [PATCH] Fix lv2_validate to use proper core.lv2 path
  5. ---
  6. plugins/eg-params.lv2/params.ttl | 6 +++---
  7. plugins/eg-sampler.lv2/sampler.ttl | 2 +-
  8. util/lv2_validate.in | 8 ++++----
  9. 3 files changed, 8 insertions(+), 8 deletions(-)
  10. diff --git a/plugins/eg-params.lv2/params.ttl b/plugins/eg-params.lv2/params.ttl
  11. index dbcf6aa..931c826 100644
  12. --- a/plugins/eg-params.lv2/params.ttl
  13. +++ b/plugins/eg-params.lv2/params.ttl
  14. @@ -116,11 +116,11 @@ plug:spring
  15. state:state [
  16. plug:int 0 ;
  17. plug:long "0"^^xsd:long ;
  18. - plug:float 0.1234 ;
  19. + plug:float "0.1234"^^xsd:float ;
  20. plug:double "0e0"^^xsd:double ;
  21. plug:bool false ;
  22. plug:string "Hello, world" ;
  23. plug:path <params.ttl> ;
  24. - plug:spring 0.0 ;
  25. - plug:lfo 0.0
  26. + plug:spring "0.0"^^xsd:float ;
  27. + plug:lfo "0.0"^^xsd:float
  28. ] .
  29. diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl
  30. index 92570e5..062b177 100644
  31. --- a/plugins/eg-sampler.lv2/sampler.ttl
  32. +++ b/plugins/eg-sampler.lv2/sampler.ttl
  33. @@ -57,7 +57,7 @@
  34. ] ;
  35. state:state [
  36. <http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> ;
  37. - param:gain 1.0
  38. + param:gain "1.0"^^xsd:float
  39. ] .
  40. <http://lv2plug.in/plugins/eg-sampler#ui>
  41. diff --git a/util/lv2_validate.in b/util/lv2_validate.in
  42. index 165b1bf..2f9853d 100755
  43. --- a/util/lv2_validate.in
  44. +++ b/util/lv2_validate.in
  45. @@ -72,10 +72,10 @@ sord_validate \
  46. "$LV2DIR/log.lv2/log.ttl" \
  47. "$LV2DIR/log.lv2/manifest.ttl" \
  48. "$LV2DIR/log.lv2/lv2-log.doap.ttl" \
  49. - "$LV2DIR/lv2core.lv2/manifest.ttl" \
  50. - "$LV2DIR/lv2core.lv2/lv2core.ttl" \
  51. - "$LV2DIR/lv2core.lv2/lv2core.doap.ttl" \
  52. - "$LV2DIR/lv2core.lv2/meta.ttl" \
  53. + "$LV2DIR/core.lv2/manifest.ttl" \
  54. + "$LV2DIR/core.lv2/lv2core.ttl" \
  55. + "$LV2DIR/core.lv2/lv2core.doap.ttl" \
  56. + "$LV2DIR/core.lv2/meta.ttl" \
  57. "$LV2DIR/eg-metro.lv2/manifest.ttl" \
  58. "$LV2DIR/eg-metro.lv2/metro.ttl" \
  59. "$LV2DIR/presets.lv2/manifest.ttl" \