Merge lp:~gerboland/bamf-qt/pkgconfig-fix into lp:bamf-qt

Proposed by Gerry Boland
Status: Needs review
Proposed branch: lp:~gerboland/bamf-qt/pkgconfig-fix
Merge into: lp:bamf-qt
Diff against target: 41 lines (+11/-6)
2 files modified
CMakeLists.txt (+8/-3)
libqtbamf.pc.in (+3/-3)
To merge this branch: bzr merge lp:~gerboland/bamf-qt/pkgconfig-fix
Reviewer Review Type Date Requested Status
Michal Hruby (community) Approve
unity-2d-team Pending
Review via email: mp+91552@code.launchpad.net

Description of the change

Generate pkgconfig file by cmake so it points to install directories

To post a comment you must log in.
Revision history for this message
Michal Hruby (mhr3) wrote :

Yey, I could have saved myself 10 minutes if I saw this earlier...

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

The Jenkins job https://jenkins.qa.ubuntu.com/job/automerge-bamf-qt/6/console reported an error when processing this lp:~gerboland/bamf-qt/pkgconfig-fix branch.
Not merging it.

lp:~gerboland/bamf-qt/pkgconfig-fix updated
396. By Gerry Boland

Generate .pc file into bild directory, fix dpkg generation

Revision history for this message
Michal Hruby (mhr3) wrote :

On the one!

review: Approve

Unmerged revisions

396. By Gerry Boland

Generate .pc file into bild directory, fix dpkg generation

395. By Gerry Boland

Generate pkgconfig file by cmake so it points to install directories

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2011-12-14 12:29:14 +0000
+++ CMakeLists.txt 2012-02-20 16:52:51 +0000
@@ -130,9 +130,14 @@
130 DESTINATION ${INCLUDE_INSTALL_DIR}130 DESTINATION ${INCLUDE_INSTALL_DIR}
131 )131 )
132132
133# FIXME: Generate from ${CMAKE_INSTALL_PREFIX}133# PkgConfig file
134install(FILES libqtbamf.pc134set (PREFIX "${CMAKE_INSTALL_PREFIX}")
135 DESTINATION lib/pkgconfig135set (EXEC_PREFIX "${CMAKE_INSTALL_PREFIX}")
136
137configure_file (libqtbamf.pc.in
138 ${CMAKE_CURRENT_BINARY_DIR}/libqtbamf.pc @ONLY)
139install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqtbamf.pc
140 DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig
136 )141 )
137142
138## QtBamfQml143## QtBamfQml
139144
=== renamed file 'libqtbamf.pc' => 'libqtbamf.pc.in'
--- libqtbamf.pc 2011-01-13 17:57:36 +0000
+++ libqtbamf.pc.in 2012-02-20 16:52:51 +0000
@@ -1,5 +1,5 @@
1prefix=/usr1prefix=@PREFIX@
2exec_prefix=/usr2exec_prefix=@EXEC_PREFIX@
3libdir=${exec_prefix}/lib3libdir=${exec_prefix}/lib
4includedir=${prefix}/include4includedir=${prefix}/include
55
@@ -7,6 +7,6 @@
7Description: Qt binding and QML plugin for the bamf d-bus server.7Description: Qt binding and QML plugin for the bamf d-bus server.
8Version: 0.08Version: 0.0
99
10Requires: QtDBus10Requires: QtDBus libbamf3
11Libs: -L${libdir} -lQtBamf11Libs: -L${libdir} -lQtBamf
12Cflags: -I${includedir}/QtBamf12Cflags: -I${includedir}/QtBamf

Subscribers

People subscribed via source and target branches

to all changes: