Commit graph

62 commits

Author SHA1 Message Date
Tijl Coosemans
c7ec85aed2 Always specify --with-pdftops-path to fix build with MUPDF option.
PR:		219548
Submitted by:	Albert Ou <aou@eecs.berkeley.edu>
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2017-05-26 08:41:48 +00:00
Martin Wilke
31d5144d50 - Update to 1.13.5
PR:		219016
Submitted by:	maintainer
2017-05-06 05:53:56 +00:00
Matthew Rezny
5309aa388d Add a MUPDF option under PDFTOPS_RENDERER. When activated, mupdf will be used
instead of Ghostscript/Poppler. When inactive, mupdf is not a dependency.

PR:		217848
Submitted by:	raivo.hool@gmail.com
Reviewed by:	mat
Approved by:	swills (mentor), cyberbotx@cyberbotx.com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D10325
2017-04-10 14:41:32 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Kurt Jaeger
520a1f5159 print/cups-filters: fix printing of PDF files
- by explicitly referencing the path to pdftops

PR:		218175
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2017-03-28 05:30:50 +00:00
Bartek Rutkowski
4e6d167d30 print/cups-filters: update 1.11.4 -> 1.13.4
* Add LICENSE
* Add dependency to mupdf
* Update distinfo
* Update pkg-plist
* Add patches to filter/gstoraster.c and filter/mupdftoraster.c due
  to execvpe() not existing under FreeBSD

PR:		217848
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2017-03-22 14:07:53 +00:00
Olivier Duchateau
47706eca19 Chase update of graphics/poppler (and slaves ports) in revision r430777 2017-01-07 10:42:51 +00:00
Jan Beich
32d56ae68a Assume "pkg-config zlib" works after 9.x reached EOL
Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz"
which is unsafe at least with lang/gcc* that override some system headers
and have newer libgcc_s.so that our old version in base may not be
forward-compatible with.
2017-01-03 17:06:49 +00:00
Pawel Pekala
a217fa6819 Update to version 1.11.4
PR:		212871
Submitted by:	Naram Qashat (maintainer)
2016-09-30 19:45:50 +00:00
Dmitry Marakasov
30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00
Olivier Duchateau
548adee57e Chase update of Poppler after revision r421386 2016-09-05 20:02:03 +00:00
Pawel Pekala
47c8694a30 - Update to version 1.10.0
- Update required dependencies

PR:		211534
Submitted by:	Naram Qashat (maintainer)
2016-08-03 19:06:00 +00:00
Tijl Coosemans
ed79651ba0 Update to 1.9.0.
PR:		210575
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2016-06-25 16:23:13 +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
d2d25adfba - Update cups-filters to 1.8.3.
- Move D-Bus dependency under a COLORD option.
- Make libijs dependency optional.
- Add BRAILLE option and add missing dependencies to it.  There's no port of
  liblouisutdml yet but it isn't strictly required.
- Move jpeg, png and tiff dependencies under an IMAGEFILTERS option.
- Add an option group for cups-browsed, move AVAHI under it and add LDAP.
- Add an option group to select the default PDF-to-PostScript renderer.
- Add --disable-silent-rules to CONFIGURE_ARGS to make build logs more
  verbose.

PR:		208345
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2016-03-29 14:19:09 +00:00
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +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
61017bd10f - Update print/qpdf to 6.0.0.
- Remove bash dependency.
- Remove SDK option.  It was added to prevent installation of headers
  because they sometimes cause build conflicts with newer versions of qpdf
  due to incorrect order of -I flags.  This has been fixed now.
- Add DOCS option.
- Replace patch-configure with CPPFLAGS/LIBS and a post-patch command in
  the Makefile to take into account ${LOCALBASE} and ${MAKE_CMD}.
- Remove patches that have been fixed upstream.
- Add a patch for libtest/build.mk to change the order of LIBS and
  LIBS_libqpdf.  LIBS may contain user supplied -L flags like
  -L/usr/local/lib which have to appear after upstream -L flags so programs
  are linked against freshly built libraries on not an older version in
  /usr/local/lib.  The other build.mk files already do this right.
- Add a patch for make/libtool.mk to change the order of $ldflags and $libs.
  Upstream puts -L flags in $ldflags.

PR:		207751
Approved by:	d.y.kazarov@mail.ru (maintainer)
2016-03-20 11:26:09 +00:00
Tijl Coosemans
0a0acad559 - Let foomatic-rip use /bin/sh instead of /bin/bash.
- Patch foomatic-rip to reset stdin after replacing the underlying file
  descriptor.
- Remove a patch for the pdftops filter that is no longer needed.

Submitted by:	Alexander Zagrebin <alex@zagrebin.ru>
2016-03-13 21:16:26 +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
Kurt Jaeger
a1570ec30b print/foomatic-filters: remove CONFLICT with cups-filters
PR:		207181
Submitted by:	Vladimir Omelchuk <admin@vladiom.com.ua>
Approved by:	cyberbotx@cyberbotx.com (maintainer)
2016-02-15 16:51:05 +00:00
Kurt Jaeger
a6f8374d10 print/cups-filters, print/foomatic-filters: add CONFLICTS
PR:		207172
Submitted by:	admin@vladiom.com.ua
2016-02-14 06:18:09 +00:00
Kurt Jaeger
d1ede6e14b print/cups-filters: 1.5.0 -> 1.8.2
Changes:
  http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/changes

PR:		206720
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2016-02-13 21:03:20 +00:00
Koop Mast
cf649469f2 Update poppler to 0.40.0. [1]
Add patches to py-poppler [2] and rubygem-poppler [3] to fix the build
of these ports with poppler 0.39+.

PR:		206293 [1]
Submitted by:	olivierd@ [1]
Obtained from:	ubuntu [2], rubygem-poppler upstream [3]
2016-01-21 19:40:10 +00:00
Martin Wilke
7e63fecf77 - Update to 1.5.0
PR:		205395
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	D4627
2015-12-22 04:34:49 +00:00
Mark Felder
f7e89874de print/cups-filters: Update to 1.4.0
This update resolves a code execution vulnerability.

Approved by:	ports-secteam (with hat)
MFH:		2015Q4
Security:	CVE-2015-8560
2015-12-17 18:31:45 +00:00
Sunpoet Po-Chuan Hsieh
6c8314a758 - Update to 1.3.0
Changes:	http://fossies.org/linux/cups-filters/NEWS
PR:		205235
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2015-12-11 10:02:40 +00:00
Martin Wilke
e05bb102c2 - Update to 1.2.0
PR:		204915
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D4400
2015-12-08 16:58:25 +00:00
Pawel Pekala
653686bd65 Update to version 1.1.0
PR:		204114
Submitted by:	Naram Qashat (maintainer)
2015-11-07 13:17:23 +00:00
Jan Beich
b353131248 print/cups-filters: update to 1.0.76
- Drop MAKE_JOBS_UNSAFE after testing with -j32 on Core2 Quad

Changes:	/usr/local/share/doc/cups-filters/NEWS
PR:		202686
Submitted by:	Naram Qashat cyberbotx@cyberbotx.com (maintainer)
2015-09-24 18:11:24 +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
Koop Mast
757724fd75 Update poppler to 0.34.0. [1]
Chase all users of shlib version change of libpoppler.so.

PR:		201477 [1]
Submitted by:	olivierd@ [1]
2015-08-02 16:06:16 +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
Mark Felder
991db535c9 Update to 1.0.71
Resolves CVE-2015-3279

PR:		201311
Submitted by:	maintainer
2015-07-03 19:20:32 +00:00
Dmitry Marakasov
452263f97d - Update to 1.0.70
PR:		201134
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
Differential Revision:
2015-06-30 21:47:57 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Dmitry Marakasov
0582b5e15e - Update to 1.0.69
PR:		200798
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
2015-06-15 12:03:13 +00:00
Dmitry Marakasov
90e329457b - Update to 1.0.68
PR:		199971
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
2015-05-18 19:09:46 +00:00
Dmitry Marakasov
2951a3d1c7 - Add CPE info
Approved by:	portmgr blanket
2015-05-16 17:39:09 +00:00
Sunpoet Po-Chuan Hsieh
d045248e3f - Update to 1.0.67
PR:		198543
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2015-03-12 18:27:38 +00:00
Bartek Rutkowski
fa0d7cc961 print/cups-filters: update 1.0.65 -> 1.0.66
PR:		198294
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>
2015-03-06 12:24:41 +00:00
Tilman Keskinoz
3de196922f Update to 1.0.65
PR:		152982
Submitted by:	maintainer
2015-02-25 13:16:31 +00:00
Koop Mast
563f73ccfe Update poppler to 0.30.0 [1].
Make sure we use openjpeg1 in poppler, while openjpeg2 support
was added there still bugs in openjpeg2 that need to be fixed.
Add patches to inkscape for API changes in poppler 0.29.0 [2].

PR:		196599 [1]
Submitted by:	olivierd@ [1]
Exp-run by:	antoine@
Obtained from:	upstream [2]
2015-02-03 12:28:23 +00:00
Dmitry Marakasov
c7a0c13be4 - Update to 1.0.62
PR:		196971
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
2015-01-26 19:18:49 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Max Brazhnikov
2d2662f134 Bump PORTREVISION after graphics/poppler update to 0.26.3 2014-11-25 12:55:53 +00:00
Bartek Rutkowski
6bed4b9cff print/cups-filters: update 1.0.58 -> 1.0.61
- Fixes in pkg-plist

PR:		194172
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>
Approved by:	mentors (implicit)
2014-10-17 13:24:46 +00:00
Pawel Pekala
4bef358a6c Update to version 1.0.58
PR:		ports/193780
Submitted by:	maintainer
2014-09-20 20:45:11 +00:00
Kris Moore
1843988a30 - cups-filters requires pdftops during build / runtime to
support Brother, Minolta, and Konica Minolta and possible others.
- Bump PORTREV

Approved by: Maintainer
2014-09-12 13:25:16 +00:00