I have made the following changes intended for :
  CE:Apps / tone-generator

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/7200

Thank You,
tswindell

[This message was auto-generated]

---

Request # 7200:

Messages from BOSS:

State: review at 2012-10-30T12:11:42 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:tswindell:CE:Apps / tone-generator -> CE:Apps / tone-generator
  
changes files:
--------------
--- tone-generator.changes
+++ tone-generator.changes
@@ -0,0 +1,3 @@
+* Tue Oct 30 2012 Tom Swindell <[email protected]> - 1.5
+- Added systemd startup file and removed packaging of xdg autostart file
+

new:
----
  tone-generator.service

spec files:
-----------
--- tone-generator.spec
+++ tone-generator.spec
@@ -6,6 +6,7 @@
 License:    LGPLv2.1
 URL:        http://meego.gitorious.org/maemo-multimedia/tone-generator
 Source0:    %{name}-%{version}.tar.gz
+Source1:    %{name}.service
 Requires:   pulseaudio
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(dbus-glib-1)
@@ -29,9 +30,13 @@
 rm -rf %{buildroot}
 %make_install 
 
+mkdir -p %{buildroot}/usr/lib/systemd/user/
+cp %{_sourcedir}/%{name}.service %{buildroot}/usr/lib/systemd/user/
+
 %files
 %defattr(-,root,root,-)
 /usr/bin/tonegend
 %config /etc/dbus-1/system.d/tone-generator.conf
-%config /etc/xdg/autostart/tonegend.desktop
+/usr/lib/systemd/user/%{name}.service
+%exclude /etc/xdg/autostart/tonegend.desktop
 

other changes:
--------------

++++++ tone-generator.service (new)
--- tone-generator.service
+++ tone-generator.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Tone generator daemon for call progress indication and DTMF
+Requires=dbus.socket sound.target
+
+[Service]
+ExecStart=/usr/bin/tone-generator -b 100 -r 20 --volume-dtmf 50
+Restart=always



Reply via email to