Merge lp:~oif-team/geis/lp_661946 into lp:geis

Proposed by Stephen M. Webb
Status: Merged
Merged at revision: 84
Proposed branch: lp:~oif-team/geis/lp_661946
Merge into: lp:geis
Diff against target: 25 lines (+7/-0)
2 files modified
ChangeLog (+6/-0)
configure.ac (+1/-0)
To merge this branch: bzr merge lp:~oif-team/geis/lp_661946
Reviewer Review Type Date Requested Status
Chase Douglas (community) Approve
Review via email: mp+38729@code.launchpad.net

This proposal supersedes a proposal from 2010-10-18.

Description of the change

Added a configury check for the XCB prototype generator library package xcb-proto version 1.6 or later (LP: #661946).

To post a comment you must log in.
Revision history for this message
Chase Douglas (chasedouglas) wrote : Posted in a previous version of this proposal

The bug report should be mentioned in the changelog as well (LP: 661946). This will help people understand why the change was made by just browsing the commit history. It will also automatically mark the bug as "Fix Committed".

I know it's nit picky, but I think we should get into the habit of doing these things. Once it's ingrained in our workflow, things will be smoother.

Code wise, I think the "AC_MSG_ERROR([XCB code generation libraries not found])" is superfluous. If the package isn't found, an error message will be printed by default and the configure script will bail. All that should be needed is "PKG_CHECK_MODULES([XCB_PROTO], [xcb-proto >= 1.6])"

review: Needs Fixing
Revision history for this message
Stephen M. Webb (bregma) wrote :

It took me a while to figure out that by "changelog" you mean "bzr commit message".

Revision history for this message
Chase Douglas (chasedouglas) 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 'ChangeLog'
2--- ChangeLog 2010-10-14 17:14:40 +0000
3+++ ChangeLog 2010-10-18 14:22:41 +0000
4@@ -1,3 +1,9 @@
5+2010-10-18 Stephen M. Webb <stephen.webb@canonical.com>
6+
7+ Added configury check for xcb-proto package >= 1.6 (LP: #661946).
8+
9+ * configure.ac: added PKG_CHECK_MODULES for xcb-proto >= 1.6
10+
11 2010-10-14 Stephen M. Webb <stephen.webb@canonical.com>
12
13 Release version 1.0.13.
14
15=== modified file 'configure.ac'
16--- configure.ac 2010-10-14 17:14:40 +0000
17+++ configure.ac 2010-10-18 14:22:41 +0000
18@@ -30,6 +30,7 @@
19 AC_MSG_ERROR([XI2 development libraries not found]))
20
21 # XCB code generation configuration
22+PKG_CHECK_MODULES([XCB_PROTO], [xcb-proto >= 1.6])
23 AC_MSG_CHECKING(XCBPROTO_XCBINCLUDEDIR)
24 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
25 AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)

Subscribers

People subscribed via source and target branches

to all changes: