--- cadubi-1.3.orig/cadubi +++ cadubi-1.3/cadubi @@ -6,7 +6,7 @@ ## http://langworth.com/CadubiProject ## -eval 'exec /usr/local/stow/perl-5.8.x/bin/perl -w -S $0 ${1+"$@"}' +eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}' if 0; # not running under some shell $VERSION = '1.3'; @@ -17,14 +17,15 @@ # kludge to make this easier (?) for package maintainers # (sorry guys, i wrote this years before i had the remotest clue as to # what the hell i was doing) -use FindBin qw($Bin); -$HELPFILE = "$Bin/help.txt"; +use FindBin qw($Script); +$DOCSDIR = "/usr/share/$Script"; +$HELPFILE = "$DOCSDIR/help.txt"; # other stuff $DEBUG = 0; $CADUBI_VERSION = $VERSION; use Term::ReadKey; -use lib "$Bin/../lib"; +use lib "$Bin/lib"; # global variables $ESC = "\x1b"; # our most important var --- cadubi-1.3.orig/debian/compat +++ cadubi-1.3/debian/compat @@ -0,0 +1 @@ +5 --- cadubi-1.3.orig/debian/dirs +++ cadubi-1.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/cadubi --- cadubi-1.3.orig/debian/control +++ cadubi-1.3/debian/control @@ -0,0 +1,18 @@ +Source: cadubi +Section: graphics +Priority: optional +Maintainer: Marcela Tiznado +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.0.0) + +Package: cadubi +Architecture: all +Depends: perl, libterm-readkey-perl +Description: Creative ASCII Drawing Utility By Ian + CADUBI is an application written in Perl that allows you to draw + text-based images that are viewable on typical unix-based consoles. + Usually the applications that emulate these consoles support various + text modes, such as background and foreground colors, bold, and inverse. + . + This text art, commonly called "ASCII art", is used in various places + such as online BBSes, email and login prompts. --- cadubi-1.3.orig/debian/changelog +++ cadubi-1.3/debian/changelog @@ -0,0 +1,102 @@ +cadubi (1.3-2) unstable; urgency=low + + * Patched with Juan Diaz's patch (Closes: #412465) + * Incorrect perl interpreter path for debian installations + * Wrong initialization of the help file variable to /usr/bin/help.txt + + -- Marcela Tiznado Sun, 20 May 2007 04:09:48 -0300 + +cadubi (1.3-1) unstable; urgency=low + + * New mantainer (Closes: #406350) + * New upstream release (Closes: #235569) + * Fix man page errors, thanks agcosta@gis.net (Closes: #245622) + * Fix encoding problem, thanks stigge@antcom.de (Closes: #338835) + + -- Marcela Tiznado Mon, 29 Jan 2007 03:08:11 -0300 + +cadubi (1.2-6) unstable; urgency=low + + * QA upload. + * Set maintainer to QA Group; Orphaned: #406350 + * Bump compat level to 4, depend on at least dh 4.0.0 + * Update debian/rules, stop using deprecated dh_installmanpages etc. + * Add quotes to debian/menu + * Fix encodig of debian/changelog (Closes: #338835) + * Fix debian/copyright + * Conforms with latest Standards Version 3.7.2 + + -- Michael Ablassmeier Wed, 24 Jan 2007 10:16:23 +0100 + +cadubi (1.2-5) unstable; urgency=low + + * Changed maintainer email. + * Fixing Build-Depends (Closes: #188131) + * New Standards-Version + + -- Teófilo Ruiz Suárez Wed, 3 Sep 2003 21:34:53 +0200 + +cadubi (1.2-4) unstable; urgency=low + + * Sponsoring upload. + * Fixed line in debian/copyright to "sound" proper + + -- Javier Fernandez-Sanguino Pen~a Wed, 26 Feb 2003 11:35:02 +0100 + +cadubi (1.2-3) unstable; urgency=low + + * New Maintainer + + -- Teófilo Ruiz Suárez Sun, 23 Feb 2003 16:07:47 +0100 + +cadubi (1.2-2) unstable; urgency=low + + * Fixed typo in description (Closes: #174498) + * Forgot to add the Debian revision to the 1.2 version, fixing it now :( + * Updated location of the download site + * Updated year of copyright + + -- Javier Fernandez-Sanguino Pen~a Mon, 30 Dec 2002 15:35:25 +0100 + +cadubi (1.2) unstable; urgency=low + + * License change: no complies with the DFSG (solve contradictions in files + with author). Moved from non-free to main. + * Changed debian/copyright to reflect this + + -- Javier Fernandez-Sanguino Pen~a Wed, 7 Nov 2001 12:13:33 +0100 + +cadubi (1.1b1-5) unstable; urgency=low + + * Added a mainpage (provided by Abel Daniel) (Closes: #79171, #112993) + + -- Javier Fernandez-Sanguino Pen~a Sat, 27 Oct 2001 02:45:43 +0200 + +cadubi (1.1b1-4) unstable; urgency=high + + * Fixed my own maintainer name (!) and email address (!!) + + -- Javier Fernandez-Sanguino Pen~a Tue, 13 Mar 2001 20:18:06 +0100 + +cadubi (1.1b1-3) unstable; urgency=high + + * Made a mistake in the control field (did not change correctly the + section) + + -- Javier Fernandez-Sanguino Pen~a Sun, 11 Feb 2001 11:05:27 +0100 + +cadubi (1.1b1-2) unstable; urgency=high + + * Moved to non-free until the license is cleared with the upstream author + + -- Javier Fernandez-Sanguino Pen~a Mon, 5 Feb 2001 14:01:38 +0100 + +cadubi (1.1b1-1) unstable; urgency=low + + * Initial Release. + + -- Javier Fernandez-Sanguino Pen~a Fri, 1 Dec 2000 01:16:06 +0100 + +Local variables: +mode: debian-changelog +End: --- cadubi-1.3.orig/debian/rules +++ cadubi-1.3/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. + +build: build-stamp +build-stamp: + dh_testdir + + + # Add here commands to compile the package. + #$(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. +# -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/cadubi. + #$(MAKE) install DESTDIR=`pwd`/debian/cadubi + install -m755 cadubi debian/cadubi/usr/bin/ + install -m664 logo.txt help.txt debian/cadubi/usr/share/cadubi/ + + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README extras/* + dh_installexamples + dh_installmenu + dh_installman debian/cadubi.1 + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- cadubi-1.3.orig/debian/copyright +++ cadubi-1.3/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Javier Fernandez-Sanguino Pena +on Fri, 1 Dec 2000 01:16:06 +0100. +And it was later (Sun, feb 23 16:20:48 CET 2003) adopted by Teófilo Ruiz Suárez + +And then adopted by Marcela Tiznado on Mon, 29 Jan 2007 03:08:11 -0300 + +It was downloaded from www.logicallemon.com/projects/cadubi (also in +http://www.logicallemon.com/projects/cadubi/downloads/) + +Upstream Author: Ian Langworth + +Copyright: (from the LICENSE file) +CADUBI +(Creative ASCII Drawing Utility By Ian) + +(c)2000, 2001 Logical Lemon Productions +http://www.logicallemon.com/ + +--------------------------------------------------------------------- +COPYRIGHT & DISCLAIMER +--------------------------------------------------------------------- +First, if this eats your machine or you use this application to commit illegal +activity, neither Ian Langworth, Logical Lemon Productions, or anyone involved +in the development of perl is at fault or responsible. + +You expressly acknowledge and agree that use of CADUBI is at your exclusive +risk. CADUBI, any related files and documentation are provided ÒAS ISÓ and +without any warranty of any kind, expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for a +particular purpose. + +Copyright (c) 2000 Ian Langworth. All rights reserved. CADUBI is free software; +you may redistribute it and/or modify it under the same terms as Perl itself. + +Perl license and copyright terms can be found in /usr/share/doc/perl/copyright + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' and +the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- cadubi-1.3.orig/debian/menu +++ cadubi-1.3/debian/menu @@ -0,0 +1,2 @@ +?package(cadubi):needs="vc" section="Apps/Graphics"\ + title="cadubi" command="/usr/bin/cadubi" --- cadubi-1.3.orig/debian/README.Debian +++ cadubi-1.3/debian/README.Debian @@ -0,0 +1,8 @@ +cadubi for Debian +---------------------- + + +I packaged cadubi since I have not seen a decent ascii art image +program yet and seems nice :) + + -- Javier Fernandez-Sanguino Pen~a , Fri, 1 Dec 2000 01:16:06 +0100 --- cadubi-1.3.orig/debian/docs +++ cadubi-1.3/debian/docs @@ -0,0 +1 @@ +README --- cadubi-1.3.orig/debian/cadubi.1 +++ cadubi-1.3/debian/cadubi.1 @@ -0,0 +1,156 @@ +.\" created by Abel Daniel for the Debian Gnu/Linux version, but may be used by + others. +.TH "cadubi" "1" "1.1b1-4" "Abel Daniel" "User commands" +.SH "NAME" +cadubi \- Creative ASCII Drawing Utility By Ian +.SH "DESCRIPTION" +cadubi is an application written in Perl that allows you to draw text\-based +images that are viewable on typical UNIX\-based consoles. Usually the +applications +that emulate these consoles support various text modes, such as background and +foreground colors, bold, and inverse. This text art, commonly called +"ASCII art", is used in various places such as online BBSes, email and +login prompts. +.SH "OPTIONS" +.TP +.B \-h \-\-help +display some documentation +.TP +.BI \-m \-\-mute +turn off beeping +.TP +.BI "\-s ["W "] ["H ] +.TP +.BI "\-\-size ["W "] ["H ] +sets the size of the console for use with cadubi, where W is number of columns +and H is number of rows. +.TP +.B \-v \-\-version +show cadubi's version +.SH "CONFIGURING" +Beeping and command line options can be also set in /usr/bin/cadubi. +.SH "KEYBOARD" +.TP +.B i j k l +Move the cursor around. Holding down shift and typing these keys will move the +ursor five spaces instead of one. +.TP +.B space +Paint the current pen on the screen. +.TP +.B return/enter +Move the cursor down one line and all the way to the left of the console. +.TP +.BI "delete " "or " "backspace " "or "` +Delete the character before the cursor. +.TP +.B p +Prompt for a pen character +.TP +.B f +Prompt for foreground color (see section colors). +.TP +.B b +Prompt for background color (see section colors). +.TP +.B g +Toggle bold mode. +.TP +.B v +Toggle inverse mode. +.TP +.B shift-w +Toggle blink (highly annoying). +.TP +.B t +Enter text mode. This allows you to type like as if you were using a normal +text editor, and all the characters drawn onscreen will use the same mode +as the pen +. +Pressing Esc will exit text mode. +.TP +.B control-w +Refresh the entire screen by redrawing each character. +.TP +.B control-r +Open a file. +.TP +.B control-o +Save the file. +.TP +.B control-h +Show the quick help screen. +.TP +.B control-x +Exit cadubi. +.SH "USING" +Cadubi has a 'pen' which describes the current mode. Properties of the pen are +the painting character, foreground color, background color, bold, inverse, and +blink. Whenever you paint or use the text mode, the characters drawn on the +screen will have the properties of the pen. The current mode of the pen is +shown at the bottom of the console and is what will be drawn on screen +when you paint. +. +Typically, foreground text colors are the same as background colors, unless +the text is bold. If the text is bold, foreground colors are usually lighter +than +the background color, making text easier to read when the text has the same +foreground and background color. Refer to the Quick Help (control-'h') to see +what the colors look like on your console. + +Text mode is an extremely useful feature. Once in the text mode you can type +as if you were using a normal text editor, and all the characters drawn +onscreen will use the same mode as the pen. To enter text mode, +press the 't' key. To exit, press escape. + +When cadubi reads a file, it will only read as much that will fit in the +workspace (the area of the console minus the bottom row [status bar]). To gain +more workspace, see the '-s' operator in section "options". + +Cadubi optimizes its output files to display properly and take up as little +space as possible. All cadubi output can be viewed with the 'cat' utility. + +.SH "COLORS" +The color codes are case-insensitive. +The following color codes can be chosen as fore- or background colors: +.IP +0 or N \- Normal (standard text) +.IP +1 or W \- White +.IP +2 or R \- Red +.IP +3 or G \- Green +.IP +4 or Y \- Yellow +.IP +5 or B \- Blue +.IP +6 or M \- Magenta +.IP +7 or C \- Cyan +.IP +8 or K \- Black +.SH "WARNING" +Cadubi uses escape sequences for things like color. These may differ from +system to system. This means that the file generated by cadubi may +trash your console when viewed with for example cat. +It is generally safe to use the files on the +same type of console as they were generated on. +.SH "AUTHORS" +Cadubi was created and is currently being maintained by Ian Langworth. Please +send all questions, comments, hate mail and bug reports to cadubi@logicallemon. +com +.SH "SEE ALSO" +The "Keyboard and Console HOWTO" and the "Text Terminal HOWTO" from the +Linuxdoc project (www.linuxdoc.org). Both are available in a Debian GNU/Linux +system by installing the doc-linux-text package at +.B /usr/share/doc/HOWTO/en-txt/Keyboard-and-Console-HOWTO.gz +and +.B /usr/share/doc/HOWTO/en-txt/Text-Terminal-HOWTO.gz +respectively. + +This man page was copy-pasted from other documentation by Abel Daniel (abli@mai +lbox.hu) for the Debian GNU/Linux distributions, but can be used by +others. +