[SCM] calf/master: Use correct URI for "replaces" predicate from dcterms.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:47 UTC 2013


The following commit has been merged in the master branch:
commit fa8e040008bb19300482fc13c173cb3759d3538d
Author: David Robillard <d at drobilla.net>
Date:   Sun Dec 18 10:19:28 2011 +0000

    Use correct URI for "replaces" predicate from dcterms.

diff --git a/src/makerdf.cpp b/src/makerdf.cpp
index 89bc497..7a39ba9 100644
--- a/src/makerdf.cpp
+++ b/src/makerdf.cpp
@@ -183,7 +183,7 @@ void make_ttl(string path_prefix)
         "@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n"
         "@prefix lv2:  <http://lv2plug.in/ns/lv2core#> .\n"
         "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n"
-        "@prefix dc: <http://dublincore.org/documents/dcmi-namespace/> .\n"
+        "@prefix dct: <http://purl.org/dc/terms/> .\n"
         "@prefix doap: <http://usefulinc.com/ns/doap#> .\n"
         "@prefix uiext: <http://lv2plug.in/ns/extensions/ui#> .\n"
         "@prefix lv2ev: <http://lv2plug.in/ns/ext/event#> .\n"
@@ -275,7 +275,7 @@ void make_ttl(string path_prefix)
 #endif
         
         ttl += "    doap:license <http://usefulinc.com/doap/licenses/lgpl> ;\n";
-        ttl += "    dc:replaces <urn:ladspa:" + i2s(lpi.unique_id) + "> ;\n";
+        ttl += "    dct:replaces <urn:ladspa:" + i2s(lpi.unique_id) + "> ;\n";
         // XXXKF not really optional for now, to be honest
         ttl += "    lv2:optionalFeature epp:supportsStrictBounds ;\n";
         if (pi->is_rt_capable())
@@ -334,7 +334,7 @@ void make_ttl(string path_prefix)
         "@prefix lv2:  <http://lv2plug.in/ns/lv2core#> .\n"
         "@prefix lv2p:  <http://lv2plug.in/ns/ext/presets#> .\n"
         "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n"
-        "@prefix dc: <http://dublincore.org/documents/dcmi-namespace/> .\n"
+        "@prefix dct: <http://purl.org/dc/terms/> .\n"
         "\n"
     ;
     
@@ -399,7 +399,7 @@ void make_ttl(string path_prefix)
         string label = plugins[i]->get_plugin_info().label;
         ttl += string("<" + plugin_uri_prefix) 
             + string(plugins[i]->get_plugin_info().label)
-	        + "> a lv2:Plugin ;\n    dc:replaces <urn:ladspa:"
+	        + "> a lv2:Plugin ;\n    dct:replaces <urn:ladspa:"
 	        + i2s(plugins[i]->get_plugin_info().unique_id) + "> ;\n    "
 	        + "lv2:binary <calf.so> ; rdfs:seeAlso <" + label + ".ttl> ";
         if (preset_data.count(label))

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list