From e7b71e7c665ab3b66612aaf0b46e8c707f6d8f5b Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 17 Apr 2011 11:15:02 +1200 Subject: [PATCH] Fonts are provided by ttf-freefont --- packaging/linux/deb/DEBIAN/control | 2 +- packaging/linux/deb/buildpackage.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/linux/deb/DEBIAN/control b/packaging/linux/deb/DEBIAN/control index aa448c0ea3..f228590326 100644 --- a/packaging/linux/deb/DEBIAN/control +++ b/packaging/linux/deb/DEBIAN/control @@ -4,7 +4,7 @@ Architecture: all Maintainer: Matthew Bowra-Dean Uploaders: Maikel van den Hout , Paul Chote Installed-Size: {SIZE} -Depends: libopenal1, mono-runtime (>= 2.6.7), libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, libmono-i18n2.0-cil +Depends: libopenal1, mono-runtime (>= 2.6.7), libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, libmono-i18n2.0-cil, ttf-freefont Section: games Priority: extra Homepage: http://www.open-ra.org/ diff --git a/packaging/linux/deb/buildpackage.sh b/packaging/linux/deb/buildpackage.sh index f494cc7fcd..1e08cfb1a9 100755 --- a/packaging/linux/deb/buildpackage.sh +++ b/packaging/linux/deb/buildpackage.sh @@ -18,6 +18,10 @@ mkdir root cp -R DEBIAN root cp -R $rootdir/usr root +# Remove duplicate fonts provided by ttf-freefont +rm root/usr/share/openra/FreeSans.ttf +rm root/usr/share/openra/FreeSansBold.ttf + # Create the control and changelog files from templates sed "s/{VERSION}/$VERSION/" DEBIAN/control | sed "s/{SIZE}/$PACKAGE_SIZE/" > root/DEBIAN/control sed "s/{VERSION}/$VERSION/" DEBIAN/changelog > root/DEBIAN/changelog