Merge lp:~ballogy/dee-qt/install-pkgconfig-file into lp:dee-qt/0.2

Proposed by Balló György
Status: Merged
Approved by: Didier Roche-Tolomelli
Approved revision: 57
Merged at revision: 60
Proposed branch: lp:~ballogy/dee-qt/install-pkgconfig-file
Merge into: lp:dee-qt/0.2
Diff against target: 23 lines (+5/-1)
2 files modified
CMakeLists.txt (+4/-0)
debian/libqtdee-dev.install (+1/-1)
To merge this branch: bzr merge lp:~ballogy/dee-qt/install-pkgconfig-file
Reviewer Review Type Date Requested Status
Olivier Tilloy (community) Approve
Review via email: mp+85355@code.launchpad.net

Description of the change

Currently, pkgconfig file is not installed by make. This change fix this problem, similar to bamf-qt and gconf-qt:
http://bazaar.launchpad.net/~unity-2d-team/bamf-qt/trunk/view/head:/CMakeLists.txt#L126
http://bazaar.launchpad.net/~unity-2d-team/gconf-qt/trunk/view/head:/CMakeLists.txt#L95

To post a comment you must log in.
Revision history for this message
Olivier Tilloy (osomon) wrote :

This looks good, thanks György. One remark, and one tiny thing to fix before we can merge it:

 - The comment is useless: if the destination target is a relative path (which it is), it will be installed relative to ${CMAKE_INSTALL_PREFIX}. Please remove it.

 - The file debian/libqtdee-dev.install needs to be updated. The change would be something like:

    -libqtdee.pc usr/lib/pkgconfig/
    +usr/lib/pkgconfig/libqtdee.pc

review: Needs Fixing
Revision history for this message
Balló György (ballogy) wrote :

Now I fixed these things.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks good to go now!

review: Approve
Revision history for this message
Unity Merger (unity-merger) wrote :

The Jenkins job https://jenkins.qa.ubuntu.com/job/automerge-dee-qt/4/console reported an error when processing this lp:~ballogy/dee-qt/install-pkgconfig-file branch.
Not merging it.

Revision history for this message
Balló György (ballogy) wrote :

It seems to me that the error was unrelated to this change. Please approve it again.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Indeed it's unrelated to your change, the build failure is in the trunk itself, at least on Ubuntu Oneiric: the build dependency on libdee-dev was bumped to >= 1.0.0 at revision 57, whereas the version in oneiric is 0.5.22-0ubuntu1.

This doesn't look right, I'll contact the author of this revision to ask for more information. I'll leave the status of the merge request to 'Needs Review' for now, as re-accepting it would only trigger the same error again. Sorry about that, I hope we can sort it out quickly, and thanks for your patience!

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 2011-11-23 10:00:21 +0000
3+++ CMakeLists.txt 2012-01-05 20:32:23 +0000
4@@ -94,6 +94,10 @@
5 DESTINATION ${INCLUDE_INSTALL_DIR}
6 )
7
8+install(FILES libqtdee.pc
9+ DESTINATION lib/pkgconfig
10+ )
11+
12 ## QtDeeQml
13 install(TARGETS QtDeeQml
14 LIBRARY DESTINATION ${IMPORT_INSTALL_DIR}
15
16=== modified file 'debian/libqtdee-dev.install'
17--- debian/libqtdee-dev.install 2011-01-11 17:56:52 +0000
18+++ debian/libqtdee-dev.install 2012-01-05 20:32:23 +0000
19@@ -1,3 +1,3 @@
20 usr/lib/libQtDee.so
21 usr/include/QtDee/*.h
22-libqtdee.pc usr/lib/pkgconfig/
23+usr/lib/pkgconfig/libqtdee.pc

Subscribers

People subscribed via source and target branches