From 41dfaaf564e1dd4dea3e80d3226bbf79d78f8d0b Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Fri, 30 Dec 2016 14:39:21 +0100 Subject: [PATCH] Add a lintian override for the font duplication This will probably never be fixed and the override is there to document that this is ignored explicitly. --- packaging/linux/deb/buildpackage.sh | 5 +++++ packaging/linux/deb/openra.lintian-overrides | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 packaging/linux/deb/openra.lintian-overrides diff --git a/packaging/linux/deb/buildpackage.sh b/packaging/linux/deb/buildpackage.sh index 59f8b37401..9d64bf3e61 100755 --- a/packaging/linux/deb/buildpackage.sh +++ b/packaging/linux/deb/buildpackage.sh @@ -6,6 +6,7 @@ DEB_BUILD_ROOT=./root LIBDIR=/usr/lib/openra DOCDIR=/usr/share/doc/openra +LINTIANORDIR=/usr/share/lintian/overrides E_BADARGS=85 if [ $# -ne "3" ] @@ -42,6 +43,10 @@ cp "${DEB_BUILD_ROOT}/${LIBDIR}/AUTHORS" "${DEB_BUILD_ROOT}/${DOCDIR}" gzip -9 "${DEB_BUILD_ROOT}/${DOCDIR}/AUTHORS" DATE=`date -R` +# Put the lintian overrides in /usr/share/lintian/overrides/ +mkdir -p "${DEB_BUILD_ROOT}/${LINTIANORDIR}" +cp openra.lintian-overrides "${DEB_BUILD_ROOT}/${LINTIANORDIR}/openra" + echo -e "openra (${VERSION}) unstable; urgency=low\n" > "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" echo -e " * New upstream release: $TAG" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" echo -e "\n -- Paul Chote ${DATE}" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog" diff --git a/packaging/linux/deb/openra.lintian-overrides b/packaging/linux/deb/openra.lintian-overrides new file mode 100644 index 0000000000..dcd46a6d7a --- /dev/null +++ b/packaging/linux/deb/openra.lintian-overrides @@ -0,0 +1,2 @@ +openra: duplicate-font-file usr/lib/openra/mods/common/FreeSans.ttf also in fonts-freefont-ttf +openra: duplicate-font-file usr/lib/openra/mods/common/FreeSansBold.ttf also in fonts-freefont-ttf