summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slv2/slv2.h1
-rw-r--r--src/world.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h
index e575229..14baa46 100644
--- a/slv2/slv2.h
+++ b/slv2/slv2.h
@@ -34,6 +34,7 @@ extern "C" {
#include <slv2/plugininstance.h>
#include <slv2/value.h>
#include <slv2/values.h>
+#include <slv2/util.h>
#ifdef __cplusplus
}
diff --git a/src/world.c b/src/world.c
index dc2be1a..ee6f029 100644
--- a/src/world.c
+++ b/src/world.c
@@ -356,9 +356,11 @@ slv2_world_load_all(SLV2World world)
unsigned char* query_string = (unsigned char*)
"PREFIX : <http://lv2plug.in/ontology#>\n"
"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
+ "PREFIX lv2: <http://lv2plug.in/ontology#>\n"
+ "PREFIX doap: <http://usefulinc.com/ns/doap#>\n"
"PREFIX slv2: <http://drobilla.net/ns/slv2#>\n"
"SELECT DISTINCT ?plugin ?data ?bundle ?binary\n"
- "WHERE { ?plugin a :Plugin; slv2:bundleURI ?bundle; rdfs:seeAlso ?data\n"
+ "WHERE { ?plugin a :Plugin; doap:name ?name; lv2:bundleURI ?bundle; rdfs:seeAlso ?data\n"
"OPTIONAL { ?plugin :binary ?binary } }\n"
"ORDER BY ?plugin\n";