Lintian Fixes - cwiid

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/cwiid lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 01b5850..f60a5a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+cwiid (0.6.91-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Name (from
+    ./configure).
+  * Drop unnecessary dependency on dh-autoreconf.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 07 Sep 2020 01:28:04 -0000
+
 cwiid (0.6.91-1) unstable; urgency=medium
 
   * modified the upstream branch, as upstream development seems to be dead
@@ -14,7 +23,7 @@ cwiid (0.6.91-1) unstable; urgency=medium
   * removed debian/wmgui.menu, since debian/menus/wmgui.desktop is enough
   * removed the package cwiid-dbg which was built as an empty package
   * patched wminput/Makefile.in to avoid executable flags for ordinary files
-  
+
  -- Georges Khaznadar <georgesk@debian.org>  Sat, 18 Jul 2020 16:58:03 +0200
 
 cwiid (0.6.00+svn201-4) unstable; urgency=medium
@@ -47,7 +56,7 @@ cwiid (0.6.00+svn201-3) unstable; urgency=low
 
   * Bumped standards version to 3.9.2
   * Switched to package format 3.0 (quilt)
-  * Fixed FTBFS with binutils-gold. Thanks to 
+  * Fixed FTBFS with binutils-gold. Thanks to
     Peter Fritzsche for reporting and Matthias Klose
     for providing a patch.
   Closes: #554297
@@ -61,7 +70,7 @@ cwiid (0.6.00+svn201-3) unstable; urgency=low
 
 cwiid (0.6.00+svn201-2) unstable; urgency=low
 
-  * Fixe cwiid.pc 
+  * Fixe cwiid.pc
   Closes: #548866
   * Updated debian/copyright
 
@@ -71,11 +80,11 @@ cwiid (0.6.00+svn201-1) unstable; urgency=low
 
   * New svn snapshot.
   * Dropped patch applied upstream.
-  * Bumped standards version to 3.8.3 
+  * Bumped standards version to 3.8.3
   * Added debug package.
   * Added Homepage: tag in debian/control
   * Renamed libcwiid1-dev to libcwiid-dev
-  * Install cwiid.pc file in libcwiid-dev 
+  * Install cwiid.pc file in libcwiid-dev
     to enable pkg-config support.
 
  -- Romain Beauxis <toots@rastageeks.org>  Mon, 28 Sep 2009 00:04:05 -0500
@@ -83,7 +92,7 @@ cwiid (0.6.00+svn201-1) unstable; urgency=low
 cwiid (0.6.00+svn184-2) unstable; urgency=low
 
   * Added patch from upstream's revision 186.
-  Closes: #458303 
+  Closes: #458303
   * Bumped standards version to 3.8.2
 
  -- Romain Beauxis <toots@rastageeks.org>  Sun, 09 Aug 2009 21:09:14 -0500
@@ -131,13 +140,13 @@ cwiid (0.6.00-2) unstable; urgency=low
 
 cwiid (0.6.00-1) unstable; urgency=low
 
-  * New upstream release 
+  * New upstream release
 
  -- Romain Beauxis <toots@rastageeks.org>  Mon, 27 Aug 2007 18:44:46 +0200
 
 cwiid (0.6.00~rc2-4) unstable; urgency=low
 
-  * Corrected depends for wminput (Closes: #434295) 
+  * Corrected depends for wminput (Closes: #434295)
 
  -- Romain Beauxis <toots@rastageeks.org>  Mon, 23 Jul 2007 01:26:49 +0200
 
@@ -149,7 +158,7 @@ cwiid (0.6.00~rc2-3) unstable; urgency=low
 
 cwiid (0.6.00~rc2-2) experimental; urgency=low
 
-  * Added conflict with old -dev package 
+  * Added conflict with old -dev package
 
  -- Romain Beauxis <toots@rastageeks.org>  Wed, 18 Jul 2007 02:14:56 +0200
 
@@ -163,7 +172,7 @@ cwiid (0.6.00~rc2-1) experimental; urgency=low
 
 cwiid (0.5.03+svn20070508-2) unstable; urgency=low
 
-  * Stupid typo in .install files.. 
+  * Stupid typo in .install files..
   * Removed autotools-dev from build dependencies
   * Added conflicts and replaces for new library packages
 
@@ -179,7 +188,7 @@ cwiid (0.5.03+svn20070508-1) unstable; urgency=low
 
 cwiid (0.5.03-1) unstable; urgency=low
 
-  * New upstream release. 
+  * New upstream release.
   * default configuration link corrected for wminput
   Closes: #419341
 
@@ -187,7 +196,7 @@ cwiid (0.5.03-1) unstable; urgency=low
 
 cwiid (0.5.02-1) unstable; urgency=low
 
-  * New upstream release 
+  * New upstream release
   * Dropped no more needed patches, thanks to upstream author for considering
     them !
 
@@ -208,7 +217,7 @@ cwiid (0.4.01-1) unstable; urgency=low
 
 cwiid (0.4.00-1) unstable; urgency=low
 
-  * News upstream release. 
+  * News upstream release.
 
  -- Romain Beauxis <toots@rastageeks.org>  Thu, 25 Jan 2007 12:36:58 +0100
 
@@ -217,4 +226,3 @@ cwiid (0.3.51-1) unstable; urgency=low
   * Initial release
 
  -- Romain Beauxis <toots@rastageeks.org>  Thu, 18 Jan 2007 19:40:34 +0100
-
diff --git a/debian/control b/debian/control
index 507e272..8e26bfe 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 12),
  python3-dev,
  python3,
  libpython3-dev,
- dh-python, 
+ dh-python,
  libbluetooth-dev,
  libgtk2.0-dev,
  flex,
@@ -77,7 +77,7 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: GUI interface to the wiimote
  CWiid is a working userspace driver along with various
- applications implementing event drivers, multiple wiimote 
+ applications implementing event drivers, multiple wiimote
  connectivity, gesture recognition, and other Wiimote-based
  functionality.
  .
@@ -88,10 +88,10 @@ Architecture: any
 Depends: python3-cwiid, ${shlibs:Depends}, ${misc:Depends}
 Description: Userspace driver for the wiimote
  CWiid is a working userspace driver along with various
- applications implementing event drivers, multiple wiimote 
+ applications implementing event drivers, multiple wiimote
  connectivity, gesture recognition, and other Wiimote-based
  functionality.
  .
  This package provides an event driver for the wiimote, supporting all
- buttons (except Power) and pointer tracking, and featuring a tracking 
+ buttons (except Power) and pointer tracking, and featuring a tracking
  algorithm plugin architecture.
diff --git a/debian/control.in b/debian/control.in
index 7fca9b8..6fe1d37 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -2,8 +2,8 @@ Source: cwiid
 Section: utils
 Priority: extra
 Maintainer: Romain Beauxis <toots@rastageeks.org>
-Build-Depends: @cdbs@, 
-               python-all-dev, python, dh-support, 
+Build-Depends: @cdbs@,
+               python-all-dev, python, dh-support,
                libbluetooth-dev, libgtk2.0-dev, flex, bison
 Standards-Version: 3.9.2
 Homepage: http://abstrakraft.org/cwiid/
@@ -36,7 +36,7 @@ Description: library to interface with the wiimote -- runtime files
 
 Package: cwiid-dbg
 Architecture: any
-Depends: lswm (= ${binary:Version}), libcwiid1 (= ${binary:Version}), 
+Depends: lswm (= ${binary:Version}), libcwiid1 (= ${binary:Version}),
          wmgui (= ${binary:Version}), wminput (= ${binary:Version}),
          ${shlibs:Depends}, ${misc:Depends}
 Section: debug
@@ -46,7 +46,7 @@ Description: library to interface with the wiimote -- debug files
  connectivity, gesture recognition, and other Wiimote-based
  functionality.
  .
- This package provides the debug symbols needed to debug programs 
+ This package provides the debug symbols needed to debug programs
  using cwiid.
 
 Package: libcwiid-dev
@@ -80,7 +80,7 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: GUI interface to the wiimote
  CWiid is a working userspace driver along with various
- applications implementing event drivers, multiple wiimote 
+ applications implementing event drivers, multiple wiimote
  connectivity, gesture recognition, and other Wiimote-based
  functionality.
  .
@@ -91,10 +91,10 @@ Architecture: any
 Depends: python-cwiid, ${shlibs:Depends}, ${misc:Depends}
 Description: Userspace driver for the wiimote
  CWiid is a working userspace driver along with various
- applications implementing event drivers, multiple wiimote 
+ applications implementing event drivers, multiple wiimote
  connectivity, gesture recognition, and other Wiimote-based
  functionality.
  .
  This package provides an event driver for the wiimote, supporting all
- buttons (except Power) and pointer tracking, and featuring a tracking 
+ buttons (except Power) and pointer tracking, and featuring a tracking
  algorithm plugin architecture.
diff --git a/debian/rules b/debian/rules
index bf54740..a79ab1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python3 --with autoreconf
+	dh $@ --with python3
 
 
 override_dh_auto_configure:
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8236654
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Name: CWiid
+Bug-Database: https://github.com/abstrakraft/cwiid/issues
+Bug-Submit: https://github.com/abstrakraft/cwiid/issues/new

Run locally

Try this locally (using the lintian-brush package):

debcheckout cwiid
cd cwiid
lintian-brush

More details

Full run details