xfonts-terminus (4.30-2) debian-dir only changes

Summary

 debian/50-enable-terminus.conf               |   11 
 debian/bdf-charset.awk                       |   19 +
 debian/bdfslant.pl                           |  230 +++++++++++++++++
 debian/changelog                             |  349 +++++++++++++++++++++++++++
 debian/compat                                |    1 
 debian/console-terminus.README.Debian        |  125 +++++++++
 debian/control                               |   78 ++++++
 debian/copyright                             |   33 ++
 debian/generate_aliases                      |   60 ++++
 debian/rules                                 |  196 +++++++++++++++
 debian/xfonts-terminus-dos.README.Debian     |   27 ++
 debian/xfonts-terminus-dos.alias             |   14 +
 debian/xfonts-terminus-dos.preinst           |   32 ++
 debian/xfonts-terminus-oblique.README.Debian |   10 
 debian/xfonts-terminus.README.Debian         |   40 +++
 debian/xfonts-terminus.alias                 |    4 
 debian/xfonts-terminus.preinst               |   32 ++
 17 files changed, 1261 insertions(+)

    
download this patch

Patch contents

--- xfonts-terminus-4.30.orig/debian/50-enable-terminus.conf
+++ xfonts-terminus-4.30/debian/50-enable-terminus.conf
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <selectfont>
+    <acceptfont>
+      <pattern>
+        <patelt name="family"><string>terminus</string></patelt>
+      </pattern>
+    </acceptfont>
+  </selectfont>
+</fontconfig>
--- xfonts-terminus-4.30.orig/debian/bdf-charset.awk
+++ xfonts-terminus-4.30/debian/bdf-charset.awk
@@ -0,0 +1,19 @@
+#/usr/bin/awk -f
+
+# Usage: { cat some_font.bdf; zcat /usr/share/i18n/charmaps/some_enc.gz; } | 
+#               awk -f bdf-charset.awk >symbols_not_in_the_font
+
+/^ENCODING/ {
+  hex = sprintf ("%04X", $2);
+  has [hex] = "yes";
+}
+
+/^<U/ {
+  code = $1;
+  gsub ("^<U", "", code);
+  gsub (">$", "", code);
+  if (has [code] != "yes") {
+    print;
+  }
+}
+
--- xfonts-terminus-4.30.orig/debian/bdfslant.pl
+++ xfonts-terminus-4.30/debian/bdfslant.pl
@@ -0,0 +1,230 @@
+#!/usr/bin/perl -w
+#
+# Convert bdf fonts to slanted style.
+# Copyright (C) 1994-95 Cronyx Ltd.
+# Author: Serge Vakulenko, <vak@cronyx.ru>
+# Changes Copyright (C) 1995-1997 by Andrey A. Chernov, Moscow, Russia.
+#
+# This software may be used, modified, copied, distributed, and sold,
+# in both source and binary form provided that the above copyright
+# and these terms are retained. Under no circumstances is the author
+# responsible for the proper functioning of this software, nor does
+# the author assume any responsibility for damages incurred with its use.
+#
+# Changes (C) 2000 by Serge Winitzki (version 1.1). Summary of changes:
+# 1. operation speeded up by about 2x
+# 2. implemented an algorithm to prevent broken lines in slanted chars
+# (on by default, "-nofill" to switch it off, -morefill to enable filling broken diagonal blocks)
+# 3. introduced variable slant factor (default to 4, "-slant=" option).
+# Larger numbers correspond to *smaller* slant angle. Numbers can be non-integer (e.g. "-slant=3.7"). Admissible values are between 1 and 5 (values larger than 5 are quite ugly while slant=1 means an unreadable 45 degrees).
+# 4. experimental slanting algorithm to produce smoother shapes ("-unjag" option)
+# Warning: it may not give good results on smaller font sizes, so it's off by default.
+# 5. improved bounding box generation algorithm (with assistance from A. Chernov)
+#
+
+$default_factor = 3.7;
+
+$factor = ("@ARGV" =~ /-slant=([0-9.]+)/) ? $1 : $default_factor;	# Slant factor. Default=3, weakly recommended to be an integer or at least a value not less than 3. Larger values mean smaller slant
+$factor = $default_factor if ($factor < 1 or $factor > 5);
+
+$fill = ("@ARGV" =~ /-nofill/) ? 0 : 1;	# Default is to fill holes
+$morefill = ("@ARGV" =~ /-morefill/) ? 1 : 0;
+$unjag = ("@ARGV" =~ /-unjag/) ? 1 : 0;	# Default is not to correct jag
+$need_edit = ($fill or $unjag) ? 1 : 0;
+
+$pattern{"0"} = "0000";
+$pattern{"1"} = "0001";
+$pattern{"2"} = "0010";
+$pattern{"3"} = "0011";
+$pattern{"4"} = "0100";
+$pattern{"5"} = "0101";
+$pattern{"6"} = "0110";
+$pattern{"7"} = "0111";
+$pattern{"8"} = "1000";
+$pattern{"9"} = "1001";
+$pattern{"a"} = "1010";         $pattern{"A"} = "1010";
+$pattern{"b"} = "1011";         $pattern{"B"} = "1011";
+$pattern{"c"} = "1100";         $pattern{"C"} = "1100";
+$pattern{"d"} = "1101";         $pattern{"D"} = "1101";
+$pattern{"e"} = "1110";         $pattern{"E"} = "1110";
+$pattern{"f"} = "1111";         $pattern{"F"} = "1111";
+$pattern{"\n"} = "";            $pattern{"\r"} = "";
+
+$hexdig{"0000"} = "0";
+$hexdig{"0001"} = "1";
+$hexdig{"0010"} = "2";
+$hexdig{"0011"} = "3";
+$hexdig{"0100"} = "4";
+$hexdig{"0101"} = "5";
+$hexdig{"0110"} = "6";
+$hexdig{"0111"} = "7";
+$hexdig{"1000"} = "8";
+$hexdig{"1001"} = "9";
+$hexdig{"1010"} = "A";
+$hexdig{"1011"} = "B";
+$hexdig{"1100"} = "C";
+$hexdig{"1101"} = "D";
+$hexdig{"1110"} = "E";
+$hexdig{"1111"} = "F";
+
+$times_font = 0;
+
+while (<STDIN>) {
+	if (/^SLANT\s/) {
+		if ($times_font) {
+			s/"R"/"I"/;
+		} else {
+			s/"R"/"O"/;
+		}
+		print;
+	} elsif (/^FONT\s/) {
+		if (/Times/) {
+			s/-R-/-I-/;
+			$times_font = 1;
+		} else {
+			s/-R-/-O-/;
+		}
+		print;
+	} elsif (/^FONTBOUNDINGBOX\s/) {
+		($w, $h, $bbx, $bby) = &BBX(split);
+		printf "FONTBOUNDINGBOX %d %d %d %d\n", $w, $h, $bbx, $bby;
+	} elsif (/^CHARS\s/) {
+		print;
+		last;
+	} else {
+		print;
+	}
+}
+
+while (<STDIN>) {
+	if (/^STARTCHAR\s/) {
+		print;
+#		print STDERR;	# Debugging
+	} elsif (/^ENDCHAR/) {
+		print;
+	} elsif (/^ENCODING\s/) {
+		print;
+	} elsif (/^SWIDTH\s/) {
+		print;
+	} elsif (/^DWIDTH\s/) {
+		print;
+	} elsif (/^BBX\s/) {
+		($w, $h, $bbx, $bby) = &BBX(split);
+		printf "BBX %d %d %d %d\n", $w, $h, $bbx, $bby;
+	} elsif (/^BITMAP/) {
+		print "BITMAP\n";
+		&makechar;
+	}
+}
+print "ENDFONT\n";
+
+sub BBX {	# Recalculate bounding box
+	my ($dummy, $w, $h, $bbx, $bby) = (@_);
+	$w += int($h/$factor);
+	$bbx += int($bby * 1.5 / $factor - 1);
+	($w, $h, $bbx, $bby);
+}
+
+sub makechar {
+	# This procedure will be called once to read the whole bitmap from STDIN
+	# Make a slanted version of the character
+	# Use $factor = tangent of the slant angle (measured from the horizontal direction, so infinite $factor is no slant. Old script had $factor=3)
+	# Store three consecutive lines but output the first line ($a)
+	$a = $b = $c = "";	#"0" x $w;
+	# Check for jagging and for line breaks
+	# Fill line breaks by putting an extra pixel on the lower line at those locations
+	$a_shift_amount =
+	$b_shift_amount =
+	$c_shift_amount = int($h/$factor);	# This is for the upper line
+	for ($i = 0; $i<$h; ++$i) {	# $i is the line number counted from top
+	# Use a string instead of an array to represent pixels
+	# Currently reading new line $c
+	# Precondition: all arrays for previously read lines are filled, modified version of line $a is printed
+	# Determine if the stepping changes now. If it does, we may have to do filling
+		# Push stack and clear the $c related values
+		&rotate_stack;
+		if ($b_shift_amount != int(($h-$i)/$factor)) {
+			$c_shift_amount= $b_shift_amount - 1;
+		}
+#			: $b_shift_amount;
+		# Now read the new line into $c
+		$c = "0" x $c_shift_amount;
+		foreach $ch (split(//,<STDIN>)) {
+			$c .= $pattern{$ch};
+		}
+		$c .= "0" x (int($h/$factor)+7);	# Now $c is the current line, already shifted
+		# Now we need to perform editing on the stack
+		&perform_editing if ($need_edit);
+	
+	# Now we are ready with the draft of line $a
+	&print_line($a) if ($i > 1);	# Avoid printing first 2 dummy lines
+	}	# End of the loop over input lines
+	# Now need to finish processing lines $b and $c
+	# Input a dummy empty line
+	&rotate_stack;
+	$c = "0" x length($b);
+	&perform_editing if ($need_edit);
+	&print_line($a) if ($a ne "");
+	&print_line($b) if ($b ne "");
+}
+
+sub rotate_stack {
+	# Shift all stack-related variables
+	$a = $b;
+	$b = $c;
+	$a_shift_amount = $b_shift_amount;
+	$b_shift_amount = $c_shift_amount;
+}
+
+sub perform_editing {
+	# Modify pixels in consecutive lines $a, $b, $c
+	# Figure out where the splitting point is
+	if ($a_shift_amount != $b_shift_amount) {	# Split between $b and $a
+		$loc = 0;	# Loop over locations of "01" in $a
+		while ($loc+1 < length($a) and ($loc = index($a, "01",  $loc)) != -1) {
+			if ($fill and $loc > 0 and substr($b, $loc-1, 2) eq "10") {	# Situation 1: broken diagonal line
+				if (substr($c, $loc-1, 2) eq "00") {
+					substr($b, $loc, 1) = "1";
+				} elsif ($loc == 1 or substr($b, $loc-2, 1) eq "0") {
+					substr($b, $loc-1, 2) = "01";
+				} else {
+					substr($b, $loc, 1) = "1";
+				}
+			} elsif ($fill and $morefill and $loc > 1 and substr($b, $loc-2, 3) eq "011") { # Situation 1a: jagged diagonal blocks, a bit ugly
+			# Quick fix: don't care about $c
+#				print STDERR "1a\n";
+				substr($a, $loc, 1) = "1";
+			} elsif ($unjag and substr($b, $loc, 1) eq "1" and substr($c, $loc, 2) eq "01" and  ($loc == 0 or substr($b, $loc-1, 1) eq "0" and substr($a, $loc-1, 1) eq "0" and substr($c, $loc-1, 1) eq "0")) {	# Situation 2: left-directed jag
+				substr($b, $loc, 2) = "01";
+			}	# No more situations
+			$loc += 2;
+		}	# No more locations of "01" in $a
+	} elsif ($c_shift_amount != $b_shift_amount) {	# Split between $b and $c
+		$loc = 0;	# Loop over locations of "10" in $c
+		while ($loc+1 < length($c) and ($loc = index($c, "10",  $loc)) != -1) {
+			if ($unjag and (length($c) == $loc+2 or substr($c, $loc+2, 1) eq "0") and length($a) >= $loc+1 and substr($a, $loc, 1) eq "1" and (length($a) == $loc+2 or substr($a, $loc+2, 1) eq "0") and length($b) >= $loc+2 and substr($b, $loc+1, 1) eq "1" and (length($b) == $loc+2 or substr($b, $loc+2, 1) eq "0")) { # Situation 3: right-directed jag
+				substr($b, $loc, 2) = "10";
+			} elsif ($fill and (length($a) >= $loc+2 and substr($a, $loc+1, 1) ne "0" or length($a) >= $loc+3 and substr($a, $loc+2, 1) ne "0") and length($b) >= $loc+3 and substr($b, $loc+1, 2) eq "01") {	# Situation 4: broken diagonal line
+				if (length($b) > $loc+3 and substr($b, $loc+3, 1) eq "1") {
+					substr($b, $loc+1, 1) = "1";
+				} else {
+					substr($b, $loc+1, 2) = "10";
+				}
+			} elsif ($fill and $morefill and length($b) >= $loc+3 and substr($b, $loc, 3) eq "011" and (length($c) < $loc+2 or substr($c, $loc+2, 1) eq "0")) {	# Situation 4a: jagged diagonal blocks, a bit ugly
+			# Quick fix
+				substr($c, $loc+1, 1) = "1";
+#				print STDERR "4a\n";
+			} # No more situations
+			$loc += 2;
+		}	# No more locations of "10" in $c
+	}	# No splitting points, no editing
+}
+
+sub print_line {
+	my ($line) = (@_);
+	my ($n);
+	for ($n = 0; $n<2*int(($w+7)/8); ++$n) {
+		print $hexdig{substr($line, $n*4, 4)};
+	}
+	print "\n";
+}
--- xfonts-terminus-4.30.orig/debian/changelog
+++ xfonts-terminus-4.30/debian/changelog
@@ -0,0 +1,349 @@
+xfonts-terminus (4.30-2) unstable; urgency=low
+
+  * Version 4.30-1 was build with broken version of bdf2psf.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Fri, 20 Nov 2009 14:43:31 +0200
+
+xfonts-terminus (4.30-1) unstable; urgency=low
+
+  * New upstream release
+    - new font size 22 (according to the upstream it is not very good yet)
+    - 25 new symbols
+    - small corrections and improvements
+  * Change the section of the package (x11|utils) -> fonts.  Closes: #554787.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Fri, 20 Nov 2009 13:43:44 +0200
+
+xfonts-terminus (4.28-2) unstable; urgency=low
+
+  * Fix errors in the changelog.  Thanks to Paul Menzel, closes: #527035.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Fri, 06 Nov 2009 14:08:17 +0200
+
+xfonts-terminus (4.28-1) unstable; urgency=low
+
+  * New upstream release:
+    - heavy frames (written mostly by Tim Allen);
+    - a few more letters;
+    - altered triangles and arrows;
+    - small bugfixes.
+  * Install 50-enable-terminus.conf in /etc/fonts/conf.d/conf.avail and symlink
+    from conf.d.  Thanks to Stanislav Maslovski, closes: #514596.
+  * Replace the dependency on kbd | console-tools from console-terminus by
+    recommendation.  Thanks to Samuel Thibault, patch by Petr Salinger.
+    Closes: #524477.
+  * Build-Depends on trscripts >= 1.16 (question mark as default symbol).
+    Thanks to Kai Hendry, closes: #481917.
+  * ${misc:Depends} for all packages; update Standards-Version to 3.8.1.
+  
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 02 May 2009 12:40:48 +0300
+
+xfonts-terminus (4.26-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Urgency medium due to lenny-goal bug fix.
+  * Clear obsolete conffiles that were left over from etch for xfonts-terminus
+    and xfonts-terminus-dos. closes: #455037, #455039.
+  * Drop clearance stuffs for very old versions from xfonts-terminus preinst.
+
+ -- Theppitak Karoonboonyanan <thep@linux.thai.net>  Mon, 24 Nov 2008 12:05:05 +0700
+
+xfonts-terminus (4.26-2) unstable; urgency=low
+
+  * Remove the obsoleted Debconf message.  Thanks to Christian Perrier,
+    closes: #449364, #476724.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Tue, 15 Jul 2008 12:13:02 +0300
+
+xfonts-terminus (4.26-1) unstable; urgency=low
+
+  * New upstream release:
+    - full set of greek characters
+    - about 50 small fixes and (hopefully) improvementsc
+  * New X encoding iso-8859-7, new dos encoding ibm869 and new console
+    codesets Greek and Uni2.  Build-dependency on trscripts > 1.15.
+  * Lintian cleaning: don't set DH_COMPAT in debian/rules, do not ignore
+    'make clean' errors and Standards-Version 3.7.3.
+  * Belarusian translation for the Debconf messages.  Thanks to Pavel
+    Piatruk and Andrei Darashenka, closes: #447117.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 03 Apr 2008 21:34:50 +0300
+
+xfonts-terminus (4.20-6) unstable; urgency=low
+
+  * Install the alias files in their proper place /etc/X11/fonts/misc.
+    Thanks to Chris Moore, closes: #401801.
+  * update-fonts-alias is automatically added in postinst by
+    dh_installxfonts.  I suppose in version 4.20-5.1 this command was
+    missing due to some bug in debhelper.  Thanks to Nelson A. de
+    Oliveira, closes: #443521.
+  * New Galician translation.  Thanks to Jacobo Tarrio, closes: #411106.
+  * New Japanese translation.  Thanks to Kobayashi Noritada, closes: #414571.
+  * New Italian translation.  Thanks to Luca Monducci, closes: #427205.
+  * Update Standards-Version: 3.7.2.
+  * Add Build-Dependency on po-debconf.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 13 Jan 2007 13:55:46 +0200
+
+xfonts-terminus (4.20-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added German and Spanish translation (Closes: #398491, #403441)
+
+ -- Bastian Venthur <venthur@debian.org>  Sun, 28 Jan 2007 13:50:40 +0100
+
+xfonts-terminus (4.20-5) unstable; urgency=low
+
+  * New Portuguese for the Debconf messages.  Thanks to Miguel Figueiredo,
+    closes: #399927.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun,  3 Dec 2006 13:47:30 +0200
+
+xfonts-terminus (4.20-4) unstable; urgency=low
+
+  * Rebuild with version 12 of bdf2psf.
+  * Add Russian translation of the Debconf messages.  Thanks to Mikhail
+    Gusarov, closes: #397165.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Mon, 13 Nov 2006 20:38:06 +0200
+
+xfonts-terminus (4.20-3) unstable; urgency=low
+
+  * New dutch translation.  Thanks to Kurt De Bree, closes: #365420.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 12 Oct 2006 14:57:03 +0300
+
+xfonts-terminus (4.20-2) unstable; urgency=low
+
+  * Remove the hack to work around #362820.  Build-depend on debhelper (>=
+    5.0.32)
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 19 Apr 2006 12:11:28 +0300
+
+xfonts-terminus (4.20-1) unstable; urgency=low
+
+  * New upstream version.
+    - The apostrophe in the font is now neutral and the grave accent is
+      straight.  Thanks to Danilo Piazzalunga, closes: #232432.
+    - Miscelaneous corrections and improvements in the symbols.
+  * Czech translation of the Debconf message.  Thanks to Miroslav Kure,
+    closes: #353375.
+  * The package has been updated for the new modular X.  
+    Closes: #362394, #362397, #362396.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 15 Apr 2006 23:04:21 +0300
+
+xfonts-terminus (4.16-3) unstable; urgency=low
+
+  * Swedish and French translation of the Debconf message.  Thanks to
+    Daniel Nylander and Sylvain Archenault, closes: #348914, #349834.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 11 Feb 2006 22:47:29 +0200
+
+xfonts-terminus (4.16-2) unstable; urgency=low
+
+  * Add conflicts with console-cyrillic (<= 0.9-11) due to the font file
+    name change.
+  * Spelling corrections in console-terminus.README.Debian.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 12 Jan 2006 11:17:41 +0200
+
+xfonts-terminus (4.16-1) unstable; urgency=low
+
+  * New upstream release.  Added new 87 and fixed a dozen of characters;
+    added information for the known bugs.  Thanks to Vladimir Shakhov for
+    reporting the problem with Cyrillic O with diaeresis, closes: #320974
+  * Apply the patch terminus-font-4.16-ka1.diff to change the look of the
+    Cyrillic letter "K".
+  * Use new build system for the console fonts in order to stay compatible
+    with the new package console-setup.
+  * A Debconf message to notice the user about the change.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 11 Jan 2006 14:56:12 +0200
+
+xfonts-terminus (4.14-1) unstable; urgency=low
+
+  * New upstream release: corrections in some characters.
+  * Correct the alias files.  In xfonts-terminus-dos there were mappings
+    to wrong file names and in xfonts-terminus there were duplicated
+    entries for iso10646-1.  Thanks to Heine Larsen for the bug report and
+    patch, closes: #302867.
+  * Build console fonts for all sizes.  One needs to use the "kbd" package
+    with them, not "console-tools".  Updated README.Debian.  Thanks to
+    Kevin Williams, closes: #298735.
+  * Remove the files left behind version 4.12-1 of the package (two
+    directories containing only fonts.cache-1).  Thanks to Andrew Pimlott,
+    closes: #307446.
+  * Updated Standards-Version: 3.6.2.
+  * Updated FSF address in copyright file
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Tue, 27 Sep 2005 09:45:04 +0300
+
+xfonts-terminus (4.12-2) unstable; urgency=low
+
+  * Do not install symbolic links to the X-fonts in /usr/share/fonts as
+    this doesn't work with fontconfig ver. 2.3 but instead install a
+    configuration file in /etc/fonts/conf.d.  The configuration file was
+    provided by Adeodato Simo, closes: #296617.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 27 Apr 2005 12:51:56 +0300
+
+xfonts-terminus (4.12-1) unstable; urgency=low
+
+  * New upstream release:
+    -- few new symbols
+    -- small typo corrections
+    -- micro-FAQ in the upstream README file
+  * Install in /usr/share/fonts/ symbolic links to the X-fonts so that the
+    Terminus font is visible to fontconfig based applications (such as
+    GNOME 2 and KDE) even when the bitmapped fonts are not enabled in
+    /etc/fonts/local.conf.  Thanks to Jouke Witteveen, closes: #296617.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 16 Mar 2005 10:47:35 +0200
+
+xfonts-terminus (4.11-1) unstable; urgency=low
+
+  * New upstream release:
+      -- 6x12 font size
+      -- improved 14x28-bold
+      -- improved Euro sign
+      -- other small corrections
+      -- new encoding: ISO 8859-13
+    Thanks to Rui Matos, closes: #277172
+  * Updated documentation.
+  * Automatically generate the fonts.alias files.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 21 Oct 2004 21:10:55 +1000
+
+xfonts-terminus (4.06-1) unstable; urgency=low
+
+  * New upstream release.
+  * Correct typo in the package descriptions.  Thanks to Peter Dembinski
+    (closes: #230661).
+  * Invoke explicitly perl on bdfslant.pl.  Thanks to Daniel Schepler
+    (closes: #232988).
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Fri, 20 Feb 2004 23:19:21 +0200
+
+xfonts-terminus (4.05-2) unstable; urgency=low
+
+  * New binary package xfonts-terminus-oblique with automatically
+    generated fonts.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun, 28 Dec 2003 12:31:27 +0200
+
+xfonts-terminus (4.05-1) unstable; urgency=low
+
+  * New upstream release.  New letters: 
+      -- a, A, e, E, u, U, i, I, o and O with macron
+      -- e and E with dot above
+      -- g, G, k, K, l, L, n, N, r and R with cedilla
+      -- u, U, i and I with ogonek
+  * U+2010 (hyphen) is added to the Debian version of the fonts.  I
+    suppose that this is the only symbol that groff needs and the original
+    fonts lack.  Thanks to Roland Stigge for discovering and reporting the
+    problem (closes: #217280-second-version).  Build-depends trscripts
+    (>=1.13).
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun, 16 Nov 2003 23:49:39 +0200
+
+xfonts-terminus (4.03-5) unstable; urgency=low
+
+  * The script trbdf is given the option --no-fallback in order not to
+    approximate the missing gliphs with existing (closes: #217280).
+    Thanks to Leonard Michlmayr.  Build-depends trscripts (>=1.12).
+  * Removed a waste-file (a.pl) from the source package.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 30 Oct 2003 10:24:21 +0200
+
+xfonts-terminus (4.03-4) unstable; urgency=low
+
+  * console-terminus: new binary package with console version of the font.
+    Thanks to Francesco Potorti` (closes: #203758).
+  * xfonts-terminus: README.Debian: removed the paragraph for the
+    difference between `a' and `o'.  Updated recommendation for
+    videomodes.
+  * xfonts-terminus.alias: terminus-iso8859-9-* were by mistake aliases of
+    iso8859-2 fonts. 
+  * All binary packages contain README and README-BG (in the previous
+    version only xfonts-terminus included them).
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Tue, 23 Sep 2003 21:17:29 +0300
+
+xfonts-terminus (4.03-3) unstable; urgency=low
+
+  * Removal of the Debconf message.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Mon, 04 Aug 2003 11:48:27 +0200
+
+xfonts-terminus (4.03-2) unstable; urgency=low
+
+  * Applyed patch to differ the lool of the letter `a'.
+  * A Debconf message to tell about the voting the upstream organizes
+    about how the letter `a' is better to look.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 17 Jul 2003 11:22:54 +0200
+
+xfonts-terminus (4.03-1) unstable; urgency=low
+
+  * New upstream version:
+     - some symbols have better look;
+     - new font with size 28 and normal weight;
+     - the fonts use FAMILY_NAME instead of FAMILY (closes: #187578,
+       thanks to Andrew Leiserson).
+  * Transcoded with trscripts version 1.11.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 14 Jun 2003 14:43:44 +0200
+
+xfonts-terminus (4.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * New supported encoding by xfonts-terminus: iso8859-9.  Thanks to
+    Daniel Schepler for the support.
+  * Uses Build-Depends instead of Build-Depend-Indeps.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun,  2 Feb 2003 17:40:36 +0200
+
+xfonts-terminus (3.94-1) unstable; urgency=low
+
+  * New upstream version.
+  * New supported encodings by xfonts-terminus: iso8859-2 and iso8859-16.
+  * New supported encoding by xfonts-terminus-dos: ibm-cp852.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun, 27 Oct 2002 11:53:44 +0200
+
+xfonts-terminus (3.91-1) unstable; urgency=low
+
+  * New upstream version with new look of some symbols.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed,  3 Jul 2002 13:30:52 +0300
+
+xfonts-terminus (3.86-2) unstable; urgency=low
+
+  * New package xfonts-terminus-dos with the following new fontencodings:
+    ibm-cp437, ibm-cp850, ibm-cp855, ibm-cp860, ibm-cp863, ibm-cp865,
+    ibm-cp866, bulgarian-mik, ukrainian-ruscii.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun,  2 Jun 2002 17:35:20 +0300
+
+xfonts-terminus (3.86-1) unstable; urgency=low
+
+  * New upstream version with new 24 point fonts.
+  * Changes in the package description and README.Debian.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Mon, 22 Apr 2002 17:39:36 +0300
+
+xfonts-terminus (3.83-2) unstable; urgency=low
+
+  * New upload because I've forgotten to create .orig.tar.gz and .diff.gz
+    files, but this package is not Debian-native. (again closes: #130815).
+  * Changes in debian/control.
+  * debian/rules rewrited.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Tue,  5 Feb 2002 20:03:32 +0200
+
+xfonts-terminus (3.83-1) unstable; urgency=low
+
+  * Initial release (closes: #130815).
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 31 Jan 2002 19:53:46 +0200
--- xfonts-terminus-4.30.orig/debian/compat
+++ xfonts-terminus-4.30/debian/compat
@@ -0,0 +1 @@
+5
--- xfonts-terminus-4.30.orig/debian/console-terminus.README.Debian
+++ xfonts-terminus-4.30/debian/console-terminus.README.Debian
@@ -0,0 +1,125 @@
+Text console version of the Terminus font for Debian
+-----------------------------------------------------
+
+The aim of the Terminus font is to reduce the eyes-fatigue when one
+has to read a lot.  Currently this font supports only the Latin and
+the Cyrillic scripts.
+
+The fonts are located in the usual place: /usr/share/consolefonts.
+
+The fonts in the Debian package are not the same as the fonts directly
+built by the upstream package.  The Debian package contains fonts for
+seven codesets (Lat15, Lat2, Lat7, CyrAsia, CyrKoi, CyrSlav, Uni3)
+that differ considerably from the charsets used by the upstream (1, 2,
+9, g, d, c, p and v).  The font files are also differently named from
+the upstream: <CODESET>-<VARIANT><SIZE>.psf.gz
+
+Here VARIANT may be Terminus, TerminusBold or TerminusBoldVGA.
+
+CODESET may be:
+
+Lat15
+   Covers entirely ISO-8859-1, ISO-8859-9 and ISO-8859-15.  Suitable
+   for the so called Latin1 and Latin5 languages - Afar, Afrikaans,
+   Albanian, Aragonese, Asturian, Aymara, Basque, Bislama, Breton,
+   Chamorro, Danish, Dutch, English, Estonian, Faroese, Fijian,
+   Finnish, French, Frisian, Friulian, Galician, German, Hiri Motu,
+   Icelandic, Ido, Indonesian, Interlingua, Interlingue, Italian, Low
+   Saxon, Lule Sami, Luxembourgish, Malagasy, Manx Gaelic, Norwegian
+   Bokmal, Norwegian Nynorsk, Occitan, Oromo or Galla, Portuguese,
+   Rhaeto-Romance (Romansch), Scots Gaelic, Somali, South Sami,
+   Spanish, Swahili, Swedish, Tswana, Turkish, Volapuk, Votic,
+   Walloon, Xhosa, Yapese and Zulu.
+
+Lat2
+   Covers entirely ISO-8859-2.  The Euro sign and the Romanian letters
+   with comma below are also supported.  Suitable for the so called
+   Latin2 languages - Bosnian, Croatian, Czech, Hungarian, Polish,
+   Romanian, Slovak, Slovenian and Sorbian (lower and upper).
+
+Lat7
+   Covers entirely ISO-8859-13.  Suitable for Lithuanian, Latvian,
+   Maori and Marshallese.
+
+CyrAsia
+   Suitable for some of the non-Slavic Cyrillic languages - Abkhazia,
+   Avaric, Azerbaijani, Bashkir, Buryat, Chechen, Chuvash, Inupiaq
+   (Eskimo), Kara-Kalpak, Kazakh, Kirgiz, Komi, Kumyk, Kurdish,
+   Lezghian, Mari (Cheremis), Mongolian, Ossetic, Selkup (Ostyak-
+   Samoyed), Tajik, Tatar, Turkmen, Tuvinian, Uzbek and Yakut.
+
+CyrKoi
+   Covers entirely KOI8-R and KOI8-U.  Suitable for Russian and
+   Ukrainian.
+
+CyrSlav
+   Covers entirely ISO-8859-5 and CP1251.  Suitable for the Slavic
+   Cyrillic languages - Belarusian, Bulgarian, Macedonian, Russian,
+   Serbian and Ukrainian.  For Serbian both the Cyrillic and the Latin
+   alphabets are supported.
+
+Greek
+   For Greek.
+
+Uni2 (512 gliphs)
+   Supports most of the Latin languages, the Slavic Cyrillic languages
+   and Greek.
+
+Uni3 (512 glyphs)
+   Supports most of the Latin and Cyrillic languages.
+
+The SIZE my be 12x6, 14, 16, 20x10, 22x11, 24x12, 28x14 or 32x16.  
+A size 32x16 means that the glyph matrix has 16 columns and 32 rows.
+In the text video modes only the sizes 14 and 16 can be used; the
+other sizes are available only if the console uses framebuffer AND
+with the console suite kbd (the other console suite - console-tools
+supports only the font sizes 14 and 16).
+
+The fonts with font face TerminusBold and size 14 or 16 are optimised
+for 8 pixels width glyph matrix.
+
+The fonts with font face TerminusBoldVGA and size 14 or 16 are
+optimised for 9 pixels width glyph matrix and can not be used with
+framebuffer video modes.
+
+The fonts with font face Terminus and size 14 or 16 can be used both
+with 8 and 9 pixels width glyph matrix.
+
+In the regular text video modes the width of the glyph matrix is 9
+pixels.  If you use the package svgatextmode then the width is 8 or 9
+pixels and you probably know it.  Only fonts with height 14 and 16 can
+be used in text mode console.
+
+In order to use the fonts comfortably it is recommended to install the
+package console-setup.  You can also try the fonts with a command of
+the following two kinds:
+
+setfont -m iso15.acm Lat15-Terminus16.psf         # with kbd
+consolechars -m iso15.acm -f Lat15-Terminus16.psf # with console-tools
+
+Of course instead of Lat15-Terminus16.psf you will use the font you
+want to try.  After the -m option stays the so called "Application
+Character Map"; it tells the console driver the encoding you use.  For
+available ACMs please refer /usr/share/consoletrans/*acm*.
+
+If your console is in Unicode mode then please omit the -m option and
+the ACM from the commands above.
+
+If you don't use the package console-setup then the font and the ACM
+to load at boot time are configured in /etc/console-tools/config or
+/etc/kbd/config.  If you use kbd, then /etc/kbd/config should contain
+lines of this kind:
+
+CONSOLE_FONT=Lat15-Terminus16.psf
+CONSOLE_MAP=iso15.acm
+
+If you use console-tools, then /etc/console-tools/config should
+contain lines of this kind:
+
+SCREEN_FONT=Lat15-Terminus16.psf
+APP_CHARSET_MAP=iso15.acm
+
+The Terminus font is being developed by Dimitar Toshkov Zhekov
+<jimmy@is-vn.bg>, http://www.is-vn.bg/hamster/
+
+ -- Anton Zinoviev <zinoviev@debian.org>, Fri, 20 Nov 2009 13:50:34 +0200
--- xfonts-terminus-4.30.orig/debian/control
+++ xfonts-terminus-4.30/debian/control
@@ -0,0 +1,78 @@
+Source: xfonts-terminus
+Maintainer: Anton Zinoviev <zinoviev@debian.org>
+Section: fonts
+Priority: optional
+Standards-Version: 3.8.1
+Build-Depends: debhelper (>=5.0.32), trscripts (>= 1.16), xfonts-utils, bdf2psf
+
+Package: xfonts-terminus
+Architecture: all
+Section: fonts
+Priority: optional
+Depends: xfonts-utils, ${misc:Depends}
+Suggests: xserver | xfs, xfonts-terminus-oblique
+Description: Fixed-width fonts for fast reading
+ These are fixed-width fonts suitable for terminals, editors, etc.
+ If you have to work for extended time in front of monitor (i.e. over
+ eight hours), you may find that using of these fonts reduces your
+ eyes-fatigue.
+ .
+ This package contains normal and bold fonts in the following sizes:
+ 6x12, 8x14, 8x16, 10x20, 11x22, 12x24, 14x28 and 16x32 and supports the
+ following encodings: ISO10646-1, ISO8859-1, ISO8859-2, ISO8859-5,
+ ISO8859-9, ISO8859-13, ISO8859-15, ISO8859-16, KOI8-R, KOI8-U, CP1251
+ and PT154.
+
+Package: xfonts-terminus-oblique
+Architecture: all
+Section: fonts
+Priority: extra
+Depends: xfonts-utils, ${misc:Depends}
+Recommends: xfonts-terminus
+Suggests: xserver | xfs
+Description: Oblique version of the Terminus font
+ This package contains oblique versions of the fonts in the package
+ xfonts-terminus.  These fonts are automatically generated and at
+ present are not supported by the upstream maintainer.  They have much
+ lower quality than the original fonts.  Nevertheless they can be
+ useful for some programs such as GNU Emacs and XEmacs.
+ .
+ This package contains normal and bold oblique fonts in the following
+ in following sizes: 6x12, 8x14, 8x16, 10x20, 11x22, 12x24, 14x28 and 16x32
+ and supports the following encodings: ISO10646-1, ISO8859-1,
+ ISO8859-2, ISO8859-5, ISO8859-9, ISO8859-13, ISO8859-15, ISO8859-16,
+ KOI8-R, KOI8-U, CP1251 and PT154.
+
+Package: xfonts-terminus-dos
+Architecture: all
+Section: fonts
+Priority: optional
+Depends: xfonts-utils, ${misc:Depends}
+Suggests: xserver | xfs
+Enhances: dosemu
+Description: Fixed-width fonts for DOS encodings
+ These are nice fixed-width fonts in various DOS encodings.  They are
+ mostly suitable for use in Dosemu, but can be used also in
+ terminals, editors, etc.
+ .
+ This package supports the following code-pages: CP437, CP850, CP852,
+ CP855, CP860, CP863, CP865, CP866, MIK and RUSCII.
+
+Package: console-terminus
+Architecture: all
+Section: fonts
+Priority: optional
+Depends: ${misc:Depends}
+Recommends: kbd | console-tools
+Suggests: console-setup
+Conflicts: console-cyrillic (<= 0.9-11)
+Description: Fixed-width fonts for fast reading on the Linux console
+ This package installs in /usr/share/consolefonts several console
+ variants of the Terminus font.  If you have to work for extended time
+ in front of monitor (i.e. over eight hours), you may find that using
+ of these fonts reduces your eyes-fatigue.
+ .
+ The following charsets are supported: western European Latin, central
+ European Latin, Turkish Latin, Romanian Latin, Slavic Cyrillic and
+ Asian Cyrillic (Bashkyr, Kazakh, Mongolian and others).
+
--- xfonts-terminus-4.30.orig/debian/copyright
+++ xfonts-terminus-4.30/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Anton Zinoviev <zinoviev@debian.ort>.
+
+It was downloaded from http://www.is-vn.bg/hamster/
+
+The Terminus Font was created by and is a property of Dimitar Toshkov Jekov
+(jimmy@ncp.infonet.bg).
+
+You can use and distribute this archive freely and without charge under the
+terms of the GNU General Public License version 2.0 or (at your choice) any
+later version.
+
+To avoid name conflicts with another products named "Terminus", the archive
+should be distributed as "Terminus Font", not "Terminus".
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL.  If
+not, write to the Free Software Foundation, Inc., 51 Franklin St,
+Fifth Floor, Boston, MA 02110-1301 USA
+
+The fonts from the package xfonts-terminus-oblique are automatically
+generated from the fonts in xfonts-terminus using the script
+bdfslant.pl.  This script has the following copyright:
+
+Copyright (C) 1994-95 Cronyx Ltd, author: Serge Vakulenko, <vak@cronyx.ru>
+Changes Copyright (C) 1995-1997 by Andrey A. Chernov, Moscow, Russia.
+Changes (C) 2000 by Serge Winitzki
+
+This software may be used, modified, copied, distributed, and sold,
+in both source and binary form provided that the above copyright
+and these terms are retained. Under no circumstances is the author
+responsible for the proper functioning of this software, nor does
+the author assume any responsibility for damages incurred with its use.
+
--- xfonts-terminus-4.30.orig/debian/generate_aliases
+++ xfonts-terminus-4.30/debian/generate_aliases
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+template () {
+    cat <<EOF
+12	-xos4-terminus-medium-r-normal--12-120-72-72-c-60
+14	-xos4-terminus-medium-r-normal--14-140-72-72-c-80
+16	-xos4-terminus-medium-r-normal--16-160-72-72-c-80
+20	-xos4-terminus-medium-r-normal--20-200-72-72-c-100
+22	-xos4-terminus-medium-r-normal--22-220-72-72-c-110
+24	-xos4-terminus-medium-r-normal--24-240-72-72-c-120
+28	-xos4-terminus-medium-r-normal--28-280-72-72-c-140
+32	-xos4-terminus-medium-r-normal--32-320-72-72-c-160
+bold-12	-xos4-terminus-bold-r-normal--12-120-72-72-c-60
+bold-14	-xos4-terminus-bold-r-normal--14-140-72-72-c-80
+bold-16	-xos4-terminus-bold-r-normal--16-160-72-72-c-80
+bold-20	-xos4-terminus-bold-r-normal--20-200-72-72-c-100
+bold-22	-xos4-terminus-bold-r-normal--22-220-72-72-c-110
+bold-24	-xos4-terminus-bold-r-normal--24-240-72-72-c-120
+bold-28	-xos4-terminus-bold-r-normal--28-280-72-72-c-140
+bold-32	-xos4-terminus-bold-r-normal--32-320-72-72-c-160
+EOF
+}
+
+name=$1
+encodings=$2
+
+xenc () {
+    case "$1" in
+	cp1251)
+	    echo microsoft-cp1251;;
+	pt154)
+	    echo paratype-pt154;;
+	mik)
+	    echo bulgarian-mik;;
+	ruscii)
+	    echo ukrainian-ruscii;;
+	cp*)
+	    echo ibm-$1;;
+	*)
+	    echo $1;;
+    esac
+}
+
+for enc in $encodings; do
+    case "$enc" in
+	iso-*)
+	    enc=iso${enc#iso-};;
+	ibm*)
+	    enc=cp${enc#ibm};;
+    esac
+    template | 
+    while read size x; do
+	if [ "$enc" = unicode ]; then
+	    echo "$name-$size	$x-iso10646-1"
+	else
+	    echo "$name-$enc-$size	$x-`xenc $enc`"
+	fi
+    done
+done
+
--- xfonts-terminus-4.30.orig/debian/rules
+++ xfonts-terminus-4.30/debian/rules
@@ -0,0 +1,196 @@
+#!/usr/bin/make -f
+
+# Copyright (C) 2002 Anton Zinoviev <zinoviev@debian.org>
+
+# This software may be used, modified, copied, distributed, and sold,
+# in both source and binary form provided that the copyright
+# and these terms are retained. Under no circumstances is the author
+# responsible for the proper functioning of this software, nor does
+# the author assume any responsibility for damages incurred with its use.
+
+SHELL = /bin/bash
+
+X_ENCODINGS=unicode cp1251 pt154 koi8-r koi8-u iso-8859-1 iso-8859-2	\
+		iso-8859-5 iso-8859-7 iso-8859-9 iso-8859-13		\
+		iso-8859-15 iso-8859-16
+
+DOS_ENCODINGS=ibm437 ibm850 ibm852 ibm855 ibm860 ibm863 ibm865 ibm866	\
+		ibm869 mik ruscii
+
+ENCODINGS=$(X_ENCODINGS) $(DOS_ENCODINGS)
+
+SOURCE_BDFS = $(wildcard \
+			ter-u12[nb].bdf \
+			ter-u14[nb].bdf \
+			ter-u16[nb].bdf \
+			ter-u20[nb].bdf \
+			ter-u22[nb].bdf \
+			ter-u24[nb].bdf \
+			ter-u28[nb].bdf \
+			ter-u32[nb].bdf \
+		)
+
+CONSOLE_CODESETS = CyrAsia CyrKoi CyrSlav Lat15 Lat2 Lat7 Greek Uni2 Uni3
+
+CONSOLE_FACES = Terminus12x6 Terminus14 Terminus16 Terminus24x12 \
+	Terminus22x11 Terminus20x10 Terminus28x14 Terminus32x16 \
+	TerminusBold12x6 TerminusBold14 TerminusBold16 TerminusBold20x10 \
+	TerminusBold22x11 TerminusBold24x12 TerminusBold28x14 \
+	TerminusBold32x16 TerminusBoldVGA14 TerminusBoldVGA16
+
+oblique_bdfs = $(SOURCE_BDFS:%.bdf=%o.bdf)
+
+convertors=$(addsuffix _conv, $(ENCODINGS))
+
+new_x_bdfs = $(foreach enc, $(X_ENCODINGS), \
+		$(addsuffix _$(enc).bdf, $(SOURCE_BDFS:%.bdf=%)))
+
+new_oblique_bdfs = $(foreach enc, $(X_ENCODINGS), \
+			$(addsuffix _$(enc).bdf, $(oblique_bdfs:%.bdf=%)))
+
+new_dos_bdfs = $(foreach enc, $(DOS_ENCODINGS), \
+		$(addsuffix _$(enc).bdf, $(SOURCE_BDFS:%.bdf=%)))
+
+new_bdfs = $(new_x_bdfs) $(new_oblique_bdfs) $(new_dos_bdfs)
+
+psf_fonts = $(sort $(foreach face, $(CONSOLE_FACES), \
+			$(addsuffix -$(face).psf, $(CONSOLE_CODESETS))))
+
+compressed_x_fonts = $(new_x_bdfs:%.bdf=%.pcf.gz)
+
+compressed_oblique_fonts = $(new_oblique_bdfs:%.bdf=%.pcf.gz)
+
+compressed_dos_fonts = $(new_dos_bdfs:%.bdf=%.pcf.gz)
+
+compressed_psf_fonts = $(addsuffix .gz, $(psf_fonts))
+
+compressed_fonts = $(compressed_x_fonts) $(compressed_oblique_fonts) \
+			$(compressed_dos_fonts) $(compressed_psf_fonts)
+
+Terminus12x6-BDFS = ter-u12n.bdf
+Terminus14-BDFS = ter-u14n.bdf
+Terminus16-BDFS = ter-u16n.bdf
+Terminus20x10-BDFS = ter-u20n.bdf
+Terminus22x11-BDFS = ter-u22n.bdf
+Terminus24x12-BDFS = ter-u24n.bdf
+Terminus28x14-BDFS = ter-u28n.bdf
+Terminus32x16-BDFS = ter-u32n.bdf
+TerminusBold12x6-BDFS = ter-u12b.bdf
+TerminusBold14-BDFS = ter-u14b.bdf
+TerminusBold16-BDFS = ter-u16b.bdf
+TerminusBold20x10-BDFS = ter-u20b.bdf
+TerminusBold22x11-BDFS = ter-u22b.bdf
+TerminusBold24x12-BDFS = ter-u24b.bdf
+TerminusBold28x14-BDFS = ter-u28b.bdf
+TerminusBold32x16-BDFS = ter-u32b.bdf
+TerminusBoldVGA14-BDFS = ter-u14v.bdf
+TerminusBoldVGA16-BDFS = ter-u16v.bdf
+
+# These fonts can be used only with framebuffer
+fb_psf_fonts = $(filter %x6.psf %x10.psf %x11.psf %x12.psf %x14.psf %x16.psf, \
+		 $(psf_fonts))
+$(fb_psf_fonts) : fb_option = --fb
+
+# These fonts can be used in text-mode
+nonfb_psf_fonts = $(filter-out %x6.psf %x10.psf %x11.psf %x12.psf \
+			%x14.psf %x16.psf, $(psf_fonts))
+$(nonfb_psf_fonts) : fb_option =
+
+# i.e. CyrAsia/Terminus14
+$(psf_fonts) : codeset/face = $(subst -,/,$(@:%.psf=%))
+# i.e. CyrAsia/
+$(psf_fonts) : codeset/ = $(dir $(codeset/face))
+# i.e. CyrAsia
+$(psf_fonts) : codeset = $(subst /,-,$(codeset/:%/=%))
+# i.e. Terminus14
+$(psf_fonts) : face = $(strip $(notdir $(codeset/face)))
+# i.e. /usr/share/bdf2psf/fontsets/CyrAsia.512
+$(psf_fonts) : codesetfile = \
+		$(wildcard /usr/share/bdf2psf/fontsets/$(codeset).*)
+# i.e. 512
+$(psf_fonts) : size = $(subst .,,$(suffix $(codesetfile)))
+
+equivalents = /usr/share/bdf2psf/standard.equivalents
+required.set = /usr/share/bdf2psf/required.set
+useful.set = /usr/share/bdf2psf/useful.set
+
+$(psf_fonts) :
+	bdf2psf $(fb_option) $($(face)-BDFS) $(equivalents) \
+		$(required.set)+$(codesetfile)+:$(useful.set) \
+                $(size) $@
+
+%.gz : %
+	gzip -9 <$< >$@
+
+$(oblique_bdfs) : %o.bdf : %.bdf
+	perl debian/bdfslant.pl -unjag <$< >$@
+
+$(convertors):
+	trbdf -f unicode -t $(@:_conv=) --no-fallback -s >$@
+
+$(new_bdfs) : basename_encoding = $(subst _,/,$(@:%.bdf=%))
+$(new_bdfs) : basename = $(subst /,,$(dir $(basename_encoding)))
+$(new_bdfs) : encoding = $(notdir $(basename_encoding))
+# It's not possible to use prerequisite like $(encoding)_conv here:
+$(new_bdfs) : $(SOURCE_BDFS) $(oblique_bdfs) $(convertors)
+	awk -f $(encoding)_conv <$(basename).bdf >$@
+
+%.pcf : %.bdf
+	bdftopcf $< >$@
+
+$(new_psfs) :
+	$(MAKE) $@
+
+build: $(compressed_fonts)
+
+.PHONY : clean
+clean:
+	dh_testdir
+	$(MAKE) clean
+	-rm -rf $(convertors) $(oblique_bdfs) $(new_bdfs) $(compressed_fonts) $(psf_fonts)
+	dh_clean
+
+.PHONY : install
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_install -pxfonts-terminus $(compressed_x_fonts) usr/share/fonts/X11/misc
+	dh_install -pxfonts-terminus-oblique $(compressed_oblique_fonts) usr/share/fonts/X11/misc
+	dh_install -pxfonts-terminus-dos $(compressed_dos_fonts) usr/share/fonts/X11/misc
+	dh_install -pconsole-terminus $(compressed_psf_fonts) usr/share/consolefonts
+	dh_install -pxfonts-terminus debian/xfonts-terminus.alias etc/X11/fonts/misc
+	sh debian/generate_aliases terminus "$(X_ENCODINGS)" >>debian/xfonts-terminus/etc/X11/fonts/misc/xfonts-terminus.alias
+	dh_install -pxfonts-terminus-dos debian/xfonts-terminus-dos.alias etc/X11/fonts/misc
+	sh debian/generate_aliases terminus-dos "$(DOS_ENCODINGS)" >>debian/xfonts-terminus-dos/etc/X11/fonts/misc/xfonts-terminus-dos.alias
+	dh_install -pxfonts-terminus debian/50-enable-terminus.conf etc/fonts/conf.avail
+	dh_link -pxfonts-terminus etc/fonts/conf.avail/50-enable-terminus.conf etc/fonts/conf.d/50-enable-terminus.conf
+	dh_link
+
+# Build architecture-independent files here.
+.PHONY : binary-indep
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installxfonts
+	dh_installdocs -A README README-BG
+#	dh_installexamples
+#	dh_installman
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+#	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+.PHONY : binary-arch
+binary-arch : build install
+# We have nothing to do by default.
+
+.PHONY : binary
+binary : binary-indep binary-arch
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus-dos.README.Debian
+++ xfonts-terminus-4.30/debian/xfonts-terminus-dos.README.Debian
@@ -0,0 +1,27 @@
+If you want to use the Terminus font in Dosemu, make sure that in
+/etc/dosemu/dosemu.conf or in ~/.dosemurc there is a line of the form:
+
+$_X_font="terminus-dos-CODEPAGE-SIZE"
+
+or
+
+$_X_font="terminus-dos-CODEPAGE-bold-SIZE"
+
+Here SIZE can be 12, 14, 16, 20, 24, 28 or 32 and CODEPAGE can be
+cp437, cp850, cp852, cp855, cp860, cp863, cp865, cp866, mik or ruscii.
+
+These are the recommended display modes and monitor sizes by the
+upstream author:
+
+Font Size       Display Mode    Monitor Size
+------------    ------------    ------------
+8x14		640x400		14" or less
+8x16		640x480		14"
+10x20		800x600		15"
+12x24		1024x768	17"
+14x28		1152x864	19" or more
+
+The upstream author of Terminus font is Dimitar Zhekov
+http://www.is-vn.bg/hamster
+
+ -- Anton Zinoviev <zinoviev@debian.org>, Thu Oct 21 19:17:19 2004
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus-dos.alias
+++ xfonts-terminus-4.30/debian/xfonts-terminus-dos.alias
@@ -0,0 +1,14 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Run the command `update-fonts-alias misc' if you edit this file. !!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!
+!! We need to define an alias "vga" in order to avoid complains by
+!! xdosemu.  The same alias is defined also in the package
+!! xfonts-dosemu but this shouldn't make any harm because both fonts
+!! provide the same functionality.
+!!
+!!
+vga	-xos4-terminus-medium-r-normal--16-160-72-72-c-80-ibm-cp437
+!!
+!!
+!!
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus-dos.preinst
+++ xfonts-terminus-4.30/debian/xfonts-terminus-dos.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    CONFFILE="$1"
+
+    if [ -e "$CONFFILE" ]; then
+        echo "Removing obsolete conffile $CONFFILE ..."
+        rm -f "$CONFFILE"
+    fi
+}
+
+case "$1" in
+    install|upgrade)
+	# Version 4.20-5.1 (etch) left obsolete conffile behind.
+	rm_conffile "/etc/X11/fonts/X11R7/misc/xfonts-terminus-dos.alias"
+	;;
+    
+    abort-upgrade)
+	;;
+    
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus-oblique.README.Debian
+++ xfonts-terminus-4.30/debian/xfonts-terminus-oblique.README.Debian
@@ -0,0 +1,10 @@
+Oblique version of the Terminus font
+--------------------------------------
+
+This package contains oblique versions of the fonts in the package
+xfonts-terminus.  These fonts are automatically generated and at
+present are not supported by the upstream maintainer.  They have lower
+quality than the original fonts.  Nevertheless they can be useful for
+some programs such as GNU Emacs and XEmacs.
+
+ -- Anton Zinoviev <zinoviev@debian.org>, Thu Oct 21 22:26:46 2004
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus.README.Debian
+++ xfonts-terminus-4.30/debian/xfonts-terminus.README.Debian
@@ -0,0 +1,40 @@
+The Terminus font uses the following X-names:
+
+-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
+-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
+-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
+-xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1
+-xos4-terminus-medium-r-normal--22-220-72-72-c-110-iso10646-1
+-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
+-xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
+-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
+-xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1
+-xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1
+-xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
+-xos4-terminus-bold-r-normal--20-200-72-72-c-100-iso10646-1
+-xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1
+-xos4-terminus-bold-r-normal--28-280-72-72-c-140-iso10646-1
+-xos4-terminus-bold-r-normal--32-320-72-72-c-160-iso10646-1
+
+The FOUNDRY-CHARSET combination may also be iso8859-1, iso8859-2,
+iso8859-5, iso8859-7, iso8859-9, iso8859-15, iso8859-13, iso8859-16,
+koi8-r, koi8-u, microsoft-cp1251 and paratype-pt154.
+
+For convenience aliases are also provided.  Look at the file
+/etc/X11/fonts/misc/xfonts-terminus.alias
+
+Please note that the upstream author recommends the following 
+display modes and monitor sizes:
+
+Font Size       Display Mode    Monitor Size
+------------	------------	------------
+8x14		640x400		14" or less
+8x16		640x480		14"
+10x20		800x600		15"
+12x24		1024x768	17"
+14x28		1152x864	19" or more
+
+The upstream author of Terminus font is Dimitar Zhekov
+http://www.is-vn.bg/hamster
+
+ -- Anton Zinoviev <zinoviev@debian.org>, Fri, 20 Nov 2009 13:51:52 +0200
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus.alias
+++ xfonts-terminus-4.30/debian/xfonts-terminus.alias
@@ -0,0 +1,4 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Run the command `update-fonts-alias misc' if you edit this file. !!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!
--- xfonts-terminus-4.30.orig/debian/xfonts-terminus.preinst
+++ xfonts-terminus-4.30/debian/xfonts-terminus.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    CONFFILE="$1"
+
+    if [ -e "$CONFFILE" ]; then
+        echo "Removing obsolete conffile $CONFFILE ..."
+        rm -f "$CONFFILE"
+    fi
+}
+
+case "$1" in
+    install|upgrade)
+	# Version 4.20-5.1 (etch) left obsolete conffile behind.
+	rm_conffile "/etc/X11/fonts/X11R7/misc/xfonts-terminus.alias"
+	;;
+    
+    abort-upgrade)
+	;;
+    
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0