summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/world.c6
-rw-r--r--utils/lv2info.c1
3 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index eb92f77..1328232 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@ lilv (UNRELEASED) unstable; urgency=low
* Use path variables in pkgconfig files
* Install man page to DATADIR (e.g. PREFIX/share/man, not PREFIX/man)
* Make Lilv::uri_to_path static inline (fix linking errors)
+ * Use correct URI for dcterms:replaces (for hiding old plugins):
+ "http://purl.org/dc/terms/replaces"
-- David Robillard <d@drobilla.net> (UNRELEASED)
diff --git a/src/world.c b/src/world.c
index 75ee8d3..1efe368 100644
--- a/src/world.c
+++ b/src/world.c
@@ -46,13 +46,13 @@ lilv_world_new(void)
world->plugin_classes = lilv_plugin_classes_new();
world->plugins = lilv_plugins_new();
-#define NS_DYNMAN "http://lv2plug.in/ns/ext/dynmanifest#"
-#define NS_DC "http://purl.org/dc/elements/1.1/"
+#define NS_DYNMAN "http://lv2plug.in/ns/ext/dynmanifest#"
+#define NS_DCTERMS "http://purl.org/dc/terms/"
#define NEW_URI(uri) sord_new_uri(world->world, (const uint8_t*)uri)
#define NEW_URI_VAL(uri) lilv_new_uri(world, (const char*)(uri));
- world->dc_replaces_node = NEW_URI(NS_DC "replaces");
+ world->dc_replaces_node = NEW_URI(NS_DCTERMS "replaces");
world->dyn_manifest_node = NEW_URI(NS_DYNMAN "DynManifest");
world->lv2_binary_node = NEW_URI(LILV_NS_LV2 "binary");
world->lv2_default_node = NEW_URI(LILV_NS_LV2 "default");
diff --git a/utils/lv2info.c b/utils/lv2info.c
index 6936bf3..6f664b3 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -360,7 +360,6 @@ main(int argc, char** argv)
LilvWorld* world = lilv_world_new();
lilv_world_load_all(world);
-#define NS_DC "http://purl.org/dc/elements/1.1/"
#define NS_PG "http://lv2plug.in/ns/ext/port-groups#"
#define NS_PSET "http://lv2plug.in/ns/ext/presets#"
#define NS_EV "http://lv2plug.in/ns/ext/event#"