mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
New apsfilter 5.1.0 released
Port related changes: - apsfilter port isn't interactive anymore, we can now put it onto FreeBSD CD 1 - use bzip2 for apsfilter sources to save space on FreeBSD Disk 1 - new run dependency to recode and a2ps - when BATCH is defined set PAPERSIZE to a4, to avoid problems with a2ps port - updated DESCR (listed some of the new apsfilter features) - updated PLIST - new post-install target to inform people to run SETUP to complete installation Apsfilter related changes: - new supported file types (BMP, FAX G3, troff) - possible to print in different print resolutions (see example in INSTALL), i.e.: lpr -P{low,med,high} some_files... - ghostscript can make use of additional type1 fonts by setting the gs environment variable GS_FONTPATH. gs automatically recognizes /usr/X11R6/lib/X11/fonts/Type1 and /var/X11R6/lib/X11/fonts/Type1 if present. Other Paths can be configured global or printer type dependend by admin or user as usual. See precedence of apsfilterrc and .apsfilterrc files above. - printer driver type dependend config files in that order: - /etc/apsfilterrc - /etc/apsfilterrc.${PRINTER} and if defined INSECURE: - $HOME/.apsfilterrc - $HOME/.apsfilterrc.${PRINTER} - CRLF translation and perforation skip for more HP models - new environment variable USE_RECODE_NOT_A2PS, so you can use reecode as an alternative over a2ps - new environment variable RECODE_OPTS defaults to "-q latin1:ibmpc" - new environment variable PAGES_REVERSE_ORDER for forcing dvips to print in reverse order - detection of printer resolution revamped and more clear - Precedence of definition of print resolution: a) by name of filter script (symlink to apsfilter) b) by setting GS_RESOL in apsfilterrc config files c) autodetected by apsfilter (PS_xxx, printer driver name) d) otherwise defaults to 300dpi (for dvips commandline) - some dvips settings cleanup, use -Z only when resol >= 400dpi - when printing html use some sane defaults for HTML2PS_OPTS if not set in apsfilterrc files Contributions: - SUPPORT FOR NEW GNU a2ps 4.12, Hurray !!!! thanks to Debian Port maintainer, Matej Vela <mvela@public.srce.hr> - cool PS testpage (test.ps) Andreas Reuter <ar205@bonzo.geowiss.nat.tu-bs.de> - many thanks to the SuSE developement team especially Werner Fink <werner@suse.de> for many inspirations - and of course cosmetic and bugfixes ;-)
This commit is contained in:
parent
32f9d19977
commit
653af1a830
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18950
@ -3,24 +3,46 @@
|
||||
# Date created: Tue Nov 14 18:29:48 MET 1995
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.24 1999/02/28 15:32:05 andreas Exp $
|
||||
# $Id: Makefile,v 1.25 1999/03/01 16:17:38 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apsfilter-5.0.1
|
||||
DISTNAME= apsfilter-5.1.0
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/download/
|
||||
|
||||
MAINTAINER= andreas@FreeBSD.ORG
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 \
|
||||
html2ps:${PORTSDIR}/print/html2ps \
|
||||
transfig:${PORTSDIR}/print/transfig \
|
||||
cjpeg:${PORTSDIR}/graphics/jpeg \
|
||||
anytopnm:${PORTSDIR}/graphics/netpbm \
|
||||
bunzip2:${PORTSDIR}/archivers/bzip2
|
||||
bunzip2:${PORTSDIR}/archivers/bzip2 \
|
||||
recode:${PORTSDIR}/converters/recode \
|
||||
a2ps:${PORTSDIR}/print/a2ps-letter
|
||||
|
||||
NO_PACKAGE= "Too many questions"
|
||||
IS_INTERACTIVE= yes
|
||||
USE_BZIP2= yes
|
||||
WRKSRC= ${WRKDIR}/apsfilter
|
||||
|
||||
# make a2ps port happy in this early stage
|
||||
.if defined(BATCH)
|
||||
@${SETENV} PAPERSIZE=a4
|
||||
.endif
|
||||
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
|
||||
.BEGIN:
|
||||
@${ECHO}
|
||||
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
|
||||
@${ECHO}
|
||||
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
|
||||
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/apsfilter/filter
|
||||
@touch ${PREFIX}/apsfilter/filter/.keep_me
|
||||
@${ECHO} ">>>>> Post installation task: <<<<<"
|
||||
@${ECHO} "Printer installation:"
|
||||
@${ECHO} " cd ${PREFIX}/apsfilter; ./SETUP"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (apsfilter-5.0.1.tar.gz) = 2645c9868ee53428da6b0973749c3b79
|
||||
MD5 (apsfilter-5.1.0.tar.bz2) = b8f11794bd116f3e9ba187aa44a4f7ad
|
||||
|
@ -1,7 +1,5 @@
|
||||
Have fun using apsfilter by typing:
|
||||
|
||||
lpr ascii.Z test.gif picture.tiff TeX.dvi.gz webpage.html docu.pdf
|
||||
|
||||
That's what apsfilter is designed for ;-)
|
||||
|
||||
apsfilter is a magic printfilter, that saves you the work to a) look for
|
||||
@ -14,10 +12,12 @@ printcap entries and creates printcap entries for one or more of
|
||||
your local printers.
|
||||
|
||||
New features:
|
||||
- supports different printer resolutions (if manually configured), i.e.
|
||||
lpr -P{low,med,high} test.ps
|
||||
- supports LPRng as printer scheduler
|
||||
- supports ghostscript5.x uniprint driver
|
||||
- writes the first 8k of a print job to /tmp for file type
|
||||
recognition, so file(1) doesn't need to be able to read from
|
||||
a pipe (stdin) and rewindstadin isn't needed anymore for dvips.
|
||||
|
||||
Have fun ! Andreas Klemm <andreas@klemm.gtn.com> Febr 1999
|
||||
Send me a postcard if you like it ! Have fun !
|
||||
Andreas Klemm <andreas@klemm.gtn.com> Mai 1999
|
||||
|
@ -1,16 +1,14 @@
|
||||
apsfilter/SETUP
|
||||
apsfilter/SETUP.cfg
|
||||
apsfilter/bin/a2ps
|
||||
apsfilter/bin/apsfilter
|
||||
apsfilter/bin/setup_dvips.sh
|
||||
apsfilter/filter/.keep_me
|
||||
apsfilter/global/GLOBAL.sh
|
||||
apsfilter/global/filters_found
|
||||
apsfilter/setup/README
|
||||
apsfilter/setup/compile
|
||||
apsfilter/setup/devices.txt
|
||||
apsfilter/setup/filtersetup
|
||||
apsfilter/setup/mksymlinks
|
||||
apsfilter/setup/tiger.ps
|
||||
apsfilter/setup/test.ps
|
||||
apsfilter/template/README
|
||||
apsfilter/template/apsfilterrc
|
||||
share/doc/apsfilter/FAQ
|
||||
|
@ -3,24 +3,46 @@
|
||||
# Date created: Tue Nov 14 18:29:48 MET 1995
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.24 1999/02/28 15:32:05 andreas Exp $
|
||||
# $Id: Makefile,v 1.25 1999/03/01 16:17:38 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apsfilter-5.0.1
|
||||
DISTNAME= apsfilter-5.1.0
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/download/
|
||||
|
||||
MAINTAINER= andreas@FreeBSD.ORG
|
||||
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 \
|
||||
html2ps:${PORTSDIR}/print/html2ps \
|
||||
transfig:${PORTSDIR}/print/transfig \
|
||||
cjpeg:${PORTSDIR}/graphics/jpeg \
|
||||
anytopnm:${PORTSDIR}/graphics/netpbm \
|
||||
bunzip2:${PORTSDIR}/archivers/bzip2
|
||||
bunzip2:${PORTSDIR}/archivers/bzip2 \
|
||||
recode:${PORTSDIR}/converters/recode \
|
||||
a2ps:${PORTSDIR}/print/a2ps-letter
|
||||
|
||||
NO_PACKAGE= "Too many questions"
|
||||
IS_INTERACTIVE= yes
|
||||
USE_BZIP2= yes
|
||||
WRKSRC= ${WRKDIR}/apsfilter
|
||||
|
||||
# make a2ps port happy in this early stage
|
||||
.if defined(BATCH)
|
||||
@${SETENV} PAPERSIZE=a4
|
||||
.endif
|
||||
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
|
||||
.BEGIN:
|
||||
@${ECHO}
|
||||
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
|
||||
@${ECHO}
|
||||
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
|
||||
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/apsfilter/filter
|
||||
@touch ${PREFIX}/apsfilter/filter/.keep_me
|
||||
@${ECHO} ">>>>> Post installation task: <<<<<"
|
||||
@${ECHO} "Printer installation:"
|
||||
@${ECHO} " cd ${PREFIX}/apsfilter; ./SETUP"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (apsfilter-5.0.1.tar.gz) = 2645c9868ee53428da6b0973749c3b79
|
||||
MD5 (apsfilter-5.1.0.tar.bz2) = b8f11794bd116f3e9ba187aa44a4f7ad
|
||||
|
@ -1,7 +1,5 @@
|
||||
Have fun using apsfilter by typing:
|
||||
|
||||
lpr ascii.Z test.gif picture.tiff TeX.dvi.gz webpage.html docu.pdf
|
||||
|
||||
That's what apsfilter is designed for ;-)
|
||||
|
||||
apsfilter is a magic printfilter, that saves you the work to a) look for
|
||||
@ -14,10 +12,12 @@ printcap entries and creates printcap entries for one or more of
|
||||
your local printers.
|
||||
|
||||
New features:
|
||||
- supports different printer resolutions (if manually configured), i.e.
|
||||
lpr -P{low,med,high} test.ps
|
||||
- supports LPRng as printer scheduler
|
||||
- supports ghostscript5.x uniprint driver
|
||||
- writes the first 8k of a print job to /tmp for file type
|
||||
recognition, so file(1) doesn't need to be able to read from
|
||||
a pipe (stdin) and rewindstadin isn't needed anymore for dvips.
|
||||
|
||||
Have fun ! Andreas Klemm <andreas@klemm.gtn.com> Febr 1999
|
||||
Send me a postcard if you like it ! Have fun !
|
||||
Andreas Klemm <andreas@klemm.gtn.com> Mai 1999
|
||||
|
@ -1,16 +1,14 @@
|
||||
apsfilter/SETUP
|
||||
apsfilter/SETUP.cfg
|
||||
apsfilter/bin/a2ps
|
||||
apsfilter/bin/apsfilter
|
||||
apsfilter/bin/setup_dvips.sh
|
||||
apsfilter/filter/.keep_me
|
||||
apsfilter/global/GLOBAL.sh
|
||||
apsfilter/global/filters_found
|
||||
apsfilter/setup/README
|
||||
apsfilter/setup/compile
|
||||
apsfilter/setup/devices.txt
|
||||
apsfilter/setup/filtersetup
|
||||
apsfilter/setup/mksymlinks
|
||||
apsfilter/setup/tiger.ps
|
||||
apsfilter/setup/test.ps
|
||||
apsfilter/template/README
|
||||
apsfilter/template/apsfilterrc
|
||||
share/doc/apsfilter/FAQ
|
||||
|
Loading…
Reference in New Issue
Block a user