debian/0000755000000000000000000000000012054530307007165 5ustar debian/manpages0000644000000000000000000000005411766734446010725 0ustar chkfont.6 figlet.6 figlist.6 showfigfonts.6 debian/dirs0000644000000000000000000000001011762237772010057 0ustar usr/bin debian/patches/0000755000000000000000000000000011766734446010637 5ustar debian/patches/series0000644000000000000000000000010511766734446012050 0ustar makefile_set_debian_buildflags.patch makefile_set_debian_paths.patch debian/patches/makefile_set_debian_paths.patch0000644000000000000000000000115011766734446017006 0ustar Description: Set the appropriate Debian paths in Makefile Author: Jonathan McCrohan Date: Mon, 28 May 2012 00:37:27 +0100 --- --- figlet-2.2.4.orig/Makefile +++ figlet-2.2.4/Makefile @@ -30,13 +30,13 @@ LDFLAGS = $(shell dpkg-buildflags --get XCFLAGS = -DTLF_FONTS # Where to install files -prefix = /usr/local +prefix = /usr # Where the executables should be put BINDIR = $(prefix)/bin # Where the man page should be put -MANDIR = $(prefix)/man +MANDIR = $(prefix)/share/man # Where figlet will search first for fonts (the ".flf" files). DEFAULTFONTDIR = $(prefix)/share/figlet debian/patches/makefile_set_debian_buildflags.patch0000644000000000000000000000162211766734446020007 0ustar Description: Set the appropriate Debian buildflags flags in Makefile Author: Jonathan McCrohan Date: Mon, 28 May 2012 00:37:27 +0100 --- --- figlet-2.2.4.orig/Makefile +++ figlet-2.2.4/Makefile @@ -19,10 +19,11 @@ SHELL = /bin/sh # The C compiler and linker to use +CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) CC = gcc -CFLAGS = -g -O2 -Wall +CFLAGS = $(shell dpkg-buildflags --get CFLAGS) LD = gcc -LDFLAGS = +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) # Feature flags: # define TLF_FONTS to use TOIlet TLF fonts @@ -62,7 +63,7 @@ DFILES = Makefile Makefile.tc $(MANUAL) crc.h inflate.h zipio.h utf8.h run-tests.sh figmagic .c.o: - $(CC) -c $(CFLAGS) $(XCFLAGS) -DDEFAULTFONTDIR=\"$(DEFAULTFONTDIR)\" \ + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) -DDEFAULTFONTDIR=\"$(DEFAULTFONTDIR)\" \ -DDEFAULTFONTFILE=\"$(DEFAULTFONTFILE)\" -o $*.o $< all: $(BINS) debian/copyright0000644000000000000000000001764412054526446011145 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: figlet Source: http://www.figlet.org/ Files: * Copyright: 2011 Claudio Matsuoka 2002 Christiaan Keet 1996-2001 John Cowan 1991,1993,1994 Glenn Chappell and Ian Chai License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holders nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: inflate.* zipio.* Copyright: 1995 Edward B. Hamrick License: MIT 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, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: utf8.* Copyright: 2007 Alexey Vatchenko License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: fonts/8859-*.flc Copyright: 1991-2012 Unicode Inc. License: Unicode UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE . Unicode Data Files include all data files under the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode Software includes any source code published in the Unicode Standard or under the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. . NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. . COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2007 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. . Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified. . THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. . Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. Files: tests/emboss.tlf Copyright: 2006 Sam Hocevar License: WTFPL-2 Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. . DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION . 0. You just DO WHAT THE FUCK YOU WANT TO. Files: debian/* Copyright: 2012 Jonathan McCrohan 2004-2006 Carlos Laviola 1997-2003 Francesco Tapparo 1996 Robert Leslie License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/control0000644000000000000000000000157112035400437010573 0ustar Source: figlet Maintainer: Carlos Laviola Uploaders: Jonathan McCrohan Section: text Priority: optional Standards-Version: 3.9.3 Build-Depends: debhelper (>= 9) Vcs-Git: git://git.debian.org/git/collab-maint/figlet.git Vcs-Browser: http://git.debian.org/?p=collab-maint/figlet.git Homepage: http://www.figlet.org/ Package: figlet Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Make large character ASCII banners out of ordinary text Figlet (Frank, Ian & Glenn's Letters) is a program that creates large characters out of ordinary screen characters. . It can create characters in many different styles and can kern and "smush" these characters together in various ways. Figlet output is generally reminiscent of the sort of "signatures" many people like to put at the end of e-mail, Usenet and MOTD messages. debian/rules0000755000000000000000000000074511766734447010277 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_install: dh_auto_install mv debian/figlet/usr/bin/figlet debian/figlet/usr/bin/figlet-figlet dh_installdirs /usr/share/emacs/site-lisp dh_install debian/figlet.el /usr/share/emacs/site-lisp dh_installexamples debian/examples/moolets override_dh_installman: dh_installman mv debian/figlet/usr/share/man/man6/figlet.6 debian/figlet/usr/share/man/man6/figlet-figlet.6 %: dh $@ debian/watch0000644000000000000000000000012411766734447010237 0ustar version=3 opts=pasv ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-(.+).tar.gz debian/prerm0000644000000000000000000000023611766734447010262 0ustar #!/bin/sh set -e if [ "$1" = remove ]; then # Remove alternatives for figlet update-alternatives --remove figlet /usr/bin/figlet-figlet fi #DEBHELPER# debian/source/0000755000000000000000000000000011766734447010511 5ustar debian/source/format0000644000000000000000000000001411766734447011717 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211766734446010406 0ustar 9 debian/changelog0000644000000000000000000001604512054530307011045 0ustar figlet (2.2.5-2) unstable; urgency=low * Import packaging git repo to collab-maint - Add VCS-{Git,Browser} URLs * debian/copyright: Update WTFPL v2 license text (closes: #694380) * debian/copyright: Update Unicode license text (closes: #694270) * debian/clean: Remove tests.log which caused FTBFS if built twice in a row - Thanks to Roland Stigge for the patch -- Jonathan McCrohan Sun, 25 Nov 2012 23:59:03 +0000 figlet (2.2.5-1) unstable; urgency=low * New upstream release. (closes: #674844) (closes: #617422) (closes: #150174) - figlet has been relicensed as BSD. All undistributable files have either been relicenced, or replaced with properly licenced alternatives; figlet can re-enter the archive, and can move back to main from non-free. \o/ - Drop 2.2.2-1 patches, applied upstream - New upstream makefile does not support setting variables from debian/rules; Added makefile_set_debian_{buildflags,paths}.patch accordingly. * Improve packaging - Update S-V to 3.9.3 - Bump Debhelper to v9 - Switch to dpkg-source 3.0 (quilt) format - Switch to dh-style debian/rules (closes: #672320) - Various lintian fixes - Update package description (closes: #557254) - Update debian/copyright (closes: #436302) - Fix moolets bashism (closes: #530082) - Move figlet manpage to alternatives system (closes: #403665) - Add watchfile - Add Homepage to debian/control - Remove references to deprecated figfonts(-cjk) packages - Remove local copies of man pages (merged upstream) * Add myself as co-maintainer -- Jonathan McCrohan Sat, 02 Jun 2012 00:35:22 +0100 figlet (2.2.2-1) unstable; urgency=low * New upstream release. (Closes: #388101) * Does not suggest figlet-fonts. (Closes: #376176) * chkfont.c: patched to fix nasty core dumps when attempting to read files that are unexpected. Thanks to Kenneth Davies. (Closes: #300735) * Include Sandro Tosi's font demonstration script. (Closes: #388099) * /usr/bin/figlet is an alternative to /usr/bin/figlet-figlet now. This change was made to pave the way for free figlet clones. Thanks to Sam Hocevar for the patch. (Closes: #390549) -- Carlos Laviola Thu, 26 Oct 2006 23:01:19 -0300 figlet (2.2.1-4) unstable; urgency=high * debian/control: forgot to change the binary package's Section from misc to non-free/text. Really uploading to non-free this time. -- Carlos Laviola Mon, 1 Nov 2004 15:14:52 -0300 figlet (2.2.1-3) unstable; urgency=high * debian/control: changed Section from misc to non-free/text while the problems that land figlet in non-free, as brought up in bug #274950 are being fixed. (Closes: #274950) -- Carlos Laviola Sat, 9 Oct 2004 04:01:57 -0300 figlet (2.2.1-2) unstable; urgency=low * New maintainer. * Bumped Standards-Version to 3.6.1.1. * Nothing's actually installed in /usr/doc. (Closes: #190019) * figlet.6: Replaced Ian Chai's e-mail address with the one he used to subscribe to figlet's mailing list. (Closes: #273063) * debian/control: figlet now Suggests: figfonts{-cjk}. (Closes: #271474) -- Carlos Laviola Sat, 2 Oct 2004 01:36:08 -0300 figlet (2.2.1-1) unstable; urgency=low * new upstream release closes: Bug#175460 * removed obsolete files debian/readme and debian/changes * switched to use debian/manpages * updated chkfont manpage closes: Bug#93311 * updated figlist manpage closes: Bug#93312 * updated showfigfonts manpage closes: Bug#93313 * added a note about the existence of figfonts closes:Bug#185967 * set debhelper compatibility mode to 4 * changed the build dependency to require debhelper (>= 4) * now standard version 3.5.9.0 compatible -- Francesco Tapparo Sat, 5 Apr 2003 21:48:42 +0200 figlet (2.2-11) unstable; urgency=low * added the manpages of chkfont, figlist and showfigfonts: thanks Jonathon Abbottjed rules -- Francesco Tapparo Fri, 13 Apr 2001 11:05:54 +0200 figlet (2.2-10) unstable; urgency=low * figlet.el was misnamed (this close bug #75721) * figlet now use an improved version of figlet.el (thanks to James LewisMossls) * renamed /usr/share/doc/figlet/changes.txt.gz to /usr/share/doc/figlet/changelog.gz for a better debian policy guidelines adherence * veridied adherence to debian policy 3.2.1.0 -- Francesco Tapparo Sun, 5 Nov 2000 14:31:58 +0100 figlet (2.2-9) unstable; urgency=low * converted to debhelper * some tweaks to the upstream Makefile: now it creates $(MANDIR) and it uses install -d and not mkdir, and it creates the /usr/bin directory * renamed changes to changes.txt * moved the dynamically created changes.txt and readme.txt to the debian subdir * package moved to FHS * added showfigfonts, figlist and chkfont to the distribution * recompiled with glibc-2.1 (it was 2.0) * verified compliance to policy 3.0.0.0 * changed the Replaces field from figfont (<< 2.2) to figfont * added a Conflicts field against old version of figfonts and figfonts-cjk -- Francesco Tapparo Mon, 11 Oct 1999 14:44:39 +0200 figlet (2.2-8) unstable; urgency=low * updated my email address * the build process is more friendly to the cross compilers now: this close bug #32189 -- Francesco Tapparo Sun, 25 Apr 1999 21:54:08 +0200 figlet (2.2-7) frozen unstable; urgency=low * changed distribution to frozen/unstable -- Francesco Tapparo Sun, 26 Apr 1998 14:09:35 +0200 figlet (2.2-6) unstable; urgency=low * move figlet.el to /usr/share/emacs/site-lisp: this solve bug #21219 -- Francesco Tapparo Tue, 21 Apr 1998 14:39:15 +0200 figlet (2.2-5) unstable; urgency=low * added the emacs helper figlet.el * stripped the binaries (this would resolve the bug #15722) -- Francesco Tapparo Sat, 13 Dec 1997 21:02:37 +0100 figlet (2.2-4) unstable; urgency=low * moved back to the main distribution -- Francesco Tapparo Sun, 23 Nov 1997 13:42:09 +0100 figlet (2.2-3) unstable; urgency=low * now the upstream changelog file is gzipped * verified adherence to debian policy 2.3.0.0 * removed bashisms (veryfied with ash and pdksh) * now figlet don't use zipped fonts (for policy problems) * added Replaces figfonts (<< 2.2). This solve bug #13343 -- Francesco Tapparo Sat, 25 Oct 1997 14:42:44 +0200 figlet (2.2-2) unstable; urgency=low * executable permission to showfigfonts and figlist * used compressed fonts * new maintainer -- Francesco Tapparo Sat, 20 Sep 1997 19:14:27 +0200 figlet (2.2-1) unstable; urgency=low * New upstream source * New maintaier * New Standards version (Bug#9466) * New section (non-free) -- Martin Schulze Wed, 3 Sep 1997 21:20:58 +0200 debian/clean0000644000000000000000000000001212054523645010172 0ustar tests.log debian/docs0000644000000000000000000000002311766734446010056 0ustar README figfont.txt debian/examples/0000755000000000000000000000000011766734446011026 5ustar debian/examples/moolets0000755000000000000000000000052311766734446012436 0ustar #!/bin/sh # Prints "Moo" using every font installed on /usr/share/figlet # Written by Sandro Tosi # Modified by Jonathan McCrohan for file in /usr/share/figlet/*.flf ; do FONT=`basename $file | sed 's|\(.*\)\.\(.*\)|\1|'` printf "Font: $FONT\n" figlet -f $FONT Moo printf "\n" done debian/figlet.el0000644000000000000000000000320111762237772010774 0ustar ;; filename: figlet.el ;; Kirby Files, 9/18/94. kfiles@bbn.com ;; add font completion: James LewisMoss 27 Oct 2000, dres@debian.org ;; feel free to modify and distribute; there's not a lot here. ;; call M-x figlet-message to insert a large ascii text in your buffer. ;; Current option is to center text. Feel free to change this if you'd ;; like. (defvar fig-options "-c") (setq save-eval-depth max-lisp-eval-depth) (setq max-lisp-eval-depth 1000) (defun collapse-lists (da-list) (cond ((stringp da-list) (list da-list)) ((null da-list) nil) (t (append (collapse-lists (car da-list)) (collapse-lists (cdr da-list)))))) (defun generate-figlet-font-list (loc-list) "Generate a list of figlet fonts." (mapcar '(lambda (element) (cons element nil)) (mapcar '(lambda (one-file) (let ((point (string-match ".flf" one-file))) (substring one-file 0 point))) (collapse-lists (mapcar '(lambda (dir-string) (directory-files (expand-file-name dir-string) nil ".*\.flf")) loc-list))))) ;; replace this with "figlet -I2" to get the default font dir (defvar fig-font-locations '("/usr/share/figlet")) (defvar fig-font-list (generate-figlet-font-list fig-font-locations)) (defun figlet-message () "Inserts large message of text in ASCII font into current buffer" (interactive) (setq str (read-from-minibuffer "Enter message: ")) (setq font (completing-read "Which font: " fig-font-list nil t)) (call-process "figlet" nil t t "-f" font fig-options str) (message "Done printing")) (setq max-lisp-eval-depth save-eval-depth) debian/postinst0000644000000000000000000000043211766734446011015 0ustar #!/bin/sh set -e if [ "$1" = configure ]; then # Add alternatives for figlet update-alternatives --install /usr/bin/figlet figlet \ /usr/bin/figlet-figlet 30 --slave /usr/share/man/man6/figlet.6.gz \ figlet.6.gz /usr/share/man/man6/figlet-figlet.6.gz fi #DEBHELPER#