--- aa3d-1.0.orig/debian/dirs
+++ aa3d-1.0/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/aa3d
--- aa3d-1.0.orig/debian/copyright
+++ aa3d-1.0/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Uwe Hermann <uwe@debian.org> on
+Mon, 22 Oct 2001 23:20:07 +0200.
+
+It was downloaded from:
+
+    http://aa-project.sourceforge.net/aa3d/
+
+Upstream Authors:
+
+    Jan Hubicka <hubicka@freesoft.cz>
+    Thomas Marsh <tmarsh@austin.ibm.com>
+
+-------------------------------------------------------------------------------
+
+Files: *
+Copyright: © 1996,1997 Jan Hubicka <hubicka@freesoft.cz>
+           © 1996,1997 Thomas Marsh <tmarsh@austin.ibm.com>
+License: GPL-2+
+
+On systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+-------------------------------------------------------------------------------
+
+Files: debian/*
+Copyright: © 2001 - 2008 Uwe Hermann <uwe@debian.org>
+License: PD
+   The packaging done by Uwe Hermann <uwe@debian.org> is hereby
+   released as public domain.
+
--- aa3d-1.0.orig/debian/aa3d.1
+++ aa3d-1.0/debian/aa3d.1
@@ -0,0 +1,58 @@
+.TH AA3D 1 "January 1, 2002"
+.SH NAME
+aa3d \- An ASCII art stereogram generator
+.SH SYNOPSIS
+.B aa3d
+.RI [ options ] " < file"
+.SH DESCRIPTION
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+.PP
+.B aa3d
+is a program which generates the well-known and popular random dot stereograms
+in ASCII art.
+.SH OPTIONS
+.TP
+.BR \-w " width"
+The image width. Default: 80.
+.TP
+.BR \-s " step"
+The size of the repeating sequence. Default: 12.
+.TP
+.BR \-t " text"
+The text which is used to generate the background.
+.TP
+.BR \-r
+Disable random text placement.
+.TP
+.BR \-f " file"
+Use
+.B file
+as input for the raster.
+.TP
+.BR \-d
+Use digits instead of letters.
+.SH BUGS
+Please report any bugs you find to Jan Hubicka <hubicka@freesoft.cz>.
+.SH LICENSE
+.B aa3d
+is covered by the GNU General Public License (GPL).
+.SH AUTHOR
+Jan Hubicka <hubicka@freesoft.cz>
+.PP
+This manual page was written by Uwe Hermann <uwe@debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
+.SH SEE ALSO
+.BR aafire (1),
+.BR aainfo (1),
+.BR aasavefont (1),
+.BR aatest (1),
+.BR aaflip (1),
+.BR aa3d (1),
+.BR aatv (1),
+.BR aview (1),
+.BR asciiview (1),
+.BR bb (1),
+.BR xaos (6).
+.PP
+You can also checkout the aalib info pages...
--- aa3d-1.0.orig/debian/changelog
+++ aa3d-1.0/debian/changelog
@@ -0,0 +1,86 @@
+aa3d (1.0-8.4.201403111003) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Tue, 11 Mar 2014 10:03:30 +0100
+
+aa3d (1.0-8) unstable; urgency=low
+
+  * Add 'Depends: ${misc:Depends}' (lintian).
+  * Make package description a bit more verbose.
+
+ -- Uwe Hermann <uwe@debian.org>  Mon, 02 Mar 2009 21:50:17 +0100
+
+aa3d (1.0-7) unstable; urgency=low
+
+  * debian/control:
+     + Standards-Version: 3.8.0 (no changes required).
+     + Add Homepage field.
+  * debian/copyright: Convert to machine-readable format.
+  * debian/watch: Add file.
+
+ -- Uwe Hermann <uwe@debian.org>  Wed, 23 Jul 2008 22:43:18 +0200
+
+aa3d (1.0-6) unstable; urgency=low
+
+  * Standards-Version: 3.7.2 (no changes required).
+  * Remove emacs cruft from debian/changelog.
+
+ -- Uwe Hermann <uwe@debian.org>  Wed, 11 Apr 2007 05:39:35 +0200
+
+aa3d (1.0-5) unstable; urgency=low
+
+  * Standards-Version: 3.6.2.0 (no changes).
+  * Simplified the packaging a bit.
+  * debian/copyright: Be more verbose. My packaging is public domain.
+  * Moved my changes from the diff.gz to debian/patches.
+  * Switched to debhelper 5 (cdbs).
+
+ -- Uwe Hermann <uwe@debian.org>  Fri, 14 Apr 2006 19:12:49 +0200
+
+aa3d (1.0-4) unstable; urgency=low
+
+  * Distinguish between Copyright Holder and License in debian/copyright
+    (Closes: #302945, #302890).
+  * Removed article from short description (see developers reference).
+
+ -- Uwe Hermann <uwe@debian.org>  Wed, 13 Apr 2005 22:19:44 +0200
+
+aa3d (1.0-3) unstable; urgency=low
+
+  * Switched to cdbs.
+     + Build-Depends: debhelper (>> 4.1.46), cdbs
+  * Standards-Version: 3.6.1.0 (no changes required).
+  * Fixed typo in package description and in the manpage.
+
+ -- Uwe Hermann <uwe@debian.org>  Sun, 27 Mar 2005 07:44:29 +0200
+
+aa3d (1.0-2) unstable; urgency=low
+
+  * debian/aa3d.1: Removed "SEE ALSO" link to bb_snd_server(1), which
+    doesn't exist anymore. Added a lot of other manpages to the "SEE ALSO"
+    section.
+  * Changed my email address to uwe@debian.org.
+  * debian/control, debian/rules: Smaller fixes and typos.
+
+ -- Uwe Hermann <uwe@debian.org>  Tue,  1 Jan 2002 21:31:52 +0100
+
+aa3d (1.0-1) unstable; urgency=low
+
+  * Initial Release (Closes: #116400).
+  * aa3d.c: Fixed the comment header, which was talking about xaos (I guess
+    the upstream author cut'n'pasted it from xaos). Fixed a few typos.
+    Added missing <string.h>. Cosmetic changes.
+  * Use hubicka@freesoft.cz as the email address of the upstream author
+    everywhere, as this is used in the latest aalib release and the
+    probability of it being correct is quite high.
+  * Makefile: Add support for $DEB_BUILD_OPTIONS. Added some
+    standard Makefile stuff.
+  * README: Major fixes (typos as well as content). Updated URLs of the
+    download location, the homepage and the mailinglists subscription page.
+  * README.Debian: Added a short usage help.
+  * I wrote a manpage for aa3d.
+  * Upload sponsored by Ralf Treinen <treinen@debian.org>.
+
+ -- Uwe Hermann <uh1763@hermann-uwe.de>  Tue, 23 Oct 2001 22:25:05 +0200
+
--- aa3d-1.0.orig/debian/compat
+++ aa3d-1.0/debian/compat
@@ -0,0 +1 @@
+5
--- aa3d-1.0.orig/debian/rules
+++ aa3d-1.0/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+DEB_INSTALL_MANPAGES_aa3d := debian/aa3d.1
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+install/aa3d::
+	install aa3d $(CURDIR)/debian/aa3d/usr/bin
+	install -m 0644 logo pyramid $(CURDIR)/debian/aa3d/usr/share/aa3d
+
--- aa3d-1.0.orig/debian/control
+++ aa3d-1.0/debian/control
@@ -0,0 +1,20 @@
+Source: aa3d
+Section: graphics
+Priority: optional
+Maintainer: Uwe Hermann <uwe@debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Standards-Version: 3.8.0
+Homepage: http://aa-project.sourceforge.net/aa3d/
+
+Package: aa3d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ASCII art stereogram generator
+ This program generates the well-known and popular random dot stereograms
+ in ASCII art.
+ .
+ Features:
+   * High quality ASCII art stereogram rendering
+   * Highly configurable
+   * User friendly command line interface (including full online help)
+
--- aa3d-1.0.orig/debian/README.Debian
+++ aa3d-1.0/debian/README.Debian
@@ -0,0 +1,16 @@
+aa3d for Debian
+---------------
+
+To create an ASCII art stereogram run aa3d and provide an input file on stdin.
+
+Example:
+  aa3d < /usr/share/aa3d/logo
+
+There are only two input files provided with this package:
+  * /usr/share/aa3d/logo
+  * /usr/share/aa3d/pyramid
+
+But you can of course create your own input files.
+Read /usr/share/doc/aa3d/README.gz for details.
+
+ -- Uwe Hermann <uwe@debian.org>, Mon, 22 Oct 2001 23:20:07 +0200
--- aa3d-1.0.orig/debian/docs
+++ aa3d-1.0/debian/docs
@@ -0,0 +1 @@
+README
--- aa3d-1.0.orig/debian/watch
+++ aa3d-1.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/aa-project/aa3d-(.+)\.tar\.gz
--- aa3d-1.0.orig/debian/patches/00_typos_and_small_fixes.patch
+++ aa3d-1.0/debian/patches/00_typos_and_small_fixes.patch
@@ -0,0 +1,211 @@
+diff -Naur aa3d-1.0.orig/README aa3d-1.0/README
+--- aa3d-1.0.orig/README	1998-08-18 18:48:58.000000000 +0200
++++ aa3d-1.0/README	2005-07-08 18:55:34.000000000 +0200
+@@ -24,42 +24,49 @@
+ BPZRZ[IDK_ZIBPZRZ[IDK_ZIBPZR[IDK_ZIBPZR[[IDK_ZIBPZ[[IDK_ZIBPZ[[IDDK_ZIBPZ[[IDDK_
+ ET_^__[\VEXJET_^__[\VEXJET_^__[\VEXJET_^__[\VEXJET_^__[\VEXJET_^__[\VEXJET_^__[\
+ 
+-                    AA3D - ASCII art stereogram generator
++                   aa3d - An ASCII art stereogram generator
+ 
+                        "New dimension for ASCII art"
+ 
+-AA-project releases so called technology demo for it's new 3d stereogram
+-technology (ASCII-3D-2000). It uses well known and popular random dot
+-stereograms in ASCII ART (try to see above example). This technology will
++The AA-project releases a so called technology demo for its new 3D stereogram
++technology (ASCII-3D-2000). It uses the well known and popular random dot
++stereograms in ASCII art (try to see above example). This technology will
+ be soon included into mainstream AA-lib release (planned for new AA-lib 99). 
+-Code is complettely year 2000 compliant now and unicode support is comming soon!
+-Separate teams are working at hardware acceleration chips to be released before
++Code is completely year 2000 compliant now and unicode support is coming soon!
++Separate teams are working on hardware acceleration chips to be released before
+ year 2000.
+ 
+-FEATURES
++
++Features
+ ========
+- o High quality ascii art stereogram rendering
++
++ o High quality ASCII art stereogram rendering
+  o Highly configurable
+  o User friendly command line interface (including full online help)
+  o Year 2000 compliant
+ 
+-DOWNLOAD
++
++Download
+ ========
+ 
+-aa3d-1.0.tar.gz is avilable from AA-project ftp site:
+-ftp://ftp.ta.jcu.cz/pub/aa/aa3d-1.0.tar.gz
++aa3d is available from:
++
++http://prdownloads.sourceforge.net/aa-project/aa3d-1.0.tar.gz
+ 
+-HOMEPAGE
++
++Homepage
+ ========
+ 
+-http://www.ta.jcu.cz/aa/aa3d
++http://aa-project.sourceforge.net/aa3d/
++
+ 
+-USAGE
++Usage
+ =====
+ 
+-Aa3d is stand alone program to convert simple text file 3d maps to stereogram.
+-Input file should look as above:
++aa3d is a standalone program to convert simple text file 3D maps to a
++stereogram.
+ 
++The input file should look a bit like this:
+ 
+                    11111111111111111111111111111111111
+                    11111111111111111111111111111111111
+@@ -79,7 +86,7 @@
+                    11111111111111111111111111111111111
+                    11111111111111111111111111111111111
+ 
+-And result of ``aa3d <pyramid'' is:
++The result of 'aa3d < /usr/share/aa3d/pyramid' is:
+ 
+ GJTR`KMJN[LSGJTR`KMJN[LSGJTR`KMJN[LSGJTR`KMJN[LSGJTR`KMJN[LSGJTR`KMJN[LSGJTR`KMJ
+ ]KMQ\\SP]UMY]KMQ\\SP]UMY]KMQ\\SPUMY]KMQ\\SPUMY]KMQ\\SPUMY]KMQ\\SPUMMY]KMQ\\SPUMM
+@@ -101,12 +108,11 @@
+ ]L[\[Z`EFM[[]L[\[Z`EFM[[]L[\[Z`EM[[]L[\[Z`EM[[]L[\[Z`EM[[]L[\[Z`EM[[[]L[\[Z`EM[[
+ HTHE\JXLNQLGHTHE\JXLNQLGHTHE\JXLNQLGHTHE\JXLNQLGHTHE\JXLNQLGHTHE\JXLNQLGHTHE\JXL
+ 
+-Following options are available:
++The following options are available:
+ 
+-Options:
+--w width   Image width (80)
+--s step    Size of repeating seqence (12)
+--t text    Text used to generate background
++-w width   The image width (80)
++-s step    The size of the repeating sequence (12)
++-t text    The text used to generate the background
+ -r         Disable random text placement
+ -f file    Use file as input for raster
+ -d         Use digits instead of letters
+@@ -122,31 +128,35 @@
+                            dT    8  8    Tb
+                           dT     8  8     Tb
+    
+-Three goals of AA-Project:
++The three goals of the AA-Project:
+ 
+-  1. Port all important software (like Doom, Second Reality, X windows
+-     etc..) on AA-lib.
++  1. Port all important software (like Doom, Second Reality, X window
++     etc.) to AA-lib.
+ 
+-  2. Port AA-lib on all available platforms (mainly ZX-Spectrum and
++  2. Port AA-lib to all available platforms (mainly ZX-Spectrum and
+      Sharp).
+ 
+   3. Force IBM to start manufacturing MDA cards again.
+ 
+-   AA-project was started by Jan Hubicka. In that times just a few
+-people knew about it. Then a new demo named BB has been relased to show
+-the power of AA-lib technology. Now the project is freely available and
++AA-project was started by Jan Hubicka. Back then just a few
++people knew about it. Then a new demo named BB has been released to show
++the power of the AA-lib technology. Now the project is freely available and
+ anyone can help.
+ 
+-Where to find AA3d
+-==================
+ 
+-   Just join our mailing list: `aa@horac.ta.jcu.cz'. Send:
+-subscribe aa
+-to majordomo@horac.ta.jcu.cz
+-
+-   All programs covered under AA-project can be obtained at
+-`ftp://ftp.ta.jcu.cz://pub/aa'.
+-
+-   Or just browse our homepage at `http://www.ta.jcu.cz://aa'. A ton of
+-examples of ascii-art generated by aalib, pointers to other AA-Project
+-resources etc.
++Mailinglists
++============
++
++You can join any of the AA-project mailinglists here:
++
++http://sourceforge.net/mail/?group_id=20003
++
++
++AA-Project Homepage
++===================
++
++http://aa-project.sourceforge.net/
++
++There are lots of examples of ASCII art generated by AA-lib, pointers to
++other AA-project resources etc.
++
+diff -Naur aa3d-1.0.orig/aa3d.c aa3d-1.0/aa3d.c
+--- aa3d-1.0.orig/aa3d.c	1998-08-18 17:53:18.000000000 +0200
++++ aa3d-1.0/aa3d.c	2005-07-08 18:55:34.000000000 +0200
+@@ -1,9 +1,9 @@
+ 
+ /* 
+- *     XaoS, a fast portable realtime fractal zoomer 
+- *                  Copyright (C) 1996,1997 by
++ * aa3d -- an ASCII art stereogram generator.
++ * Copyright (C) 1996,1997 by
+  *
+- *      Jan Hubicka          (hubicka@paru.cas.cz)
++ *      Jan Hubicka          (hubicka@freesoft.cz)
+  *      Thomas Marsh         (tmarsh@austin.ibm.com)
+  *
+  * This program is free software; you can redistribute it and/or modify
+@@ -20,9 +20,13 @@
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  */
++
+ #include <stdio.h>
++#include <string.h>
+ #include <stdlib.h>
++
+ static char data[65536 / 2];
++
+ int main(int argc, char **argv)
+ {
+     int x, y, s, l = 0, l2 = 0, letter;
+@@ -33,6 +37,7 @@
+     int digit = 0;
+     char *string = NULL;
+     FILE *f = NULL;
++
+     for (s = 1; s < argc; s++) {
+ 	if (s < argc - 1 && !strcmp(argv[s], "-w"))
+ 	    width = atol(argv[s + 1]), s++;
+@@ -51,12 +56,12 @@
+ 	    digit = 1;
+ 	else {
+ 	    printf("Unknown option %s\n\n", argv[s]);
+-	    printf("ASCII-art stereogram generator version 1.0 by Jan Hubicka <hubicka@freesoft.cz>\n\n"
++	    printf("ASCII art stereogram generator version 1.0 by Jan Hubicka <hubicka@freesoft.cz>\n\n"
+ 		   "Usage: %s [options] < file\n\n"
+-	           "File consist from spaces and digits representing depth\n\n"
++	           "The input file consist of spaces and digits representing depth.\n\n"
+ 		   "Options:\n"
+ 		   "-w width   Image width (80)\n"
+-		   "-s step    Size of repeating seqence (12)\n"
++		   "-s step    Size of repeating sequence (12)\n"
+ 		   "-t text    Text used to generate background\n"
+ 		   "-r         Disable random text placement\n"
+ 		   "-f file    Use file as input for raster\n"
+@@ -110,5 +115,5 @@
+ 	    while (!l2 && s != EOF && s != '\n')
+ 		s = getc(f);
+     }
+-    return 0;
++    return EXIT_SUCCESS;
+ }
--- aa3d-1.0.orig/debian/patches/01_makefile.patch
+++ aa3d-1.0/debian/patches/01_makefile.patch
@@ -0,0 +1,17 @@
+--- Makefile.orig	2006-04-14 18:58:07.000000000 +0200
++++ Makefile	2006-04-14 18:57:46.000000000 +0200
+@@ -1,3 +1,12 @@
+-aa3d: aa3d.c
++CC=gcc
++
++all: aa3d
++
++aa3d: aa3d.o 
++	$(CC) $(CFLAGS) -o aa3d aa3d.o
++
++aa3d.o: aa3d.c
++
+ clean: 
+-	rm -f aa3d.o aa3d
++	rm -f core aa3d.o aa3d
++
