Merge lp:~l3on/ubuntu/precise/haskell-augeas/fix-ftbfs into lp:ubuntu/precise/haskell-augeas

Proposed by Leo Iannacone
Status: Merged
Merge reported by: Luke Yelavich
Merged at revision: not available
Proposed branch: lp:~l3on/ubuntu/precise/haskell-augeas/fix-ftbfs
Merge into: lp:ubuntu/precise/haskell-augeas
Diff against target: 103 lines (+38/-2)
7 files modified
.pc/applied-patches (+1/-0)
configure.ac (+1/-1)
debian/changelog (+10/-0)
debian/control (+4/-1)
debian/patches/fix-ftbfs-with-augeas-0.10.patch (+20/-0)
debian/patches/series (+1/-0)
debian/rules (+1/-0)
To merge this branch: bzr merge lp:~l3on/ubuntu/precise/haskell-augeas/fix-ftbfs
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Approve
Ubuntu branches Pending
Review via email: mp+93911@code.launchpad.net

Description of the change

Patch configure.ac to fix FTBFS with augeas 0.10.

Run dh-autoreconf to regenerate configure at build time.

Also added libxml2-dev as build-dep.

To post a comment you must log in.
Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks for your work, uploaded.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2011-06-18 10:37:31 +0000
3+++ .pc/applied-patches 2012-02-21 00:59:16 +0000
4@@ -1,1 +1,2 @@
5 no-tests.patch
6+fix-ftbfs-with-augeas-0.10.patch
7
8=== modified file 'configure.ac'
9--- configure.ac 2011-06-18 10:37:31 +0000
10+++ configure.ac 2012-02-21 00:59:16 +0000
11@@ -11,7 +11,7 @@
12
13
14 if test "x${has_augeas_init}" = "xyes" ; then
15- AC_CHECK_HEADERS([augeas.h],[],[has_augeas_h=no])
16+ PKG_CHECK_MODULES(augeas,[augeas],has_augeas_h=yes,has_augeas_h=no)
17 else
18 AC_MSG_ERROR([Unable to find aug_init in an augeas library.])
19 fi
20
21=== modified file 'debian/changelog'
22--- debian/changelog 2011-11-01 14:10:43 +0000
23+++ debian/changelog 2012-02-21 00:59:16 +0000
24@@ -1,3 +1,13 @@
25+haskell-augeas (0.4.0-1ubuntu1) precise; urgency=low
26+
27+ * Fix FTBFS with augeas 0.10 (LP: #935164):
28+ + new patch using PKG_CHECK_MODULES in configure.ac to check
29+ augeas header files.
30+ + debian/control: add dh-autoreconf and libxml-2.0 as build-dep.
31+ + debian/rules: include autoreconf cdbs rules.
32+
33+ -- Leo Iannacone <l3on@ubuntu.com> Sun, 19 Feb 2012 20:28:08 +0100
34+
35 haskell-augeas (0.4.0-1build1) precise; urgency=low
36
37 * No-change rebuild for new GHC ABIs
38
39=== modified file 'debian/control'
40--- debian/control 2011-06-18 10:37:31 +0000
41+++ debian/control 2012-02-21 00:59:16 +0000
42@@ -1,14 +1,17 @@
43 Source: haskell-augeas
44 Section: haskell
45 Priority: extra
46-Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
47+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
48+XSBC-Original-Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
49 Uploaders: Joachim Breitner <nomeata@debian.org>
50 Build-Depends: debhelper (>= 7)
51 , cdbs
52+ , dh-autoreconf
53 , haskell-devscripts (>= 0.7)
54 , ghc
55 , ghc-prof
56 , libaugeas-dev
57+ , libxml2-dev
58 , pkg-config
59 Build-Depends-Indep: ghc-doc
60 Standards-Version: 3.9.1
61
62=== added file 'debian/patches/fix-ftbfs-with-augeas-0.10.patch'
63--- debian/patches/fix-ftbfs-with-augeas-0.10.patch 1970-01-01 00:00:00 +0000
64+++ debian/patches/fix-ftbfs-with-augeas-0.10.patch 2012-02-21 00:59:16 +0000
65@@ -0,0 +1,20 @@
66+Description: Use PKG_CHECK_MODULES instead of AC_CHECK_HEADERS to
67+ fix FTBFS with augeas 0.10 that has header not compilable.
68+Author: Leo Iannacone <l3on@ubuntu.com>
69+Bug-Ubuntu: https://bugs.launchpad.net/bugs/935164
70+
71+---
72+ configure.ac | 2 +-
73+ 1 file changed, 1 insertion(+), 1 deletion(-)
74+
75+--- haskell-augeas.orig/configure.ac
76++++ haskell-augeas/configure.ac
77+@@ -11,7 +11,7 @@ AC_SEARCH_LIBS([aug_init],[augeas],[has_
78+
79+
80+ if test "x${has_augeas_init}" = "xyes" ; then
81+- AC_CHECK_HEADERS([augeas.h],[],[has_augeas_h=no])
82++ PKG_CHECK_MODULES(augeas,[augeas],has_augeas_h=yes,has_augeas_h=no)
83+ else
84+ AC_MSG_ERROR([Unable to find aug_init in an augeas library.])
85+ fi
86
87=== modified file 'debian/patches/series'
88--- debian/patches/series 2011-06-18 10:37:31 +0000
89+++ debian/patches/series 2012-02-21 00:59:16 +0000
90@@ -1,1 +1,2 @@
91 no-tests.patch
92+fix-ftbfs-with-augeas-0.10.patch
93
94=== modified file 'debian/rules'
95--- debian/rules 2011-06-18 10:37:31 +0000
96+++ debian/rules 2012-02-21 00:59:16 +0000
97@@ -6,5 +6,6 @@
98 clean::
99 make clean
100
101+include /usr/share/cdbs/1/rules/autoreconf.mk
102 include /usr/share/cdbs/1/rules/debhelper.mk
103 include /usr/share/cdbs/1/class/hlibrary.mk

Subscribers

People subscribed via source and target branches

to all changes: