--- a2ps-4.14.orig/doc/a2ps.info +++ a2ps-4.14/doc/a2ps.info @@ -3325,6 +3325,9 @@ -- Encoding: ASCII (`ascii.edf') US-ASCII. + -- Encoding: EUC-JP (`euc-jp.edf') + The EUC-JP encoding is a 8-bit character set widely used in Japan. + -- Encoding: HPRoman (`hp.edf') The 8 bits Roman encoding for HP. @@ -3421,8 +3424,8 @@ Support of the Euro symbol is provided thanks to Ogonkify. -- Encoding: KOI8 (`koi8.edf') - KOI-8 (+Ëë) is a subset of ISO-IR-111 that can be used in Serbia, - Belarus etc. + KOI-8 (+ª³«³) is a subset of ISO-IR-111 that can be used in + Serbia, Belarus etc. -- Encoding: MS-CP1250 (`ms-cp1250.edf') Microsoft's CP-1250 encoding (aka CeP). @@ -7351,98 +7354,98 @@ Node: Encoding Map File112804 Node: Encoding Description Files113618 Node: Some Encodings116243 -Node: Pretty Printing121283 -Node: Syntactic limits122373 -Node: Known Style Sheets122796 -Node: Type Setting Style Sheets151085 -Node: Symbol151697 -Node: PreScript152237 -Node: Syntax153130 -Node: PreScript Commands153844 -Node: PreScript examples155254 -Node: PreTeX155609 -Node: Special characters155936 -Node: PreTeX Commands156626 -Node: Differences with LaTeX158074 -Node: TeXScript159018 -Node: Faces160493 -Node: Style sheets semantics161927 -Node: Name and key162775 -Node: Comments163613 -Node: Alphabets163977 -Node: Case sensitivity164483 -Node: P-Rules164743 -Node: Sequences167697 -Node: Optional entries168196 -Node: Style Sheets Implementation168611 -Node: A Bit of Syntax169653 -Node: Style Sheet Header173117 -Node: Syntax of the Words174714 -Node: Inheriting175704 -Node: Syntax for the P-Rules176661 -Node: Declaring keywords and operators178680 -Node: Declaring sequences181021 -Node: Checking a Style Sheet183892 -Node: A tutorial on style sheets184993 -Node: Example and syntax185803 -Node: Implementation187064 -Node: The Entry in sheets.map190533 -Node: More Sophisticated Rules191417 -Node: Distributed Style Sheets193619 -Node: PostScript195261 -Node: Good and Bad PostScript195849 -Node: Page Device Options199644 -Node: Statusdict Options200886 -Node: Colors in PostScript201925 -Node: a2ps PostScript Files202859 -Node: Designing PostScript Prologues203324 -Node: Definition of the faces204225 -Node: Prologue File Format205714 -Node: A prologue example206287 -Node: Contributions208283 -Node: card209071 -Node: Invoking card209861 -Node: Caution when Using card211452 -Node: fixps211944 -Node: Invoking fixps212574 -Node: fixnt214043 -Node: Invoking fixnt214653 -Node: pdiff214863 -Node: Invoking pdiff215333 -Node: psmandup216386 -Node: Invoking psmandup216966 -Ref: Invoking psmandup-Footnote-1219022 -Node: psset219204 -Node: Invoking psset219812 -Node: FAQ222612 -Node: Why Does ...?223176 -Node: It Prints Nothing223699 -Node: It Prints in Simplex224879 -Node: It Prints in Duplex225695 -Node: It Does Not Fit on the Paper226403 -Node: It Prints Junk226980 -Node: It Says my File is Binary227826 -Node: It Refuses to Change the Font Size229537 -Node: How Can I ...?230354 -Node: Leave Room for Binding230898 -Node: Print stdin231149 -Node: Change the Fonts231766 -Node: The Old Option -b?232085 -Node: Pass Options to lpr232583 -Node: Non PostScript Printers233327 -Node: Man Pages with Underlines235176 -Node: Please tell me...235537 -Node: Is a2ps Y2K compliant?235916 -Ref: Is a2ps Y2K compliant?-Footnote-1236542 -Node: The Options Have Changed236561 -Node: Why not using yacc237636 -Node: Why do you not use mozilla238778 -Node: Glossary239206 -Node: Genesis249342 -Node: History249702 -Node: Thanks250501 -Node: Translators252536 -Node: Copying254153 -Node: Concept Index255982 +Node: Pretty Printing121394 +Node: Syntactic limits122484 +Node: Known Style Sheets122907 +Node: Type Setting Style Sheets151196 +Node: Symbol151808 +Node: PreScript152348 +Node: Syntax153241 +Node: PreScript Commands153955 +Node: PreScript examples155365 +Node: PreTeX155720 +Node: Special characters156047 +Node: PreTeX Commands156737 +Node: Differences with LaTeX158185 +Node: TeXScript159129 +Node: Faces160604 +Node: Style sheets semantics162038 +Node: Name and key162886 +Node: Comments163724 +Node: Alphabets164088 +Node: Case sensitivity164594 +Node: P-Rules164854 +Node: Sequences167808 +Node: Optional entries168307 +Node: Style Sheets Implementation168722 +Node: A Bit of Syntax169764 +Node: Style Sheet Header173228 +Node: Syntax of the Words174825 +Node: Inheriting175815 +Node: Syntax for the P-Rules176772 +Node: Declaring keywords and operators178791 +Node: Declaring sequences181132 +Node: Checking a Style Sheet184003 +Node: A tutorial on style sheets185104 +Node: Example and syntax185914 +Node: Implementation187175 +Node: The Entry in sheets.map190644 +Node: More Sophisticated Rules191528 +Node: Distributed Style Sheets193730 +Node: PostScript195372 +Node: Good and Bad PostScript195960 +Node: Page Device Options199755 +Node: Statusdict Options200997 +Node: Colors in PostScript202036 +Node: a2ps PostScript Files202970 +Node: Designing PostScript Prologues203435 +Node: Definition of the faces204336 +Node: Prologue File Format205825 +Node: A prologue example206398 +Node: Contributions208394 +Node: card209182 +Node: Invoking card209972 +Node: Caution when Using card211563 +Node: fixps212055 +Node: Invoking fixps212685 +Node: fixnt214154 +Node: Invoking fixnt214764 +Node: pdiff214974 +Node: Invoking pdiff215444 +Node: psmandup216497 +Node: Invoking psmandup217077 +Ref: Invoking psmandup-Footnote-1219133 +Node: psset219315 +Node: Invoking psset219923 +Node: FAQ222723 +Node: Why Does ...?223287 +Node: It Prints Nothing223810 +Node: It Prints in Simplex224990 +Node: It Prints in Duplex225806 +Node: It Does Not Fit on the Paper226514 +Node: It Prints Junk227091 +Node: It Says my File is Binary227937 +Node: It Refuses to Change the Font Size229648 +Node: How Can I ...?230465 +Node: Leave Room for Binding231009 +Node: Print stdin231260 +Node: Change the Fonts231877 +Node: The Old Option -b?232196 +Node: Pass Options to lpr232694 +Node: Non PostScript Printers233438 +Node: Man Pages with Underlines235287 +Node: Please tell me...235648 +Node: Is a2ps Y2K compliant?236027 +Ref: Is a2ps Y2K compliant?-Footnote-1236653 +Node: The Options Have Changed236672 +Node: Why not using yacc237747 +Node: Why do you not use mozilla238889 +Node: Glossary239317 +Node: Genesis249453 +Node: History249813 +Node: Thanks250612 +Node: Translators252647 +Node: Copying254264 +Node: Concept Index256093  End Tag Table --- a2ps-4.14.orig/doc/encoding.texi +++ a2ps-4.14/doc/encoding.texi @@ -3,6 +3,10 @@ US-ASCII. @end deftp +@deftp {Encoding} {EUC-JP} (@file{euc-jp.edf}) +The EUC-JP encoding is a 8-bit character set widely used in Japan. +@end deftp + @deftp {Encoding} {HPRoman} (@file{hp.edf}) The 8 bits Roman encoding for HP. @end deftp @@ -110,7 +114,7 @@ @end deftp @deftp {Encoding} {KOI8} (@file{koi8.edf}) -KOI-8 (+Ëë) is a subset of ISO-IR-111 that can be used in Serbia, Belarus +KOI-8 (+ª³«³) is a subset of ISO-IR-111 that can be used in Serbia, Belarus etc. @end deftp --- a2ps-4.14.orig/debian/info +++ a2ps-4.14/debian/info @@ -0,0 +1,2 @@ +ogonkify/doc/ogonkify.info +doc/a2ps.info --- a2ps-4.14.orig/debian/prerm +++ a2ps-4.14/debian/prerm @@ -0,0 +1,15 @@ +#! /bin/sh +set -e + +# postrm script for a2ps + +package=a2ps + +# Verifying that there are emacsen installed before calling emacs-package-remove +if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then + [ -e /var/lib/emacsen-common/installed-flavors ] && /usr/lib/emacsen-common/emacs-package-remove $package +fi + +#DEBHELPER# + +exit 0 \ No newline at end of file --- a2ps-4.14.orig/debian/copyright +++ a2ps-4.14/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Masayuki Hatta on +Tue, 1 Apr 2003 01:10:29 +0900. + +It was downloaded from http://www.gnu.org/software/a2ps/ + +Upstream Authors: Akim Demaille + Miguel Santana + Masayuki Hatta + +Copyright (c) Free Software Foundation, Inc. + +License: + + Most parts: + + 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; version 3 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + *.afm files under afm/: + + This file and the 35 PostScript(R) AFM files it accompanies may be + used, copied, and distributed for any purpose and without charge, with + or without modification, provided that all copyright notices are + retained; that the AFM files are not distributed without this file; + that all modifications to this file or any of the AFM files are + prominently noted in the modified file(s); and that this paragraph is + not modified. Adobe Systems has no responsibility or obligation to + support the use of the AFM files. --- a2ps-4.14.orig/debian/docs +++ a2ps-4.14/debian/docs @@ -0,0 +1,4 @@ +FAQ +NEWS +README +TODO --- a2ps-4.14.orig/debian/emacsen-install +++ a2ps-4.14/debian/emacsen-install @@ -0,0 +1,49 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/a2ps + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=a2ps + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +SITEFLAG="-no-site-file" # Do not load site files when byte-compiling +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +fi + +install -m 0755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +#cp ${FILES} ${ELCDIR} +cd ${ELCDIR} +for i in $FILES; do + ln -sf ${ELDIR}/$i . +done + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f path.el + +exit 0 --- a2ps-4.14.orig/debian/postinst +++ a2ps-4.14/debian/postinst @@ -0,0 +1,16 @@ +#! /bin/sh +set -e + +# postinst script for a2ps + +package=a2ps + +# We need to test that there are emacsen installed before calling emacs-package-* +if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ] +then + [ -e /var/lib/emacsen-common/installed-flavors ] && /usr/lib/emacsen-common/emacs-package-install $package +fi + +#DEBHELPER# + +exit 0 \ No newline at end of file --- a2ps-4.14.orig/debian/mime +++ a2ps-4.14/debian/mime @@ -0,0 +1 @@ +text/plain; cat '%s'; print=/usr/bin/a2ps '%s'; copiousoutput; --- a2ps-4.14.orig/debian/a2ps-lpr-wrapper +++ a2ps-4.14/debian/a2ps-lpr-wrapper @@ -0,0 +1,38 @@ +#!/bin/bash +# +# a2ps-lpr-wrapper - lp/lpr wrapper script for GNU a2ps on Debian +# + +TEMP=`getopt -o d: -n 'a2ps-lpr-wrapper' -- "$@"` +a2ps_printer="" + +if [ $? != 0 ]; then echo "Terminating..." >&2; exit 1; fi + +# Note the quotes around `$TEMP': they are essential! +eval set -- "$TEMP" + +while true ; do + case "$1" in + -d) a2ps_printer=$2; shift 2 ;; + --) shift; break ;; + *) echo "usage: a2ps-lpr-wrapper -d [printer] [files]"; exit 1 ;; + esac +done + +# If /usr/bin/lp (from cupsys-client) exists, just use it. +if [ -x /usr/bin/lp ]; then + if [ "x$a2ps_printer" != "x" ]; then d="-d $a2ps_printer"; else d=""; fi + /usr/bin/lp $d "$@" +elif [ -x /usr/bin/lpr ]; then + # In case /usr/bin/lp is not available, then fall back /usr/bin/lpr. + if [ "x$a2ps_printer" != "x" ]; then P="-P $a2ps_printer"; else P=""; fi + /usr/bin/lpr $P "$@" +elif [ -x /usr/bin/rlpr ]; then + # In case /usr/bin/lpr is not available, then fall back /usr/bin/rlpr. + if [ "x$a2ps_printer" != "x" ]; then P="-P $a2ps_printer"; else P=""; fi + /usr/bin/rlpr $P "$@" +else + # If any of lp, lpr and rlpr is not available, then fail + echo "$0: lp/lpr/rlpr missing!" + exit 1 +fi --- a2ps-4.14.orig/debian/changelog +++ a2ps-4.14/debian/changelog @@ -0,0 +1,674 @@ +a2ps (1:4.14-1) unstable; urgency=low + + * New upstream release. + * Bumped up Standards-Version to 3.7.3 (no physical changes). + * Sorted out copyright information. Thanks to Patrick Schoenfeld + - closes: #448454 + * Now use autoload, not load, in emacsen-startup. Thanks to Trent W. Buck + - closes: #446152 + * Now a2ps try to use html2ps for parsing HTML - closes: #424161 + I'll try to support Iceweasel later. + * Now prefer emacs22 - closes: #434914, #283828 + * Added a manpage for a2ps-lpr-wrapper. Thanks to Michael Tautschnig + - closes: #425068 + * debian/emacsen-install: do not load site files when byte-compiling, + and set symlinks to *.el files + - closes: #246296, #269409, #401684, #448144 + * prerm, postinst: use emacsen-common stuff only when it is installed + and configured. + * rules: do not install emacsen snippets in {prerm,postinst}. + * Many thanks to Agustin Martin Domingo for these 3 hacks above. + + -- Masayuki Hatta (mhatta) Thu, 03 Jan 2008 23:38:51 +0900 + +a2ps (1:4.13c~rc5-1) unstable; urgency=low + + * New upstream release. + * Improved Received: handling in mail.ssh - closes: #330665 + + -- Masayuki Hatta (mhatta) Thu, 26 Apr 2007 14:23:45 +0900 + +a2ps (1:4.13c~rc4-1) unstable; urgency=low + + * New upstream release. + * Improved rules in sheets.map - closes: #280671 + * Now depends on file and psutils - closes: #341116, #360116, #309605 + * Fixed a typo in ogonkify.1 - closes: #311240 + * Added rlpr support - closes: #360119 + * Added PHP support - closes: #380143 + * Now supports newer GV - closes: #390125, #291749, #323361 + * Now supports CP1251 - closes: #286571 + * Now takes care of /usr/share/info/dir - closes: #368829, #404053 + * Now pdiff accepts data on standard input - closes: #305920 + * Now Build-Depends: texlive-base-bin, instead of tetex-bin. + * Bumped to Standards-Version: 3.7.2. + + -- Masayuki Hatta (mhatta) Sun, 11 Feb 2007 20:35:46 +0700 + +a2ps (1:4.13b.dfsg.1-1) unstable; urgency=low + + * Acknowledged NMU, many thanks pelle - closes: #267527, #350555, #331452, #340044, #322669, #294905 + * Updated FSF's address in debian/copyright. + * More fixes will come. + + -- Masayuki Hatta (mhatta) Sat, 25 Feb 2006 18:37:25 +0900 + +a2ps (1:4.13b.dfsg.1-0.2) unstable; urgency=medium + + * NMU. + * Medium urgency due to RC bugfix. + * Always pass -d to a2ps-lpr-wrapper, regardless of the installed + printer system when building. Should fix the issue with -P not + working. Many thanks to Peder Chr. Norgaard for the solution. + closes: #267527. + * Really pass correct arguments to gv (GNU-style "--"). closes: #291749. + * Don't treat all filenames which include the substring "tar" as binary + files. closes: #350555. + * Fixed Emacs autoload (a2ps.el, not a2ps-mode.el). Thanks to Francesco + Potorti`. closes: #331452. + * Reverted va_list changes from previous upload which already existed in + debian/patches/22_va_list_fix.dpatch. + * Don't load non-existent make-regexp.el in a2ps.el. + + -- Per Olofsson Tue, 7 Feb 2006 08:50:53 +0100 + +a2ps (1:4.13b.dfsg.1-0.1) unstable; urgency=medium + + * NMU. + * Medium urgency due to RC bugfix. + * Removed non-free test files from upstream tarball. closes: #340044. + * Applied patch from Russ Allberry to fix printing to the default printer. + closes: #322669. + * Applied patch from Julien BLACHE to fix two va_list misuses which + cause segfaults when executing "a2ps --list=defaults" on certain + archs. closes: #294905. + * Don't replace auxdir/config.{guess,sub} when running "debian/rules + clean". The source should be restored to its original state when + cleaning. + + -- Per Olofsson Sun, 15 Jan 2006 20:11:07 +0100 + +a2ps (1:4.13b-5) unstable; urgency=low + + * Acknowledged NMUs - closes: #283134, #274798, #286385, #286387 + * Updated Standards-Version (no physical changes). + * Only Suggests: emacsen-common - closes: #246296, #269409 + * Now uses html2ps instead of netscape, thanks Russ Allbery - closes: #193036, #156636, #147598 + * Improved documentation on option -d - closes: #193530 + * Much improved a2ps-lpr-wrapper, thanks guys - closes: #280370, #267527 + * Updated de.po - closes: #314127 + * Now gives gv correct option - closes: #291749 + + -- Masayuki Hatta (mhatta) Wed, 3 Aug 2005 00:37:02 +0900 + +a2ps (1:4.13b-4.3) unstable; urgency=HIGH + + * NMU + * Applied patches from Javier Fernandez-Sanguino Peña to fix possible + symlink attacks due to unsafe creation of temporary directories with + some umasks in psmandu and fixps. closes: #286385, #286387 + (CAN-2004-1377) + + -- Joey Hess Thu, 20 Jan 2005 16:31:19 -0500 + +a2ps (1:4.13b-4.2) unstable; urgency=low + + * NMU + * Applied patch from Rudolf Polzer to fix bad shell quoting in popen + that could be exploited to run shell commands if you controlled the + filename that a2ps opened. Note that the previous fix was insufficient. + closes: #283134 + + -- Joey Hess Sun, 5 Dec 2004 12:59:29 -0500 + +a2ps (1:4.13b-4.1) unstable; urgency=medium + + * NMU + * fix handling args on a2ps-lpr-wrapper. (closes: #267527) + + -- Kenshi Muto Wed, 20 Oct 2004 00:57:48 +0000 + +a2ps (1:4.13b-4) unstable; urgency=high + + * psset & newer sed problem: fixed contrib/psset.in too, thanks Kevin + B. McCarty - closes: #259210, #258042 + * Applied a fix for ``too many includes'' bug. + + -- Masayuki Hatta (mhatta) Tue, 17 Aug 2004 03:34:28 +0900 + +a2ps (1:4.13b-3) unstable; urgency=high + + * Now uses wrapper script instead of raw lp/lpr - closes: #243907 + * Lowered Recommends on bigger stuff to Suggests - closes: #254281 + * Now Pre-Depends on emacsen-common - closes: #246296 + * Apllied Nix's fix for psset with newer sed - closes: #259210 + * acroread has been totally gone from Debian except unofficial one, so + let's kill some entries including acroread in a2ps.cfg - closes: #261642 + * Now can be built with gcc 3.4 - closes: #258504 + * Revive 'display' printer - closes: #252798 + + -- Masayuki Hatta (mhatta) Fri, 13 Aug 2004 05:08:14 +0900 + +a2ps (1:4.13b-2) unstable; urgency=low + + * Added psutils to Recommends: - closes: #234861 + + -- Masayuki Hatta (mhatta) Wed, 3 Mar 2004 20:36:47 +0900 + +a2ps (1:4.13b-1) unstable; urgency=low + + * Now bring it back to the good old 4.13b - closes: #214258, #219577, #226145, #231075, #232021, #215357, #214977, #221695, #228012, #216009, #214540, #214510, #212185, #213944 + * [control] changed Maintainer field. + * Bumped to Standards-Version: 3.6.1. + * Added Recommends: emacsen -closes: #228465 + * Changed dependency to t1-cyrillic and updated koi8.edf - closes: #212738, #212360 + * Now a2ps quotes arguments to file(1), thanks Marc Wilson - closes: #202673 + + -- Masayuki Hatta (mhatta) Sun, 15 Feb 2004 15:33:59 +0900 + +a2ps (4.13b+cvs.2003.09.20-1) unstable; urgency=low + + * Basically test release - more will come soon. + * New upstream release (CVS snapshot). + * Acknowledged NMU - closes: #191372 + * Fixed in the upstream - closes: #156077, #143127, #185983, #195249, #126436, #62053, #113057 + * Added some Build-Depends - closes: #207612, #187178, #188347, #193034 + * Added Recommends: cupsys-client - closes: #194061 + * Added composeglyphs.1 manpage by Kevin Kreamer - closes: #39488 + * Ran bootstrap - closes: #201911 + * Patch#10 handles ISO-8859-5 correctly - closes: #201887 + * Patch#11 adds gnuplot support for ogonkify - closes: #194464 + * libpaper support is missing in the upstream. I'll port it ASAP. + + -- Masayuki Hatta Sat, 20 Sep 2003 18:51:32 +0900 + +a2ps (4.13b-20.1) unstable; urgency=low + + * add emacs21-nox | emacsen to Build-Depends: (closes: #191372) + + -- Rene Engelhard Sat, 23 Aug 2003 02:44:57 +0200 + +a2ps (4.13b-20) unstable; urgency=low + + * Now really installs files for S. + * Now keybindings work for FSF Emacs, too - closes: #189076, #190368 + * Added fixnt manpage by coutesy of Kevin Kreamer - closes: #39488 + + -- Masayuki Hatta Tue, 29 Apr 2003 11:48:53 +0900 + +a2ps (4.13b-19) unstable; urgency=low + + * Now install *.el by hand. This eliminates the neccesity of emacsen + on build time. + + -- Masayuki Hatta Sun, 6 Apr 2003 20:52:07 +0900 + +a2ps (4.13b-18) unstable; urgency=low + + * Added flex and bison to Build-Depends - closes: #187605 + * Changed dependency on lpr to Recommends - closes: #187594 + * Now emacsen-install handles *.el - closes: #170906 + * Added S language support - closes: #174539 + * Added Romanian support for ogonkify - closes: #119533 + + -- Masayuki Hatta Tue, 1 Apr 2003 12:53:06 +0900 + +a2ps (4.13b-17) unstable; urgency=low + + * Hijacked (no reply from the previous maintainer). + * Now uses dpatch to manage patches. + * 01_composite_fonts.dpatch: + + Added composite fonts support - closes: #143317, #42824 + * 02_ja_po.dpatch + + Added ja.po - closes: #143318 + * 03_ko.po.dpatch + + Updated ko.po - closes: #90819 + * 04_koi8_fonts_debian.dpatch + + Now uses font names in scalable-cyrfonts - closes: #163967 + * 05_deskjet_numbers_fix.dpatch + + Fixed wrong default values for deskjet printers - closes: #185775 + * Updated copyright information - closes: #158080 + * More fixes will come soon, stay tuned. + + -- Masayuki Hatta Sat, 22 Mar 2003 16:36:13 +0900 + +a2ps (4.13b-16) unstable; urgency=low + + * src/lexps.l: Applied Akim's patch which closes: #81684. + * Doesn't use acroread to convert pdf, closes: #61501 + * Adopted the package, closes: #133296 + + -- Manfred Wassmann Thu, 7 Mar 2002 06:54:41 +0100 + +a2ps (4.13b-15) unstable; urgency=low + + * auxdir/config.{sub,guess}: Replaced with updated copies (Closes: #132438) + + -- Dirk Eddelbuettel Tue, 5 Feb 2002 11:33:13 -0600 + +a2ps (4.13b-14) unstable; urgency=low + + * Applied patch for improved udiff support (Closes: #132044) + + -- Dirk Eddelbuettel Sun, 3 Feb 2002 21:30:43 -0600 + +a2ps (4.13b-13) unstable; urgency=low + + * debian/preinst: Make rmdir fault-tolerant (Closes: #126138) + + -- Dirk Eddelbuettel Fri, 4 Jan 2002 21:30:16 -0600 + +a2ps (4.13b-12) unstable; urgency=low + + * src/main.c: Applied ia64 patch by John Daily (Closes: #125996) + + -- Dirk Eddelbuettel Thu, 20 Dec 2001 19:17:46 -0600 + +a2ps (4.13b-11) unstable; urgency=low + + * debian/preinst: Nuke /usr/doc/a2ps dir if present + (but don't close the bug 107232 now assigned to doc-base) + * debian/control: Add wdiff to Suggets: (Closes: #113053) + + -- Dirk Eddelbuettel Wed, 26 Sep 2001 23:07:35 -0500 + +a2ps (4.13b-10.0.1) unstable; urgency=low + + * Binary-only non-maintainer upload for powerpc; no source changes. + * rebuild to fix a2ps.cfg (Closes: #107054) + + -- Michael Schmitz Sat, 11 Aug 2001 21:48:46 +0200 + +a2ps (4.13b-10) unstable; urgency=low + + * debian/rules: Install three new style sheets for GNU R code (i.e. + written in the S language), its Rd documentation format and the + Rout transcripts. Also submitted upstream to Akim. Thanks to Kurt + Hornik und Torsten Hothorn for their help on this. + * debian/postrm: Moved install-info to debian/prerm (lintian) + * debian/control: Changed Build-Depends to gv | ghostview + * debian/control: Updated Standards-Version + + -- Dirk Eddelbuettel Wed, 30 May 2001 22:32:56 -0500 + +a2ps (4.13b-9) unstable; urgency=low + + * ogonkify/doc/ogonkify.1: Added short statement noting that the -C option + does work under Debian due to missing DFSG-compatible Courier fonts; + however -A works fine and is how a2ps calls ogonkify. (Closes: #91856) + + -- Dirk Eddelbuettel Wed, 4 Apr 2001 22:04:08 -0500 + +a2ps (4.13b-8) unstable; urgency=low + + * debian/control: Build-Depends on libpaperg-dev (Closes: #85742) + + -- Dirk Eddelbuettel Mon, 12 Feb 2001 19:11:31 -0600 + +a2ps (4.13b-7) unstable; urgency=low + + * debian/control: Suggests: lpr | lprng (Closes: #82404) + + -- Dirk Eddelbuettel Tue, 16 Jan 2001 21:44:13 -0600 + +a2ps (4.13b-6) unstable; urgency=low + + * debian/control: Suggests: acroread for .pdf files (Closes: #81540) + * Note that we cannot simple use xpdf as actual acroread command-line + options have been code into a2ps' behaviour. xpdf patches would surely + be welcomed by the current xpdf maintainer (Hi Hamish!) + + -- Dirk Eddelbuettel Sun, 7 Jan 2001 23:54:41 -0600 + +a2ps (4.13b-5) unstable; urgency=low + + * doc/a2ps.texi: Removed @c from definiton of @pack for non-TeX branch + so that the current texi2html (1.64-1) can compile a2ps (Closes: #81378) + * debian/rules: Add perl post-processing to s/a2ps{}/a2ps/g to clean up + the a2ps.html file produced by texi2html + + -- Dirk Eddelbuettel Sun, 7 Jan 2001 14:15:56 -0600 + +a2ps (4.13b-4) unstable; urgency=low + + * debian/control: Added texihtml to Build-Depends (Closes: #75463) + + -- Dirk Eddelbuettel Tue, 24 Oct 2000 21:18:23 -0500 + +a2ps (4.13b-3) unstable; urgency=low + + * debian/mime: Update /etc/mailcap entry for a2ps (Closes: #74384) + + -- Dirk Eddelbuettel Thu, 12 Oct 2000 19:33:27 -0500 + +a2ps (4.13b-2) unstable; urgency=low + + * debian/control: Depends, rather than Recommends, on psutils as these + are needed for a few input formats (cf #64420) + * debian/rules: Call dh_installexamples with argument sample/[a-zA-Z]* + to exclude the libtool leftovers (Closes: #65615) + + -- Dirk Eddelbuettel Thu, 15 Jun 2000 20:01:43 -0400 + +a2ps (4.13b-1) unstable; urgency=low + + * Upgraded to new upstream release 4.13b + + -- Dirk Eddelbuettel Wed, 10 May 2000 22:23:29 -0400 + +a2ps (4.13-2) frozen unstable; urgency=low + + * contrib/fixps.{in,m4}: New versions from Akim (Closes: #58373) + + -- Dirk Eddelbuettel Tue, 22 Feb 2000 20:32:26 -0500 + +a2ps (4.13-1) frozen unstable; urgency=low + + * Upgraded to new upstream release which fixes a bug with Severity: + Important (and reported by a2ps' author) whereby postscript with + embedded bitmaps can be rendered invalid (Closes: #57351) + * debian/control: Add Build-Conflicts: and Build-Depends: to potato + release as per Roman's suggestion (Closes: #57402) + * This version also closes two more old bugs (already fixed in unstable) + and is therefore recommended as an addition to the potato release + + -- Dirk Eddelbuettel Tue, 8 Feb 2000 21:41:43 -0500 + +a2ps (4.12l-1) unstable; urgency=low + + * Upgraded to new upstream bugfix release (Closes: #22089, #35050) + * debian/control: Added everything but the kitchen to Build-Depends so + that the 'make test' target can go about its business (Closes: #57255) + * debian/control: Also added Build-Conflicts: for lprng (cf #29256) + + -- Dirk Eddelbuettel Mon, 7 Feb 2000 20:12:48 -0500 + +a2ps (4.12k-2) unstable; urgency=low + + * debian/preinst: Correct braindead cut&paste typo (fixed in frozen) + + -- Dirk Eddelbuettel Wed, 2 Feb 2000 08:29:14 -0500 + +a2ps (4.12h-6) frozen; urgency=low + + * debian/preinst: Correct braindead cut&paste typo (Closes: #55765) + + -- Dirk Eddelbuettel Wed, 2 Feb 2000 08:29:49 -0500 + +a2ps (4.12k-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12k + + -- Dirk Eddelbuettel Mon, 31 Jan 2000 20:47:01 -0500 + +a2ps (4.12h-5) frozen unstable; urgency=low + + * Re-built against .orig.tar.gz and not .tar.gz as with 4.12h-4 + * Also uploading into frozen to get the fix for #55765 into potato + + -- Dirk Eddelbuettel Sun, 23 Jan 2000 22:37:18 -0500 + +a2ps (4.12h-4) unstable; urgency=low + + * debian/preinst: Remove /usr/doc/a2ps/.dhelp if found (Closes: #55765) + * debian/control: Added Build-Depends + * debian/control: Changed Standards-Version to 3.1.0 + + -- Dirk Eddelbuettel Thu, 20 Jan 2000 21:30:17 -0500 + +a2ps (4.12h-3) unstable; urgency=low + + * configure: s/passwd.h/pwd.h/ upon Akim's advice (Closes: #53553) + * etc/a2ps_cfg.in: Removed -tempfile for acroread invocation + + -- Dirk Eddelbuettel Wed, 5 Jan 2000 20:04:12 -0500 + +a2ps (4.12h-2) unstable; urgency=low + + * sheets/sheets.map: Corrected LaTeX section in coordination with Akim + following a .dvi translation bug found + + -- Dirk Eddelbuettel Thu, 2 Dec 1999 20:52:02 -0500 + +a2ps (4.12h-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12h + + -- Dirk Eddelbuettel Tue, 30 Nov 1999 19:16:38 -0500 + +a2ps (4.12g-2) unstable; urgency=low + + * sheets.map: Remove ambigious sed reference upon Akim's advice + + -- Dirk Eddelbuettel Wed, 24 Nov 1999 20:37:43 -0500 + +a2ps (4.12g-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12g + + * psset: Problem with $quiet fixed in new release (Closes: #50451) + + * sheets/ocaml.ssh: Added new file by Markus Mottl (Closes: #50538) + * sheets/sheets/Makefile.in: Updated accordingly + * sheets/sheets.map: Files with .ml extensions now use ocaml.ssh + + * contrib/card.m4: Patched for safer tempfile use (Closes: #50747) + + -- Dirk Eddelbuettel Sat, 20 Nov 1999 12:09:27 -0500 + +a2ps (4.12c-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12c (Closes: #45813) + * According to Akim, this should fix the build problem on m68k/glibc2.0 + + -- Dirk Eddelbuettel Mon, 27 Sep 1999 22:07:29 -0400 + +a2ps (4.12a-2) unstable; urgency=low + + * Rebuilt with newer debhelper, as well as with explicit #DEBHELPER# + targets in postinst and prerm, to ensure orderly symlink handling of + /usr/doc/a2ps to /usr/share/doc/a2ps (Closes: #45917, #45919, #45926) + + -- Dirk Eddelbuettel Fri, 24 Sep 1999 22:56:14 -0400 + +a2ps (4.12a-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12a + * debian/rules: Adapted to use /usr/share/ following the recommendation + on FHS transition from the Technical Committee + * debian/rules: Test for debhelper >= 2.0.40 for FHS compliance + * debian/control: Upgraded to Debian Policy 3.0.1 + + -- Dirk Eddelbuettel Tue, 21 Sep 1999 20:04:04 -0400 + +a2ps (4.12-4) unstable; urgency=low + + * texi2dvi4a2ps: Corrected broken temp. file creation by adopting code + from texi2dvi from the newest texinfo package (Closes: #43111) + + -- Dirk Eddelbuettel Thu, 19 Aug 1999 23:24:24 -0400 + +a2ps (4.12-3) unstable; urgency=low + + * [debian/conffiles] Added /etc/a2ps-site.cfg + * [debian/rules] Configure with NLS support (fixes #40127) + + -- Dirk Eddelbuettel Sat, 26 Jun 1999 11:22:20 -0400 + +a2ps (4.12-2) unstable; urgency=low + + * [debian/texi2dvi4a2ps] Updated to new version (fixes #35050) + + -- Dirk Eddelbuettel Sat, 27 Mar 1999 18:01:14 -0500 + +a2ps (4.12-1) unstable; urgency=low + + * Upgraded to new upstream release 4.12 + + -- Dirk Eddelbuettel Fri, 5 Mar 1999 22:28:05 -0500 + +a2ps (4.10.4i-3) unstable; urgency=low + + * debian/rules: Do not install ansi2knr.1 (fixes #33120) + + -- Dirk Eddelbuettel Tue, 9 Feb 1999 18:57:20 -0500 + +a2ps (4.10.4i-2) unstable; urgency=low + + * debian/{rules,postinst,postrm}: Removed support for html documentation + through menu as it is now provided by doc-base + + -- Dirk Eddelbuettel Thu, 14 Jan 1999 21:02:11 -0500 + +a2ps (4.10.4i-1) unstable; urgency=low + + * Upgraded to new upstream release 4.10.4i from alpha.gnu.org + * Added doc-base support (fixes #31156) + + -- Dirk Eddelbuettel Tue, 5 Jan 1999 21:23:18 -0500 + +a2ps (4.10.4d-1) unstable; urgency=low + + * Upgraded to new upstream release 4.10.4d from alpha.gnu.org + * Upon our suggestion, a2ps provides upstream support for libpaper + * debian/postinst: Simplified as we no longer need perl to adapt + /etc/a2ps.cfg according to /etc/papersize, a2ps now uses libpaper + * debian/control: Upgraded to Standards-Version: 2.5.0 + * debian/rules: Added '$(MAKE) check' to the build stage + + -- Dirk Eddelbuettel Mon, 30 Nov 1998 20:32:12 -0500 + +a2ps (4.10.4-4) frozen unstable; urgency=low + + * Rewrote postinst to not depend on English.pm so that a2ps can be + installed on systems with perl-base only (fixes #30032) + + -- Dirk Eddelbuettel Thu, 26 Nov 1998 19:33:13 -0500 + +a2ps (4.10.4-3) frozen unstable; urgency=low + + * Rebuilt package on a system with lpr (not lprng) (fixes #29256) + * Changed from Recommends: to 'Suggests: tetex-bin' (fixes #29171 #29347) + + -- Dirk Eddelbuettel Wed, 11 Nov 1998 10:57:46 -0500 + +a2ps (4.10.4-2) frozen unstable; urgency=low + + * debian/rules: Corrected code to produce html file (fixes #28680) + + -- Dirk Eddelbuettel Sun, 8 Nov 1998 15:44:41 -0500 + +a2ps (4.10.4-1) unstable; urgency=low + + * Upgraded to new upstream version 4.10.4 + * Added support for mime-support (fixes #26708) + + -- Dirk Eddelbuettel Mon, 28 Sep 1998 22:33:31 -0400 + +a2ps (4.10.3-1) unstable; urgency=low + + * Upgraded to new upstream version 4.10.3 + + -- Dirk Eddelbuettel Thu, 2 Jul 1998 18:50:00 -0400 + +a2ps (4.10.2-4) frozen unstable; urgency=medium + + * Changed texi2dvi4a2ps to use tempfile(1) (fixes #23671) + + -- Dirk Eddelbuettel Sat, 20 Jun 1998 19:29:31 -0400 + +a2ps (4.10.2-3) unstable; urgency=low + + * Added 'Recommends: groff, tetex-bin, psutils' to debian/control to + reflect the need for other programs used by a2ps in its 'automatic + delegation' mode for file conversion (fixes #23352) + + -- Dirk Eddelbuettel Tue, 9 Jun 1998 21:50:41 -0400 + +a2ps (4.10.2-2) unstable; urgency=low + + * Corrected perl path in /usr/bin/compose program and reported + this (lintian-detected) buglet to the upstream author + * Added undocumented(7) link for /usr/bin/compose + + -- Dirk Eddelbuettel Sat, 30 May 1998 10:49:04 -0400 + +a2ps (4.10.2-1) unstable; urgency=low + + * Upgraded to new upstream version 4.10.2 + * Converted debian/rules to debhelper + + -- Dirk Eddelbuettel Mon, 18 May 1998 12:23:12 -0400 + +a2ps (4.10-4) frozen unstable; urgency=high + + * Corrected papersize configuration for /etc/a2ps.cfg yet another time + to fix the upgrade path from the 4.10-{1,2,3} versions --- postinst + should now cope with this (fixes #20848, #20901) + + -- Dirk Eddelbuettel Fri, 10 Apr 1998 17:34:42 -0400 + +a2ps (4.10-3) frozen unstable; urgency=low + + * Corrected papersize configuration for /etc/a2ps.cfg again --- now + substitutes 'ucfirst $paper' if the value chosen by --medium is + different from the one in /etc/papersize (fixes #20149) + + -- Dirk Eddelbuettel Tue, 24 Mar 1998 19:57:46 -0500 + +a2ps (4.10-2) frozen unstable; urgency=low + + * Corrected papersize configuration for /etc/a2ps.cfg in postinst (#19945) + + -- Dirk Eddelbuettel Thu, 19 Mar 1998 20:23:29 -0500 + +a2ps (4.10-1) unstable; urgency=low + + * Upgraded to new upstream version 4.10 + * Really generate the html version of the texi documentation. + * Upgraded to Debian Policy 2.4.0.0 + + -- Dirk Eddelbuettel Tue, 10 Mar 1998 22:08:34 -0500 + +a2ps (4.8.4-2) unstable; urgency=low + + * Oops, had left install-info call commented out in the postinst during + testing. Thanks to Joost for spotting this so quickly. + + -- Dirk Eddelbuettel Sun, 7 Sep 1997 11:33:09 -0400 + +a2ps (4.8.4-1) unstable; urgency=low + + * New upstream version (which fixed the bugs #8016, #8873, #9917 and + #11203 which requested an upgrade to a newer version) + * Bug #7207 (a2ps passes -l to lpr) appears to be fixed in this (almost + completely) rewritten version of a2ps, prints fine via magicfilter. + * Bug #8976, however, is unfixable in a2ps: apsfilter contains a + complete (albeit much older) version of a2ps and installs the a2ps + binary in an internal directory, but installs the a2ps manual page as + well! That is braindead --- if apsfilter needs a2ps, it should depend + on a2ps. Moreover, apsfilter has long been orphaned and does not appear + to have been updated upstream in a long time either. + * Moved from non-free to main as a2ps is now released under GNU GPL + * Upgrade to Debian Policy 2.3.0.0 + * Compiled with GNU libc2 aka libc6 + * Ships the unmodified upstream source as a2ps_4.8.4.orig.tar.gz + * New maintainer + + -- Dirk Eddelbuettel Sat, 6 Sep 1997 23:36:46 -0400 + +a2ps (4.4-1) unstable; urgency=medium + + * Updated to Standards Version 2.1.1.0 + * Applied patches for m68k builds (Bug#3911) + * New upstream version patches for libpaper (Bug#1874,6511) + * Added postinst to check for and create /etc/papersize + * Built for ELF (Bug#4568) + + -- Jon Rabone Wed, 29 Jan 1997 10:47:49 +0000 + +a2ps (4.3-1) unstable; urgency=medium + + * Initial release + + -- K MacDonald Wed, 1 Feb 1995 00:00:00 +0000 --- a2ps-4.14.orig/debian/watch +++ a2ps-4.14/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-(.*)\.tar\.gz debian uupdate --- a2ps-4.14.orig/debian/compat +++ a2ps-4.14/debian/compat @@ -0,0 +1 @@ +4 --- a2ps-4.14.orig/debian/patches/05_no_acroread_for_pdf.dpatch +++ a2ps-4.14/debian/patches/05_no_acroread_for_pdf.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh -e +## 05_no_acroread_for_pdf.dpatch by Masayuki Hatta +## +## All lines beginning with \`## DP:' are a description of the patch. +## DP: Do not use acroread, use pdf2ps from gs for PDF + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch --dry-run -p1 < $0 && patch -f --no-backup-if-mismatch -p1 < $0 +;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +diff -urN a2ps-4.13b.orig/etc/a2ps_cfg.in a2ps-4.13b/etc/a2ps_cfg.in +--- a2ps-4.13b.orig/etc/a2ps_cfg.in 2004-08-13 07:50:06.000000000 +0900 ++++ a2ps-4.13b/etc/a2ps_cfg.in 2004-08-13 07:45:59.000000000 +0900 +@@ -295,8 +295,8 @@ + @COM_PSUTILS@@COM_pdf2ps@Delegation: pdf2ps pdf:ps \ + @COM_PSUTILS@@COM_pdf2ps@ @pdf2ps@ '$f' #f0 && #{del.psselect} #f0 | #{del.psnup} + # Delegated to AcrobatReader +-@COM_PSUTILS@@COM_acroread@Delegation: Acrobat pdf:ps \ +-@COM_PSUTILS@@COM_acroread@ #{del.acroread} < '$f' | #{del.psselnup} ++#@COM_PSUTILS@@COM_acroread@Delegation: Acrobat pdf:ps \ ++#@COM_PSUTILS@@COM_acroread@ #{del.acroread} < '$f' | #{del.psselnup} + + ########## PostScript files + # Pass the PostScript files to psnup and psselect + --- a2ps-4.14.orig/debian/patches/03_koi8_fonts_debian.dpatch +++ a2ps-4.14/debian/patches/03_koi8_fonts_debian.dpatch @@ -0,0 +1,75 @@ +#! /bin/sh -e +## 03_koi8_fonts_debian.dpatch by Masayuki Hatta +## +## All lines beginning with \`## DP:' are a description of the patch. +## DP: Replaces the names of KOI8 fonts with those in scaleble-cyrfonts + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0 +;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- encoding/koi8.edf.orig 1998-09-04 19:05:13.000000000 +0900 ++++ encoding/koi8.edf 2003-04-01 02:34:21.000000000 +0900 +@@ -1,6 +1,7 @@ + # Description of the KOI8 encoding + # Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana + # Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana ++# Copyright (c) 2002 Vyacheslav E. Sidin + # + + # +@@ -27,27 +28,26 @@ + Name: KOI8 + + Documentation +-KOI-8 (+Ëë) is a subset of ISO-IR-111 that can be used in Serbia, Belarus ++KOI-8 (+ª³«³) is a subset of ISO-IR-111 that can be used in Serbia, Belarus + etc. + EndDocumentation + +-# Regular fonts don't support Cyrillic glyphs +-Default: CourierISOC ++Default: Courier + +-Substitute: Courier CourierISOC +-Substitute: Courier-Bold CourierISOC-Bold +-Substitute: Courier-BoldOblique CourierISOC-BoldOblique +-Substitute: Courier-Oblique CourierISOC-Oblique +- +-Substitute: Times-Roman College +-Substitute: Times-Bold College-Bold +-Substitute: Times-Italic College-Italic +-Substitute: Times-BoldItalic College-Italic +- +-Substitute: Helvetica Textbook +-Substitute: Helvetica-Bold Textbook-Bold +-Substitute: Helvetica-Oblique Textbook-Italic +-Substitute: Helvetica-BoldOblique Textbook-Italic ++Substitute: Courier NimbusMonCYR-Regu ++Substitute: Courier-Bold NimbusMonCYR-Bold ++Substitute: Courier-BoldOblique NimbusMonCYR-BoldObli ++Substitute: Courier-Oblique NimbusMonCYR-ReguObli ++ ++Substitute: Times-Roman NimbusRomanCYR-Regu ++Substitute: Times-Bold NimbusRomanCYR-Medi ++Substitute: Times-Italic NimbusRomanCYR-ReguItal ++Substitute: Times-BoldItalic NimbusRomanCYR-MediItal ++ ++Substitute: Helvetica NimbusSansCYR-Regu ++Substitute: Helvetica-Bold NimbusSansCYR-Bold ++Substitute: Helvetica-Oblique NimbusSansCYR-ReguObli ++Substitute: Helvetica-BoldOblique NimbusSansCYR-BoldObli + + Vector: + .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef --- a2ps-4.14.orig/debian/patches/02_composite_fonts.dpatch +++ a2ps-4.14/debian/patches/02_composite_fonts.dpatch @@ -0,0 +1,862 @@ +#! /bin/sh -e +## 02_composite_fonts.dpatch by Masayuki Hatta +## +## All lines beginning with \`## DP:' are a description of the patch. +## DP: Composite fonts support, needed for handling Japanese EUC-JP encoding +## DP: Roughly based on Yasuyuki Furukawa's patch + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch --dry-run -p1 < $0 && patch -f --no-backup-if-mismatch -p1 < $0 +;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +diff -urN a2ps-4.13c.orig/encoding/Makefile.am a2ps-4.13c/encoding/Makefile.am +--- a2ps-4.13c.orig/encoding/Makefile.am 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/encoding/Makefile.am 2007-04-22 19:26:39.000000000 +0900 +@@ -16,7 +16,7 @@ + minor_encodings = \ + ms-cp1250.edf hp.edf mac.edf ibm-cp437.edf ibm-cp850.edf iso2.edf \ + iso3.edf iso4.edf iso5.edf iso7.edf iso9.edf iso10.edf iso13.edf \ +-iso15.edf koi8.edf ms-cp1251.edf ++iso15.edf koi8.edf ms-cp1251.edf euc-jp.edf + + if EXTENSIONS + encodings_DATA = encoding.map $(major_encodings) $(minor_encodings) +diff -urN a2ps-4.13c.orig/encoding/Makefile.in a2ps-4.13c/encoding/Makefile.in +--- a2ps-4.13c.orig/encoding/Makefile.in 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/encoding/Makefile.in 2007-04-22 19:27:00.000000000 +0900 +@@ -269,7 +269,7 @@ + minor_encodings = \ + ms-cp1250.edf hp.edf mac.edf ibm-cp437.edf ibm-cp850.edf iso2.edf \ + iso3.edf iso4.edf iso5.edf iso7.edf iso9.edf iso10.edf iso13.edf \ +-iso15.edf koi8.edf ms-cp1251.edf ++iso15.edf koi8.edf ms-cp1251.edf euc-jp.edf + + @EXTENSIONS_FALSE@encodings_DATA = encoding.map $(major_encodings) + @EXTENSIONS_TRUE@encodings_DATA = encoding.map $(major_encodings) $(minor_encodings) +diff -urN a2ps-4.13c.orig/encoding/encoding.map a2ps-4.13c/encoding/encoding.map +--- a2ps-4.13c.orig/encoding/encoding.map 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/encoding/encoding.map 2007-04-22 19:26:23.000000000 +0900 +@@ -93,6 +93,12 @@ + koi8 koi8 + koi koi8 + ++euc-jp euc-jp ++eucjp euc-jp ++japanese euc-jp ++ja euc-jp ++jp euc-jp ++ + ######################################################################## + # Some architectures specific char sets + ######################################################################## +diff -urN a2ps-4.13c.orig/encoding/euc-jp.edf a2ps-4.13c/encoding/euc-jp.edf +--- a2ps-4.13c.orig/encoding/euc-jp.edf 1970-01-01 09:00:00.000000000 +0900 ++++ a2ps-4.13c/encoding/euc-jp.edf 2007-04-22 19:26:23.000000000 +0900 +@@ -0,0 +1,95 @@ ++# Description of the EUC-JP encoding ++# Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana ++# Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana ++# Copyright (c) 2003 Masayuki Hatta ++# ++ ++# This program 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, or (at your option) ++# any later version. ++# ++# This program 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; see the file COPYING. If not, write to ++# the Free Software Foundation, 59 Temple Place - Suite 330, ++# Boston, MA 02111-1307, USA. ++# ++ ++Name: EUC-JP ++ ++Documentation ++The EUC-JP encoding is a 8-bit character set widely used in Japan. ++EndDocumentation ++ ++# If there is an unknown font requested, use Courier ++Default: Courier ++ ++# Automatic spell checking :) ++Substitute: Times Times-Roman ++Substitute: Helvetica-Italic Helvetica-Oblique ++Substitute: Helvetica-BoldItalic Helvetica-BoldOblique ++ ++ ++# SlantFont for Japanese Italic Kanji font ++# new font source font value ++SlantFont: Ryumin-Light-EUC-H-Italic Ryumin-Light-EUC-H 0.2 ++SlantFont: GothicBBB-Medium-EUC-H-Italic GothicBBB-Medium-EUC-H 0.2 ++ ++# Compose fonts for Japanese EUC code ++# target font additional font width size rate ++DefaultComposite: Ryumin-Light-EUC-H 1.0 1.1 ++ ++# 1:2 fixed ++#DefaultComposite: Ryumin-Light-EUC-H 1.0 0.8333 ++ ++# 1:1 fixed ++#DefaultComposite: Ryumin-Light-EUC-H 1.0 1.6666 ++ ++Composite: Helvetica GothicBBB-Medium-EUC-H 1.0 1.1 ++Composite: Helvetica-Oblique GothicBBB-Medium-EUC-H-Italic 1.0 1.1 ++Composite: Helvetica-Bold GothicBBB-Medium-EUC-H 1.0 1.1 ++Composite: Helvetica-BoldOblique GothicBBB-Medium-EUC-H-Italic 1.0 1.1 ++ ++Composite: Courier-Oblique Ryumin-Light-EUC-H-Italic 1.0 1.1 ++Composite: Courier-Bold GothicBBB-Medium-EUC-H 1.0 1.1 ++Composite: Courier-BoldOblique GothicBBB-Medium-EUC-H-Italic 1.0 1.1 ++Composite: Times-Bold GothicBBB-Medium-EUC-H 1.0 1.1 ++ ++Vector: ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++space exclam quotedbl numbersign dollar percent ampersand quoteright ++parenleft parenright asterisk plus comma minus period slash ++zero one two three four five six seven ++eight nine colon semicolon less equal greater question ++at A B C D E F G ++H I J K L M N O ++P Q R S T U V W ++X Y Z bracketleft backslash bracketright asciicircum underscore ++quoteleft a b c d e f g ++h i j k l m n o ++p q r s t u v w ++x y z braceleft bar braceright asciitilde .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ++space exclamdown cent sterling currency yen brokenbar section ++dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron ++degree plusminus twosuperior threesuperior acute mu paragraph bullet ++cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown ++Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla ++Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis ++Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply ++Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls ++agrave aacute acircumflex atilde adieresis aring ae ccedilla ++egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis ++eth ntilde ograve oacute ocircumflex otilde odieresis divide ++oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis +diff -urN a2ps-4.13c.orig/lib/encoding.c a2ps-4.13c/lib/encoding.c +--- a2ps-4.13c.orig/lib/encoding.c 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/lib/encoding.c 2007-04-22 19:26:23.000000000 +0900 +@@ -389,15 +389,25 @@ + * Association of suffixes rules, and corresponding style sheet + * (The hashing is upon `alias') + */ ++struct slantfont_info { ++ char * name; ++ char * src; ++ float ratio; ++}; ++ + struct encoding { + char * key; /* e.g. latin1 */ + char * name; /* e.g. ISO Latin 1 */ ++ int composite_flag; /* flag for composite font */ + uchar * documentation; /* Useful pieces of text */ + + char * default_font; /* When a font can't be used + define the font to use */ + struct pair_htable * substitutes; /* e.g. in latin2, don't use + * Courier, but Courier-Ogonki */ ++ struct pair_htable * composite; ++ ++ struct slantfont_info slantfont[NB_FACES]; + + char * vector[256]; /* Define the char set */ + struct darray * font_names_used; +@@ -407,6 +417,9 @@ + struct hash_table_s * fonts; /* Contains cells that are + * 1. name of font, 2. int wx[256] */ + unsigned int * faces_wx[NB_FACES]; ++ ++ unsigned int composite_wx[NB_FACES]; /* fixed length font width */ ++ float composite_ratio[NB_FACES]; /* size ratio of additonal and original font */ + }; + + /* +@@ -423,9 +436,12 @@ + res->name = NULL; + res->default_font = NULL; + res->documentation = NULL; ++ res->composite_flag = false; + + /* Vector will be set by setup */ + res->substitutes = pair_table_new (); ++ res->composite = pair_table_new (); ++ res->slantfont[0].name = NULL; + res->font_names_used = da_new ("List of font names", 10, + da_linear, 10, + (da_print_func_t) da_str_print, +@@ -471,6 +487,34 @@ + } + + /* ++ * Add a composite font in the current encoding ++ */ ++static void ++encoding_add_composite_font (struct encoding * encoding, ++ const char * orig, const char * subs, ++ int wx, float ratio) ++{ ++ encoding->composite_flag = true; ++ pair_add2 (encoding->composite, orig, subs, wx, ratio); ++} ++ ++/* ++ * Add a composite font in the current encoding ++ */ ++static void ++encoding_add_slant_font (struct encoding * encoding, ++ const char * new, const char * src, ++ float ratio) ++{ ++ static num = 0; ++ encoding->slantfont[num].name = strdup(new); ++ encoding->slantfont[num].src = strdup(src); ++ encoding->slantfont[num].ratio = ratio; ++ encoding->slantfont[num+1].name = NULL; ++ num++; ++} ++ ++/* + * When FONT_NAME is used with ENCODING, return the + * real font name to use (e.g., in latin2, Courier-Ogonki + * should be returned when asked for Courier). +@@ -514,6 +558,77 @@ + } + + message (msg_enc, ++ (stderr, "In encoding %s, composite font for %s is resolved as %s\n", ++ encoding->key, font_name, res)); ++ return res; ++} ++ ++/* ++ * Get composite font size and ratio ++ */ ++static int ++composite_font_info_get_wx(struct a2ps_job * job, ++ struct encoding * encoding, ++ const char * font_list) ++{ ++ int wx= -1; ++ char * font_list_copy; ++ char * font_name; ++ astrcpy (font_list_copy, font_list); ++ font_name = strtok (font_list_copy, ",<>;"); ++ ++ wx = pair_get_wx (encoding->composite, font_name); ++ if (wx<0) ++ wx = pair_get_wx (encoding->composite, "default_composite__"); ++ ++ return wx; ++} ++ ++static float ++composite_font_info_get_ratio(struct a2ps_job * job, ++ struct encoding * encoding, ++ const char * font_list) ++{ ++ float ratio= -1; ++ char * font_list_copy; ++ char * font_name; ++ ++ astrcpy (font_list_copy, font_list); ++ font_name = strtok (font_list_copy, ",<>;"); ++ ++ ratio = pair_get_ratio (encoding->composite, font_name); ++ if (ratio<0) ++ ratio = pair_get_ratio (encoding->composite, "default_composite__"); ++ return ratio; ++} ++ ++const char * ++encoding_resolve_composite_font (struct a2ps_job * job, ++ struct encoding * encoding, ++ const char * font_list) ++{ ++ const char * res = NULL; ++ char * font_list_copy; ++ char * font_name; ++ ++ astrcpy (font_list_copy, font_list); ++ font_name = strtok (font_list_copy, ",<>;"); ++ ++ /* Find if there is a substitute for that font */ ++ res = pair_get (encoding->composite, font_name); ++ ++ /* We've found nothing interesting. Last chance is the default ++ * font */ ++ if (!res) ++ { ++ res = pair_get (encoding->composite, "default_composite__"); ++ ++ if (!res) ++ error (1, 0, "Cannot find font %s, nor any composite font", ++ font_name); ++ } ++ ++ message (msg_enc, + (stderr, "In encoding %s, font %s is resolved as %s\n", + encoding->key, font_name, res)); + return res; +@@ -633,6 +748,66 @@ + subs = token2; + encoding_add_font_substitute (encoding, orig, subs); + } ++ else if (strequ (token, "DefaultComposite:")) ++ { ++ char * orig, * subs; ++ int wx; ++ float ratio; ++ ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ subs = token2; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ wx = (int)atof(token2)*1000; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ ratio = atof(token2); ++ encoding_add_composite_font(encoding, "default_composite__", ++ subs, wx, ratio); ++ } ++ else if (strequ (token, "Composite:")) ++ { ++ char * orig, * subs; ++ int wx; ++ float ratio; ++ ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ orig = token2; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ subs = token2; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ wx = (int)atof(token2)*1000; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ ratio = atof(token2); ++ encoding_add_composite_font(encoding, orig, subs, wx, ratio); ++ } ++ else if (strequ (token, "SlantFont:")) ++ { ++ char * new, * src; ++ float ratio; ++ unsigned int num; ++ ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ new = token2; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ src = token2; ++ token2 = GET_TOKEN (NULL); ++ CHECK_TOKEN (); ++ ratio = atof(token2); ++ for (num = 0 ; encoding->slantfont[num].name ; num ++ ); ++ if (num > sizeof encoding->slantfont - 1){ ++ error_at_line (1, 0, fname, firstline, ++ _("too many slant font: `%s'"), new); ++ } ++ encoding_add_slant_font(encoding, new, src, ratio); ++ } + else + error_at_line (1, 0, fname, firstline, + _("invalid option `%s'"), quotearg (token)); +@@ -754,6 +929,15 @@ + } + + /* ++ * Return the flag of composite flag ++ */ ++int ++encoding_get_composite_flag (struct encoding * enc) ++{ ++ return enc->composite_flag; ++} ++ ++/* + * Prepare the environment (a dictionary) for the support + * of ENCODING, dump it into STREAM. + * +@@ -766,9 +950,11 @@ + struct encoding * encoding) + { + size_t i, nb; ++ size_t ns; + const char * real_font_name; /* After subsitution */ + char ** font_names = (char **) encoding->font_names_used->content; + ++ + /* How many fonts are there? */ + da_qsort (encoding->font_names_used); + da_unique (encoding->font_names_used, (da_map_func_t) free); +@@ -787,15 +973,46 @@ + * in the current ENCODING */ + nb = encoding->font_names_used->len; + ++ /* The number of slant fonts */ ++ for (i= 0, ns=0 ; encoding->slantfont[i].name ; i++ ) ++ ns++; ++ + /* Create the dictionary and fill it */ + fprintf (stream, "%% Dictionary for %s support\n", + encoding->name); +- fprintf (stream, "/%sdict %d dict begin\n", encoding->key, nb); ++ fprintf (stream, "/%sdict %d dict begin\n", encoding->key, ++ (encoding->composite_flag == true)? nb+nb+ns:nb+ns); + for (i = 0 ; i < nb ; i++) + fprintf (stream, " /f%s %sEncoding /%s reencode_font\n", + font_names [i], + encoding->name, + encoding_resolve_font_substitute (job, encoding, font_names [i])); ++ ++ /* Slant font setting */ ++ for (i = 0 ; encoding->slantfont[i].name ; i++ ) ++ fprintf (stream, " /%s /%s %f slantfont definefont pop\n", ++ encoding->slantfont[i].name, ++ encoding->slantfont[i].src, ++ encoding->slantfont[i].ratio); ++ ++ /* ++ * Composite font setting. ++ * If kanji font size is larger than alphabet character, ++ * set base font size to kanji charactor size. ++ */ ++ if (encoding->composite_flag == true) { ++ for (i = 0 ; i < nb ; i++) ++ fprintf (stream, " /f%s /f%s /%s %f %f false compositefont " ++ "%f scalefont def\n", ++ font_names [i], ++ font_names [i], ++ encoding_resolve_composite_font (job, encoding, font_names [i]), ++ encoding->composite_ratio[i], ++ (encoding->composite_ratio[i] > 1.0)? ++ 0: (1-encoding->composite_ratio[i])/2.0, ++ (encoding->composite_ratio[i] > 1.0)? ++ 1.0/encoding->composite_ratio[i]: 1.0 ); ++ } + fputs ("currentdict end def\n", stream); + } + +@@ -939,6 +1156,22 @@ + true_font_name, + encoding->vector, + encoding->faces_wx [face]); ++ ++ if (encoding->composite_flag) ++ { ++ encoding->composite_ratio[i] = ++ composite_font_info_get_ratio(job, encoding, ++ job->face_eo_font [face]); ++ ++ encoding->composite_wx[i] = ++ composite_font_info_get_wx(job, encoding, ++ job->face_eo_font [face]); ++ ++ /* If kanji font size is larger than alphabet character, ++ fit kanji charactor size to base font size */ ++ if (encoding->composite_ratio[i] < 1.0) ++ encoding->composite_wx[i] *= encoding->composite_ratio[i]; ++ } + } + } + +@@ -1073,6 +1306,13 @@ + return 0; /* For -Wall */ + } + ++unsigned int ++char_composite_WX (a2ps_job * job, uchar c) ++{ ++ return (job->encoding->composite_wx[job->status->face]/ ++ job->encoding->composite_ratio[job->status->face]); ++} ++ + /* + * Returns the WX of a string (including M- and ^) + */ +diff -urN a2ps-4.13c.orig/lib/encoding.h a2ps-4.13c/lib/encoding.h +--- a2ps-4.13c.orig/lib/encoding.h 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/lib/encoding.h 2007-04-22 19:26:23.000000000 +0900 +@@ -43,6 +43,7 @@ + */ + unsigned int char_WX PARAMS ((struct a2ps_job * job, uchar c)); + unsigned int string_WX PARAMS ((struct a2ps_job * job, uchar * string)); ++unsigned int char_composite_WX PARAMS ((struct a2ps_job * job, uchar c)); + + + /************************************************************************/ +@@ -56,6 +57,7 @@ + FILE * stream)); + int encoding_char_exists PARAMS ((struct encoding * enc, + enum face_e face, uchar c)); ++int encoding_get_composite_flag (struct encoding * enc); + struct encoding * + get_encoding_by_alias PARAMS ((struct a2ps_job * job, + char *string)); +@@ -71,6 +73,12 @@ + struct encoding * encoding, + const char * font_name)); + ++ ++const char * encoding_resolve_composite_font ++ PARAMS ((struct a2ps_job * job, ++ struct encoding * encoding, ++ const char * font_name)); ++ + /* + * Have a struct encoding determine the faces_wx + */ +diff -urN a2ps-4.13c.orig/lib/pair_ht.c a2ps-4.13c/lib/pair_ht.c +--- a2ps-4.13c.orig/lib/pair_ht.c 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/lib/pair_ht.c 2007-04-22 19:26:23.000000000 +0900 +@@ -49,6 +49,8 @@ + { + char * key; + char * value; ++ float ratio; ++ int wx; + }; + + /* +@@ -165,6 +167,37 @@ + } + + /* ++ * Add a pair, with your own allocation for them. ++ * It KEY is yet used, override its value with VALUE ++ */ ++void ++pair_add2 (struct hash_table_s * table, ++ const char * key, const char * value, int wx, float ratio) ++{ ++ struct pair * item, token; ++ ++ token.key = (char *) key; ++ item = (struct pair *) hash_find_item (table, &token); ++ ++ if (item) { ++ if (item->value) ++ free (item->value); ++ } else { ++ item = XMALLOC (struct pair, 1); ++ item->key = xstrdup(key); ++ item->wx = wx; ++ item->ratio = ratio; ++ } ++ ++ if (value) ++ item->value = xstrdup (value); ++ else ++ item->value = NULL; ++ ++ hash_insert (table, item); ++} ++ ++/* + * Remove a pair and free it. + * It KEY is yet used, override its value with VALUE + */ +@@ -201,6 +234,34 @@ + return NULL; + } + ++int ++pair_get_wx (struct hash_table_s * table, const char * key) ++{ ++ struct pair * item, token; ++ ++ token.key = (char *) key; ++ item = (struct pair *) hash_find_item (table, &token); ++ ++ if (item) ++ return item->wx; ++ else ++ return -1; ++} ++ ++float ++pair_get_ratio (struct hash_table_s * table, const char * key) ++{ ++ struct pair * item, token; ++ ++ token.key = (char *) key; ++ item = (struct pair *) hash_find_item (table, &token); ++ ++ if (item) ++ return item->ratio; ++ else ++ return -1; ++} ++ + /* + * Return the content of the hash table, ordered + */ +diff -urN a2ps-4.13c.orig/lib/pair_ht.h a2ps-4.13c/lib/pair_ht.h +--- a2ps-4.13c.orig/lib/pair_ht.h 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/lib/pair_ht.h 2007-04-22 19:26:23.000000000 +0900 +@@ -56,6 +56,10 @@ + void pair_add PARAMS ((struct pair_htable * table, + const char * key, const char * value)); + ++void pair_add2 PARAMS ((struct pair_htable * table, ++ const char * key, const char * value, ++ int wx, float ratio)); ++ + /* + * The key and value of the matching item will be free'd + * (No problem if KEY matches nothing) +@@ -68,6 +72,10 @@ + */ + char * pair_get PARAMS ((struct pair_htable * table, + const char * key)); ++int pair_get_wx PARAMS ((struct pair_htable * table, ++ const char * key)); ++float pair_get_ratio PARAMS ((struct pair_htable * table, ++ const char * key)); + + void pair_table_list_short PARAMS ((struct pair_htable * table, + FILE * stream)); +diff -urN a2ps-4.13c.orig/lib/psgen.c a2ps-4.13c/lib/psgen.c +--- a2ps-4.13c.orig/lib/psgen.c 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/lib/psgen.c 2007-04-22 19:26:23.000000000 +0900 +@@ -875,6 +875,7 @@ + print: + default: + { ++ static mb_flag= 0; + uchar buf[256]; + int nchars; + *buf = '\0'; +@@ -889,6 +890,29 @@ + job->status->face_declared = false; + } + ++ if (c > 127 && encoding_get_composite_flag (job->encoding) && ++ job->status->face != Symbol) { ++ if (mb_flag) { ++ nchars = ps_escape_char (job, mb_flag, buf) + ++ ps_escape_char (job, c, buf); ++ job->status->wx += char_composite_WX(job, c); ++ job->status->column += nchars; ++ if (line_full) { ++ if (job->folding) { ++ fold_line (job, new_face); ++ job->status->column = nchars*2; ++ job->status->wx = char_composite_WX(job, c); ++ } else { ++ job->status->is_in_cut = true; ++ return; ++ } ++ } ++ mb_flag = 0; ++ } else { ++ mb_flag = c; ++ return; ++ } ++ } else { + nchars = ps_escape_char (job, c, buf); + job->status->wx += char_WX (job, c); + job->status->column += nchars; +@@ -902,8 +926,9 @@ + return; + } + } ++ } + output (jdiv, "%s", buf); +- job->status->chars++; ++ job->status->chars+=nchars; + } + break; + } +diff -urN a2ps-4.13c.orig/ps/base.ps a2ps-4.13c/ps/base.ps +--- a2ps-4.13c.orig/ps/base.ps 2007-04-22 19:26:12.000000000 +0900 ++++ a2ps-4.13c/ps/base.ps 2007-04-22 19:26:23.000000000 +0900 +@@ -153,7 +153,11 @@ + % Return the y size of the current font + % - => fontsize + /currentfontsize { +- currentfont /FontMatrix get 3 get 1000 mul ++ currentfont /FontType get 0 eq { ++ currentfont /FontMatrix get 3 get ++ }{ ++ currentfont /FontMatrix get 3 get 1000 mul ++ } ifelse + } bind def + + % reencode the font +@@ -202,6 +206,144 @@ + end + } bind def + ++% composite fonts for ASCII-EUC mixed strings ++% Version 1.2 1/31/1990 ++% Original Ken'ichi HANDA (handa@etl.go.jp) ++% Modified Norio Katayama (katayama@rd.nacsis.ac.jp),1998 ++% Extend & Fix Koji Nakamaru (maru@on.cs.keio.ac.jp), 1999 ++% Anyone can freely copy, modify, distribute this program. ++ ++/copyfont { % font-dic extra-entry-count copyfont font-dic ++ 1 index maxlength add dict begin ++ { 1 index /FID ne 2 index /UniqueID ne and ++ {def} {pop pop} ifelse ++ } forall ++ currentdict ++ end ++} bind def ++ ++/compositefont { % ASCIIFontName EUCFontName RomanScale RomanOffset Rot(T/F) compositefont font ++ /RomanRotation exch def ++ /RomanOffset exch def ++ /RomanScale exch def ++ userdict /fixeucfont_dict known not { ++ userdict begin ++ /fixeucfont_dict 2 dict begin ++ /UpperByteEncoding [ ++ 16#00 1 16#20 { pop 0 } for ++ 16#21 1 16#28 { 16#20 sub } for ++ 16#29 1 16#2F { pop 0 } for ++ 16#30 1 16#74 { 16#27 sub } for ++ 16#75 1 16#FF { pop 0 } for ++ ] def ++ /LowerByteEncoding [ ++ 16#00 1 16#A0 { pop /.notdef } for ++ 16#A1 1 16#FE { 16#80 sub 16 2 string cvrs ++ (cXX) dup 1 4 -1 roll ++ putinterval cvn } for ++ /.notdef ++ ] def ++ currentdict ++ end def ++ end ++ } if ++ findfont dup /FontType get 0 eq { ++ 14 dict begin ++ % ++ % 7+8 bit EUC font ++ % ++ 12 dict begin ++ /EUCFont exch def ++ /FontInfo (7+8 bit EUC font) readonly def ++ /PaintType 0 def ++ /FontType 0 def ++ /FontMatrix matrix def ++ % /FontName ++ /Encoding fixeucfont_dict /UpperByteEncoding get def ++ /FMapType 2 def ++ EUCFont /WMode known ++ { EUCFont /WMode get /WMode exch def } ++ { /WMode 0 def } ifelse ++ /FDepVector [ ++ EUCFont /FDepVector get 0 get ++ [ 16#21 1 16#28 {} for 16#30 1 16#74 {} for ] ++ { ++ 13 dict begin ++ /EUCFont EUCFont def ++ /UpperByte exch 16#80 add def ++ % /FontName ++ /FontInfo (EUC lower byte font) readonly def ++ /PaintType 0 def ++ /FontType 3 def ++ /FontMatrix matrix def ++ /FontBBox {0 0 0 0} def ++ /Encoding ++ fixeucfont_dict /LowerByteEncoding get def ++ % /UniqueID ++ % /WMode ++ /BuildChar { ++ gsave ++ exch dup /EUCFont get setfont ++ /UpperByte get ++ 2 string ++ dup 0 4 -1 roll put ++ dup 1 4 -1 roll put ++ dup stringwidth setcharwidth ++ 0 0 moveto show ++ grestore ++ } bind def ++ currentdict ++ end ++ /lowerbytefont exch definefont ++ } forall ++ ] def ++ currentdict ++ end ++ /eucfont exch definefont ++ exch ++ findfont 1 copyfont dup begin ++ RomanRotation { ++ /FontMatrix FontMatrix ++ [ 0 RomanScale neg RomanScale 0 RomanOffset neg 0 ] ++ matrix concatmatrix def ++ }{ ++ /FontMatrix FontMatrix ++ [ RomanScale 0 0 RomanScale 0 RomanOffset ] matrix concatmatrix ++ def ++ /CDevProc ++ {pop pop pop pop 0 exch -1000 exch 2 div 880} def ++ } ifelse ++ end ++ /asciifont exch definefont ++ exch ++ /FDepVector [ 4 2 roll ] def ++ /FontType 0 def ++ /WMode 0 def ++ /FMapType 4 def ++ /FontMatrix matrix def ++ /Encoding [0 1] def ++ /FontBBox {0 0 0 0} def ++% /FontHeight 1.0 def % XXXX ++ /FontHeight RomanScale 1.0 ge { RomanScale }{ 1.0 } ifelse def ++ /Descent -0.3 def % XXXX ++ currentdict ++ end ++ /tmpfont exch definefont ++ pop ++ /tmpfont findfont ++ }{ ++ pop findfont 0 copyfont ++ } ifelse ++} def ++ ++/slantfont { % FontName slant-degree slantfont font' ++ exch findfont 1 copyfont begin ++ [ 1 0 4 -1 roll 1 0 0 ] FontMatrix exch matrix concatmatrix ++ /FontMatrix exch def ++ currentdict ++ end ++} def ++ + % Function print line number ( # -) + /# { + gsave + --- a2ps-4.14.orig/debian/patches/01_a2ps_el_path_fix.dpatch +++ a2ps-4.14/debian/patches/01_a2ps_el_path_fix.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh -e +## 01_a2ps_el_path_fix.dpatch by Masayuki Hatta +## +## All lines beginning with \`## DP:' are a description of the patch. +## DP: Fixes path to a2ps binary in a2ps.el + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0 +;; + -unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +--- contrib/emacs/a2ps.el.orig 2003-04-06 16:37:35.000000000 +0900 ++++ contrib/emacs/a2ps.el 2003-04-06 16:37:50.000000000 +0900 +@@ -44,7 +44,7 @@ + ;; a2ps-compile-regexp + + ;;path to the a2ps program +-(defvar a2ps-program "/usr/local/bin/a2ps") ++(defvar a2ps-program "/usr/bin/a2ps") + + ;;thank god for make-regexp.el! + (defvar a2ps-font-lock-keywords --- a2ps-4.14.orig/debian/patches/00list +++ a2ps-4.14/debian/patches/00list @@ -0,0 +1,7 @@ +01_a2ps_el_path_fix +02_composite_fonts +03_koi8_fonts_debian.dpatch +04_lp_lpr_workaround +05_no_acroread_for_pdf + + --- a2ps-4.14.orig/debian/patches/04_lp_lpr_workaround.dpatch +++ a2ps-4.14/debian/patches/04_lp_lpr_workaround.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_lp_lpr_workaround.dpatch by Per Olofsson +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Use a2ps-lpr-wrapper script instead of using lp/lpr directly + +@DPATCH@ +diff -urNad a2ps-4.13b.dfsg.1~/etc/a2ps_cfg.in a2ps-4.13b.dfsg.1/etc/a2ps_cfg.in +--- a2ps-4.13b.dfsg.1~/etc/a2ps_cfg.in 2006-02-07 07:37:43.000000000 +0100 ++++ a2ps-4.13b.dfsg.1/etc/a2ps_cfg.in 2006-02-07 07:37:53.000000000 +0100 +@@ -417,13 +417,13 @@ + # with a hook to post-process PostScript (to call psbook for instance). + # Something like `#{lp.hook} lp #{lp.options}' + # or `#{lp.hook} lpr #{lp.options}'. +-Variable: lp.default #{lp.hook} @LPR@ #{lp.options} ++Variable: lp.default #{lp.hook} a2ps-lpr-wrapper #{lp.options} + + + # The same, but when a printer is specified. + # Something like `#{lp.hook} lp #{lp.options} -d' + # or `#{lp.hook} lpr #{lp.options} -P'. +-Variable: lp #{lp.hook} @LPR@ #{lp.options} @LPR_QUEUE_OPTION@ ++Variable: lp #{lp.hook} a2ps-lpr-wrapper #{lp.options} -d + + + # To avoid that the next installation of a2ps destroys your --- a2ps-4.14.orig/debian/control +++ a2ps-4.14/debian/control @@ -0,0 +1,38 @@ +Source: a2ps +Section: text +Priority: optional +Maintainer: Masayuki Hatta (mhatta) +Build-Depends: autotools-dev, bison, bzip2, debhelper (>> 4.0.0), docbook-to-man, dpatch, emacs22 | emacsen, file, flex, gperf, ghostscript, groff-base, gv, html2ps, graphicsmagick-imagemagick-compat, libpaper-dev, lpr, psutils, texlive-base-bin, texinfo +Standards-Version: 3.7.3 + +Package: a2ps +Architecture: any +Depends: ${shlibs:Depends}, file, psutils +Recommends: bzip2, lpr | rlpr | cupsys-client, wdiff +Suggests: emacsen-common, groff, ghostscript, gv, html2ps, graphicsmagick-imagemagick-compat | imagemagick, texlive-base-bin, t1-cyrillic +Description: GNU a2ps - 'Anything to PostScript' converter and pretty-printer + GNU a2ps converts files into PostScript for printing or viewing. It uses a + nice default format, usually two pages on each physical page, borders + surrounding pages, headers with useful information (page number, printing + date, file name or supplied header), line numbering, symbol substitution + as well as pretty printing for a wide range of programming languages. + . + Historically, a2ps started as a text to PostScript converter, but thanks + to powerful delegations it is able to let you use it for any kind of files, + ie it can also digest manual pages, dvi files, texinfo, .... + . + Among the other most noticeable features of a2ps are: + - various encodings (all the Latins and others), + - various fonts (automatic font down loading), + - various medias, + - various printer interfaces, + - various output styles, + - various programming languages, + - various helping applications, + - and various spoken languages. + + + + + + --- a2ps-4.14.orig/debian/manpages/fixnt.1 +++ a2ps-4.14/debian/manpages/fixnt.1 @@ -0,0 +1,43 @@ +.TH "fixnt" 1 "February 2003" "a2ps" "Debian" +.SH NAME +fixnt \- Filter for the Windows NT postscript printer driver. +.SH SYNOPSIS +.B fixnt +< +.I BADFILE.ps +> +.I GOODFILE.ps +.SH DESCRIPTION +The Windows NT postscript driver has a tendency to make broken postscript +files, that are incompatible with psutils. +.B fixnt +is a filter that fixes these problems, allowing the use of psnup(1). +.PP +The filter takes the broken postscript file on +.BR stdin , +and outputs a fixed postscript file on +.BR stdout . +It has no other form for invocation and takes no options on the command-line. +.SH OPTIONS +.TP +.B fixnt +takes no options. +.SH BUGS +.B fixnt +does not check for NTPSOct94. For a workaround, use a sed(1) command +to replace 'NTPSOct94' with 'NTPSOct95', like so: +.RS +sed 's/NTPSOct94/NTPSOct95/g' +.RE +This is particularly important for Windows NT 3.5 users. +.SH AUTHOR +.B fixnt +was written by Holger Bauer , +Michael Rath , +and Akim Demaille . +.SH REPORTING BUGS +Report bugs to the Authors, but avoid sending large postscript files. +.P +Patches are always welcome; send to . +.SH "SEE ALSO" +psnup(1), sed(1) --- a2ps-4.14.orig/debian/manpages/a2ps-lpr-wrapper.sgml +++ a2ps-4.14/debian/manpages/a2ps-lpr-wrapper.sgml @@ -0,0 +1,147 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Michael"> + Tautschnig"> + + May 18, 2007"> + + 1"> + tautschn@model.in.tum.de"> + + a2ps-lpr-wrapper"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + lp/lpr wrapper script for GNU a2ps on Debian + + + + &dhpackage; + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; + command. + + &dhpackage; uses either + lp or lpr to send + files to printer. It + determines which of the two programs is currently installed and adds the + appropriate parameters. + + + + OPTIONS + + + + + + + Destination system printer. + + + + + + + List of files to be printed. + + + + + + SEE ALSO + + a2ps (1). + + The programs are documented fully by the a2ps documentation available via the + Info system. + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- a2ps-4.14.orig/debian/manpages/composeglyphs.1 +++ a2ps-4.14/debian/manpages/composeglyphs.1 @@ -0,0 +1,74 @@ +.TH "composeglyphs" 1 "May 2003" "a2ps" "Debian" +.SH NAME +composeglyphs \- generate an encoding vector or new font for postscript +.SH SYNOPSIS +.B composeglyphs +\fB\-e\fR \fIencoding.afm\fR +\fB\-E\fR \fIencoding.ps\fR +.P +.B composeglyphs +\fB\-i\fR \fIinput.afm\fR +\fB\-o\fR \fIoutput.ps\fR +\fB\-c\fR \fIcomposite.afm\fR +\fB\-n\fR \fInewname\fR +\fB\-e\fR \fIbase_encoding.afm\fR +\fB\-t\fR \fItarget_encoding.afm\fR +\fB\-a\fR \fIoutput.afm\fR +.SH DESCRIPTION +.B composeglyphs +is a script to generate either an encoding vector or a new +font for postscript. It requires a pre-existing AFM and allows +for the use of composite characters that that AFM does not already +provide. +.SH OPTIONS +.TP +\fB\-e\fR \fIencoding.afm\fR +The base encoding AFM to use. +.TP +\fB\-E\fR \fIencoding.ps\fR +The encoding vector to output. +.TP +\fB\-i\fR \fIinput.afm\fR +The AFM of the original font. +.TP +\fB\-o\fR \fIoutput.ps\fR +The font program to generate. +.TP +\fB\-c\fR \fIcomposite.afm\fR +The AFM containing supplementary composite character information. +.TP +\fB\-n\fR \fInewname\fR +The name of the new font. +.TP +\fB\-t\fR \fItarget_encoding.afm\fR +The target encoding. +.TP +\fB\-a\fR \fIoutput.afm\fR +The name of the AFM file to generate. +.SH NOTES +.B composeglyphs +is a part of +.BR Ogonkify , +which comes with the +.B a2ps +distribution. +.PP +If you create new AFMs or modify existing ones, the author asks +that you kindly send him a copy so that he may include them in +the distribution. +.SH AUTHOR +Juliusz Chroboczek +.SH SEE ALSO +\fBa2ps\fR(1), \fBogonkify\fR(1) +.PP +The full documentation for +.B Ogonkify +is maintained as a Texinfo manual. If the +.B info +and +.B a2ps +programs are properly installed at your site, the command +.IP +.B info Ogonkify +.PP +should give you access to the complete manual. --- a2ps-4.14.orig/debian/emacsen-remove +++ a2ps-4.14/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/a2ps + +FLAVOR=$1 +PACKAGE=a2ps + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/a2ps.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- a2ps-4.14.orig/debian/dirs +++ a2ps-4.14/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/emacs/site-lisp/a2ps --- a2ps-4.14.orig/debian/emacsen-startup +++ a2ps-4.14/debian/emacsen-startup @@ -0,0 +1,47 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian a2ps package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The a2ps package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(setq load-path (cons (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/a2ps") load-path)) +;; a2ps +(autoload 'a2ps-mode "a2ps" nil t) +(setq auto-mode-alist + (cons '(".*\\.a2ps$" . a2ps-mode) + auto-mode-alist)) + +;; a2ps-print +(autoload 'a2ps-buffer "a2ps-print" + "Print buffer contents as with Unix command `a2ps'. + `a2ps-switches' is a list of extra switches (strings) to pass to a2ps." + t) +(autoload a2ps-region "a2ps-print" + "Print region contents as with Unix command `a2ps'. + `a2ps-switches' is a list of extra switches (strings) to pass to a2ps." + t) + +(if (featurep 'xemacs) + (progn + (global-set-key 'f22 'a2ps-buffer) + (global-set-key '(shift f22) 'a2ps-region-1) + (add-menu-button '("File") ["a2ps-print" a2ps-buffer "--"]) + ) + (progn + (global-set-key [f22] 'a2ps-buffer) + (global-set-key [S-f22] 'a2ps-region-1) + (define-key-after menu-bar-files-menu [a2ps-print] + '(menu-item "a2ps" a2ps-buffer :help "Print with a2ps") + 'ps-print-region) + ) + ) + --- a2ps-4.14.orig/debian/rules +++ a2ps-4.14/debian/rules @@ -0,0 +1,133 @@ +#!/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 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc \ + --with-medium=libpaper + + +build: patch build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + /usr/bin/docbook-to-man debian/manpages/a2ps-lpr-wrapper.sgml > debian/manpages/a2ps-lpr-wrapper.1 + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + # Seems make distclean is not thorough enough... + rm -f ogonkify/ogonkify afm/fonts.map.new + rm -f contrib/card contrib/fixps contrib/pdiff \ + contrib/psmandup contrib/psset + + rm -rf lib/*.o lib/.libs + rm -rf po/*.gmo + rm -f src/*.o src/a2ps + rm -f contrib/sample/sample contrib/*.o contrib/emacs/a2ps-print.elc \ + contrib/emacs/a2ps.elc contrib/fixnt + rm -f debian/manpages/a2ps-lpr-wrapper.1 + +#ifneq "$(wildcard /usr/share/misc/config.sub)" "" +# cp -f /usr/share/misc/config.sub $(CURDIR)/auxdir/config.sub +#endif +#ifneq "$(wildcard /usr/share/misc/config.guess)" "" +# cp -f /usr/share/misc/config.guess $(CURDIR)/auxdir/config.guess +#endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/a2ps. + $(MAKE) install DESTDIR=$(CURDIR)/debian/a2ps + + # Install a2ps-lpr-wrapper + install -m 755 $(CURDIR)/debian/a2ps-lpr-wrapper $(CURDIR)/debian/a2ps/usr/bin + + # Install *.el by hand + install -m 644 $(CURDIR)/contrib/emacs/*.el $(CURDIR)/debian/a2ps/usr/share/emacs/site-lisp/a2ps + + # Remove unnecessary stuff + rm -rf $(CURDIR)/debian/a2ps/usr/lib + rm -rf $(CURDIR)/debian/a2ps/usr/include + rm -rf $(CURDIR)/debian/a2ps/usr/share/info/regex.info + rm -rf $(CURDIR)/debian/a2ps/usr/share/emacs/site-lisp/*.el* + +# 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_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate + dh_installemacsen --noscripts +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installinfo + dh_installman debian/manpages/fixnt.1 debian/manpages/composeglyphs.1 debian/manpages/a2ps-lpr-wrapper.1 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install