Source: libraw1394
Version: 2.1.0-1
Severity: wishlist
Tags: patch

Hi,

This is a follow-up to "allow bootstrapping without docbook-utils".
This patch modifies the debian/control file for full build profile
support:
- adds <!profile.stage1> annotations to the docbook-utils and
  docbook-xml build dependencies
- adds Build-Profile: !stage1 to the libraw1394-doc binary package and
  removes the no longer needed -Nlibraw1394-doc debhelper option
- bumps the required version for debhelper and dpkg-dev dependencies,
  both for build profiles support

Uploading this would have to wait until the Debian archive build
infrastructure fully supports build profiles.

G'luck,
Peter


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 3.14-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
This sentence claims to be an Epimenides paradox, but it is lying.
From 162e0fb3adbf7264f380789a483d7df8c5c14dd6 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <[email protected]>
Date: Sat, 31 May 2014 14:44:26 +0300
Subject: [PATCH] stage1: add build profiles support to d/control

Use proper build profile annotations in the debian/control file:
- add <!profile.stage1> to the build dependencies
- add Build-Profiles: !stage1 to the libraw1394-doc binary package
  and remove the -N... debhelper option from the rules file
---
 debian/control | 6 ++++--
 debian/rules   | 5 -----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 0b49015..b38b418 100644
--- a/debian/control
+++ b/debian/control
@@ -1,8 +1,9 @@
 Source: libraw1394
 Priority: optional
 Maintainer: Guus Sliepen <[email protected]>
-# For stage1 builds, drop the docbook-utils and docbook-xml dependencies.
-Build-Depends: debhelper (>= 9), autotools-dev, docbook-utils, docbook-xml, 
dpkg-dev (>= 1.16.1~)
+Build-Depends: debhelper (>= 9.20140227), autotools-dev,
+  docbook-utils <!profile.stage1>, docbook-xml <!profile.stage1>,
+  dpkg-dev (>= 1.17.2)
 Standards-Version: 3.9.3
 Section: libs
 Homepage: https://ieee1394.wiki.kernel.org/
@@ -27,6 +28,7 @@ Description: library for direct access to IEEE 1394 bus - 
development files
 Package: libraw1394-doc
 Architecture: all
 Section: doc
+Build-Profiles: !stage1
 Depends: ${misc:Depends}
 Description: Reference manual and documentation about libraw1394
  libraw1394 is the only supported interface to the kernel side raw1394
diff --git a/debian/rules b/debian/rules
index c641a04..3aa01a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,5 @@
 #!/usr/bin/make -f
 
-ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
-DH_OPTIONS     += -Nlibraw1394-doc
-export DH_OPTIONS
-endif
-
 %:
        dh $@
 
-- 
2.0.0.rc2

Attachment: signature.asc
Description: Digital signature

Reply via email to