Bug#639332: buildcross: Remove deprecated Depends on type-handling

Guillem Jover <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <20110826005052.GA30727__39991.3431764164$1314320065$gmane$org@gaara.hadrons.org>
Package: buildcross
Version: 0.0.11
Severity: wishlist
Tags: patch

Hi!

The buildcross package Depends on type-handling, from what it seems
due to gdb Build-Depending on it. Given that gdb will stop using
type-handling on its next upload it would be nice to drop that from
here too.

Attached patches fixes this, first one line wraps the fields, the
other one removes type-handling from everywhere.

(As an aside it might be worth considering generating the Depends line
dynamically from the relevant Build-Depends at build time.)

thanks,
guillem
0001-Line-wrap-control-file-fields.patch (text/x-diff, 2.1 KB)
>From bb62bad4251f66e516816812bb2205ecaf33e691 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Fri, 26 Aug 2011 01:48:40 +0200
Subject: [PATCH 1/2] Line wrap control file fields

---
 debian/control |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index c2a0d78..0334d32 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: buildcross
 Section: utils
 Priority: extra
 Maintainer: Debian Embedded <[email protected]>
-Uploaders: Hector Oron <[email protected]>, Wookey <[email protected]>, Neil Williams <[email protected]>
+Uploaders: Hector Oron <[email protected]>, Wookey <[email protected]>,
+ Neil Williams <[email protected]>
 Build-Depends: debhelper (>= 7.0)
 Standards-Version: 3.9.1
 Homepage: http://www.emdebian.org/
@@ -12,6 +13,12 @@ Vcs-Browser: http://emdebian.org/git/?p=debian/buildcross;a=summary
 Package: buildcross
 Architecture: all
 Recommends: xapt
-Depends: ${misc:Depends}, dpkg-cross (>=2.4.0), fakeroot, dpatch, time, patchutils, bzip2, lsb-release, autoconf, autoconf2.13, automake1.9, libtool, autogen, gawk, bison, flex, realpath, texinfo, devscripts, automake1.4, automake1.7, dh-make, debhelper, libncurses-dev, libreadline-dev, gobjc, cdbs, quilt, type-handling, build-essential, dejagnu, gperf, libmpfr-dev, sharutils, chrpath, liburi-perl, dctrl-tools, wget, pbuilder, dctrl-tools, sudo, reprepro, libcloog-ppl-dev
+Depends: ${misc:Depends}, dpkg-cross (>=2.4.0), fakeroot, dpatch, time,
+ patchutils, bzip2, lsb-release, autoconf, autoconf2.13, automake1.9,
+ libtool, autogen, gawk, bison, flex, realpath, texinfo, devscripts,
+ automake1.4, automake1.7, dh-make, debhelper, libncurses-dev,
+ libreadline-dev, gobjc, cdbs, quilt, type-handling, build-essential,
+ dejagnu, gperf, libmpfr-dev, sharutils, chrpath, liburi-perl, dctrl-tools,
+ wget, pbuilder, dctrl-tools, sudo, reprepro, libcloog-ppl-dev
 Description: Cross build a full set of Debian toolchain
  buildcross is used to create a Debian cross toolchain from Debian mirrors.
-- 
1.7.5.4
0002-Remove-deprecated-type-handled-now-unused-by-gdb.patch (text/x-diff, 1.4 KB)
>From 344f4dc4ca0e1c3b228b9f6daaf8f5442861640d Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Fri, 26 Aug 2011 01:49:47 +0200
Subject: [PATCH 2/2] Remove deprecated type-handled now unused by gdb

---
 debian/control |    2 +-
 functions      |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 0334d32..a67fd45 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Depends: ${misc:Depends}, dpkg-cross (>=2.4.0), fakeroot, dpatch, time,
  patchutils, bzip2, lsb-release, autoconf, autoconf2.13, automake1.9,
  libtool, autogen, gawk, bison, flex, realpath, texinfo, devscripts,
  automake1.4, automake1.7, dh-make, debhelper, libncurses-dev,
- libreadline-dev, gobjc, cdbs, quilt, type-handling, build-essential,
+ libreadline-dev, gobjc, cdbs, quilt, build-essential,
  dejagnu, gperf, libmpfr-dev, sharutils, chrpath, liburi-perl, dctrl-tools,
  wget, pbuilder, dctrl-tools, sudo, reprepro, libcloog-ppl-dev
 Description: Cross build a full set of Debian toolchain
diff --git a/functions b/functions
index d87453c..52444c6 100644
--- a/functions
+++ b/functions
@@ -166,7 +166,6 @@ sanitycheck () {
 	checkinstalled gobjc 
 	checkinstalled cdbs  
  	checkinstalled quilt 
- 	checkinstalled type-handling
 	checkinstalled build-essential 
 	#checkinstalled gcc-multilib 
 	#checkinstalled libc6-dev-i386 
-- 
1.7.5.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.