changes: a number of bug fixes and improvements
Note: The default device in the gcc build is now the 'x11alpha' device
which provides antialiasing for display. To recover the old
default behaviour add '-sDEVICE=x11' to the command line.
option in ghostscript-esp, although there it was on by default.
Here it is off by default, which is more in keeping with how the "cups" option
is generally used - it is usually off by default, and a CUPS user would
usually add "cups" to the global options.
doesn't currently pull in CUPS itself. Generally that means the
package builds without CUPS support. However, if you are
using Pkgsrc on a system with CUPS installed via some other means (E.g.
Linux with another packaging system, or even a second Pkgsrc root probably)
then things can go wrong.
I solve this case here by explicitly disabling CUPS support. For
normal cases this should mean "No change", but in exotic cases it fixes
the build and install.
Of course, there may be value in using the CUPS support, but it isn't clear
whether the right way to do that is to add a "cups" package option or to
have a second ghostscript-cups package that CUPS depends on - it kind of
looks like the latter is closer to correct at first glance.
The major milestone of this release is a merge from the ESP Ghostscript
fork, used to support the CUPS printing system. This means that free
operating systems can now ship a single copy of upstream Ghostscript with
their releases. Thanks to Till Kamppeter and Mike Sweet for making this
possible.
This release also includes numerous important bug fixes over the previous
stable versions, as well as improvements to performance, memory footprint,
shading and image handling. We recommend this upgrade to all free users.
While here, add DESTDIR support.
In addition to the usual bug fixes, there are specific performance and
quality improvements in the areas of patterns, shading and image
filtering. Also new in this release is an implementation of the Well
Tempered Screening algorithm in an output device, using Graeme
Gill's IMDI library for efficient color mapping.
pkgsrc change: use the bundled jasper as the pkgsrc one is incompatible
There actually is an autoconf test in ghostscript for a 64-bit int, used
for GX_COLOR_INDEX_TYPE, but the fallback for that is "ulong", not
necessarily 64 bits. So to make gdevpdfe.c happy for now, force the issue.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
6.0.1nb1 include updating the hpijs driver to the latest released version
1.0.2. The new HPIJS device is "ijs" and replaces several older devices:
AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP
So if you are using any of the above devices, you must use the new gs IJS
interface documented in:
${PREFIX}/share/doc/html/ghostscript/hpijs/hpijs_readme.html
This update is based on pkg/15470 by IWAMOTO Toshihiro <toshii@netbsd.org>.
Changes to the HPIJS driver include:
* Fixed a problem printing Photo Full Bleed on the Photosmart 100.
* Meet the Debian Free Software Guidelines (DFSG).
* Fixed a setpagedevice problem with the IJS client. PageSize can now
be set from postscript.
* Fixed a off-by-one error in IJS server.
* Added support for the following printers:
Deskjet 656 Photosmart 100 Apollo P-22
Deskjet 825/845 Photosmart 1115 Apollo P2500
Deskjet 920 Photosmart 1215 Apollo P2600
Deskjet 940/948 Photosmart 1315
Deskjet 995 CP 1160
Deskjet 1125 CP 1700
Deskjet 1220
Deskjet 2250
* Added support for the IJS interface.
* Added support for Duplex. When Duplex mode is set, top and bottom
margins are set to 1/2 inch.
* Added support for the following paper sizes:
Photo, Photo Full Bleed, A6, B4, B5, Oufuku-Hagaki, Hagaki
* The PrintMode command has been replaced with separate commands:
Quality, ColorMode, MediaType and PenSet.
* Changed top margin from 1/3 to 1/8 inch. Also, changed the bottom
margin to 1/2 inch. Note, on the 6xx series the maximum bottom
margin is .46 inch for black and .587 for color. This means for
the 6xx series, color printing to within 1/2 inch bottom margin is
not guaranteed.
additional printer drivers:
stp: Gimp-Print/STP color inkjets for photo quality output
hpijs: HP Linux Inkjet Driver for 41 HP inkjets
cdj880: HP DeskJet 880 series
gdi: Samsung SmartGDI laser printers
This closes pkg/13351 by Ingolf Steinbach <ingolf@steinba.ch> and pkg/13902 by
Thor Lancelot Simon <tls@rek.tjls.com>.