diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/URIs.cpp | 2 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 11 |
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(); } |