Source: gpm
Version: 1.20.4-6.1
Severity: wishlist
Tags: patch

Hi,

Thanks for taking care of the gpm Debian package!

As part of this year's "Bootstrappable Debian" Google Summer of Code
project I took a look at gpm to break a circular build dependency as
noted in the "Feedback Arc Set" section of
http://bootstrap.debian.net/amd64/ and, more specifically, at
http://bootstrap.debian.net/source/gpm_1.20.4-6.1.html
- texlive-base depends on texlive-binaries
- texlive-binaries depends on libxmu6
- src:libxmu build-depends on w3m
- w3m depends on libgpm2
- src:gpm build-depends on texlive-base

The thing is, the gpm build does not need any of the texlive tools at
all; the only way they might be used is if the 'ps' target is invoked in
the doc/ subdirectory, which the Debian package build does not do -
Debian is content with "just" the .info and .html documentation of gpm.

So what do you think about the attached trivial patch that drops the
build dependency on texlive?  I have verified that the binary packages
are the same (well, of course, with the "normal" differences in the
build IDs and the timestamps embedded in the static library files), so
this indeed does not affect the Debian package build at all.

Thanks again for your work on gpm and on Debian in general!

G'luck,
Peter

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 3.14-1-686-pae (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

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
If this sentence didn't exist, somebody would have invented it.
From 4cb4eca744e5f83e6cf490b45fcd3f1b16aa03b9 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <[email protected]>
Date: Wed, 28 May 2014 18:52:32 +0300
Subject: [PATCH] Drop the texlive dependency, not used at all.

No texlive tools are used in the package build.  The only way they might
be used is if the 'ps' target is invoked in the doc/ subdirectory, which
the Debian package build does not do - Debian is content with "just" the
.info and .html documentation of gpm.

Dropping the texlive build dependency will, in addition to greatly
reducing the build time and the list of needed packages, also break
a circular build dependency - gpm is one of the packages listed in
the "Feedback Arc Set" of http://bootstrap.debian.net/amd64/ because of
the following dependency loop:
- src:texlive-base build-depends on src:libxmu
- src:libxmu build-depends on w3m
- w3m depends on libgpm2
- src:gpm build-depends on texlive-base
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 53457f9..04cc9cc 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Priority: optional
 Standards-Version: 3.9.3
 Homepage: http://www.nico.schottelius.org/software/gpm/
 Build-Depends: autoconf, autotools-dev, quilt, debhelper (>= 6.0.7), mawk | 
awk,
- bison, texlive-base, texinfo, texi2html
+ bison, texinfo, texi2html
 
 Package: gpm
 Priority: optional
-- 
2.0.0.rc2

Attachment: signature.asc
Description: Digital signature

Reply via email to