Bug#885732: marsshooter: Please avoid source-includes-file-in-files-excluded lintian override

Chris Lamb lamby at debian.org
Fri Dec 29 15:41:11 UTC 2017


Source: marsshooter
Version: 0.7.6-2
Severity: wishlist
Tags: patch

Hi,

Please avoid source-includes-file-in-files-excluded lintian override. I
would like this tag to eventually become an autoreject that is not
overridable, so not overriding it (where other solutions exist) is
desirable.

Patch attached that creates the file via a quilt patch; you will need to
regenerate the upstream tarball too, however.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/data/fonts/.dont_delete_me b/data/fonts/.dont_delete_me
deleted file mode 100644
index e69de29..0000000
diff --git a/debian/README.source b/debian/README.source
index 3ee9555..437a818 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,9 +1,3 @@
 1.) Run debian/rules get-orig-source to retrieve the original tarball. Windows
     specific libraries will be removed and also all font files which are replaced
     by system fonts.
-
-2.) You must create the data/fonts directory again with some sort of content
-    like an empty file. Otherwise tools like git-buildpackage will remove all
-    empty directories when importing new upstream tarballs. This would lead to
-    a FTBFS in this case.
-
diff --git a/debian/patches/ensure-data-fonts-dir.patch b/debian/patches/ensure-data-fonts-dir.patch
new file mode 100644
index 0000000..1de1753
--- /dev/null
+++ b/debian/patches/ensure-data-fonts-dir.patch
@@ -0,0 +1,4 @@
+--- /dev/null
++++ marsshooter/data/fonts/.dont_delete_me
+@@ -0,0 +1 @@
++Dummy content
diff --git a/debian/patches/series b/debian/patches/series
index cf0094f..7aebb1c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+ensure-data-fonts-dir.patch
 man-page.patch
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 100644
index a0c2111..0000000
--- a/debian/source/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# This is intentional. See README.source.
-source-includes-file-in-files-excluded


More information about the Pkg-games-devel mailing list