Lintian Fixes - cytadela

Ready changes

Summary

Failed fixers:

See the worker log for details.

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 4c363db..2a1d5e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+cytadela (1.1.0-5) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Transition to automatic debug package (from: cytadela-dbg).
+  * Remove 2 obsolete maintscript entries in 2 files.
+  * Bump debhelper from deprecated 9 to 10.
+  * Remove deprecated Encoding key from desktop file debian/cytadela.desktop.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 31 Aug 2022 15:06:41 -0000
+
 cytadela (1.1.0-4) unstable; urgency=medium
 
   * Fix binary-indep build (Closes: #860113)
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 2b6a1da..81a6d43 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: contrib/games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
 Uploaders: Sylvain Beucler <beuc@debian.org>
-Build-Depends: debhelper (>= 9), libsdl1.2-dev, libsdl-mixer1.2-dev, mesa-common-dev, libglu1-mesa-dev, libvlc-dev (>= 2.0)
+Build-Depends: debhelper (>= 10~), libsdl1.2-dev, libsdl-mixer1.2-dev, mesa-common-dev, libglu1-mesa-dev, libvlc-dev (>= 2.0)
 Standards-Version: 3.9.8
 Homepage: http://cytadela.sf.net/
 Vcs-Git: git://anonscm.debian.org/pkg-games/cytadela.git
@@ -20,7 +20,7 @@ Description: old-school first person shooter game
  To achieve it, the player not only has to defend himself against the
  enemies, but (s)he also has to solve many riddles, such as switching
  appropriate buttons in order to open some door, move some walls, etc.
- . 
+ .
  It's a conversion of a first person shooter Amiga game originally
  released in mid 1990's, first in Poland and then in other countries.
  .
@@ -28,14 +28,6 @@ Description: old-school first person shooter game
  libraries for 3D, and SDL and SDL_mixer for 2D, music, sounds and
  controllers.
 
-Package: cytadela-dbg
-Section: contrib/debug
-Priority: extra
-Architecture: any
-Depends: cytadela (= ${binary:Version}), ${misc:Depends}
-Description: debugging symbols for cytadela
- This package contains the debugging symbols for cytadela.
-
 Package: cytadela-data
 Architecture: all
 Depends: ${misc:Depends}
diff --git a/debian/cytadela-dbg.maintscript b/debian/cytadela-dbg.maintscript
deleted file mode 100644
index f9945f5..0000000
--- a/debian/cytadela-dbg.maintscript
+++ /dev/null
@@ -1 +0,0 @@
-symlink_to_dir /usr/share/doc/cytadela-dbg cytadela-data 1.1.0-4~~
diff --git a/debian/cytadela.desktop b/debian/cytadela.desktop
index d430957..28675c9 100644
--- a/debian/cytadela.desktop
+++ b/debian/cytadela.desktop
@@ -1,5 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=Cytadela
 Comment=old-school first person shooter
 Exec=cytadela
diff --git a/debian/cytadela.maintscript b/debian/cytadela.maintscript
deleted file mode 100644
index c611045..0000000
--- a/debian/cytadela.maintscript
+++ /dev/null
@@ -1 +0,0 @@
-symlink_to_dir /usr/share/doc/cytadela cytadela-data 1.1.0-4~~
diff --git a/debian/rules b/debian/rules
index 202c320..1ee2687 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ override_dh_auto_configure:
 
 override_dh_strip:
 	# Create -dbg package with debug symbols for gdb
-	dh_strip --dbg-package=cytadela-dbg
+	dh_strip --dbgsym-migration='cytadela-dbg (<< 1.1.0-5~)'
 
 override_dh_install:
 	# Don't install docs in the datadir (cf. dh_installdocs)

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/cb/9a09efc93bc17d4977805ac42f0eea7f880e8f.debug
lrwxrwxrwx  root/root   /usr/share/doc/cytadela-dbgsym -> cytadela

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/f0/25ce11130bc70d345a0af6a7b39a2859204b98.debug
-rw-r--r--  root/root   /usr/share/doc/cytadela-dbg/changelog.Debian.gz
-rw-r--r--  root/root   /usr/share/doc/cytadela-dbg/changelog.gz
-rw-r--r--  root/root   /usr/share/doc/cytadela-dbg/copyright
-rwxr-xr-x  root/root   DEBIAN/preinst
-rwxr-xr-x  root/root   DEBIAN/prerm

No differences were encountered between the control files of package cytadela

No differences were encountered between the control files of package cytadela-data

Run locally

More details

Full run details