From 993f55ab9cb785da97059df5485c745b010ac8b2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 2 Nov 2011 01:25:42 +0000 Subject: Use correct URI for dcterms:replaces (for hiding old plugins): "http://purl.org/dc/terms/replaces" git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3594 a436a847-0d15-0410-975c-d299462d15a1 --- ChangeLog | 2 ++ src/world.c | 6 +++--- utils/lv2info.c | 1 - 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 (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#" -- cgit v1.2.1