I have made the following changes intended for : CE:MW:MTF / commhistory-daemon
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/5427 Thank You, tswindell [This message was auto-generated] --- Request # 5427: Messages from BOSS: State: review at 2012-08-06T20:52:53 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 / commhistory-daemon -> CE:MW:MTF / commhistory-daemon changes files: -------------- ++++++ new changes file: --- commhistory-daemon.changes +++ commhistory-daemon.changes @@ -0,0 +1,3 @@ +* Tue Jul 31 2012 Tom Swindell <[email protected]> - 0.3.2 +- Updated sources from git, for libcommhistory and commhistory-daemon packages. + new: ---- commhistory-daemon-0.3.2-fix-ignored-return-with-warn_unused_result.patch commhistory-daemon-0.3.2.tar.gz commhistory-daemon.changes commhistory-daemon.spec spec files: ----------- ++++++ new spec file: --- commhistory-daemon.spec +++ commhistory-daemon.spec @@ -0,0 +1,63 @@ +Name: commhistory-daemon +Summary: Communications event history database daemon +Version: 0.3.2 +Release: 1 +Group: Communications/Telephony and IM +License: LGPL +URL: http://gitorious.org/commhistory/commhistory-daemon +Source0: %{name}-%{version}.tar.gz +Patch0: commhistory-daemon-0.3.2-fix-ignored-return-with-warn_unused_result.patch +BuildRequires: pkgconfig(QtCore) >= 4.7.0 +BuildRequires: pkgconfig(QtContacts) +BuildRequires: pkgconfig(commhistory) +BuildRequires: pkgconfig(contextsubscriber-1.0) +BuildRequires: pkgconfig(TelepathyQt4) +BuildRequires: pkgconfig(meegotouch) +BuildRequires: qmsystem-devel +BuildRequires: python + +#package tests +#Summary: Unit tests for commhistory-daemon +#Group: Development/Libraries + +#description tests +#Unit tests for commhistory-daemon + +%description +Daemon for logging communications (IM, SMS and call) in history database. + +%prep +%setup -q -n %{name}-%{version} + +%patch0 -p1 + +%build +unset LD_AS_NEEDED +%qmake +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%qmake_install + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/commhistoryd +%{_bindir}/commhistoryd.qm +%{_datadir}/dbus-1/services/com.nokia.CommHistory.service +%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.CommHistory.service +%{_datadir}/l10n/meegotouch/commhistoryd.qm +%{_datadir}/doc/commhistory-daemon-l10n-engineering-english/commhistoryd.ts +%{_datadir}/meegotouch/notifications/eventtypes/* +%{_datadir}/telepathy/clients/CommHistory.client + +#files tests +#defattr(-,root,root,-) +%exclude %{_datadir}/commhistory-daemon-tests/* + other changes: -------------- ++++++ commhistory-daemon-0.3.2-fix-ignored-return-with-warn_unused_result.patch (new) --- commhistory-daemon-0.3.2-fix-ignored-return-with-warn_unused_result.patch +++ commhistory-daemon-0.3.2-fix-ignored-return-with-warn_unused_result.patch @@ -0,0 +1,15 @@ +diff -uNr commhistory-daemon-0.3.3~067858b/src/main.cpp commhistory-daemon-0.3.3~067858b.p1/src/main.cpp +--- commhistory-daemon-0.3.3~067858b/src/main.cpp 2012-07-30 15:46:52.000000000 +0000 ++++ commhistory-daemon-0.3.3~067858b.p1/src/main.cpp 2012-07-31 16:44:45.648204849 +0000 +@@ -88,7 +88,10 @@ + void termSignalHandler(int) + { + char a = 1; +- ::write(sigtermFd[0], &a, sizeof(a)); ++ if(write(sigtermFd[0], &a, sizeof(a)) < 1) ++ { ++ qWarning("Failed to handle term signal."); ++ } + } + + void setupSigtermHandler() ++++++ commhistory-daemon-0.3.2.tar.gz (new)
