Commit graph

59 commits

Author SHA1 Message Date
Tijl Coosemans
cf90ce864e Add support for HBPLv1 printers with patch from
https://www.cybercom.net/~dcoffin/hbpl/

Also fix patch-getweb.in: remove -o from FETCHOPTS because fetch is
sometimes executed without output file.

PR:		211754
Submitted by:	Oliver Kett <freebsd@broken-wire.de>
2017-01-12 20:20:08 +00:00
Boris Samorodov
9a5c01c9d1 print/foo2zjs: update to 20161203 (unbreak) and remove GOOGLE_CODE
from MASTER_SITES (has gone).
2016-12-15 19:51:24 +00:00
Mathieu Arnold
dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00
Dmitry Marakasov
54a08f6954 Convert tab after WWW: in pkg-descrs to single space as per PHB
Approved by:	portmgr blanket
2016-05-23 18:36:52 +00:00
Tijl Coosemans
14ac2d9514 Depend on cups-filters instead of foomatic-filters to provide foomatic-rip.
Foomatic-filters is no longer developed.

PR:		208551
Submitted by:	pyo@mail.ru
2016-04-07 12:13:44 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
Tijl Coosemans
59272d1017 Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Dmitry Marakasov
b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00
Dmitry Marakasov
a6d27f39e3 - Add LICENSE
- Switch to options helpers
2015-11-12 17:20:11 +00:00
Hiroki Sato
27470e1676 - Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00
Boris Samorodov
ee31d41415 print/foo2zjs: Upgrade to version 20150511. 2015-07-22 10:32:09 +00:00
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Antoine Brodin
115aba45f3 Cleanup plist 2014-11-13 07:41:17 +00:00
Boris Samorodov
b29021f8c2 print/foo2zjs: update to version 20140417 2014-04-25 20:23:28 +00:00
Boris Samorodov
08ae7bdf9c ports/foo2zjs: mark the port as MAKE_JOBS_UNSAFE
Error log:
-----
chmod -w osx-hplj-hotplug.1
chmod: osx-hplj-hotplug.1: No such file or directory
-----

Full log is here:
https://jenkins.freebsd.org/pci/100-amd64/logs/bulk/100amd64-default/569/logs/errors/foo2zjs-20140401_1.log

Reported by:	jenkins (swills)
MFH:		2014Q2
2014-04-25 14:22:53 +00:00
Boris Samorodov
40beeb3a0a print/foo2zjs: add run time dependency upon textproc/gsed
. assumig the following code is intended, add a run time dependency
upon textproc/gsed:
----- foo2zjs-pstops.sh -----
case `uname -s` in
FreeBSD)        sed=gsed;;
-----

. bump PORTREVISION.

Reported by:	stb@ (at freebsd-ports@)
MFH:		2014Q2
2014-04-25 11:49:42 +00:00
Boris Samorodov
3fc7bb6fd0 print/foo2zjs: update to version 20140401.
Changes:
2014-04-01	Rick Richardson <rick.richardson@comcast.net>
	* foo2hbpl2 foomatic-db files and PPDs:
	  Bug with default PageSize.
	  PLEASE delete and recreate the foo2hbpl2 printers.
2014-04-05 16:52:34 +00:00
Boris Samorodov
1935ad159b Add files/foo2zjs.conf.in forgotten at r349883.
Pointed out by:	swills (by e-mail)
2014-04-02 06:43:10 +00:00
Boris Samorodov
1766b072fa print/foo2zjs -- incorporate devd configuration file:
. add a configuration file with samples for devd;
. add a note to pkg-message file;
. bump PORTREVISION.

PR:		ports/162313 (based on)
Submitted by:	rmh
2014-04-01 19:43:27 +00:00
Boris Samorodov
f1ab75327c print/foo2zjs: We mention an INSTALL file at the pkg-message,
but do not install it. Let's fix it!
2014-04-01 09:46:05 +00:00
Boris Samorodov
c417cd5519 Update to version 20140330. 2014-03-31 09:58:27 +00:00
Max Brazhnikov
c8c384f00c print/foo2zjs: fix dependence on libcups 2014-02-19 08:04:28 +00:00
Boris Samorodov
ec8d898909 Release cups-* nad foomatic-* ports. Currently I have no enough
spare time for those ports.

I've submitted ports/186824 to update cups-* ports to version 1.7.0.
2014-02-16 21:17:15 +00:00
Mathieu Arnold
33ab73cd19 Fix old makeplist bug.
Pointy hat to:	people who blindly use makeplist
Sponsored by:	Absolight
2014-02-12 14:03:25 +00:00
Boris Samorodov
708ce74c8c Update to version 20131225. 2013-12-30 23:00:46 +00:00
Boris Samorodov
1c9df30f79 . take maintainership;
. update to version 20131118;
. use new LIB_DEPENDS syntax;
. USE_GMAKE -> USES=gmake;
. USES=shebabgfiles for msexpand;
. allow staging;
. remove unneeded ${CAT} ${PKGMESSAGE}.

PR:		ports/184689
Submitted by:	bsam (me)
Approved by:	acm (former maintainer, maintainer timeout)
2013-12-26 19:33:59 +00:00
Baptiste Daroussin
6c6152ff82 Add NO_STAGE all over the place in preparation for the staging support (cat: print) 2013-09-20 22:43:59 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Chris Rees
8becdb53c7 Stop installing empty ppd files due to a forgotten " ; \" in the upstream
Makefile

PR:		ports/165813
Submitted by:	4721

(Fixes also:)
PR:		ports/160465
PR:		ports/165465
Approved by:	maintainer timeout (acm, 14 days since PR with fix)
Feature safe:	yes
2012-03-21 20:39:38 +00:00
Jose Alonso Cardenas Marquez
2437526fd1 - Update to 20110609
PR:		158040
Submitted by:	bsam
2011-06-24 21:34:05 +00:00
Philip M. Gollucci
116ec22ac1 - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
2010-12-29 20:04:42 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Dirk Meyer
eca78ec61b - bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
2009-07-31 13:57:52 +00:00
Jose Alonso Cardenas Marquez
a70aacfc9d - Update some ftp sites on getweb script
- Use passive FTP with fetch

PR:		135875
Submitted by:	Tom Mende <tmende at optusnet.com.au>
2009-06-23 17:47:26 +00:00
Jose Alonso Cardenas Marquez
ba28eccfcd - Update to 20090530 2009-06-16 22:06:10 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Jose Alonso Cardenas Marquez
5d73aa9d25 - Update to 20070120
- Add MASTER_SITE_LOCAL

Reported by:	kris
2007-01-25 13:56:51 +00:00
Jose Alonso Cardenas Marquez
184e35e611 - Update to 20070108 2007-01-13 17:36:27 +00:00
Jose Alonso Cardenas Marquez
f858d69723 - Update to 20061224
- Fix fetch problem and remove BROKEN state
2006-12-26 22:29:39 +00:00
Mark Linimon
b93aea8ea6 Mark BROKEN: fails to fetch. 2006-12-26 22:05:24 +00:00
Jose Alonso Cardenas Marquez
4ab064a5fe - Update to 20061212
PR:		ports/106659
Submitted by:	Armin Pirkovitsch <a.pirko__at__inode.at>
2006-12-16 15:57:45 +00:00
Jose Alonso Cardenas Marquez
850d13adb2 - Update to 20061010
- Fix wrapper files
- Add a note to pkg-message about a problem with foo2hp using 2bpp

PR:		ports/104344 ports/103616
Submitted by:	Frank J. Laszlo, Armin Pirkovitsch
Approved by:	portmgr (erwin)
2006-10-19 17:31:03 +00:00
Jose Alonso Cardenas Marquez
ba037f0eac - Update to 20061004
Reported by:	bsam
2006-10-08 22:35:59 +00:00
Jose Alonso Cardenas Marquez
320840833d - Update to 20060919 2006-09-24 16:22:38 +00:00
Jose Alonso Cardenas Marquez
45ed944434 - Update to 20060911
- See changelog at http://foo2zjs.rkkda.com/ChangeLog

Approved by:	garga (mentor, implicit)
2006-09-12 16:56:48 +00:00