Merge lp:~macslow/unity-notifications/fix-1256011 into lp:unity-notifications

Proposed by Mirco Müller
Status: Merged
Approved by: Michael Zanetti
Approved revision: 193
Merged at revision: 191
Proposed branch: lp:~macslow/unity-notifications/fix-1256011
Merge into: lp:unity-notifications
Diff against target: 41 lines (+14/-3)
2 files modified
debian/control (+1/-0)
src/CMakeLists.txt (+13/-3)
To merge this branch: bzr merge lp:~macslow/unity-notifications/fix-1256011
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+197167@code.launchpad.net

Commit message

Use new plugin-path provided by pkgconfig of libunity-api-dev, thus fixing LP #1256011.

Description of the change

Use new plugin-path provided by pkgconfig of libunity-api-dev, thus fixing LP #1256011.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
191. By Mirco Müller

libunity-api-dev needs to be added as a build-dependency too

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
192. By Mirco Müller

*sigh*

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
193. By Mirco Müller

Merged with trunk and fixed conflicts.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

ack

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-10-03 12:22:56 +0000
3+++ debian/control 2013-12-04 12:01:10 +0000
4@@ -7,6 +7,7 @@
5 pkg-config,
6 qtdeclarative5-dev,
7 qtbase5-dev-tools,
8+ libunity-api-dev,
9 # For Qml tests
10 qtchooser,
11 qt5-default,
12
13=== modified file 'src/CMakeLists.txt'
14--- src/CMakeLists.txt 2013-06-18 08:36:08 +0000
15+++ src/CMakeLists.txt 2013-12-04 12:01:10 +0000
16@@ -47,12 +47,22 @@
17 qt5_use_modules(notifyplugin Widgets DBus Qml)
18 qt5_use_modules(notifyclientplugin Widgets DBus Qml)
19
20+execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir_suffix unity-shell-api OUTPUT_VARIABLE SHELL_INSTALL_QML OUTPUT_STRIP_TRAILING_WHITESPACE)
21+if(SHELL_INSTALL_QML STREQUAL "")
22+ message(FATAL_ERROR "Could not determine plugin installation dir.")
23+endif()
24+
25+execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir unity-shell-api OUTPUT_VARIABLE SHELL_PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
26+if(SHELL_PLUGINDIR STREQUAL "")
27+ message(FATAL_ERROR "Could not determine plugin import dir.")
28+endif()
29+
30 install(
31 TARGETS notifyplugin notifyclientplugin
32- ARCHIVE DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}
33- LIBRARY DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}
34+ ARCHIVE DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications
35+ LIBRARY DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications
36 )
37
38 install(FILES qmldir
39- DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}
40+ DESTINATION ${SHELL_INSTALL_QML}/Unity/Notifications
41 )

Subscribers

People subscribed via source and target branches

to all changes: