Package: doxygen
Followup-For: Bug #738263

Updated patch to add build-profile info to the control file.

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru doxygen-1.8.6/debian/changelog doxygen-1.8.6/debian/changelog
--- doxygen-1.8.6/debian/changelog	2014-01-24 18:32:02.000000000 +0000
+++ doxygen-1.8.6/debian/changelog	2014-04-07 18:47:13.000000000 +0100
@@ -1,3 +1,10 @@
+doxygen (1.8.6-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add stage1 build-profile to drop libqt4-dev (Closes: 738263) 
+
+ -- wookey <woo...@wookware.org>  Mon, 07 Apr 2014 18:45:19 +0100
+
 doxygen (1.8.6-2) unstable; urgency=medium
 
   * Fix autopkgtest.
diff -Nru doxygen-1.8.6/debian/control doxygen-1.8.6/debian/control
--- doxygen-1.8.6/debian/control	2014-01-24 17:53:39.000000000 +0000
+++ doxygen-1.8.6/debian/control	2014-04-07 18:49:51.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Matthias Klose <d...@debian.org>
 Uploaders: Helmut Grohne <hel...@subdivi.de>
-Build-Depends: debhelper (>= 5), libqt4-dev, flex, bison (>= 1.875a), python, libsqlite3-dev, tmake
+Build-Depends: debhelper (>= 5), libqt4-dev <!profile.stage1>, flex, bison (>= 1.875a), python, libsqlite3-dev, tmake
 Build-Depends-Indep: texlive-fonts-recommended, texlive-generic-recommended, texlive-latex-extra, texlive-latex-recommended, texlive-extra-utils, texlive-font-utils, ghostscript, graphviz, latex-xcolor, rdfind
 Standards-Version: 3.9.5
 Homepage: http://www.stack.nl/~dimitri/doxygen/
@@ -61,6 +61,7 @@
 Depends: doxygen, ${shlibs:Depends}, ${misc:Depends}
 Suggests: doxygen-doc
 Replaces: doxygen (<< 1.2.14)
+Build-Profiles: !stage1
 Description: GUI configuration tool for doxygen
  Doxygen is a documentation system for C, C++, Java, Objective-C, Python, IDL
  and to some extent PHP, C#, and D.  It can generate an on-line class browser
diff -Nru doxygen-1.8.6/debian/rules doxygen-1.8.6/debian/rules
--- doxygen-1.8.6/debian/rules	2014-01-24 17:53:39.000000000 +0000
+++ doxygen-1.8.6/debian/rules	2014-04-07 17:46:53.000000000 +0100
@@ -11,8 +11,12 @@
 export CXXFLAGS
 export LDFLAGS
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-with_doxywizard := yes
-
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+  with_doxywizard := yes
+else
+  with_doxywizard := no
+endif
+ 
 ifeq ($(with_doxywizard),yes)
   CONFIGUREFLAGS+=--with-doxywizard
 endif

Reply via email to