From e816f1cb0d13939c4923718fa12efdc52df6d631 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Wed, 3 Apr 2024 14:10:45 +0200 Subject: [PATCH] - Move project url to gitea, - Moge plugin url to rx3.org, - improve drummer-mkttl. --- drummer-mkttl | 30 ++++++++++++++++++++++-------- go.sh | 5 +++-- lv2_plugin.h | 2 +- lv2_ui.h | 2 +- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/drummer-mkttl b/drummer-mkttl index c6a1f9b..100807a 100755 --- a/drummer-mkttl +++ b/drummer-mkttl @@ -1,7 +1,11 @@ #!/bin/bash - out_file="drummer.ttl" -outport_nb=32 +manifest_file="manifest.ttl" + out_file="drummer.ttl" + owner_email="alkorz3@rx3.net" + plugin_url="http://rx3.org/AlkorZ3/drummer" + project_url="https://git.rx3.org/gitea/rx3/drummer" + outport_nb=32 @@ -80,20 +84,20 @@ echo -n >>${out_file} '@prefix lv2: . @prefix atom: . @prefix urid: . @prefix pg: . -@prefix drummer: . +@prefix drummer: <'${plugin_url}'#>. - +<'${plugin_url}'> a lv2:InstrumentPlugin, lv2:Plugin; lv2:binary ; doap:name "Drummer Sampler"; doap:maintainer [ foaf:name "AlkorZ3"; - foaf:homepage ; - foaf:mbox + foaf:homepage <'${project_url}'>; + foaf:mbox <'${owner_email}'> ] ; doap:license ; lv2:requiredFeature urid:map; - ui:ui ; + ui:ui <'${plugin_url}'#ui>; lv2:extensionData ; lv2:port' @@ -278,6 +282,16 @@ done echo >>${out_file} ' - +<'${plugin_url}'#ui> a ui:GtkUI ; ui:binary .' + + + + + +echo >${manifest_file} '@prefix lv2: . +@prefix rdfs: . +<'${plugin_url}'> + a lv2:Plugin; + rdfs:seeAlso <'${out_file}'>.' diff --git a/go.sh b/go.sh index 913c08c..7d0b141 100755 --- a/go.sh +++ b/go.sh @@ -37,7 +37,8 @@ eval ${cmd} cmd="./drummer-mkttl" -#echo ${cmd} -#eval ${cmd} +echo ${cmd} +eval ${cmd} + #gcc -g -I . -L . -shared -o drummer.so -fPIC drummer.c #gcc -g -I. -I/usr/include/libxml2 -o xpath -fPIC -ldl -lxml2 -lz -llzma -lm xpath.c diff --git a/lv2_plugin.h b/lv2_plugin.h index 52f226b..33a12cb 100644 --- a/lv2_plugin.h +++ b/lv2_plugin.h @@ -35,7 +35,7 @@ // lv2 stuff -#define DRD_DRUMMER_URI "http://rx3.net/AlkorZ3/drummer" +#define DRD_DRUMMER_URI "http://rx3.org/AlkorZ3/drummer" #define DRD_GAIN_MIN -60.0f #define DRD_GAIN_MAX 6.0f diff --git a/lv2_ui.h b/lv2_ui.h index 98a0aaf..69c929f 100644 --- a/lv2_ui.h +++ b/lv2_ui.h @@ -20,7 +20,7 @@ /* Global definitions */ /*----------------------------------------------------------------------------*/ -#define DRD_DRUMMER_UI_URI "http://rx3.net/AlkorZ3/drummer#ui" +#define DRD_DRUMMER_UI_URI "http://rx3.org/AlkorZ3/drummer#ui"