On Mon, Jun 09, 2014 at 12:50:17AM +0300, Peter Pentchev wrote:
> Hi,
> 
> Here's another take on the build dependency loop issue involving
> libraw1394 and (through a long dependency list) docbook-utils.
> 
> What do you think of the attached very simple patch that only moves
> docbook-utils and docbook-xml from Build-Depends to Build-Depends-Indep
> instead?

And of course, it would all have been so much easier if I had actually
attached the patch...

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p.penc...@storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
From ee6a71a9857421c93a620ec43adf164934009ce2 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <r...@ringlet.net>
Date: Mon, 9 Jun 2014 00:37:07 +0300
Subject: [PATCH] Move the docbook packages to Build-Depends-Indep.

Since the programs from docbook-utils are only needed when building
the arch:all libraw1394-doc package, this dependency (and the related
dependency on docbook-xml) may safely be moved to Build-Depends-Indep.

Among other benefits, this breaks a circular build dependency and makes
it possible to bootstrap the build of libraw1394 without having built
jadetex, libcupsfilters1, librsvg2-bin, libproxy1 and kdelibs5-dev
first.
---
 debian/control | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index f54f3ca..11d4ba1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
 Source: libraw1394
 Priority: optional
 Maintainer: Guus Sliepen <g...@debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev, docbook-utils, docbook-xml, 
dpkg-dev (>= 1.16.1~)
+Build-Depends: debhelper (>= 9), autotools-dev, dpkg-dev (>= 1.16.1~)
+Build-Depends-Indep: docbook-utils, docbook-xml
 Standards-Version: 3.9.3
 Section: libs
 Homepage: https://ieee1394.wiki.kernel.org/
-- 
2.0.0

Attachment: signature.asc
Description: Digital signature

Reply via email to