Package: gpm
Version: 1.20.4-6.1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for gpm (versioned as 1.20.4-6.2) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

This NMU fixes those two lintian errors and one warning:
E build-depends-on-obsolete-package
    build-depends: texi2html
E pre-depends-directly-on-multiarch-support
    libgpm2
W dh-clean-k-is-deprecated
Several other Informational errors (see changelog)

Also it reduces B-D significantly, in the hope this will break a (build-)
dependency loop: 
gpm -> texlive-base -> harfbuzz -> cairo -> libxext -> w3m -> gpm

--
 tobi 

Regards.
diff -u gpm-1.20.4/debian/rules gpm-1.20.4/debian/rules
--- gpm-1.20.4/debian/rules
+++ gpm-1.20.4/debian/rules
@@ -72,7 +72,7 @@
 binary-arch: build
        dh_testdir
        dh_testroot
-       dh_clean -k
+       dh_prep
 
        dh_installdirs
        dh_install
diff -u gpm-1.20.4/debian/control gpm-1.20.4/debian/control
--- gpm-1.20.4/debian/control
+++ gpm-1.20.4/debian/control
@@ -4,12 +4,10 @@
 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
+Build-Depends: autoconf, autotools-dev, quilt, debhelper (>= 9), mawk | awk,
+ bison, texinfo
 
 Package: gpm
-Priority: optional
-Section: misc
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, lsb-base
 Multi-Arch: foreign
@@ -26,7 +24,6 @@
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Pre-Depends: multiarch-support
 Multi-Arch: same
 Suggests: gpm
 Description: General Purpose Mouse - shared library
@@ -35,7 +32,6 @@
  package for more information.
 
 Package: libgpm-dev
-Priority: optional
 Section: libdevel
 Architecture: any
 Depends: libgpm2 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends}
@@ -48,0 +45,2 @@
+ .
+ This package contains the development files.
diff -u gpm-1.20.4/debian/changelog gpm-1.20.4/debian/changelog
--- gpm-1.20.4/debian/changelog
+++ gpm-1.20.4/debian/changelog
@@ -1,3 +1,24 @@
+gpm (1.20.4-6.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Cleanup dependencies:
+    - Remove dependency on obsolete package texi2html to fix lintian error.
+    - While on it, remove unneeded dependency on texlive-base
+    This is safe as it seems that gpm is not using texi2html and texlive-base,
+    the generated Debian packages have identical documentation.
+    This also has a nice side effect to reduce B-Ds a lot, and it looks like
+    that this solves an dependency cycle.
+  * Remove Pre-Depends on multiarch-support to fix lintian error.
+  * Fixing lintian-warning h-clean-k-is-deprecated by using dh_prep instead.
+  * The fixed lintian errors and warning Closes: #xxxxxx
+  * Fix lintian informational warnings:
+    - binary-control-field-duplicates-source field "section"
+    - binary-control-field-duplicates-source field "priority"
+    - duplicate-long-description libgpm2 libgpm-dev
+  * Bump compat level to 9
+
+ -- Tobias Frost <[email protected]>  Mon, 11 Apr 2016 10:44:42 +0200
+
 gpm (1.20.4-6.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u gpm-1.20.4/debian/compat gpm-1.20.4/debian/compat
--- gpm-1.20.4/debian/compat
+++ gpm-1.20.4/debian/compat
@@ -1 +1 @@
-5
+9

Reply via email to