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
=== modified file '.pc/applied-patches'
--- .pc/applied-patches 2011-06-18 10:37:31 +0000
+++ .pc/applied-patches 2012-02-21 00:59:16 +0000
@@ -1,1 +1,2 @@
1no-tests.patch1no-tests.patch
2fix-ftbfs-with-augeas-0.10.patch
23
=== modified file 'configure.ac'
--- configure.ac 2011-06-18 10:37:31 +0000
+++ configure.ac 2012-02-21 00:59:16 +0000
@@ -11,7 +11,7 @@
1111
1212
13if test "x${has_augeas_init}" = "xyes" ; then13if test "x${has_augeas_init}" = "xyes" ; then
14 AC_CHECK_HEADERS([augeas.h],[],[has_augeas_h=no])14 PKG_CHECK_MODULES(augeas,[augeas],has_augeas_h=yes,has_augeas_h=no)
15else15else
16 AC_MSG_ERROR([Unable to find aug_init in an augeas library.])16 AC_MSG_ERROR([Unable to find aug_init in an augeas library.])
17fi17fi
1818
=== modified file 'debian/changelog'
--- debian/changelog 2011-11-01 14:10:43 +0000
+++ debian/changelog 2012-02-21 00:59:16 +0000
@@ -1,3 +1,13 @@
1haskell-augeas (0.4.0-1ubuntu1) precise; urgency=low
2
3 * Fix FTBFS with augeas 0.10 (LP: #935164):
4 + new patch using PKG_CHECK_MODULES in configure.ac to check
5 augeas header files.
6 + debian/control: add dh-autoreconf and libxml-2.0 as build-dep.
7 + debian/rules: include autoreconf cdbs rules.
8
9 -- Leo Iannacone <l3on@ubuntu.com> Sun, 19 Feb 2012 20:28:08 +0100
10
1haskell-augeas (0.4.0-1build1) precise; urgency=low11haskell-augeas (0.4.0-1build1) precise; urgency=low
212
3 * No-change rebuild for new GHC ABIs13 * No-change rebuild for new GHC ABIs
414
=== modified file 'debian/control'
--- debian/control 2011-06-18 10:37:31 +0000
+++ debian/control 2012-02-21 00:59:16 +0000
@@ -1,14 +1,17 @@
1Source: haskell-augeas1Source: haskell-augeas
2Section: haskell2Section: haskell
3Priority: extra3Priority: extra
4Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
5Uploaders: Joachim Breitner <nomeata@debian.org>6Uploaders: Joachim Breitner <nomeata@debian.org>
6Build-Depends: debhelper (>= 7)7Build-Depends: debhelper (>= 7)
7 , cdbs8 , cdbs
9 , dh-autoreconf
8 , haskell-devscripts (>= 0.7)10 , haskell-devscripts (>= 0.7)
9 , ghc11 , ghc
10 , ghc-prof12 , ghc-prof
11 , libaugeas-dev13 , libaugeas-dev
14 , libxml2-dev
12 , pkg-config15 , pkg-config
13Build-Depends-Indep: ghc-doc16Build-Depends-Indep: ghc-doc
14Standards-Version: 3.9.117Standards-Version: 3.9.1
1518
=== added file 'debian/patches/fix-ftbfs-with-augeas-0.10.patch'
--- debian/patches/fix-ftbfs-with-augeas-0.10.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/fix-ftbfs-with-augeas-0.10.patch 2012-02-21 00:59:16 +0000
@@ -0,0 +1,20 @@
1Description: Use PKG_CHECK_MODULES instead of AC_CHECK_HEADERS to
2 fix FTBFS with augeas 0.10 that has header not compilable.
3Author: Leo Iannacone <l3on@ubuntu.com>
4Bug-Ubuntu: https://bugs.launchpad.net/bugs/935164
5
6---
7 configure.ac | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10--- haskell-augeas.orig/configure.ac
11+++ haskell-augeas/configure.ac
12@@ -11,7 +11,7 @@ AC_SEARCH_LIBS([aug_init],[augeas],[has_
13
14
15 if test "x${has_augeas_init}" = "xyes" ; then
16- AC_CHECK_HEADERS([augeas.h],[],[has_augeas_h=no])
17+ PKG_CHECK_MODULES(augeas,[augeas],has_augeas_h=yes,has_augeas_h=no)
18 else
19 AC_MSG_ERROR([Unable to find aug_init in an augeas library.])
20 fi
021
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-06-18 10:37:31 +0000
+++ debian/patches/series 2012-02-21 00:59:16 +0000
@@ -1,1 +1,2 @@
1no-tests.patch1no-tests.patch
2fix-ftbfs-with-augeas-0.10.patch
23
=== modified file 'debian/rules'
--- debian/rules 2011-06-18 10:37:31 +0000
+++ debian/rules 2012-02-21 00:59:16 +0000
@@ -6,5 +6,6 @@
6clean::6clean::
7 make clean7 make clean
88
9include /usr/share/cdbs/1/rules/autoreconf.mk
9include /usr/share/cdbs/1/rules/debhelper.mk10include /usr/share/cdbs/1/rules/debhelper.mk
10include /usr/share/cdbs/1/class/hlibrary.mk11include /usr/share/cdbs/1/class/hlibrary.mk

Subscribers

People subscribed via source and target branches

to all changes: