summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-27 19:47:45 +0000
committerDavid Robillard <d@drobilla.net>2013-12-27 19:47:45 +0000
commit24a2add27496e43e99dbc259ca7c26fbd5e43cff (patch)
tree2d7ea5d964023dc942e16bda9f59999e21f861de /src
parent1a46b62a6b4c23ab9465d0938c5015b1ab2b493b (diff)
downloadingen-24a2add27496e43e99dbc259ca7c26fbd5e43cff.tar.gz
ingen-24a2add27496e43e99dbc259ca7c26fbd5e43cff.tar.bz2
ingen-24a2add27496e43e99dbc259ca7c26fbd5e43cff.zip
Implement lv2:prototype.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5219 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/URIs.cpp2
-rw-r--r--src/serialisation/Serialiser.cpp11
2 files changed, 4 insertions, 9 deletions
diff --git a/src/URIs.cpp b/src/URIs.cpp
index fcb3f8d4..02e03a70 100644
--- a/src/URIs.cpp
+++ b/src/URIs.cpp
@@ -65,6 +65,7 @@ URIs::URIs(Forge& f, URIMap* map)
, ingen_Arc (forge, map, NS_INGEN "Arc")
, ingen_Block (forge, map, NS_INGEN "Block")
, ingen_Graph (forge, map, NS_INGEN "Graph")
+ , ingen_GraphPrototype (forge, map, NS_INGEN "GraphPrototype")
, ingen_Internal (forge, map, NS_INGEN "Internal")
, ingen_activity (forge, map, NS_INGEN "activity")
, ingen_arc (forge, map, NS_INGEN "arc")
@@ -108,6 +109,7 @@ URIs::URIs(Forge& f, URIMap* map)
, lv2_name (forge, map, LV2_CORE__name)
, lv2_port (forge, map, LV2_CORE__port)
, lv2_portProperty (forge, map, LV2_CORE__portProperty)
+ , lv2_prototype (forge, map, LV2_CORE__prototype)
, lv2_sampleRate (forge, map, LV2_CORE__sampleRate)
, lv2_scalePoint (forge, map, LV2_CORE__scalePoint)
, lv2_symbol (forge, map, LV2_CORE__symbol)
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 18e02df7..bbc23081 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -151,15 +151,8 @@ Serialiser::Impl::write_manifest(const std::string& bundle_path,
Sord::URI(world, uris.rdfs_seeAlso),
Sord::URI(world, filename, _base_uri));
_model->add_statement(subject,
- Sord::URI(world, uris.lv2_binary),
- Sord::URI(world, binary_path, _base_uri));
-
- std::string lib(Glib::Module::build_path(INGEN_BUNDLE_DIR, "ingen_lv2"));
- std::string link(Glib::Module::build_path(bundle_path, "ingen_lv2"));
- if (symlink(lib.c_str(), link.c_str())) {
- _world.log().error(fmt("Error creating link %1% => %2% (%3%\n")
- % lib % link % strerror(errno));
- }
+ Sord::URI(world, uris.lv2_prototype),
+ Sord::URI(world, uris.ingen_GraphPrototype));
finish();
}