diff -Nru gearhead-1.310/debian/changelog gearhead-1.310/debian/changelog --- gearhead-1.310/debian/changelog 2020-05-13 08:47:46.000000000 +0000 +++ gearhead-1.310/debian/changelog 2021-11-19 17:55:05.000000000 +0000 @@ -1,3 +1,14 @@ +gearhead (1.310-3) unstable; urgency=medium + + * Switch from ttf-bitstream-vera to fonts-dejavu-core and remove the ttf + files out from the package and move the font dependency to + gearhead-sdl. Patch gearhead-sdl binary to use the new fonts from + system directory. (Closes: #998275) + * Standards-Version: 4.6.0 (No changes needed) + * Removed unused lintian override from gearhead-sdl + + -- Kari Pahula Fri, 19 Nov 2021 19:55:05 +0200 + gearhead (1.310-2) unstable; urgency=medium * Set type as Application (with correct case) in the desktop diff -Nru gearhead-1.310/debian/control gearhead-1.310/debian/control --- gearhead-1.310/debian/control 2020-05-11 08:32:56.000000000 +0000 +++ gearhead-1.310/debian/control 2021-11-19 17:45:48.000000000 +0000 @@ -26,7 +26,7 @@ Package: gearhead-sdl Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, gearhead-data (>= 1.201-1) +Depends: ${shlibs:Depends}, ${misc:Depends}, gearhead-data (>= 1.201-1), fonts-dejavu-core Description: roguelike mecha role playing game, SDL version A century and a half ago the Earth was nearly destroyed by nuclear war. Now, a federation of free city-states has begun to restore @@ -43,7 +43,7 @@ Package: gearhead-data Architecture: all -Depends: ${misc:Depends}, ttf-bitstream-vera +Depends: ${misc:Depends} Breaks: gearhead (<< 1.201-1) Replaces: gearhead (<< 1.201-1) Suggests: gearhead | gearhead-sdl diff -Nru gearhead-1.310/debian/gearhead-data.install gearhead-1.310/debian/gearhead-data.install --- gearhead-1.310/debian/gearhead-data.install 2016-03-26 22:07:13.000000000 +0000 +++ gearhead-1.310/debian/gearhead-data.install 2021-11-19 17:45:59.000000000 +0000 @@ -1,4 +1,5 @@ debian/gearhead.xpm /usr/share/pixmaps debian/gearhead.conf /etc -Image Design GameData Series usr/share/games/gearhead +Design GameData Series usr/share/games/gearhead +Image/*.png usr/share/games/gearhead/Image doc/man_* usr/share/games/gearhead/doc diff -Nru gearhead-1.310/debian/gearhead-data.links gearhead-1.310/debian/gearhead-data.links --- gearhead-1.310/debian/gearhead-data.links 2016-03-27 08:04:59.000000000 +0000 +++ gearhead-1.310/debian/gearhead-data.links 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf /usr/share/games/gearhead/Image/VeraIt.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf /usr/share/games/gearhead/Image/VeraBd.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf /usr/share/games/gearhead/Image/VeraMono.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf /usr/share/games/gearhead/Image/VeraSe.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf /usr/share/games/gearhead/Image/Vera.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf /usr/share/games/gearhead/Image/VeraBI.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf /usr/share/games/gearhead/Image/VeraSeBd.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf /usr/share/games/gearhead/Image/VeraMoIt.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf /usr/share/games/gearhead/Image/VeraMoBd.ttf -/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf /usr/share/games/gearhead/Image/VeraMoBI.ttf diff -Nru gearhead-1.310/debian/gearhead-sdl.install gearhead-1.310/debian/gearhead-sdl.install --- gearhead-1.310/debian/gearhead-sdl.install 2016-03-27 10:59:04.000000000 +0000 +++ gearhead-1.310/debian/gearhead-sdl.install 2021-11-19 17:51:34.000000000 +0000 @@ -1,2 +1 @@ -debian/lintian-overrides/gearhead-sdl usr/share/lintian/overrides debian/gearhead-sdl.desktop usr/share/applications diff -Nru gearhead-1.310/debian/lintian-overrides/gearhead-sdl gearhead-1.310/debian/lintian-overrides/gearhead-sdl --- gearhead-1.310/debian/lintian-overrides/gearhead-sdl 2016-03-26 08:10:06.000000000 +0000 +++ gearhead-1.310/debian/lintian-overrides/gearhead-sdl 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -# Looks like this one isn't that easily fixed. AFAICT it's -# relatively benign. For references, see -# http://lists.debian.org/debian-devel/2005/03/msg00506.html -# http://lists.debian.org/debian-devel/2005/02/msg01362.html -# http://bugs.debian.org/300577 -# - -gearhead-sdl binary: statically-linked-binary usr/games/gearhead-sdl diff -Nru gearhead-1.310/debian/patches/dejavu-core gearhead-1.310/debian/patches/dejavu-core --- gearhead-1.310/debian/patches/dejavu-core 1970-01-01 00:00:00.000000000 +0000 +++ gearhead-1.310/debian/patches/dejavu-core 2021-11-19 17:49:41.000000000 +0000 @@ -0,0 +1,15 @@ +Index: gearhead-1.310/sdlgfx.pp +=================================================================== +--- gearhead-1.310.orig/sdlgfx.pp 2019-02-07 15:52:33.000000000 +0200 ++++ gearhead-1.310/sdlgfx.pp 2021-11-19 19:49:38.299377622 +0200 +@@ -1486,8 +1486,8 @@ + Cursor_Sprite := ConfirmSprite( 'cursor.png' , '' , 8 , 16 ); + + TTF_Init; +- Game_Font := TTF_OpenFont( 'Image' + OS_Dir_Separator + 'VeraBd.ttf' , BigFontSize ); +- Info_Font := TTF_OpenFont( 'Image' + OS_Dir_Separator + 'VeraMoBd.ttf' , SmallFontSize ); ++ Game_Font := TTF_OpenFont( '/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf' , BigFontSize ); ++ Info_Font := TTF_OpenFont( '/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf' , SmallFontSize ); + + Text_Messages := LoadStringList( Standard_Message_File ); + Console_History := Nil; diff -Nru gearhead-1.310/debian/patches/series gearhead-1.310/debian/patches/series --- gearhead-1.310/debian/patches/series 2020-05-11 14:25:20.000000000 +0000 +++ gearhead-1.310/debian/patches/series 2021-11-19 17:27:36.000000000 +0000 @@ -1,2 +1,3 @@ terminal-drawing-order unixpaths +dejavu-core