I have made the following changes intended for : CE:MW:Shared / ohm-plugins-misc
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/7602 Thank You, Juho Hämäläinen [This message was auto-generated] --- Request # 7602: Messages from BOSS: State: review at 2013-01-07T15:21:02 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:jhamalai:branches:CE:MW:Shared / ohm-plugins-misc -> CE:MW:Shared / ohm-plugins-misc changes files: -------------- --- ohm-plugins-misc.changes +++ ohm-plugins-misc.changes @@ -0,0 +1,4 @@ +* Mon Jan 07 2013 Juho Hamalainen <[email protected]> - 1.1.59 +- Add service file for ohm-session-agent and add dbus session config + for root connecting to session bus. + new: ---- ohm-session-agent.conf ohm-session-agent.service spec files: ----------- --- ohm-plugins-misc.spec +++ ohm-plugins-misc.spec @@ -15,6 +15,8 @@ License: LGPLv2.1 URL: http://meego.gitorious.org/maemo-multimedia/ohm-plugins-misc Source0: maemo-multimedia-ohm-plugins-misc-264ebb39.tar.gz +Source1: ohm-session-agent.service +Source2: ohm-session-agent.conf Source100: ohm-plugins-misc.yaml Patch0: disable-cgroups-plugin.patch Patch1: resource-Update-resource-set-queue-implementation.patch @@ -171,6 +173,11 @@ rm -f -- $RPM_BUILD_ROOT%{_libdir}/ohm/*.la rm -f -- $RPM_BUILD_ROOT%{_libdir}/ohm/libohm_call_test.so rm -f -- $RPM_BUILD_ROOT%{_datadir}/ohm-session-agent/start-session-agent.sh + +install -d %{buildroot}/%{_sysconfdir}/dbus-1/session.d +install -d %{buildroot}/%{_libdir}/systemd/user +install -m 644 %{SOURCE1} %{buildroot}/%{_libdir}/systemd/user +install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/dbus-1/session.d # << install post @@ -185,6 +192,8 @@ %{_bindir}/ohm-session-agent %config %{_sysconfdir}/ohm/plugins.d/auth.ini %config %{_sysconfdir}/ohm/plugins.d/resource.ini +%{_sysconfdir}/dbus-1/session.d/*.conf +%{_libdir}/systemd/user/*.service %doc README COPYING AUTHORS #%{_libdir}/ohm/libohm_apptrack.so #%{_libdir}/ohm/libohm_cgroups.so other changes: -------------- ++++++ ohm-plugins-misc.yaml --- ohm-plugins-misc.yaml +++ ohm-plugins-misc.yaml @@ -7,6 +7,8 @@ URL: http://meego.gitorious.org/maemo-multimedia/ohm-plugins-misc Sources: - maemo-multimedia-ohm-plugins-misc-264ebb39.tar.gz + - ohm-session-agent.service + - ohm-session-agent.conf Description: A miscallaneous set of OHM plugins by Nokia. Patches: ++++++ ohm-session-agent.conf (new) --- ohm-session-agent.conf +++ ohm-session-agent.conf @@ -0,0 +1,13 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- Allow root to connect to session bus. Ohmd is running as root, ohm-session-agent + passes session bus connection details to ohmd so that ohmd can use session bus + as well. --> + + <policy context="default"> + <allow user="root"/> + </policy> + +</busconfig> ++++++ ohm-session-agent.service (new) --- ohm-session-agent.service +++ ohm-session-agent.service @@ -0,0 +1,6 @@ +[Unit] +Description=OHM Session Agent +Requires=dbus.socket + +[Service] +ExecStart=/usr/bin/ohm-session-agent
