aalib (1.4p5-38) debian-dir only changes

Summary

 debian/changelog                         |  609 +++++++++++++++++++++++++++++++
 debian/clean                             |    3 
 debian/compat                            |    1 
 debian/control                           |   58 ++
 debian/copyright                         |   53 ++
 debian/libaa-bin.install                 |    4 
 debian/libaa-bin.links                   |    3 
 debian/libaa-bin.manpages                |    1 
 debian/libaa-bin.menu                    |    2 
 debian/libaa1-dev.dirs                   |    1 
 debian/libaa1-dev.info                   |    1 
 debian/libaa1-dev.install                |    7 
 debian/libaa1-dev.manpages               |    2 
 debian/libaa1.dirs                       |    1 
 debian/libaa1.docs                       |    3 
 debian/libaa1.install                    |    2 
 debian/libaa1.symbols                    |   91 ++++
 debian/patches/01_roff_format.diff       |   25 +
 debian/patches/02_moude_mouse.diff       |   25 +
 debian/patches/03_manpages.diff          |   99 +++++
 debian/patches/04_fname.diff             |   14 
 debian/patches/05_texinfo.diff           |   14 
 debian/patches/06_man_fix.diff           |   12 
 debian/patches/07_dim_color.diff         |   35 +
 debian/patches/08_symbol_versioning.diff |   24 +
 debian/patches/09_build.diff             |  102 +++++
 debian/patches/10_506718.diff            |   23 +
 debian/rules                             |   53 ++
 debian/watch                             |    3 
 29 files changed, 1271 insertions(+)

    
download this patch

Patch contents

--- aalib-1.4p5.orig/debian/libaa1.docs
+++ aalib-1.4p5/debian/libaa1.docs
@@ -0,0 +1,3 @@
+README
+AUTHORS
+NEWS
--- aalib-1.4p5.orig/debian/libaa1-dev.install
+++ aalib-1.4p5/debian/libaa1-dev.install
@@ -0,0 +1,7 @@
+usr/lib/libaa.so
+usr/lib/libaa.a
+usr/lib/libaa.la
+usr/bin/aalib-config
+usr/include/
+usr/share/man/man3/
+usr/share/aclocal/
--- aalib-1.4p5.orig/debian/compat
+++ aalib-1.4p5/debian/compat
@@ -0,0 +1 @@
+7
--- aalib-1.4p5.orig/debian/libaa-bin.install
+++ aalib-1.4p5/debian/libaa-bin.install
@@ -0,0 +1,4 @@
+usr/bin/aainfo
+usr/bin/aatest
+usr/bin/aafire
+usr/bin/aasavefont
--- aalib-1.4p5.orig/debian/libaa-bin.manpages
+++ aalib-1.4p5/debian/libaa-bin.manpages
@@ -0,0 +1 @@
+man/aafire.1
--- aalib-1.4p5.orig/debian/libaa1-dev.manpages
+++ aalib-1.4p5/debian/libaa1-dev.manpages
@@ -0,0 +1,2 @@
+man/*.3
+man/aalib-config.1
--- aalib-1.4p5.orig/debian/libaa1.symbols
+++ aalib-1.4p5/debian/libaa1.symbols
@@ -0,0 +1,91 @@
+libaa.so.1 libaa1 #MINVER#
+ AA_1.4@AA_1.4 1.4p5
+ aa_ansi_format@AA_1.4 1.4p5
+ aa_attrs@AA_1.4 1.4p5
+ aa_autoinit@AA_1.4 1.4p5
+ aa_autoinitkbd@AA_1.4 1.4p5
+ aa_autoinitmouse@AA_1.4 1.4p5
+ aa_close@AA_1.4 1.4p5
+ aa_createedit@AA_1.4 1.4p5
+ aa_currentfont@AA_1.4 1.4p5
+ aa_defparams@AA_1.4 1.4p5
+ aa_defrenderparams@AA_1.4 1.4p5
+ aa_displayrecommended@AA_1.4 1.4p5
+ aa_dithernames@AA_1.4 1.4p5
+ aa_drivers@AA_1.4 1.4p5
+ aa_edit@AA_1.4 1.4p5
+ aa_editkey@AA_1.4 1.4p5
+ aa_fastrender@AA_1.4 1.4p5
+ aa_flush@AA_1.4 1.4p5
+ aa_font14@AA_1.4 1.4p5
+ aa_font16@AA_1.4 1.4p5
+ aa_font8@AA_1.4 1.4p5
+ aa_font9@AA_1.4 1.4p5
+ aa_fontX13@AA_1.4 1.4p5
+ aa_fontX13B@AA_1.4 1.4p5
+ aa_fontX16@AA_1.4 1.4p5
+ aa_fontcourier@AA_1.4 1.4p5
+ aa_fontgl@AA_1.4 1.4p5
+ aa_fontline@AA_1.4 1.4p5
+ aa_fonts@AA_1.4 1.4p5
+ aa_formats@AA_1.4 1.4p5
+ aa_getevent@AA_1.4 1.4p5
+ aa_getfirst@AA_1.4 1.4p5
+ aa_getkey@AA_1.4 1.4p5
+ aa_getmouse@AA_1.4 1.4p5
+ aa_getrenderparams@AA_1.4 1.4p5
+ aa_gotoxy@AA_1.4 1.4p5
+ aa_help@AA_1.4 1.4p5
+ aa_hidecursor@AA_1.4 1.4p5
+ aa_hidemouse@AA_1.4 1.4p5
+ aa_hp2_format@AA_1.4 1.4p5
+ aa_hp_format@AA_1.4 1.4p5
+ aa_html_alt_format@AA_1.4 1.4p5
+ aa_html_format@AA_1.4 1.4p5
+ aa_image@AA_1.4 1.4p5
+ aa_imgheight@AA_1.4 1.4p5
+ aa_imgwidth@AA_1.4 1.4p5
+ aa_init@AA_1.4 1.4p5
+ aa_initkbd@AA_1.4 1.4p5
+ aa_initmouse@AA_1.4 1.4p5
+ aa_irc_format@AA_1.4 1.4p5
+ aa_kbddrivers@AA_1.4 1.4p5
+ aa_kbdrecommended@AA_1.4 1.4p5
+ aa_mktable@AA_1.4 1.4p5
+ aa_mmheight@AA_1.4 1.4p5
+ aa_mmwidth@AA_1.4 1.4p5
+ aa_more_format@AA_1.4 1.4p5
+ aa_mousedrivers@AA_1.4 1.4p5
+ aa_mouserecommended@AA_1.4 1.4p5
+ aa_nhtml_format@AA_1.4 1.4p5
+ aa_parseoptions@AA_1.4 1.4p5
+ aa_printf@AA_1.4 1.4p5
+ aa_putpixel@AA_1.4 1.4p5
+ aa_puts@AA_1.4 1.4p5
+ aa_recommendhi@AA_1.4 1.4p5
+ aa_recommendhidisplay@AA_1.4 1.4p5
+ aa_recommendhikbd@AA_1.4 1.4p5
+ aa_recommendhimouse@AA_1.4 1.4p5
+ aa_recommendlow@AA_1.4 1.4p5
+ aa_recommendlowdisplay@AA_1.4 1.4p5
+ aa_recommendlowkbd@AA_1.4 1.4p5
+ aa_recommendlowmouse@AA_1.4 1.4p5
+ aa_registerfont@AA_1.4 1.4p5
+ aa_render@AA_1.4 1.4p5
+ aa_renderpalette@AA_1.4 1.4p5
+ aa_resize@AA_1.4 1.4p5
+ aa_resizehandler@AA_1.4 1.4p5
+ aa_roff_format@AA_1.4 1.4p5
+ aa_scrheight@AA_1.4 1.4p5
+ aa_scrwidth@AA_1.4 1.4p5
+ aa_setfont@AA_1.4 1.4p5
+ aa_setsupported@AA_1.4 1.4p5
+ aa_showcursor@AA_1.4 1.4p5
+ aa_showmouse@AA_1.4 1.4p5
+ aa_text@AA_1.4 1.4p5
+ aa_text_format@AA_1.4 1.4p5
+ aa_uninitkbd@AA_1.4 1.4p5
+ aa_uninitmouse@AA_1.4 1.4p5
+ aa_zephyr_format@AA_1.4 1.4p5
+ mem_d@AA_1.4 1.4p5
+ save_d@AA_1.4 1.4p5
--- aalib-1.4p5.orig/debian/libaa1.install
+++ aalib-1.4p5/debian/libaa1.install
@@ -0,0 +1,2 @@
+usr/lib/libaa.so.1.*
+usr/lib/libaa.so.1
--- aalib-1.4p5.orig/debian/rules
+++ aalib-1.4p5/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+apply-patches:
+	[ -f patches-applied ] || \
+	for f in `ls -1 debian/patches/*.diff` ; do echo "applying patch $$f" ; patch -p0 < $$f ; done
+	touch patches-applied
+
+revert-patches:
+	[ ! -f patches-applied ] || \
+	for f in `ls -r -1 debian/patches/*.diff` ; do echo "reverting patch $$f" ; patch -R -p0 < $$f ; done
+	rm -f patches-applied
+
+clean: revert-patches
+binary-indep:
+
+build: apply-patches build-stamp
+build-stamp:
+	dh build --before configure
+	libtoolize --force
+	aclocal
+	autoheader
+	automake --add-missing
+	autoconf
+	dh_auto_configure -- --with-curses-driver
+	dh build --after configure
+	$(MAKE) -C doc
+	touch build-stamp
+
+install: build
+	dh install --until dh_prep
+	dh_installchangelogs -plibaa1 ChangeLog
+	# Doc dir symlinks come before installdocs.
+	dh_link -plibaa1-dev /usr/share/doc/libaa1 /usr/share/doc/libaa1-dev
+	dh_link -plibaa-bin /usr/share/doc/libaa1 /usr/share/doc/libaa-bin
+	dh_link -plibaa1-dbg /usr/share/doc/libaa1 /usr/share/doc/libaa1-dbg
+	dh install --remaining -v
+
+	# Remove -lgpm from libaa.la
+	sed s/-lgpm// debian/libaa1-dev/usr/lib/libaa.la > \
+	              debian/libaa1-dev/usr/lib/libaa.la.new
+	mv -f debian/libaa1-dev/usr/lib/libaa.la.new \
+	      debian/libaa1-dev/usr/lib/libaa.la
+
+binary-arch: install
+	dh_strip -Nlibaa-bin --dbg-package=libaa1-dbg
+	dh binary-arch --remaining --until dh_makeshlibs
+	# Version 1.2 is not compatable with version 1.0
+	dh_makeshlibs -V 'libaa1 (>= 1.2)'
+	dh binary-arch --after dh_makeshlibs
+
+binary: binary-indep binary-arch
--- aalib-1.4p5.orig/debian/libaa1-dev.dirs
+++ aalib-1.4p5/debian/libaa1-dev.dirs
@@ -0,0 +1 @@
+usr/lib usr/include
--- aalib-1.4p5.orig/debian/libaa-bin.menu
+++ aalib-1.4p5/debian/libaa-bin.menu
@@ -0,0 +1,2 @@
+?package(libaa-bin): needs="text" section="Games/Toys" \
+	title="AA Fire" command="aafire -driver slang"
--- aalib-1.4p5.orig/debian/libaa1.dirs
+++ aalib-1.4p5/debian/libaa1.dirs
@@ -0,0 +1 @@
+usr/lib
--- aalib-1.4p5.orig/debian/control
+++ aalib-1.4p5/debian/control
@@ -0,0 +1,58 @@
+Source: aalib
+Section: libs
+Priority: optional
+Maintainer: Bart Martens <bartm@debian.org>
+Build-Depends: dpkg-dev (>= 1.14.9), debhelper (>= 7), libslang2-dev, libx11-dev, libxt-dev, libncurses5-dev, libgpmg1-dev | not+linux-gnu, autoconf, libtool (>= 1.3.5), automake | automake1.10, dpkg-dev (>= 1.9.0), texinfo, patch
+Standards-Version: 3.8.0
+Homepage: http://aa-project.sourceforge.net/aalib/
+
+Package: libaa1-dev
+Architecture: any
+Section: libdevel
+Depends: libaa1 (>= 1.2-18), libx11-dev, libslang2-dev, libncurses5-dev, ${misc:Depends}
+Replaces: aalib1-dev
+Conflicts: aalib1-dev
+Description: ascii art library, development kit
+ AAlib is a portable ascii art graphics library. Internally, it works like
+ a graphics display, but the output is rendered into platform-independent
+ ascii graphics.
+ .
+ This package contains the static library and header files used in
+ development, plus developer's documentation.
+
+Package: libaa1
+Architecture: any
+Provides: aalib1
+Replaces: aalib1
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ascii art library
+ AAlib is a portable ascii art graphics library. Internally, it works like
+ a graphics display, but the output is rendered into gorgeous platform
+ independent ascii graphics.
+
+Package: libaa-bin
+Architecture: any
+Section: text
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Provides: aalib-bin
+Conflicts: aalib-bin
+Replaces: aalib-bin
+Description: sample programs using aalib
+ AAlib is a portable ascii art graphics library. Internally, it works like
+ a graphics display, but the output is rendered into gorgeous platform
+ independent ascii graphics.
+ .
+ This package contains a few sample programs that use aalib.
+
+Package: libaa1-dbg
+Architecture: any
+Priority: extra
+Depends: libaa1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: ascii art library, debugging symbols
+ AAlib is a portable ascii art graphics library. Internally, it works like
+ a graphics display, but the output is rendered into gorgeous platform
+ independent ascii graphics.
+ .
+ This package contains the debugging symbols associated with AAlib. gdb
+ will automatically use these symbols when debugging programs linked with
+ AAlib.
--- aalib-1.4p5.orig/debian/copyright
+++ aalib-1.4p5/debian/copyright
@@ -0,0 +1,53 @@
+This is a Debian prepackaged version of aalib.
+
+This package was put together by Joey Hess <joeyh@debian.org>, using
+sources from:
+	http://aa-project.sourceforge.net/aalib
+
+ *               AA-lib, an ascii-art gfx library
+ *                  Copyright (C) 1998,1999,2001 by
+ *
+ *      Jan Hubicka          (hubicka@freesoft.cz)
+ *      Kamil Toman          (toman@artax.karlin.mff.cuni.cz)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Library General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+
+On Debian systems, the complete text of the GNU Library (now Lesser) public
+license can be found in the file /usr/share/common-licenses/LGPL
+
+The file src/aalinuxkbd.c contains this copyright and license information :
+
+/* Raw keyboard mode driver for linux console by Jan Hubicka.
+ * This driver is based on:
+ * librawkey v0.21 - (c) 1994, 1995 Russell Marks
+ * This library may be freely used/copied/modified provided this copyright
+ * notice is left intact.
+
+The files
+   doc/aalib.info
+   doc/aalib.info-1
+   doc/aalib.info-2
+   doc/aalib.info-3
+   doc/aalib.texinfo
+contain this copyright and license information :
+
+      (C) 1997 Jan Hubicka & Kamil Toman
+   
+      Permission is granted to make and distribute verbatim copies of this
+   manual provided the copyright notice and this permission notice are
+   preserved on all copies.
+
+The file man/aalib-config.1 contains this copyright and license information :
+
+   Copyright \(co  1998 Owen Taylor
+   
+   Permission to use, copy, modify, and distribute this software and its
+   documentation for any purpose and without fee is hereby granted,
+   provided that the above copyright notice appear in all copies and that
+   both that copyright notice and this permission notice appear in
+   supporting documentation.
+
--- aalib-1.4p5.orig/debian/libaa1-dev.info
+++ aalib-1.4p5/debian/libaa1-dev.info
@@ -0,0 +1 @@
+doc/*.info doc/*.info-*
--- aalib-1.4p5.orig/debian/changelog
+++ aalib-1.4p5/debian/changelog
@@ -0,0 +1,609 @@
+aalib (1.4p5-38) unstable; urgency=low
+
+  * debian/patches/10_506718.diff: Added.  Closes: #506718.
+  * debian/control: Standards-Version.
+
+ -- Bart Martens <bartm@debian.org>  Sat, 28 Feb 2009 10:29:28 +0100
+
+aalib (1.4p5-37) unstable; urgency=low
+
+  * New maintainer.  Closes: #482480.
+  * debian/control: Removed joeyh's Vcs-Git.
+  * debian/copyright: Updated to add some licenses.
+  * debian/patches/01_roff_format.diff: Added.  Closes: #181558.
+  * debian/patches/06_man_fix.diff: Added.  Fixes "`l' not defined".
+  * debian/patches/*: Moved some existing fixes to patches.
+  * debian/rules, debian/control: Added simple mechanism for patches.
+  * debian/rules: Fixed debian-rules-missing-required-target.
+  * debian/watch: Updated to mangle the versions to 1.4~rc5.
+
+ -- Bart Martens <bartm@debian.org>  Thu, 22 May 2008 19:15:59 +0200
+
+aalib (1.4p5-36) unstable; urgency=low
+
+  * Use debhelper v7, rules file minimisation.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 23 Apr 2008 23:14:34 -0400
+
+aalib (1.4p5-35) unstable; urgency=low
+
+  * Use automake --add-missing.  Closes: #467602
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 26 Feb 2008 16:14:17 -0500
+
+aalib (1.4p5-34) unstable; urgency=low
+
+  * Remove -l and -L from dh_shlibdeps call.
+  * Lintian fixes.
+  * Loosen build-dep on automake.
+  * Remove leading whitespace in info dir entry, as this is preserved
+    by current versions of texinfo and breaks install-info. Closes: #466951
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 24 Feb 2008 14:47:23 -0500
+
+aalib (1.4p5-33) unstable; urgency=low
+
+  * Add a symbols file.
+  * Add Homepage field.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 19 Nov 2007 14:28:15 -0500
+
+aalib (1.4p5-32) unstable; urgency=low
+
+  * Add a -dbg package with separated debugging symbols.
+  * debhelper v5
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 22 Apr 2007 19:26:29 -0400
+
+aalib (1.4p5-31) unstable; urgency=low
+
+  * Patch from Jindrich Makovicka to make the curses driver behave better
+    (and more like the slang driver) in its display of dim letters, by using
+    black + bold instead of the dim attribute. The dim attribute is not
+    supported by the linux console or by many X terminals. Closes: #406367
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 10 Jan 2007 16:48:59 -0500
+
+aalib (1.4p5-30) unstable; urgency=low
+
+  * Fix libaa-bin test in menu file.
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 18 Dec 2005 16:58:45 -0500
+
+aalib (1.4p5-29) unstable; urgency=low
+
+  * Removed transitional aalib1 package. Closes: #320867
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 26 Sep 2005 19:41:07 +0200
+
+aalib (1.4p5-28) unstable; urgency=low
+
+  * Switch watch file to use sf redirector.
+  * Patch from Alastair McKinstry to drop aalib's private library deps from
+    aalib-config --libs. Programs linking to aalib should now only need to
+    link with -laa. This should also remove such innecessary dependencies from
+    packages using aalib. Closes: #316740
+  * Fix a typo in aalib-config.1
+  * Patch from Alastair McKinstry to rename binary package names to fit
+    policy: aalib1 -> libaa1, aalib1-dev -> libaa1-dev, aalib-bin -> libaa-bin
+    Closes: #315418
+  * All packages depending on aalib need to be updated and rebuilt for
+    both the slang2 transition and the rename.
+  * Temporarily includes an aalib1 dummy package, to avoid dependency
+    headaches. Will be removed after everything is recompiled.
+
+ -- Joey Hess <joeyh@debian.org>  Sun,  3 Jul 2005 10:28:20 -0400
+
+aalib (1.4p5-27) unstable; urgency=low
+
+  * Build-depending on libx11-dev is not enough; also build-depend on
+    libxt-dev. Closes: #316557
+
+ -- Joey Hess <joeyh@debian.org>  Fri,  1 Jul 2005 15:55:47 -0400
+
+aalib (1.4p5-26) unstable; urgency=low
+
+  * Also export save_d and mem_d, the two documented symbols not in aa_*.
+    Fixes gimp plugin. Closes: #315606
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 23 Jun 2005 18:55:51 -0400
+
+aalib (1.4p5-25) unstable; urgency=low
+
+  * Use versioned symbols: only export aa_* symbols. Patch from Alastair
+    McKinstry. Closes: #315419
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 22 Jun 2005 19:53:23 -0400
+
+aalib (1.4p5-24) unstable; urgency=low
+
+  * Previous version introduced a dep on texinfo by rebuilding the manual
+    each time instead of shipping a large patch. Fix build-depends.
+    Closes: #315369
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 22 Jun 2005 11:51:57 -0400
+
+aalib (1.4p5-23) unstable; urgency=low
+
+  * Update aalib.m4 to remove warning. Closes: #305284 
+  * Switch to slang2. Closes: #304750, #315092, #295313
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 18 Apr 2005 22:34:27 -0400
+
+aalib (1.4p5-22) unstable; urgency=low
+
+  * Fix typo in menu file. Closes: #263815
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  5 Aug 2004 17:57:00 -0400
+
+aalib (1.4p5-21) unstable; urgency=low
+
+  * Install info files before compressing. Closes: #249378
+  * Add not+linux-gnu as an alternative to libgpm1g-dev to support the bsd's
+    and etc. Closes: #258875
+  * Move aalib.m4 to /usr/share/aclocal. Closes: #260947
+  * Quote strings in menu item.
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  3 Aug 2004 19:57:30 -0400
+
+aalib (1.4p5-20) unstable; urgency=low
+
+  * Build-depend and depend on libx11-dev, following the xlibs-dev split.
+    Closes: #241054
+  * Make aalib-config --static-libs include -lgpm on Linux, and fixed help
+    and man page to document that option. Closes: #240742
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 30 Mar 2004 19:48:15 -0500
+
+aalib (1.4p5-19) unstable; urgency=low
+
+  * Fix KEY_MOUDE/KEY_MOUSE typo. Closes: #221243
+  * Build with --with-curses-driver to try to enable ncurses support
+    (aalib already links to and depends on ncurses)
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 19 Nov 2003 16:37:04 -0500
+
+aalib (1.4p5-18) unstable; urgency=low
+
+  * Updated to use automake 1.7.
+  * Got the diff down to maneagable size again.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 10 Jun 2003 13:19:46 -0400
+
+aalib (1.4p5-17) unstable; urgency=low
+
+  * Added back mistakenly removed call to dh_installinfo. Closes: #160899
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 10 Jun 2003 12:16:22 -0400
+
+aalib (1.4p5-16) unstable; urgency=low
+
+  * Fixed copyright statement. Closes: #156360
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 17 Aug 2002 23:12:40 -0400
+
+aalib (1.4p5-15) unstable; urgency=low
+
+  * Fix missing aalib1 dep when built on aa-free system.
+    Closes: #152789
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 25 Jul 2002 19:15:56 -0400
+
+aalib (1.4p5-14) unstable; urgency=low
+
+  * Use debhelper v4.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 13 Jun 2002 19:53:30 -0400
+
+aalib (1.4p5-13) unstable; urgency=low
+
+  * Revert as it doesn't, Closes: #140808
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  2 Apr 2002 20:05:19 -0500
+
+aalib (1.4p5-12) unstable; urgency=low
+
+  * Have aalib1-dev depend on | slang1-utf8-dev; I guess that'll work.
+    Closes: #140808
+
+ -- Joey Hess <joey@kitenet.net>  Mon,  1 Apr 2002 12:45:28 -0500
+
+aalib (1.4p5-11) unstable; urgency=low
+
+  * Remove -rpath /usr/lib junk.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 13 Mar 2002 12:52:48 -0500
+
+aalib (1.4p5-10) unstable; urgency=low
+
+  * Remove -lgpm from libaa.la, Closes: #133156
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 10 Feb 2002 12:41:57 -0500
+
+aalib (1.4p5-9) unstable; urgency=low
+
+  * Turns out it actually needs to build-dep on automake1.5. Closes: #127587
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  3 Jan 2002 02:25:52 -0500
+
+aalib (1.4p5-8) unstable; urgency=low
+
+  * Needs to build-dep on automake, Closes: #127209
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 31 Dec 2001 16:29:11 -0500
+
+aalib (1.4p5-7) unstable; urgency=low
+
+  * Hacked configure (and ultimatly aalib-config) to not have gpm on the libs
+    list. This lets aalib1-dev lose its dependancy on libgpmg1-dev (which is
+    not available on the hurd). Programs like xaos that use the gpm mouse
+    support will continue to have support for it; gpm is pulled in since the
+    aalib library is linked to it. Closes: #102275
+  * Reverted the changes of 1.4p5-4 since they are not now necessary (bb will
+    shortly be fixed).
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 25 Dec 2001 23:15:50 -0500
+
+aalib (1.4p5-6) unstable; urgency=low
+
+  * Install a man page I wrote but forgot all about. Closes: #116901
+  * Also install a bunch of .3 man pages.
+  * Wrote a man page for aalib-config.
+  * Updated aafire man page, patch from Uwe Hermann <uh1763@hermann-uwe.de>
+    Closes: #116912
+  * Sent upstream.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 24 Oct 2001 12:01:38 -0400
+
+aalib (1.4p5-5) unstable; urgency=low
+
+  * Ship aalib.m4 in the -dev package. Closes: #115268
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 11 Oct 2001 13:57:45 -0400
+
+aalib (1.4p5-4) unstable; urgency=low
+
+  * Make aalib.h #include aaint.h, and include aaint.h in the -dev package.
+    struct aa_context includes a struct parameters, which is defined in
+    aaint.h. See #112039.
+  * Updated some libtool files to work with current unstable libtool.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 12 Sep 2001 16:54:45 -0400
+
+aalib (1.4p5-3) unstable; urgency=low
+
+  * Corrected info files installation, Closes: #109748
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 23 Aug 2001 12:59:47 -0400
+
+aalib (1.4p5-2) unstable; urgency=low
+
+  * Use fname, not uninitilized tmp in linux_init(), Closes: #97695
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 21 May 2001 15:20:18 -0400
+
+aalib (1.4p5-1) unstable; urgency=low
+
+  * New upstream release candidate, incorporating more of my changes
+    among other things. The diff now consists of just the debian/
+    directory.
+  * Reverted change to aa_hardware_params, since Jan assures me C++ was
+    fixed in another way.
+  * Removed some cruft that crept into my cvs
+  * Let debhelper 3 insert ldconfig calls into postinst automatically.
+  * Added NEWS file to binary package.
+ 
+ -- Joey Hess <joeyh@debian.org>  Wed,  2 May 2001 19:48:55 -0400
+
+aalib (1.4p4-2) unstable; urgency=low
+
+  * Build-dep on libgpm1-dev only for [!hurd-i386], Closes: #95844
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 30 Apr 2001 13:19:49 -0400
+
+aalib (1.4p4-1) unstable; urgency=low
+
+  * New upstream release! (Known upstream as 1.4rc4 -- it's a release
+    candidate. Version mangling is so I can call the real release 1.4r.) 
+  * The aa project is alive again, updated copyright file to point to
+    new homepage.
+  * Most of my changes have been accepted upstream now.
+  * The new upstream release includes updated config.sub/guess files,
+    so it should build on parisc now. Closes: #94794
+  * Included .la file in -dev package.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 25 Apr 2001 17:07:00 -0400
+
+aalib (1.2-w38) unstable; urgency=low
+
+  * Rebuild with current gcc and libc6 should fix atexit problem,
+    Closes: #92643
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  3 Apr 2001 14:11:31 -0700
+
+aalib (1.2-w37) unstable; urgency=low
+
+  * Updated how it handles the doc dir symlinks to something lintian likes
+    better.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 24 Mar 2001 16:57:41 -0800
+
+aalib (1.2-w36) unstable; urgency=low
+
+  * Debhelper v3.
+
+ -- Joey Hess <joeyh@debian.org>  Fri,  9 Feb 2001 17:27:02 -0800
+
+aalib (1.2-w35) unstable; urgency=low
+
+  * Rebuilt with fixed dpkg-dev. Stupid dpkg..
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 14 Jan 2001 14:14:45 -0800
+
+aalib (1.2-w34) unstable; urgency=low
+
+  * Added dependancies on several -dev packages that you will need
+    to link anything with aalib.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 12 Jan 2001 14:24:39 -0800
+
+aalib (1.2-w33) unstable; urgency=low
+
+  * Removed ANNOUNCE since it is just another version of README.
+    Closes: #79524
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 13 Dec 2000 13:04:20 -0800
+
+aalib (1.2-w32) unstable; urgency=low
+
+  * Libtool is not a fool (anymore), removed one gross hack, added a
+    versioned build dependency.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 24 Oct 2000 15:04:16 -0700
+
+aalib (1.2-w31) unstable; urgency=low
+
+  * Small changes to debian/rules to use debhelper v2.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 25 Sep 2000 11:45:37 -0700
+
+aalib (1.2-w30) unstable; urgency=low
+
+  * Specified explicit option to dh_makeshlibs -V, so packages built with
+    this version can be used in potato as well. Closes: #69965.
+  * This package should superscede all other aalib package, including aalib
+    packages built by third parties who messed with the version numbers in 
+    decidedly nasty ways. That's why the -w(oody) is there.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 25 Aug 2000 11:32:18 -0700
+
+aalib (1.2-29) unstable; urgency=low
+
+  * Corrected aalib-bin symlink, Closes: #65828
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 18 Jun 2000 15:59:40 -0700
+
+aalib (1.2-28) unstable; urgency=low
+
+  * Changed aalib-bin's section to misc (seems reasonable, as it's rather
+    similar to bb, which is in there). This would fix bug #65766, but of
+    course this change has no real effect unless the overrides file in
+    modified too.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 16 Jun 2000 15:35:08 -0700
+
+aalib (1.2-27) unstable; urgency=low
+
+  * Added a resize handler to aafire, Closes: #57502
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  1 May 2000 15:08:10 -0700
+
+aalib (1.2-26) unstable; urgency=low
+
+  * Built with ncurses5, Closes: #55657
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 21 Jan 2000 15:25:29 -0800
+
+aalib (1.2-25) unstable; urgency=low
+
+  * Build-Depends on autoconf, libtool, because of a race condition: if you
+    have a slow box, unpacking the source package may yeild a configure.in
+    that in newer than configure, and so it automatically tries to update
+    configure. Closes: #52313, #52172
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  9 Dec 1999 08:25:15 -0800
+
+aalib (1.2-24) unstable; urgency=low
+
+  * Dependancy on debhelper needs to be versioned.
+
+ -- Joey Hess <joeyh@debian.org>  Sat,  4 Dec 1999 12:53:14 -0800
+
+aalib (1.2-23) unstable; urgency=low
+
+  * Oh, it's just Build-Depends, not -Arch. How inconsistent. Closes: #51274
+
+ -- Joey Hess <joeyh@debian.org>  Wed,  1 Dec 1999 13:13:02 -0800
+
+aalib (1.2-22) unstable; urgency=low
+
+  * debian/control: Added build dependancy, Closes: #51274 
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 29 Nov 1999 14:07:08 -0800
+
+aalib (1.2-21) unstable; urgency=low
+
+  * Built with newest slang library, Closes: #50685
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 19 Nov 1999 17:00:06 -0800
+
+aalib (1.2-20) unstable; urgency=low
+
+  * Rebuild with full source, a glitch in my build system had caused a
+    non-orig .tar.gz to be uploaded.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 30 Sep 1999 14:44:47 -0700
+
+aalib (1.2-19) unstable; urgency=low
+
+  * Updated libtool for the hurd folks. Closes: #44535
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  7 Sep 1999 10:54:54 -0700
+
+aalib (1.2-18) unstable; urgency=low
+
+  * FHS. Had to use versioned dependencies to make some of the doc dir
+    symlinks always work. Lintian still complains -- sigh.
+  * Use dh_installinfo, so info pages are FHS too.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  6 Sep 1999 13:00:22 -0700
+
+aalib (1.2-17) unstable; urgency=low
+
+  * Cleaned up the rules file. Individual binary packages now each have
+    their own target.
+
+ -- Joey Hess <joeyh@debian.org>  Fri,  3 Sep 1999 20:47:04 -0700
+
+aalib (1.2-16) unstable; urgency=low
+
+  * Rebuilt with new slang1-dev to fix dependancy problem.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 27 Aug 1999 20:25:27 -0700
+
+aalib (1.2-15) unstable; urgency=low
+
+  * Fixed some typos (closes: #38880)
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  3 Jun 1999 13:22:55 -0700
+
+aalib (1.2-14) unstable; urgency=low
+
+  * Corrected definition of aa_hardware_params (Closes: #34819).
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 20 Mar 1999 21:10:33 -0800
+
+aalib (1.2-13) unstable; urgency=low
+
+  * Er, really applied the patch this time. :-/
+  * Removed man page that had snuck into -dev package.
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 14 Feb 1999 14:01:41 -0800
+
+aalib (1.2-12) unstable; urgency=low
+
+  * Applied patch from edward@hairnet.demon.co.uk that allows you to hit a
+    key to exit aafire (#Closes: 33385).
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 14 Feb 1999 13:47:56 -0800
+
+aalib (1.2-11) unstable; urgency=low
+
+  * Commented out 2 lines in Makefile.in so automake isn't run. This
+    prevents build problems on other platforms (#32415).
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 11 Feb 1999 12:37:26 -0800
+
+aalib (1.2-10) unstable; urgency=low
+
+  * Wrote a manual page for all the programs in the -bin package.
+
+ -- Joey Hess <joeyh@debian.org>  Thu,  4 Feb 1999 16:27:48 -0800
+
+aalib (1.2-9) unstable; urgency=low
+
+  * Applied a patch from Arjan Opmeer <a.d.opmeer@student.utwente.nl> that
+    fixes a rather complex problem that was making aalib programs crash if
+    aalib was built to use slang and the program was running in text mode
+    in an xterm.
+  * Re-enabled slang linkage now that all the bugs with it are fixed.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 21 Jan 1999 11:56:24 -0800
+
+aalib (1.2-8) frozen unstable; urgency=low
+
+  * Fixed aacurses.c so it will actually build.
+  * Fixed configure.in so slang can actually be disabled (typo).
+  * Built with the curses driver instead of the slang one to work around
+    whatever's making the slang driver badly fail. This fixes all apps that
+    use aalib for display output, and it belongs in the frozen tree. (#27695)
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 27 Nov 1998 19:50:43 -0800
+
+aalib (1.2-7) frozen unstable; urgency=low
+
+  * Reupload to frozen. We need this so that other programs linked with
+    aalib can be recompiled for ncurses 4. It was waiting in queue for slink
+    when slink froze, and got installed into potato instead. :-(
+
+ -- Joey Hess <joeyh@debian.org>  Tue,  3 Nov 1998 12:37:22 -0800
+
+aalib (1.2-6) unstable; urgency=low
+
+  * Rebuilt with ncurses 4.
+  * Disabled building of libc5 compatability packages, they've never worked
+    right and nothing uses them. (Since textdoom is stalled.)
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 30 Oct 1998 14:34:47 -0800
+
+aalib (1.2-5) unstable; urgency=low
+
+  * Build libc5 versions of the library too. This is needed for the aavga
+    package, so people can get squake working in ascii art mode.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  7 Sep 1998 16:01:03 -0700
+
+aalib (1.2-4) unstable; urgency=low
+
+  * Hacked configure.in to properly link library with -lc.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 31 Aug 1998 19:34:53 -0700
+
+aalib (1.2-3) unstable; urgency=low
+
+  * For some reason it no longer built properly. Fixed some symlink creation
+    so it does again.
+  * Fixed calling of ldconfig so it happens only if $1 = configure.
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 30 Aug 1998 21:51:46 -0700
+
+aalib (1.2-2) frozen unstable; urgency=low
+
+  * Make postinst call ldconfig as manadated by newest packaging manual.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 16 Apr 1998 17:28:13 -0700
+
+aalib (1.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Not backward compatablie with aalib 1.0, yet the soname has not changed
+    (sigh). Dealt with this in the shlibs file.
+  * Build an aalib-bin package. (#17505).
+  * Hacked libtool to not pass -rpath.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  9 Mar 1998 12:40:03 -0800
+
+aalib (1.0-3) unstable; urgency=low
+
+  * Rebuilt with debhelper 0.60 to fix several mode 444 files.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  9 Feb 1998 12:55:56 -0800
+
+aalib (1.0-2) unstable; urgency=low
+
+  * Run ldconfig in postinst.
+  * Fixed self-referencing provides (#16720).
+  * Explicitly link aa lib library with -lc, -lX11, -lslang, -lgpm,
+    so dependancies get set properly. (#17656)
+  * Added a Makefile to /usr/doc/aalib1-dev/examples/, to make it more 
+    clear what you need to link aalib programs with.
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 30 Jan 1998 16:44:12 -0800
+
+aalib (1.0-1) unstable; urgency=low
+
+  * First release.
+  * Modified Makefile.in to build shared library too, thanks to William
+    Thompson <wakko@kitenet.net>.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 13 Dec 1997 20:17:50 -0500
--- aalib-1.4p5.orig/debian/watch
+++ aalib-1.4p5/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="dversionmangle=s/(\d)p(\d+)$/$1~rc$2/,uversionmangle=s/(\d)[\-_]?(rc\d+|pre\d+a?)$/$1~$2/;s/[\-\.](source|src|orig|unix)$//;s/^(\d{8})/0.0.$1/;s/-(bin|osx)$/~$1/;s/^v(\d)/$1/;" \
+http://sf.net/aa-project/aalib[\-_](v?[\d\.]+(?:rc|rc\d+|-unix|-source|-src|\.src|\.orig|[a-z]|b\d+|beta\d+-src|beta\d+)?)\.(?:tar\.gz|tgz|tar\.bz2|zip|pm\.gz|jar|shar\.gz|shar\.Z)
--- aalib-1.4p5.orig/debian/libaa-bin.links
+++ aalib-1.4p5/debian/libaa-bin.links
@@ -0,0 +1,3 @@
+/usr/share/man/man1/aafire.1 /usr/share/man/man1/aainfo.1
+/usr/share/man/man1/aafire.1 /usr/share/man/man1/aatest.1
+/usr/share/man/man1/aafire.1 /usr/share/man/man1/aasavefont.1
--- aalib-1.4p5.orig/debian/clean
+++ aalib-1.4p5/debian/clean
@@ -0,0 +1,3 @@
+Makefile.in aclocal.m4 config.guess depcomp config.sub ltmain.sh configure
+doc/Makefile.in src/Makefile.in man/Makefile.in doc/Makefile src/Makefile
+man/Makefile src/config.h.in doc/aalib.info
--- aalib-1.4p5.orig/debian/patches/06_man_fix.diff
+++ aalib-1.4p5/debian/patches/06_man_fix.diff
@@ -0,0 +1,12 @@
+Fixes manpage-has-errors-from-man "`l' not defined".
+
+--- ../orig/aalib-1.4p5/man/aalib-config.1	2008-05-25 06:55:44.000000000 +0200
++++ man/aalib-config.1	2008-05-25 10:45:30.000000000 +0200
+@@ -12,7 +12,6 @@
+ to the .m4 macros for GNU autoconf that are included with \fIaalib\fP.
+ .
+ .SH OPTIONS
+-.l
+ \fIaalib-config\fP accepts the following options:
+ .TP 8
+ .B  \-\-version
--- aalib-1.4p5.orig/debian/patches/02_moude_mouse.diff
+++ aalib-1.4p5/debian/patches/02_moude_mouse.diff
@@ -0,0 +1,25 @@
+Patch by Sam Hocevar <sam@zoy.org> 17 Nov 2003
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221243
+
+--- ../upstream/aalib-1.4.0/src/aacurkbd.c	2001-04-26 17:03:52.000000000 +0200
++++ src/aacurkbd.c	2008-05-22 19:15:12.000000000 +0200
+@@ -112,7 +112,7 @@
+ 	return (AA_UP);
+     case KEY_DOWN:
+ 	return (AA_DOWN);
+-#ifdef KEY_MOUDE
++#ifdef KEY_MOUSE
+     case KEY_MOUSE:
+ #ifdef GPM_MOUSEDRIVER
+ 	if (!__curses_usegpm)
+--- ../upstream/aalib-1.4.0/src/aastdin.c	2001-04-26 16:37:31.000000000 +0200
++++ src/aastdin.c	2008-05-22 19:15:12.000000000 +0200
+@@ -88,7 +88,7 @@
+     if (c > 0 && c < 127 && c != 127)
+ 	return (c);
+     switch (c) {
+-#ifdef KEY_MOUDE
++#ifdef KEY_MOUSE
+     case KEY_MOUSE:
+ 	return AA_MOUSE
+ #endif
--- aalib-1.4p5.orig/debian/patches/08_symbol_versioning.diff
+++ aalib-1.4p5/debian/patches/08_symbol_versioning.diff
@@ -0,0 +1,24 @@
+Patch by Alastair McKinstry <mckinstry@debian.org> 22 Jun 2005
+Later edited by Debian package maintainer.
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315419
+
+--- ../upstream/aalib-1.4.0/src/Makefile.am	2001-04-26 16:37:31.000000000 +0200
++++ src/Makefile.am	2008-05-22 19:15:12.000000000 +0200
+@@ -57,7 +57,7 @@
+        aaattrs.c \
+        aaputpixel.c \
+        aarecfunc.c 
+-libaa_la_LDFLAGS=@LDFLAGS@ -version-info 1:4:0
++libaa_la_LDFLAGS=@LDFLAGS@ -version-info 1:4:0 -Wl,--version-script=aalib.1.4.ver
+ bin_PROGRAMS=aainfo aatest aafire aasavefont
+ 
+ aainfo_LDADD= libaa.la
+--- ../upstream/src/aalib.1.4.ver	1970-01-01 01:00:00.000000000 +0100
++++ src/aalib.1.4.ver	2008-05-22 19:15:12.000000000 +0200
+@@ -0,0 +1,6 @@
++AA_1.4 {
++	global:
++		aa_*; save_d; mem_d;
++	local:
++		*;
++};
--- aalib-1.4p5.orig/debian/patches/10_506718.diff
+++ aalib-1.4p5/debian/patches/10_506718.diff
@@ -0,0 +1,23 @@
+diff -ruN -x '*.png' -x '*.jpg' -x '*.ogg' -x '*_image_archive' ../orig/aalib-1.4p5/src/aaslnkbd.c ./src/aaslnkbd.c
+--- ../orig/aalib-1.4p5/src/aaslnkbd.c	2001-04-26 17:03:44.000000000 +0200
++++ ./src/aaslnkbd.c	2008-12-26 10:47:45.000000000 +0100
+@@ -76,6 +76,7 @@
+ #endif
+     struct timeval tv;
+     fd_set readfds;
++    int evflag;
+ 
+     if (wait) {
+ 	setjmp(buf);
+@@ -124,7 +125,10 @@
+ 	    return (AA_NONE);
+ 	}
+ 	if ((gpm_fd > -1) && (FD_ISSET(gpm_fd, &readfds))) {
+-	    if (Gpm_GetEvent(&ev) && gpm_handler
++	    evflag = Gpm_GetEvent(&ev);
++	    if ( evflag < 0 )
++		return AA_NONE;
++	    if ( evflag == 1 && gpm_handler
+ 		&& ((*gpm_handler) (&ev, gpm_data))) {
+ 		gpm_hflag = 1;
+ 		return AA_MOUSE;
--- aalib-1.4p5.orig/debian/patches/07_dim_color.diff
+++ aalib-1.4p5/debian/patches/07_dim_color.diff
@@ -0,0 +1,35 @@
+Patch by Jindrich Makovicka <makovick@gmail.com> 10 Jan 2007
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406367
+
+--- ../upstream/aalib-1.4.0/src/aacurses.c	2001-04-26 16:37:31.000000000 +0200
++++ src/aacurses.c	2008-05-22 19:15:12.000000000 +0200
+@@ -36,8 +36,14 @@
+     dest->supported=AA_NORMAL_MASK;
+ #ifdef HAVE_TERMATTRS
+     a = termattrs();
+-    if (a & A_DIM)
++    if (has_colors()) {
++	start_color();
++	init_pair(1, COLOR_BLACK, COLOR_BLACK);
+ 	dest->supported |= AA_DIM_MASK;
++    } else {
++	if (a & A_DIM)
++	    dest->supported |= AA_DIM_MASK;
++    }
+     if (a & A_BOLD)
+ 	dest->supported |= AA_BOLD_MASK;
+     if (a & A_BOLD)
+@@ -86,7 +92,12 @@
+ 	attrset(A_NORMAL);
+ 	break;
+     case AA_DIM:
+-	attrset(A_DIM);
++	if (has_colors()) {
++	    attrset(A_BOLD);
++	    attron(COLOR_PAIR(1));
++	} else {
++	    attrset(A_DIM);
++	}
+ 	break;
+     case AA_BOLD:
+ 	attrset(A_BOLD);
--- aalib-1.4p5.orig/debian/patches/04_fname.diff
+++ aalib-1.4p5/debian/patches/04_fname.diff
@@ -0,0 +1,14 @@
+Patch by Joey Hess <joeyh@debian.org> 21 May 2001
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97695
+
+--- ../upstream/aalib-1.4.0/src/aalinux.c	2001-04-26 16:43:56.000000000 +0200
++++ src/aalinux.c	2008-05-22 19:15:12.000000000 +0200
+@@ -91,7 +91,7 @@
+       sprintf (fname, "/dev/vcsa%i", vt);
+       vc[0] = fopen (fname, "w+");
+       if (vc[0] == NULL)
+-	vc[0] = fopen (tmp, "w"), readonly = 1;
++	vc[0] = fopen (fname, "w"), readonly = 1;
+       nvcs = 1;
+     }
+   if (vc[0] == NULL)
--- aalib-1.4p5.orig/debian/patches/01_roff_format.diff
+++ aalib-1.4p5/debian/patches/01_roff_format.diff
@@ -0,0 +1,25 @@
+Patch by carol <cspears@cablespeed.com> 18 Feb 2003
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181558
+With this patch applied to aalib, Gimp produces better output for:
+  Save as, ASCII art (*.txt, *.ansi, *.text)
+  Format: For including in a man page
+  Save
+
+--- ../orig/aalib-1.4p5/src/aasave.c	2001-04-26 07:37:54.000000000 -0700
++++ src/aasave.c	2003-02-18 15:33:19.000000000 -0800
+@@ -270,13 +270,13 @@
+     NORMALPRINTS,
+     {"",
+      "",
+-     "\n.B ",
++     "\\fB",
+      "",
+      ""
+     },
+     {"",
+      "",
+-     "\n",
++     "\\fP",
+      "",
+      ""
+     },
--- aalib-1.4p5.orig/debian/patches/05_texinfo.diff
+++ aalib-1.4p5/debian/patches/05_texinfo.diff
@@ -0,0 +1,14 @@
+Patch by Daniel Schepler <schepler@math.berkeley.edu> 21 Feb 2008
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466951
+
+--- ../upstream/aalib-1.4.0/./doc/aalib.texinfo	2001-04-26 16:37:31.000000000 +0200
++++ ./doc/aalib.texinfo	2008-05-22 19:15:12.000000000 +0200
+@@ -8,7 +8,7 @@
+ @settitle An ascii-art library
+ @dircategory Libraries
+ @direntry
+- * AA-lib: (aalib).              An ASCII-art graphics library
++* AA-lib: (aalib).              An ASCII-art graphics library
+ @end direntry
+ 
+ 
--- aalib-1.4p5.orig/debian/patches/03_manpages.diff
+++ aalib-1.4p5/debian/patches/03_manpages.diff
@@ -0,0 +1,99 @@
+Patch by Joey Hess <joeyh@debian.org> and Uwe Hermann <uh1763@hermann-uwe.de> 24 Oct 2001
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481707
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=116912
+
+--- ../upstream/aalib-1.4.0/./man/aalib-config.1	1970-01-01 01:00:00.000000000 +0100
++++ ./man/aalib-config.1	2008-05-25 06:55:44.000000000 +0200
+@@ -0,0 +1,52 @@
++.TH AALIB 1
++.SH NAME
++aalib-config - script to get information about the installed version of aalib
++.SH SYNOPSIS
++.B aalib-config
++[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-static-libs] [\-\-cflags]
++.SH DESCRIPTION
++.PP
++\fIaalib-config\fP is a tool that is used to configure to determine
++the compiler and linker flags that should be used to compile
++and link programs that use \fIaalib\fP. It is also used internally
++to the .m4 macros for GNU autoconf that are included with \fIaalib\fP.
++.
++.SH OPTIONS
++.l
++\fIaalib-config\fP accepts the following options:
++.TP 8
++.B  \-\-version
++Print the currently installed version of \fIaalib\fP on the standard output.
++.TP 8
++.B  \-\-libs
++Print the linker flags that are necessary to link a \fIaalib\fP program.
++.TP 8
++.B  \-\-static-libs
++Print the linker flags that are necessary to link a \fIaalib\fP program
++statically.
++.TP 8
++.B  \-\-cflags
++Print the compiler flags that are necessary to compile a \fIaalib\fP program.
++.TP 8
++.B  \-\-prefix=PREFIX
++If specified, use PREFIX instead of the installation prefix that \fIaalib\fP
++was built with when computing the output for the \-\-cflags and
++\-\-libs options. This option is also used for the exec prefix
++if \-\-exec\-prefix was not specified. This option must be specified
++before any \-\-libs or \-\-cflags options.
++.TP 8
++.B  \-\-exec\-prefix=PREFIX
++If specified, use PREFIX instead of the installation exec prefix that
++\fIaalib\fP was built with when computing the output for the \-\-cflags
++and \-\-libs options.  This option must be specified before any
++\-\-libs or \-\-cflags options.
++.SH COPYRIGHT
++Copyright \(co  1998 Owen Taylor
++
++Permission to use, copy, modify, and distribute this software and its
++documentation for any purpose and without fee is hereby granted,
++provided that the above copyright notice appear in all copies and that
++both that copyright notice and this permission notice appear in
++supporting documentation.
++
++Modified for aalib by Joey Hess
+--- ../upstream/aalib-1.4.0/./man/aafire.1	2001-04-26 16:37:31.000000000 +0200
++++ ./man/aafire.1	2008-05-25 10:02:07.000000000 +0200
+@@ -23,10 +23,10 @@
+ programs.
+ .PP
+ All of these programs exist to demonstrate the capabilities of the aalib
+-library, an ascii art library.
++library, an ASCII art library.
+ .PP
+ .B aafire
+-displays burning ascii art flames.
++displays burning ASCII art flames.
+ .PP
+ .B aainfo
+ displays information about what drivers aalib will use for the display,
+@@ -38,6 +38,24 @@
+ .PP
+ .B aatest
+ tests the capabilities of aalib.
++.SH BUGS
++Please report any bugs you find to Jan Hubicka <hubicka@freesoft.cz>.
++.SH LICENSE
++.BR aafire ,
++.BR aainfo ,
++.BR aasavefont ,
++and 
++.BR aatest
++are all covered by the GNU Lesser General Public License (LGPL).
+ .SH AUTHOR
++Jan Hubicka <hubicka@freesoft.cz>
++.PP
+ This manual page was written by Joey Hess,
+ for the Debian GNU/Linux system.
++.SH SEE ALSO
++.BR bb (1),
++.BR aatv (1),
++.BR aview (1),
++.BR asciiview (1),
++.BR aaflip (1),
++.BR xaos (6).
--- aalib-1.4p5.orig/debian/patches/09_build.diff
+++ aalib-1.4p5/debian/patches/09_build.diff
@@ -0,0 +1,102 @@
+Build system changes by Debian package maintainer.
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481704
+
+--- ../orig/aalib-1.4.0/./aalib-config.in	2001-04-26 16:37:31.000000000 +0200
++++ ./aalib-config.in	2008-05-22 19:15:12.000000000 +0200
+@@ -5,7 +5,7 @@
+ exec_prefix_set=no
+ 
+ usage="\
+-Usage: aalib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
++Usage: aalib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--static-libs] [--cflags]"
+ 
+ if test $# -eq 0; then
+       echo "${usage}" 1>&2
+@@ -49,11 +49,14 @@
+       ;;
+ @ENABLE_SHARED_TRUE@    --libs)
+ @ENABLE_SHARED_TRUE@      libdirs="-L@libdir@ @AALIB_RLD_FLAGS@"
+-@ENABLE_SHARED_TRUE@      echo $libdirs @AALIB_LIBS@
++@ENABLE_SHARED_TRUE@      echo $libdirs -laa
+ @ENABLE_SHARED_TRUE@      ;;
+ @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
+ @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)
+ @ENABLE_STATIC_TRUE@      libdirs="-L@libdir@ @AALIB_RLD_FLAGS@"
++@ENABLE_STATIC_TRUE@      if [ "`uname -s`" = Linux ]; then
++@ENABLE_STATIC_TRUE@          printf "%s" "-lgpm "
++@ENABLE_STATIC_TRUE@      fi
+ @ENABLE_STATIC_TRUE@      echo $libdirs @AALIB_LIBS@ 
+ @ENABLE_STATIC_TRUE@      ;;
+     *)
+--- ../orig/aalib-1.4.0/./aalib.m4	2001-04-26 16:37:31.000000000 +0200
++++ ./aalib.m4	2008-05-22 19:15:12.000000000 +0200
+@@ -9,7 +9,7 @@
+ dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+ dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
+ dnl
+-AC_DEFUN(AM_PATH_AALIB,
++AC_DEFUN([AM_PATH_AALIB],
+ [dnl 
+ dnl Get the cflags and libraries from the aalib-config script
+ dnl
+--- ../orig/aalib-1.4.0/./configure.in	2001-04-26 16:37:53.000000000 +0200
++++ ./configure.in	2008-05-22 19:15:12.000000000 +0200
+@@ -1,8 +1,7 @@
+-include(aclocal.m4)
+ AC_INIT(src/aalib.c)
+-AM_INIT_AUTOMAKE(aalib,1.4.0)
+ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
++AM_INIT_AUTOMAKE(aalib,1.4.0)
+ 
+ AM_CONFIG_HEADER(src/config.h)
+ 
+@@ -92,7 +91,8 @@
+                 AC_DEFINE(GPM_MOUSEDRIVER)
+ 	        gpm_mousedriver=true
+ 		CFLAGS="$CFLAGS -I$withval/include"
+-	        AALIB_LIBS="$AALIB_LIBS -L$withval/lib -lgpm"
++dnl See Debian hack below for explination.
++dnl	        AALIB_LIBS="$AALIB_LIBS -L$withval/lib -lgpm"
+ 		AC_MSG_RESULT(defining use_gpm)
+ 	fi
+ )
+@@ -113,7 +113,13 @@
+   AC_CHECK_LIB(gpm, Gpm_Repeat,[
+           AC_DEFINE(GPM_MOUSEDRIVER)
+ 	  gpm_mousedriver=true
+-	  AALIB_LIBS="$AALIB_LIBS -lgpm"
++dnl Debian hack: Don't bother putting gpm on the libs list, so aalib-config
++dnl will not require programs link with gpm. Since aalib itself links to
++dnl gpm, gpm support is still pulled in for client programs, but they need
++dnl not build-depend on it. This means that the -dev package need not
++dnl depend on libgpm1g-dev, which is a good thing since gpm support is not
++dnl available at all on some platforms like the hurd.
++dnl	  AALIB_LIBS="$AALIB_LIBS -lgpm"
+           LIBS="$LIBS -lgpm"])
+ fi
+ 
+@@ -373,9 +379,9 @@
+ 
+ # Set runtime shared library paths as needed
+ 
+-if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then
+-  AALIB_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib"
+-fi
++#if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then
++#  AALIB_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib"
++#fi
+ 
+ if test $ARCH = solaris; then
+   AALIB_RLD_FLAGS="-R\${exec_prefix}/lib"
+--- ../orig/aalib-1.4.0/./Makefile.am	2001-04-26 16:37:52.000000000 +0200
++++ ./Makefile.am	2008-05-22 19:15:12.000000000 +0200
+@@ -1,5 +1,7 @@
+ #AUTOMAKE_OPTIONS = foreign #include-deps
+-SUBDIRS=src man doc
++# Debian mod: don't autorecurse to doc directory; debian/rules runs its
++# targets seperatly.
++SUBDIRS=src man
+ EXTRA_DIST = README.OS2 ANNOUNCE aalib.lsm acconfig.h aalib.m4
+ bin_SCRIPTS = aalib-config
+ m4datadir = $(datadir)/aclocal