Merge lp:~saviq/indicators-client/fix-raring-build into lp:indicators-client

Proposed by Michał Sawicz
Status: Merged
Approved by: Michael Zanetti
Approved revision: 196
Merged at revision: 198
Proposed branch: lp:~saviq/indicators-client/fix-raring-build
Merge into: lp:indicators-client
Diff against target: 38 lines (+8/-1)
2 files modified
debian/control (+1/-1)
tests/unittest/CMakeLists.txt (+7/-0)
To merge this branch: bzr merge lp:~saviq/indicators-client/fix-raring-build
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+153447@code.launchpad.net

Commit message

fix raring build: link test to libgio and build-depend on python

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

looks good to me

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2013-02-22 09:40:15 +0000
3+++ debian/control 2013-03-14 19:06:21 +0000
4@@ -11,7 +11,7 @@
5 libglib2.0-dev,
6 libnm-glib-dev,
7 libqmenumodel-dev,
8- python2.7,
9+ python,
10 Standards-Version: 3.9.3
11 Vcs-Bzr: lp:ubuntu-indicators/indicators-client
12
13
14=== modified file 'tests/unittest/CMakeLists.txt'
15--- tests/unittest/CMakeLists.txt 2013-01-10 19:35:32 +0000
16+++ tests/unittest/CMakeLists.txt 2013-03-14 19:06:21 +0000
17@@ -16,7 +16,10 @@
18 set(CTEST_TESTING_TIMEOUT 60)
19 endif()
20
21+pkg_check_modules(GIO gio-2.0>=2.32)
22+
23 include_directories(${QMENUMODEL_INCLUDE_DIRS}
24+ ${GIO_INCLUDE_DIRS}
25 ${CMAKE_BINARY_DIR}
26 ${libchewieui_SOURCE_DIR}
27 )
28@@ -30,6 +33,10 @@
29 declare_test(pluginmodeltest)
30 declare_test(dynamicmenutest)
31
32+target_link_libraries(dynamicmenutest
33+ ${GIO_LIBRARIES}
34+)
35+
36 add_subdirectory(plugins)
37
38 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-config.h.in

Subscribers

People subscribed via source and target branches