Commit graph

148 commits

Author SHA1 Message Date
Andreas Klemm
fef4c66c86 remove redundant patch which is contained in new apsfilter version 2005-02-13 20:17:45 +00:00
Andreas Klemm
d534e1a494 - update to 7.2.6 (bugfixrelease)
- pcl3 and hpdj driver fixes for HP DeskJet550C driver and compatible printer
- fixes port dependency for acroread5

PR:		ports/77405
Submitted by:	John Cochran <jdc@fiawol.org>
2005-02-13 10:51:44 +00:00
Andreas Klemm
d0bf409604 - added suggested patch to use bash3 as default dependency for bash
- while being here trimmed COMMENT according to portlint
- providing backward compatibility if needed via WITH_BASH2 make env var
- bumping port revision
- closing 76805

PR:		76805
Submitted by:	Michael C.Shultz <reso3w83@verizon.net>
2005-01-30 11:54:11 +00:00
Kris Kennaway
32fa703784 Chase print/acroread5 to print/acroread
Extra Special Pointy Santa Hat to:	trevor
2004-12-24 02:05:32 +00:00
Andreas Klemm
43671a6def - the GS_NO_X11 case in configure script needs more work
- no version bump, since last commit only 5 minutes ago

Approved by:	portmgr (implicit)
2004-09-23 20:17:35 +00:00
Andreas Klemm
c0d7b82837 - cleanup after USE_GHOSTSCRIPT_RUN changes in Makefile
It has been forgotten to change configure script as well
- bumped port revision since it fixes a bug reported by
  Holger Kipp <h.kipp@eurowings.com>

Approved by:	portmgr (Mark Linimon)
2004-09-23 20:03:02 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Andreas Klemm
e5b4d0c08f - honour PAPERSIZE variable like in a2ps and psutils ports
- default to letter
- inspired by PR but using a more suitable solution to use the
  environment variable already used by other ports instead by
  using new one (PAPER_SIZE and A4_PAPER)

PR:		48140
2004-02-28 15:59:39 +00:00
Andreas Klemm
41d5b716e5 - sketch is now called skencil
- fixed run-dependencies
- no revision bump, since this doesn't affect normal port installation
  or package building.
2004-02-25 19:21:46 +00:00
Joe Marcus Clarke
b7eeb1b30d Use the new ghostscript options.
Submitted by:	linimon
2004-01-20 16:30:09 +00:00
Yen-Ming Lee
d24ed08726 Variable GSPORT is recursive.
PR:		60532
Submitted by:	leeym
Approved by:	maintainer timeout (2 weeks)
2004-01-08 13:58:42 +00:00
Andreas Klemm
5809dd6b80 - typo in make variables, at some places "WITH_GHOSTSCRIPT_AFP1" has been used
instead of using "WITH_GHOSTSCRIPT_AFPL"
- bumped port revision, because this sanitizes dependencies

Submitted by:	 Frank Bartels <knarf@knarf.de>
2003-11-16 10:04:47 +00:00
Edwin Groothuis
d243790ded [PATCH] print/apsfilter: enable choose of ghostscript interpreter
This patch allows the admin of the machine to choose either
	print/ghostscript-gnu or print/ghostscript-afp1

Please note that the wrong version of this patch (the one with afp1
instead of afpl) had already been applied by andreas@. I've updated
this to fix it.

PR:		ports/54941
Submitted by:	Jens Rehsack <rehsack@liwing.de>
2003-08-31 01:07:35 +00:00
Andreas Klemm
b3ce3cc259 - enable choose of ghostscript interpreter
- change all occurrences of acrobat reader from v4 to v5
- bumped portrevision

To Jens in e-mail:
"Jens, do you take care of the pending PRs ?
Content of PRs sounded to me as if you are waiting for several changes."

PR:		54958 54960 (both pending)
Submitted by:	Jens Rehsack <rehsack@liwing.de>
2003-07-30 18:52:47 +00:00
Andreas Klemm
55855a21d9 - use acroread5 port instead of old ancient acroread (v3) for port dependency,
good suggestion by: ajhar@physics.miami.edu (Dr. Edward Ajhar)
- update apsfilters acroread search order to use acroread5 in the 1st place
- bump PORTREVISION
- tested installation and package-building
2003-05-11 07:49:18 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Andreas Klemm
3dc7b06d73 fix pkg-plist
PR:		46641
Submitted by:	Bjoern A.Zeeb <bzeeb+freebsdports@zabbadoz.net>
2003-01-01 15:19:22 +00:00
Andreas Klemm
7cfd08e494 - update to 7.2.5
- important bugfixrelease
- unbreaks windows/novell/appletalk remote printing
- explanation: permissions 600 root:daemon
  were too strong for smbclient & Co.'s config files...
- fix: teach SETUP to use 640 root:daemon as default
- If that's still not sufficient, 'hack' SETUP
  and fine tune the new global PASSWD_PROTECT=640 variable.
2002-11-22 18:51:34 +00:00
Andreas Klemm
4e3c0e9123 remove unnecessary patch forgotten in prev. commit
no port revision bump since port was up to now unbuild-/uninstallable
thanks to various people pointing this out
2002-11-10 19:31:53 +00:00
Andreas Klemm
b3c5824236 update to new apsfilter version 7.2.4
this is mainly a BUGFIX Release

NEW FEATURES
        - some ijs driver scripts got more differentiation
          concerning options for print quality.
DOCUMENTATION
        - wrong manual reference in apsfilter manpage, changed from
          smbprint(1) to smbclient(1)
        - apsfilter handbook got a path fix and cosmetic changes
        - support for ijs 1.1 and later (prior 1.0 and later)
BUG FIXES
        - driver/stp/escp2-440
        - set traditional umask in SETUP (022) just for the case
          somebodies root account has strange default settings not
          to end up with screwed permissions, that make printing
          impossible.
        - update driver MAPPINGS
CODE IMPROVEMENTS
        - partly cosmetic, get rid of GS_MODEL
        - modified gs_cmnd
2002-11-09 17:11:01 +00:00
Andreas Klemm
116f9acfc2 backout last change by request of Kris Kenneways mail in -developers 2002-11-09 10:32:31 +00:00
Andreas Klemm
c70060c7a2 use new PORTCOMMENT 2002-11-09 08:52:45 +00:00
Andreas Klemm
107de0a141 - set umask 022 in SETUP, so that it works under root environment
with too restricive umask settings like '026'.
- bumped port revision, since this unbreaks installation under
  non-default root environments

Submitted by:	Martin.Kraemer@Fujitsu-Siemens.com
2002-11-03 23:00:14 +00:00
Andreas Klemm
773b46d433 - added needed run dependency
added dependency to print/hpijs, since the ijs driver isn't automatically
  installed anymore when installing ghostscript
- therefore bumped portrevision
2002-10-29 19:10:17 +00:00
Andreas Klemm
2f4a19dfba I recommend you to upgrade to this new version
* update to apsfilter 7.2.3
* contains two major bugfixes
  a) printing using newest HP IJS driver is fixed (PR 37085)
     the fix has been taken from other source but PR should be resolved
  b) printing to a remote windows printer via samba is fixed
     there was a nasty typo in the apsfilter script ($SMP_IP -> $SMB_IP)
* other changes
- new gimp-print driver / ijsgimpprint
- add new pretty command to set text-to-PostScript highlight level
- fix "remote copies" parameter to lpr
- clean up template apsfilterrc
* FreeBSD/port related things:
- could close all problems report
- PR 34153: fixed configure script: a permanent runtime dependency
  to bzip2 is inappropriate on FreeBSD systems that have bzip2 in
  the base system.
* For a list of all changes please look at ANNOUNCE and ChangeLog file
	http://www.apsfilter.org/download.html

PR:		34153, 37085
2002-10-29 08:48:22 +00:00
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Andreas Klemm
c497db157a - new apsfilter version 7.2.2 - bugfix release !
- please upgrade
- updated pkg-plist to match reality
- tested packaging
Changes:
- replace awk "duplex" function with psset call
- adjust psnup rotation to various converters
  for landscape mode
- add landscape option to enscript command line
- introduce IGNORE_LPD_RAW variable to please buggy
  spoolers that send jobs in raw mode
- sanitize ": ${foo:-bar}" to ": ${foo:=bar}"
- make n{c}print line whitespace-safe
- save return code in global temporary file
- typo in wmf2eps line
- make apspreview use global "restrictions" file
- get basedir in SETUP from configure
- protect $foo[bar] contructs from being expanded
  to array elements by zsh
- add "-dPARANOIDSAFER" for gs7.04 (harmless for all
  older releases)
- save "rm" and "rp" in SETUP.cfg
- add some hints w.r.t landscape and n-up in handbook
- remove media types in scripts for some PCL printers
- be more helpful with "invalid method"
- LaserJet 4L needs fixed 300dpi
- LN macro in Makefile needs -n switch -- we must
  create a directory link even if one exists already
- add .PHONY targets in Makefiles
- MAPPING update
- change email address in various places
new driver scripts:
-  ljet4l, pips/sc70s, pips/sc80s, stp/pcl-2, stp/pcl-4
2002-02-24 21:33:46 +00:00
Andreas Klemm
479c0dacb9 Update apsfilter port to 7.2.1
Important fixes for FreeBSD
Patches from files subdir went into this new release
General fixes:
       - remove apsfilter installation error when typing "make install"
          by using ln's -f (force) option to overwrite an existing symlink
          (just in case you overwrite another installation).

        - fix some HP driver mapping in MAPPING file

FreeBSD specific fixes:

        - make apspreview work again for FreeBSD (and possibly *BSD).
          BSD uses a sed implementation, that uses only "normal" regular
          expressions for backward compatibility not to break existing scripts.
          Linux (GNU sed) uses "modern REs". We use now awk which turns out
          to be more portable between different Unix flavours.
          We use awk instead of sed in other scripts as well (SETUP,
          aps2file).

        - import a patch from FreeBSD ports collection necessary for
          FreeBSD-current to use "user:group" syntax for chown. Old
          style "user.group" to change owner && group isn't supported
          anymore. Linux's implementation of chown (from GNU) groks
          new syntax.

Please note: hpijs 1.0 driver core dumps have been fixed by me some
	hours ago with the kind help of HP. So you can now savely
	use the new HPIJS driver with gs and apsfilter. Have fun.
2002-01-11 23:41:21 +00:00
Andreas Klemm
b4014b1dee Update Prio: high (because of driver and other fixes, see below)
- update to new version 7.2.0
- update pkg-plist (4 new bjc driver scripts, apsfilter4.png)
- update SETUP patch for FreeBSD-current (chown xxx:yyy syntax, which
  is currently not included in apsfilter, am unsure, if all Linux and
  Solaris support this, can somebody please clarify ? Thanks)

Highlights of the new apsfilter version (new features):

- printing to Novell remote printer supported, now apsfilter supports
  all important types of remote printer (Novell, Unix/lpd, Microsoft,
  AppleTalk)
- save network traffic by telling remote lpd and Netware printer scheduler,
  to manage copies of a print jobs themselves, this saves you sending
  a print job n times over the network (when printing with:
    "lpr -C copies=20 large_file.ps"
- Testinstallations of apsfilter under $HOME for testing/migration
  planning supported. Test then using aps2file ...
  This works for non-root user. configure knows 2 new options for
  that purpose, to customize printcap and spooldir location under
  $HOME, /tmp or whereever, you get the idea

FIXES:

- BJC script fixes, never ending story, 4 new subtypes of printers
  with different print capabilities.
- Security: SETUP uses secure tmpdir
- you can rename printer now or add printer aliases now
  aps2file and apspreview understand now to handle aliases (this was
  tricky/expensive but doable)
- different fixes see ANNOUNCE / ChangeLog file
2002-01-11 08:28:54 +00:00
Andreas Klemm
7e913c20c3 Update port dependency, if defined APSFILTER_ALL
The interactive script will be updated later.
Don't bump port revision, since next following commit
will contain new apsfilter release, that is now in the
queue, before I finished polishing interactive installartion.
But I didn't want to mix this change and the new apsfilter
version in one commit.
2002-01-11 07:56:35 +00:00
Andreas Klemm
705d3b985d unbreak port for -current
Since the `.' seperator has been deprecated for a while now,
the chown command fails - at least under -current.
Changed his patch to patch actually SETUP.in and not the
resulting file SETUP after running configure.

Submitted by:	"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
2001-12-29 23:29:58 +00:00
Andreas Klemm
a29a5b29b1 Update to apsfilter version 7.1.1
Bugfix release and new cool features

New:	apspreview script and manpage -> allows you to preview your print
	session using  gv, kghostview or ghostview (in that order).
	If the result fits your needs you can of course directly print
	from within these viewers using lpr -C and using apsfilter options
New:	"apsfilter-bug" utility which supports you to release a helpful
	bug- or problem report for us developers. Its the first release
	and certainly will get useful updates in the future.
	Detects automatically the apsfilter version you use (-current or
	-stable) and sends mail to proper mailinglist apsfilter-current
	or apsfilter-stable mailinglist.
New:	handbook and manpage updates / cleanups.
	More guidance how to release a bug report using apsfilter-bug(1)
	apsfilter manpage documents now all print options (-C/-Z option)
	supported by apsfilter

Fixes (Prio)

- (HIGH) unbreak hardware duplex printing for all true Postscript printer

- (MEDIUM) pcl3/u970 driver fix for (hardware) duplex printing.
  Comment: not tested due to hardware fault of our duplex device.
  Would appreciate some feedback. pcl3 driver is very picky about
  combination of gs driver options. The options currently in use
  have been selected from pcl3 handbook to our best knowledge.

- (HIGH) New ljet4 driver for LaserJet4 style lasers. Previously it used
  the cdeskjet driver, which was wrong.

- (HIGH) a2ps sometimes delegates print jobs to other applications even
  if user wanted to force ASCII printing (using lpr -C ascii).
  This breaks for example printing of Latex Sources.
  a2ps will now be executed with "--delegate=no". Fixed !

I encourage everybody to use this new version.

Later version perhaps will get some more generic printer_add/mod/del
commands as prerequisite for perhaps other graphical admin tools.
For that we could need some help from webmin, TCL/TK or gtk GUI
wizards ... Thats usually not my business ;-)
2001-12-29 21:52:07 +00:00
Andreas Klemm
89890b0616 update to apsfilter 7.1.0
- new design: use GNU configure alike script (without the bloat) for
  creating different files (scripts, manpages, handbook, Makefile).
  now paths are 100% matching.
- create portable Makefile across various platforms
- manpage update, supported file types, commandline options (lpr -C/-Z),
  docu fixes
- some fixes in driver (hl1250, bjc600/800)

BTW: Need assistance for duplex options for pcl3 u970 driver
(HP DeskJet 970C). My duplex hardware is toast.  If you set
HARDWARE_DUPLEX in apsfilterrc, then you are able to use duplex
capabilities. pcl driver explains what magic options have to be set,
but I think it doesn't work ... If somebody has the hardware/time ...
Current settings are done from documentation to my best knowledge.
2001-12-24 19:51:55 +00:00
Andreas Klemm
3a582d6a09 "You want to make it reference ${LOCALBASE}/bin/bash. Remember, ports
assume dependencies are installed in ${LOCALBASE} or ${X11BASE}."
That says it all.

Obtained from:	Pete Fritchman <petef@databits.net>
2001-12-18 08:26:36 +00:00
Andreas Klemm
4c3cb8b3d9 Unluckily FreeBSD's shell isn't able to read from/write to /dev/stdin
and stdout.
Therefore we have to use bash as shell for /usr/local/bin/aps2file
program.
Arrange things with patch and pre-configure command, so that this
port stays prefix-clean.
The patch inserts !!PREFIX!!/bin/bash and configure configures in
the current PREFIX settings.
I'd whish somebody could fix our shell to remove the dependency from bash.
2001-12-17 18:47:36 +00:00
Andreas Klemm
67580370a5 New apsfilter version 7.0.1
- patch-SETUP is included in 7.0.1 (we don't provide insane defaults anymore)
- support for HPIJS V 1.0 ("IJS" driver)
- still supporting old HPIJS driver ("HPIJS" driver)
- some more sanity checks in SETUP (check is print device is character special)
- added bjc800 driver script, since it differs to bjc600 printer
- format of MAPFILE documented
- handbook has been updated
- compatible to 7.0.0 version, so old entries and spooldirs should work
  after upgrade has been made
2001-12-16 20:30:51 +00:00
Andreas Klemm
3517f0fb55 change default parallel device from lp0 to lpt0 2001-12-14 00:26:51 +00:00
Andreas Klemm
84018fb95b update apsfilter to new version 7.0, here a short summary,
see ANNOUNCE and ChangeLog for a complete list:
- supports fully ghostscript7
- enhanced driver support, hpijs, pips, latest gimp-print, etc ...
- per driver scripts, where printer manufacturer *could* place
  their driver/scripts, the case structure wasn't scaleable anymore
  an led to incomplete support or to large apsfilter script
- unified command-line options, see handbook
- support for HARDWARE_COPIES if your printer can print multiple copies
  himself
- option settings can be restricted by the administrator for all printer
  or print queues (maybe to save print costs on color printers ...)
- support for many new filetypes
- print contens of archives: tar, cpio, ar, zip, zoo ...
- security: update for duplex print keys
- separate faq has gone, everything is in the handbook
- error messages can be sent to user now via Cc:
- no bugs so far ;-)
2001-12-09 18:57:54 +00:00
Andreas Klemm
65cc2d41a1 - Add patch, update to FAQ and handbook and some driver updates for SETUP
- place apsfilter distfiles into subdir apsfilter, since name of patchfile
  doesn't contain string apsfilter. On my TODO list for future.
- update prio for apsfilter user: low (hint: try/test apsfilter-current
  from http://www.apsfilter.org if you are looking for more printer
  support and other goodies)
2001-12-01 16:50:19 +00:00
Andreas Klemm
31b84c6823 the ghostscript ports moved to new naming scheme,
so update configure script to reflect reality.

Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2001-09-25 06:14:22 +00:00
Akinori MUSHA
520f943856 Replace the ghostscript6 dependencies with ghostscript-gnu. 2001-09-11 21:23:46 +00:00
Akinori MUSHA
329c977502 Conditionalize bzip2 dependencies. 2001-08-15 20:33:16 +00:00
Mark Pulford
3e42242add RUN_DEPENDS on melt for freeze package
PR:		29273
Submitted by:	Frank Volf <volf@oasis.IAEhv.nl>
2001-08-05 10:53:00 +00:00
Maxim Sobolev
400f4557f6 Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
2001-06-05 11:38:35 +00:00
Andreas Klemm
620e8e9b76 update from apsfilter 6.1.0 to 6.1.1
- a duplex printing password fix turned out incompatibility of
  BSD od(1) to other flavours of od(1).
- apsfilter 6.1.1 contains the duplex password fix
  + a substitution of od(1) with hexdump which also seems to be
  available on Linux and Solaris.
- no PORTREVISION dump since we have a new release
- added pkg-message file for easier handling and addition of
  notification to apsfilter *package*
  had to change configure script and Makefile to follow that new
  infrastructure.
- troff notification in dependency to FreeBSD version
2001-04-01 13:24:00 +00:00
Andreas Klemm
c7a47ac606 minor fix: apsfilter developement started one year earlier (1993). 2001-03-20 15:51:45 +00:00
Andreas Klemm
d580510dc9 update to new apsfilter version 6.1.0
all from -current has been merged after a long testing period.
See the ANNOUNCE file for the long list of bugfixes, security,
feature and code enhancements.

I hope, this time apsfilter port will fit on CD 1, so
people can install apsfilter during initial FreeBSD
installation.
2001-03-20 15:46:10 +00:00
Andreas Klemm
4570832565 one gs runtime dependency too much after adding the knobs to choose
between gs with/without X11. doesn't bump portrevision, because it
doesn't bring any more benefit for the port.
2001-03-18 10:03:09 +00:00
Andreas Klemm
62cd604556 merged everything from apsfilter-current
see new handbook !!!
update to apsfilter 6.1.0 BETA
if everything is right I'll tag and roll apsfilter 6.1.0
bumped PORTREVISION
2001-03-17 17:09:55 +00:00
Andreas Klemm
63eda74a1d - bump port revision, you can select ghostscript version without X11 support
when doing interactive installation
2001-03-07 07:52:11 +00:00