Ghostscript is an interpreter for PostScript and Portable Document
Format (PDF) files. It allows you to manipulate such files and to
convert them to various printer, image and other formats.
===> The following configuration options are available for ghostscript9-agpl-base-9.56.1_12:
CUPS=on: CUPS printing system support
DOCS=on: Build and/or install documentation
IJS=off: Support libijs based Ghostscript devices
===> Use 'make config' to modify these settings
print/ghostscript9-agpl-*: Remove expired port
2023-12-31 print/ghostscript9-agpl-x11: Obsolete and unsupported upstream,
consider using print/ghostscipt10
2023-12-31 print/ghostscript9-agpl-base: Obsolete and unsupported upstream,
consider using print/ghostscipt10
Differential Revision: https://reviews.freebsd.org/D42376
print/ghostscript9-agpl-*: deprecate and set expiration date to 2023-12-31
Ghostscript 10 has been released more than a year ago. From that date
Ghostscript 9 is not supported by upstream anymore.
PR: 272131
Approved by: jrm (mentor), maintainer timeout
Differential Revision: https://reviews.freebsd.org/D42352
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
print/ghostscript9-agpl-base: Fix build on armv7
The bundled version of tesseract requires the <asm/hwcap.h> header
to detect the availability of NEON instructions on armv7. This
issue has already been reported to up stream.
Reported upstream: https://github.com/tesseract-ocr/tesseract/pull/3782
PR: 263003
Approved by: portmgr (build fix blanket)
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
graphics/poppler: update to 21.07.0
Release 21.07.0:
core:
* JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
* PSOutputDev: fix off-by-one error for image masking in L1/L2 output.
Issue #1088
* CairoOutputDev: Fix memory leak on broken files
* Minor code improvements
build system:
* set C standard to 11 without extensions
Exp-run by: antoine
PR: 256981
graphics/poppler: update to 21.06.0
Release 21.06.0:
core:
* Fix rendering of some extended latin1 characters in annotations.
Issue #1070
* Support some not so well formed documents with password. Issue #1083
* Add API to get notified if the xref is reconstructed
* Add somewhat fancier left/right signature visual representation
* Fix crashes in malformed files
* Minor code improvements
qt6:
* Change some functions to return std::unique_ptr
qt5/qt6:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.05.0
Release 21.05.0:
core:
* Fix crashes in malformed files
* Export SplashFont* symbols used by Scribus
* Minor code improvements
qt5/qt6:
* Make sure new signatures are always properly oriented
* Allow to pass the border width when signing
glib:
* Enhance find to support multi-line matching
utils:
* pdftoppm: Fix regression when using single scaleTo. Issue #1062
build system:
* Allow to disable building manual tests
PR: 255562
Exp-run by: antoine
graphics/poppler: update to 21.04.0
Release 21.04.0:
core:
* Hide symbols by default
* TextSelectionDumper: fix word order for RTL text
* Fix rendering of text in some files. Issue #1052
* Implement rendering of Masks of Image subtype. Issue #1058
* Forms: fix unclicking standalone form buttons. Issue #1034
glib:
* Expose more fields from MediaRendition in PopplerMedia
* Use stock glib macro to define boxed type
* Remove incorrecly used volatile from enum type registration code
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.03.0
Release 21.03.0:
core:
* Fix parsing text in some broken pdf files. Issue #1040
* Fix memory issue when using threads. Issue #1050
* TextSelectionDumper: Fix getText() for space after word
* Change signature of OutputDev:tilingPatternFill
* Make PDFDocBuilder return a std::unique_ptr
* Improve well formed check for shading functions
* Fix leak in case of fread failing
* Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
* PSOutputDev: Fix stack overflow in broken files
glib:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.02
Release 21.02.0:
core:
* GfxCal*ColorSpace: introduce Bradford transform for chromatic
adaptation
* Fix memory leak if saving the file fails
* Internal code improvements
* Fix various issues handling broken files
* Make checkedAdd work for long long in MSVC
qt5:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC
qt6:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC
utils:
* pdftohtml: Fix error() parameter type
PR: 253183
Exp-run by: antoine
graphics/poppler: update to 21.01.0
Release 21.01.0:
core:
* Faster routines for jpeg decoding
* Fix reading signatures in encrypted files
* Add white point correction when lcms is used
* JBIG2Stream: Fix byte counting
* Fix potential data loss if we try to fetch a non existing Ref after
modifying the document
* Specifically use DeviceGray instead of DefaultGray for softmasks
* Fix various issues handling broken files
utils:
* pdftocairo: Setmode binary for windows
* pdfsig: Add hability to digitally sign files
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 20.12.0
Changelog:
core:
* Draw better circles for circle annotations
* Fix annotation line width if no appearance stream or style are given
* Tweak rendering of highlight annotations
* Fix border rendering of some annotations
* Fix rendering of some files. Issue #976 Issue #567
* PSOutputDev: provide options to set the rasterization color space and
ICC profile
* PSOutputDev: for splashModeCMYK8 and language level >=2 activate
overprint emulation
* PSOutputDev: use the DeviceN8 bitmap for rasterization with
CMYK-output + overprint
* Use the font name without subset tag when querying for a system font
* Splash: Fix wrong x adjustment during clipping
* Splash: Fix blitImage in uncolored tiling patterns
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 20.11.0
Release 20.11.0:
core:
* More work on rendering of standalone Annot Widgets. Issue #806
* Fix crashes in embedded file handling on broken files. Issue #967
* Fix uninitialized memory read on broken files
* Save a bit of memory in Dict data
cpp:
* Fix crashes in embedded file handling on broken files. Issue #966
utils:
* pdftohtml: HTML and XML output includes font opacity.
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 20.10.0
Release 20.10.0:
core:
* Filter out repeated forms
* Implement EmbedStream::reset()
* CairoOutputDev: evict just font faces owned solely by cache.
* Splash: Rename Yd to Ydown, Xu to Xup, etc.
* Splash: fix crash in out-of-memory situation.
* Fix some undefined behaviour situation with forged files
PR: 250052
Exp-run by: antoine
graphics/poppler: update to 20.09.0
Release 20.09.0:
core:
* Compability fix for Forms
* Fix fetching of Objects failing in some cases
* Fix clearing date in Annot setModified/setDate
* TextSelectionPainter: support glyphless fonts
* Splash: Don't try read past end of image
* avoid abort() on large memory allocation
* Fix memory leak on broken files
* Fix potential invalid memory read
* Small code improvements
qt5:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 0.90
Release 0.90.0:
core:
* Color profile tweaks
* Small signature improvements
* BBoxOutputDev: Fix calculation when type3 fonts are involved
* Fix potential crash when reading Forms
* Fix infinite loop in broken file
glib:
* Fix adding annots in rotated pages
* Add ability to reset forms
* Several fixes to the documentation
qt5:
* Make it clear we require Qt 5.5
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 0.89.0
Release 0.89.0:
core:
* Add support for ResetForm action. Issue #225
* Fix crash in PDFDoc::getSignatureFields when there's no Forms at all
* Fix exporting to PS of some files with CID fonts
* Use ICC profiles in PS output (if new enough lcms is used)
* Allow almost-singular tiling pattern matrices. Issue #894
* Fix memory leak when failing to load some fonts
* CairoOutputDev: Use stroke opacity when clipping to a stroke path
* CairoOutputDev: Fix tiling patterns when pattern cell is too far.
Issue #190
glib:
* Add poppler_movie_get_aspect
cpp:
* Add the font infos to the text_box object
Exp-run by: antoine
PR: 246848
Shared library (libgs) with lcms2mt could clash if the calling app also
included lcms2.
For example ImageMagick with the GSLIB option enabled.
PR: 245782
Submitted by: VVD <vvd@unislabs.com>
Approved by: doceng@ (blackend@)
Obtained
from: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f210e4c009f7
graphics/poppler: update to 0.88.0
Release 0.88.0:
core:
* Support Widget Annotation Buttons not linked to any Form
* SplashOuputDev: Use stroking opacity when clipping to a stroke path
* Handle 1 bit RGB images in ICC colorspace
* Internal code improvements
qt5:
* Add Document::signatures. Returns signatures not attached to any page
* ArthurOutputDev: Fix font hinting
* ArthurOutputDev: Set the opacity when filling with axial gradients
* ArthurOutputDev: Implement the clipToStrokePath method
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 0.87.0
Release 0.87.0:
core:
* Fix crashes due to inconsistent vtables for Clang builds
* Fix leak in broken files
* Internal code improvements
qt5:
* Add option to get form choice for export value
* ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695
glib:
* Internal code improvements
utils:
* pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest
PR: 245150
Exp-run by: antoine
- Update to 9.51.
- Re-add non-standard paper sizes and Asian font configurations.
- Add workaround for some old font files to gs_ttf.ps and pdf_font.ps.
graphics/poppler: update to 0.84.0
Release 0.84.0:
core:
* Fix crash when converting from Unicode to ASCII-7
* Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
* JBIG2Stream: fix potential crash in malformed documents
* JBIG2Stream: fix leak in reset() if called several times
* Internal code improvements
utils:
* pdfimages: Add error message if first page is larger then number of
pages.
* pdfinfo: Improved paper size recognition
* pdfsig: Fix exit code when dumping signatures
* pdftocairo: Error out when even/odd selects 0 pages
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 0.82.0
Release 0.82.0:
core:
* Fix not being able to open some files. Issue #832
* Fix crashes in malformed files
* Fix memory leak on broken files
* Minor performance improvements
* Minor code improvements
glib:
* Add poppler_document_new_from_bytes
* PopplerAttachment: Silence deprecation warnings for ctime/mtime
build system:
* pdf-inspector: Support builddir != srcdir
* Install Cairo* headers if Cairo has been found
Thanks to adridg@ for fixing all the fallout.
Exp-run by: antoine
PR: 241532
Approved by: gnome (kwm, implicit)
graphics/poppler: update to 0.76.1
From Changelog at https://poppler.freedesktop.org/releases.html :
Release 0.76.1:
core:
* Make the mul tables be calculated at compile time with constexpr.
* splash: Fix compile with SPLASH_CMYK enabled
* Some typo fixing in error messages
qt5:
* Fix regression in annotation handling
build system:
* Fix some typos in build system output and comments
(Only the first 15 lines of the commit message are shown above )
- Update to 9.26.
- Make openjpeg dependency optional and off by default because it's been
vulnerable for a long time.
- Disable IJS option because print/hpijs, the last port that used it, has
been removed.
PR: 234013
Approved by: doceng (bcr)
Remove bundled CUPS in post-patch so its headers cannot be included.
This fixes the powerpc64 build.
PR: 231549
Reported by: Piotr Kubaj <pkubaj@anongoth.pl>
Update to 9.25.
This release fixes problems with argument handling, some unintended results
of the security fixes to the SAFER file access restrictions (specifically
accessing ICC profile files), and some additional security issues over the
recent 9.24 release.
PR: 231547
Exp-run by: antoine
MFH: 2018Q3
Add some upstream patches for regressions in 9.24.
patch-010-bc3df07
For ICC profile validation, have cups id iteself as DeviceN.
patch-020-c8c01f8, patch-030-1341854
Add the ICCProfilesDir to the PermitReading list.
patch-040-9528102
Fix ps2epsi /undefined in --setpagedevice--.
PR: 231148
- Restore patch that adds mappings for common CJK TeX fonts to cidfmap.
Make the path in the mappings relative to LOCALBASE/share/fonts so
print/gsfonts does not need to be installed. [1]
- Remove --enable-threadsafe from CONFIGURE_ARGS so thread-unsafe devices
like opvp (used by Canon printer drivers) are built. [2]
- Fix detection of dlopen on FreeBSD < 11.2 (which doesn't have libdl). [2]
- Remove reference to FAPI configuration from pkg-message. As far as I
can tell it is only useful in combination with UFST, a commercial font
renderer from Monotype and we don't (and can't) build with UFST support.
PR: 229211 [1], 229332 [2]
Tested by: Osamu Matsuda <omatsuda000@gmail.com>
Clean up print/ghostscript9-agpl-base and print/ghostscript9-agpl-x11 and
update them to version 9.23. Share CMap data with graphics/poppler-data
and update that to 0.4.9.
Details for print/ghostscript9-agpl-base:
- Update to 9.23.
- Drop external epag device.
- Always use fontconfig to find fonts.
- Use ports openjpeg instead of bundled.
- Use bundled lcms2, because upstream forked it.
- Drop dependency on gsfonts. Newer versions of the fonts are already
included.
- Depend on poppler-data for CMap files. It has the same maps except
Identity-H, Identity-UTF16-H, and Identity-V.
- Resolve conflict with gambc by moving bin/gsc to bin/gs instead of
(Only the first 15 lines of the commit message are shown above )
For ports under `print' category: remove redundant PKGMESSAGE assignment,
which is set appropriately by the b.p.m when `pkg-message' appears on the
SUB_FILES list.
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.
Sponsored by: Absolight
- 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)
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)
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
(Only the first 15 lines of the commit message are shown above )
- 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
(Only the first 15 lines of the commit message are shown above )