a2ps-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Fix to let a2ps handle FlateDecode from its delegates


From: Jason McCarty
Subject: Re: [patch] Fix to let a2ps handle FlateDecode from its delegates
Date: Fri, 20 Sep 2002 18:16:19 -0400
User-agent: Mutt/1.4i

On Fri, Sep 20, 2002 at 01:54:19PM +0200, Franck Lombardi wrote:
> Hi,
> 
> Can you send your ImageMagick settings in a2ps.cfg ?
> What is your config (OS, version ...) ??
> 
> Thanks.

Sorry, I should have specified my version and such. I'm using a2ps
4.13b on Debian GNU/Linux (Debian package version 4.13b-16). This is the
section of my modified a2ps.cfg that makes stock a2ps misbehave:

######################## Using ImageMagick for images
########## GIF files
Delegation: ImageMagick gif:ps\
        #{del.imagick} 'gif:$f' PS3:- | #{del.psselnup}

########## JPEG files
Delegation: ImageMagick jpeg:ps\
        #{del.imagick} 'jpeg:$f' PS3:- | #{del.psselnup}

and so on for the other image types. I'll attach the rest of my a2ps.cfg
too. Note the PS3:, telling ImageMagick to produce postscript level 3
output The fgets/fputs loop a2ps uses to copy from its delegates doesn't
work when the input contains null zeros, like PS3 can, so my patch tries
to fix that.

I just downloaded the CVS (took me a while to find it), and I see my
patch doesn't quite apply to it. I can recreate it if you like, but I
can't test it, because autoconf and automake refuse to run for some
reason. Probably just my ignorance about auto*.

quaternion:/tmp/a2ps$ automake --version | head -1; automake
automake: configure.in: required file `auxdir/install-sh' not found
automake: configure.in: required file `auxdir/mkinstalldirs' not found
automake: configure.in: required file `auxdir/missing' not found
configure.in: 62: required file `auxdir/ltmain.sh' not found
configure.in: 62: required file `auxdir/config.guess' not found
configure.in: 62: required file `auxdir/config.sub' not found
automake: configure.in: required file `auxdir/config.guess' not found
automake: configure.in: required file `auxdir/config.sub' not found
Makefile.am:20: require version 1.6.3, but have 1.4-p6
automake: configure.in: AC_ARG_PROGRAM must be used in `configure.in'
automake: configure.in: required file `auxdir/ylwrap' not found
doc/Makefile.am:20: required file `auxdir/mdate-sh' not found
automake: configure.in: required file `auxdir/ylwrap' not found
contrib/emacs/Makefile.am:3: invalid variable `dist_lisp_LISP'

quaternion:/tmp/a2ps$ autoconf --version | head -1; autoconf
autoconf (GNU Autoconf) 2.54
configure.in:14: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use
      m4_pattern_allow.
      See the Autoconf documentation.
configure.in:16: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:34: error: possibly undefined macro: AC_PROG_GNU_M4
configure.in:38: error: possibly undefined macro: jm_PATH_PERL
configure.in:46: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:47: error: possibly undefined macro: AM_C_PROTOTYPES
configure.in:51: error: possibly undefined macro: AM_MISSING_PROG
configure.in:53: error: possibly undefined macro: AM_PROG_LEX
configure.in:61: error: possibly undefined macro: AC_DISABLE_SHARED
configure.in:62: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.in:95: error: possibly undefined macro: jm_AC_PREREQ_XSTRTOUMAX
configure.in:96: error: possibly undefined macro: jm_AC_TYPE_UINTMAX_T
configure.in:143: error: possibly undefined macro: jm_FUNC_MALLOC
configure.in:144: error: possibly undefined macro: jm_FUNC_REALLOC
configure.in:145: error: possibly undefined macro: jm_PREREQ_QUOTEARG
configure.in:161: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.in:162: error: possibly undefined macro: AM_GNU_GETTEXT
configure.in:188: error: possibly undefined macro: AM_PATH_LISPDIR
configure.in:200: error: possibly undefined macro: AM_CONDITIONAL

I hope this helps.

  Jason

Attachment: a2ps.cfg
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]