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
=== modified file 'debian/control'
--- debian/control 2013-10-03 12:22:56 +0000
+++ debian/control 2013-12-04 12:01:10 +0000
@@ -7,6 +7,7 @@
7 pkg-config,7 pkg-config,
8 qtdeclarative5-dev,8 qtdeclarative5-dev,
9 qtbase5-dev-tools,9 qtbase5-dev-tools,
10 libunity-api-dev,
10# For Qml tests11# For Qml tests
11 qtchooser,12 qtchooser,
12 qt5-default,13 qt5-default,
1314
=== modified file 'src/CMakeLists.txt'
--- src/CMakeLists.txt 2013-06-18 08:36:08 +0000
+++ src/CMakeLists.txt 2013-12-04 12:01:10 +0000
@@ -47,12 +47,22 @@
47qt5_use_modules(notifyplugin Widgets DBus Qml)47qt5_use_modules(notifyplugin Widgets DBus Qml)
48qt5_use_modules(notifyclientplugin Widgets DBus Qml)48qt5_use_modules(notifyclientplugin Widgets DBus Qml)
4949
50execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir_suffix unity-shell-api OUTPUT_VARIABLE SHELL_INSTALL_QML OUTPUT_STRIP_TRAILING_WHITESPACE)
51if(SHELL_INSTALL_QML STREQUAL "")
52 message(FATAL_ERROR "Could not determine plugin installation dir.")
53endif()
54
55execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=plugindir unity-shell-api OUTPUT_VARIABLE SHELL_PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
56if(SHELL_PLUGINDIR STREQUAL "")
57 message(FATAL_ERROR "Could not determine plugin import dir.")
58endif()
59
50install(60install(
51 TARGETS notifyplugin notifyclientplugin61 TARGETS notifyplugin notifyclientplugin
52 ARCHIVE DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}62 ARCHIVE DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications
53 LIBRARY DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}63 LIBRARY DESTINATION ${SHELL_PLUGINDIR}/Unity/Notifications
54)64)
5565
56install(FILES qmldir66install(FILES qmldir
57 DESTINATION ${QT_IMPORTS_DIR}/Unity/Notifications.${SONAME}67 DESTINATION ${SHELL_INSTALL_QML}/Unity/Notifications
58)68)

Subscribers

People subscribed via source and target branches

to all changes: