Bug#749855: Modify the control file for bootstrapping without texlive and gtk-doc-tools

Peter Pentchev roam at ringlet.net
Fri May 30 09:18:53 UTC 2014

Source: libtasn1-6
Version: 3.6-1
Severity: wishlist
Tags: patch


This is a follow-up to "allow bootstrapping without texlive and
gtk-doc-tools".  This patch modifies the debian/control file for full
build profile support:
- drops the texlive and gtk-doc-tools build dependencies
- adds Build-Profile: !stage1 to the libtasn1-6-doc binary package and
  removes the no longer needed -Nlibtasn1-6-doc debhelper option
- bumps the required version for debhelper and adds a versioned dpkg-dev
  dependency, both for build profiles support

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


-- 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

-- no debconf information

Peter Pentchev	roam at ringlet.net roam at FreeBSD.org p.penchev at storpool.com
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
-------------- next part --------------
From ca14a52bd090a9802d56b98cc01b2519b61779e5 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <roam at ringlet.net>
Date: Thu, 29 May 2014 16:19:53 +0300
Subject: [PATCH] stage1: add build profile support to d/control

Update the debian/control file for full build profile support:
- drop the texlive and gtk-doc-tools dependencies in profile.stage1
- replace -Nlibtasn1-6-doc with Build-Profile: !stage1
- bump the required versions of debhelper and dpkg-dev
 debian/control | 8 ++++----
 debian/rules   | 5 -----
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 47cf4d4..2f18996 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,9 @@ Source: libtasn1-6
 Section: libs
 Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint at lists.alioth.debian.org>
 Uploaders: Andreas Metzler <ametzler at debian.org>, Eric Dorland <eric at debian.org>, James Westby <jw+debian at jameswestby.net>, Simon Josefsson <simon at josefsson.org>
-# For stage1 bootstrapping builds drop the build dependency on
-# gtk-doc-tools and texlive-latex-base.
-Build-Depends: debhelper (>= 9), cdbs (>= 0.4.93), bison, gtk-doc-tools,
- texinfo, autotools-dev, texlive-latex-base
+Build-Depends: debhelper (>= 9.20140227), dpkg-dev (>= 1.17.2),
+ cdbs (>= 0.4.93), bison, gtk-doc-tools <!profile.stage1>,
+ texinfo, autotools-dev, texlive-latex-base <!profile.stage1>
 Standards-Version: 3.9.5
 Priority: standard
 Vcs-Git: git://anonscm.debian.org/pkg-gnutls/libtasn1.git
@@ -35,6 +34,7 @@ Description: Manage ASN.1 structures (development)
 Package: libtasn1-6-doc
 Section: doc
 Architecture: all
+Build-Profiles: !stage1
 Depends: ${misc:Depends}
 Breaks: libtasn1-6-dev (<< 3.6-2)
 Replaces: libtasn1-6-dev (<< 3.6-2)
diff --git a/debian/rules b/debian/rules
index b83d672..c398c59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,6 @@
 #! /usr/bin/make -f
 # Build the libtasn1 packages for Debian.
-ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
-DH_OPTIONS	+= -Nlibtasn1-6-doc
-export DH_OPTIONS
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20140530/a6645939/attachment.sig>

More information about the Pkg-gnutls-maint mailing list