summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/libhomescreen/libhomescreen
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/libhomescreen/libhomescreen')
-rw-r--r--recipes-demo-hmi/libhomescreen/libhomescreen/homescreen.pc.in12
-rw-r--r--recipes-demo-hmi/libhomescreen/libhomescreen/org.agl.statusbar.conf16
2 files changed, 16 insertions, 12 deletions
diff --git a/recipes-demo-hmi/libhomescreen/libhomescreen/homescreen.pc.in b/recipes-demo-hmi/libhomescreen/libhomescreen/homescreen.pc.in
deleted file mode 100644
index 7d9ee1ec..00000000
--- a/recipes-demo-hmi/libhomescreen/libhomescreen/homescreen.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=OEPREFIX
-exec_prefix=OEPREFIX
-libdir=OELIBDIR
-includedir=OEINCDIR
-
-Name: libhomescreen
-Description: A generic interface for the HomeScreen app
-Version: 1.0.0
-Libs: -L${libdir} -lhomescreen
-Libs.private: -lgio-2.0 -lgobject-2.0 -lglib-2.0
-Cflags:
-Requires: glib-2.0 gio-unix-2.0
diff --git a/recipes-demo-hmi/libhomescreen/libhomescreen/org.agl.statusbar.conf b/recipes-demo-hmi/libhomescreen/libhomescreen/org.agl.statusbar.conf
new file mode 100644
index 00000000..dc3852ee
--- /dev/null
+++ b/recipes-demo-hmi/libhomescreen/libhomescreen/org.agl.statusbar.conf
@@ -0,0 +1,16 @@
+<!DOCTYPE busconfig PUBLIC
+"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <policy context="default">
+ <!-- Allow everyone to talk to main service. We'll later add an agent to
+ only share the location if user allows it. -->
+ <allow send_interface="org.agl.statusbar"/>
+ </policy>
+
+ <policy user="root">
+ <!-- Allow root to own the name on the bus -->
+ <allow own="org.agl.statusbar"/>
+ </policy>
+</busconfig>
+