[nemiver/profiler] WIP
- From: Fabien Parent <fparent src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/profiler] WIP
- Date: Sun, 5 Aug 2012 19:55:08 +0000 (UTC)
commit 385fb0f66e3f89b089aeb0c4e615d03f4ed47874
Author: Fabien Parent <parent f gmail com>
Date: Sun Aug 5 21:30:50 2012 +0200
WIP
configure.ac | 1 +
src/profengine/Makefile.am | 5 ++++-
src/profengine/nmv-perf-server.cc | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bf60c2c..a8ffb4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,6 +498,7 @@ src/Makefile
src/profengine/perfengine.conf
src/profengine/org.gnome.nemiver.profiler.service
src/profengine/org.gnome.nemiver.profiler.conf
+ src/profengine/org.gnome.nemiver.profiler.policy
src/confmgr/Makefile
src/confmgr/gconfmgr.conf
src/confmgr/gsettingsmgr.conf
diff --git a/src/profengine/Makefile.am b/src/profengine/Makefile.am
index 8d605a2..987cd16 100644
--- a/src/profengine/Makefile.am
+++ b/src/profengine/Makefile.am
@@ -48,10 +48,13 @@ nmvperfserver= NEMIVER_MODULES_DIR@
nmvperfserver_LDADD= NEMIVERPROFPERSP_LIBS@ @NEMIVERPERFSERVER_LIBS@ \
$(abs_top_builddir)/src/common/libnemivercommon.la libperfcommon.la
+policy_DATA=org.gnome.nemiver.profiler.policy
+policydir=$(datadir)/polkit-1/actions/
+
service_DATA=org.gnome.nemiver.profiler.service
servicedir=$(datadir)/dbus-1/system-services
-bus_DATA=org.gnome.nemiver.profiler.conf.in
+bus_DATA=org.gnome.nemiver.profiler.conf
busdir=/etc/dbus-1/system.d/
INCLUDES= NEMIVERCOMMON_CFLAGS@ @NEMIVERPROFPERSP_CFLAGS@ \
diff --git a/src/profengine/nmv-perf-server.cc b/src/profengine/nmv-perf-server.cc
index 3d5d9c8..b40b5ba 100644
--- a/src/profengine/nmv-perf-server.cc
+++ b/src/profengine/nmv-perf-server.cc
@@ -188,7 +188,7 @@ struct PerfServer::Priv {
polkit_authority_check_authorization_sync
(polkit_authority_get_sync (NULL, NULL),
polkit_system_bus_name_new (bus_name.c_str ()),
- "org.gnome.nemiver.profile-app",
+ "org.gnome.nemiver.profiler.profile-running-process",
NULL,
POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]