Bug#769235: about the build-depends-on-metapackage lintian error

Mattia Rizzolo mattia at mapreri.org
Wed Nov 12 10:29:44 UTC 2014


Source: gnuplot5
Version: 5.0.0~rc+dfsg2-1
Severity: normal

Hi :)
I see you added a lintian override to this package to override
build-depends-on-metapackage error, triggered by a buil-dep on qt5-default.

Well, there is a solution you may consider, attached to this email.
I run a test build against the resulting package and it builds fine (also the
autopkgtests are marked as PASS, so \o/).

Thanks for maintaining gnuplot5.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
arm64
armhf
ppc64el
s390x
armel

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
regards,
						Mattia Rizzolo

GPG Key: 4096R/B9444540	http://goo.gl/I8TMB
more about me:		http://mapreri.org
Launchpad User:		https://launchpad.net/~mapreri
Ubuntu Wiki page:	https://wiki.ubuntu.com/MattiaRizzolo
-------------- next part --------------
From 1ee2e0bc8c12d2e1bc388da7c65db980483f0dee Mon Sep 17 00:00:00 2001
From: Mattia Rizzolo <mattia at mapreri.org>
Date: Wed, 12 Nov 2014 11:17:44 +0100
Subject: Do not build-depend on qt5-default, use QT_SELECT=qt5 in debian/rules
 instead (and quiet lintian).

debian/control: drop build-dep on qt5-default
debian/rules: export QT_SELECT=qt5
debian/source.lintian-overrides: remove
---
 debian/changelog                | 8 ++++++++
 debian/control                  | 1 -
 debian/rules                    | 3 +++
 debian/source.lintian-overrides | 2 --
 4 files changed, 11 insertions(+), 3 deletions(-)
 delete mode 100644 debian/source.lintian-overrides

diff --git a/debian/changelog b/debian/changelog
index 11821ef..3018bda 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gnuplot5 (5.0.0~rc+dfsg2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not build-depend on qt5-default, use QT_SELECT=qt5 in debian/rules
+    instead (and quiet lintian).
+
+ -- Mattia Rizzolo <mattia at mapreri.org>  Wed, 12 Nov 2014 11:07:32 +0100
+
 gnuplot5 (5.0.0~rc+dfsg2-1) unstable; urgency=medium
 
   * [6c51a9d] Update copyright-file.
diff --git a/debian/control b/debian/control
index 9941e33..c1c9ebe 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,6 @@ Build-Depends:
  liblua5.1-dev,
  libpango1.0-dev,
  libpng-dev,
- qt5-default,
  qtbase5-dev,
  qtbase5-dev-tools,
  qttools5-dev-tools,
diff --git a/debian/rules b/debian/rules
index eb168f7..c1eb84f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 # Tell compiler where should find lua headers
 export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/lua5.1
 
+# Force the use of qt5
+export QT_SELECT=qt5
+
 BUILDDIR_NOX = $(CURDIR)/debian/build-nox
 BUILDDIR_X11 = $(CURDIR)/debian/build-x11
 BUILDDIR_QT = $(CURDIR)/debian/build-qt
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
deleted file mode 100644
index 723ff8b..0000000
--- a/debian/source.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# without qt5-default package FTBFSs, even if all necessary BD are installed
-gnuplot5 source: build-depends-on-metapackage build-depends: qt5-default
-- 
2.1.3

-------------- 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/debian-science-maintainers/attachments/20141112/c75bd1ce/attachment.sig>


More information about the debian-science-maintainers mailing list