Merge lp:~renatofilho/address-book-service/remove-dbus-service-file into lp:address-book-service

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Bill Filler
Approved revision: 134
Merged at revision: 133
Proposed branch: lp:~renatofilho/address-book-service/remove-dbus-service-file
Merge into: lp:address-book-service
Diff against target: 55 lines (+3/-13)
5 files modified
CMakeLists.txt (+0/-1)
data/CMakeLists.txt (+0/-8)
data/com.canonical.pim.service.in (+0/-3)
debian/address-book-service.install (+0/-1)
src/main.cpp (+3/-0)
To merge this branch: bzr merge lp:~renatofilho/address-book-service/remove-dbus-service-file
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+230506@code.launchpad.net

Commit message

Removed dbus autostart service file.

We do not need dbus autostart service file we are using upstart with respawn.

Description of the change

To get all debug messages add this to upstart service: /usr/share/upstart/sessions/address-book-service.conf

env ADDRESS_BOOK_SERVICE_DEBUG=On
env G_MESSAGES_DEBUG=all

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
134. By Renato Araujo Oliveira Filho

Added debug message on service startup.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

approved

review: Approve
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Are there any related MPs required for this MP to build/function as expected? NO

Is your branch in sync with latest trunk? YES

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator? YES

Did you successfully run all tests found in your component's Test Plan on device or emulator? YES

If you changed the UI, was the change specified/approved by design? NO UI CHANGE

If you changed UI labels, did you update the pot file? NO POT FILES

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP? NO PACKAGE CHANGE

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-04-09 12:57:07 +0000
3+++ CMakeLists.txt 2014-08-12 22:06:28 +0000
4@@ -63,7 +63,6 @@
5 add_subdirectory(lib)
6 add_subdirectory(src)
7 add_subdirectory(contacts)
8-add_subdirectory(data)
9 if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc")
10 # Some tests fail when running on PPPC check bug #1294229
11 message(STATUS "Tests disable for ppc")
12
13=== removed directory 'data'
14=== removed file 'data/CMakeLists.txt'
15--- data/CMakeLists.txt 2013-06-07 18:54:26 +0000
16+++ data/CMakeLists.txt 1970-01-01 00:00:00 +0000
17@@ -1,8 +0,0 @@
18-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/com.canonical.pim.service.in"
19- "${CMAKE_CURRENT_BINARY_DIR}/com.canonical.pim.service"
20- IMMEDIATE @ONLY
21-)
22-
23-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.canonical.pim.service
24- DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/dbus-1/services/
25-)
26
27=== removed file 'data/com.canonical.pim.service.in'
28--- data/com.canonical.pim.service.in 2013-06-07 18:54:26 +0000
29+++ data/com.canonical.pim.service.in 1970-01-01 00:00:00 +0000
30@@ -1,3 +0,0 @@
31-[D-BUS Service]
32-Name=com.canonical.pim
33-Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/address-book-service
34
35=== modified file 'debian/address-book-service.install'
36--- debian/address-book-service.install 2014-03-13 14:36:27 +0000
37+++ debian/address-book-service.install 2014-08-12 22:06:28 +0000
38@@ -1,3 +1,2 @@
39 usr/lib/*/address-book-service/address-book-service
40-usr/share/dbus-1/services/com.canonical.pim.service
41 upstart/address-book-service.conf /usr/share/upstart/sessions
42
43=== modified file 'src/main.cpp'
44--- src/main.cpp 2014-06-17 17:03:31 +0000
45+++ src/main.cpp 2014-08-12 22:06:28 +0000
46@@ -80,7 +80,10 @@
47 app.connect(&book, SIGNAL(stopped()), SLOT(quit()));
48
49 if (book.start()) {
50+ qDebug() << "Service started";
51 return app.exec();
52+ } else {
53+ qDebug() << "Fail to start service";
54 }
55 }
56

Subscribers

People subscribed via source and target branches