Source: highlight Version: 3.12+svn83-1 Severity: wishlist Tags: patch Hi,
As promised, here's the second part of the patch; it adds build profile annotations to the control file and simplifies the changes to the rules file a bit. There's a little catch: since the build profile-aware versions of the build tools (dpkg-dev, debhelper, sbuild) have not hit a stable release yet, making this change might have to wait until Jessie is released, since right now the Debian archive build infrastructure cannot handle these annotations. Thanks again for your work on Debian! G'luck, Peter -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (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
From 8ae357bc5f86d3770b83fbb9e44525619ea793a3 Mon Sep 17 00:00:00 2001 From: Peter Pentchev <[email protected]> Date: Tue, 22 Jul 2014 03:39:22 +0300 Subject: [PATCH] Add build profile annotations to d/control. Add the <!profile.*> and Build-Profiles annotations to debian/control. Remove the -N... debhelper options in debian/rules. --- debian/control | 4 ++-- debian/rules | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index bd893ec..4e51c31 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,7 @@ Section: devel Priority: optional Maintainer: Ayman Negm <[email protected]> Uploaders: David Bremner <[email protected]> -# For stage1 builds, remove the swig dependency. -Build-Depends: debhelper (>= 9), swig, liblua5.1-0-dev, libboost-dev, +Build-Depends: debhelper (>= 9), swig <!profile.stage1>, liblua5.1-0-dev, libboost-dev, pkg-config Standards-Version: 3.9.4 Homepage: http://www.andre-simon.de @@ -40,6 +39,7 @@ Description: source code to formatted text converter (architecture independent f Package: libhighlight-perl Architecture: any Section: perl +Build-Profiles: !stage1 Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, highlight-common (= ${source:Version}) Description: perl bindings for highlight source code to formatted text converter A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, diff --git a/debian/rules b/debian/rules index 3f305ce..4926e6c 100755 --- a/debian/rules +++ b/debian/rules @@ -5,11 +5,7 @@ UPSTREAM=$(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*/\1/p') ORIG=${SOURCEPKG}_${UPSTREAM}.orig.tar.bz2 %: -ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES))) dh $@ -else - dh $@ -Nlibhighlight-perl -endif override_dh_auto_build: ifeq (,$(filter stage1,$(DEB_BUILD_PROFILES))) -- 2.1.0.rc1
signature.asc
Description: Digital signature

