[libgd-text-perl] 07/11: Update package relations: Depend on libgd-perl (with obsolete libgd-gd2-perl and libgd-gd2-noxpm-perl variants only as fallback). Suggest fonts-dustin (not deprecated ttf-dustin). Resolve package relations in rules file.

Jonas Smedegaard dr at jones.dk
Sat Jun 14 09:56:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libgd-text-perl.

commit b4dd8b8ebd31363fd1b1fdb627af3a8178d473b6
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jun 14 11:23:36 2014 +0200

    Update package relations: Depend on libgd-perl (with obsolete libgd-gd2-perl and libgd-gd2-noxpm-perl variants only as fallback). Suggest fonts-dustin (not deprecated ttf-dustin). Resolve package relations in rules file.
---
 debian/control.in | 6 +++---
 debian/rules      | 9 +++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 981f923..7d44be0 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -1,7 +1,7 @@
 Source: libgd-text-perl
 Section: perl
 Priority: extra
-Build-Depends: @cdbs@, libgd-gd2-perl
+Build-Depends: @cdbs@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonas Smedegaard <dr at jones.dk>
 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libgd-text-perl
@@ -11,8 +11,8 @@ Homepage: http://search.cpan.org/dist/GDTextUtil/
 
 Package: libgd-text-perl
 Architecture: all
-Depends: libgd-gd2-perl, ${perl:Depends}, ${misc:Depends}
-Suggests: ttf-dustin
+Depends: ${cdbs:Depends}, ${perl:Depends}, ${misc:Depends}
+Suggests: ${cdbs:Suggests}
 Description:  Text utilities for use with GD
  This module provides a font-independent way of dealing with text in GD,
  for use with the GD::Text::* modules and GD::Graph.
diff --git a/debian/rules b/debian/rules
index 61f24b2..8766efc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,15 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
+deps = libgd-perl | libgd-gd2-noxpm-perl | libgd-gd2-perl
+suggests = fonts-dustin
+
+CDBS_BUILD_DEPENDS +=, $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_SUGGESTS_$(pkg) = $(suggests)
+
 DEB_UPSTREAM_PACKAGE = GDTextUtil
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/GD
 DEB_UPSTREAM_TARBALL_MD5 = 941ad06eadc86b47f3a32da405665c41

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgd-text-perl.git



More information about the Pkg-perl-cvs-commits mailing list