either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
generated by some neutron image plate detector) -- PIL is lacking
some infrastructure here so it gets treated like "black is zero"
but this is fine for me because I don't want to interpret it
photometrically anyway
changes:
+ Added buffer interface support to the Path constructor
+ Added new ImageMath module.
+ Added pixel access object
+ Added support for duplex scanning to the Sane interface
+ Added save support for Spider images
+ Added float/double support to the TIFF loader
+ Added NumPy array interface support
+ Added experimental "floodfill" function to the ImageDraw module
+ Added threading support for the Sane driver
-bugfixes
changes:
+ Runs under Python 1.5.2 and newer, including 2.4. You may need
additional libraries to build under 1.5.2; see instructions below.
+ New build procedure. The setup.py file now configures and builds
the core library as well as the bindings, in one step.
+ Added stub drivers for BUFR, FITS, GRIB, HDF5, and WMF files.
Stub drivers can identify the file format, but relies on
application-provided drivers to read or write images in that
format.
+ Added experimental "LA" mode support. An "LA" image is an "L"
image with an attached transparency layer.
+ Added "RankFilter", "MinFilter", "MedianFilter", and "MaxFilter"
classes to the ImageFilter module.
+ Improved support for applications using multiple threads on
systems with multiple processors and/or hyperthreading processors.
+ Added EXIF GPSInfo read support for JPEG files.
+ Lots of bug fixes and performance tweaks.
pkgsrc note: freetype and tiff support isn't built yet, should be
separate pkgs
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
changes:
Version 1.1.4 adds improved build scripts, truetype/opentype font support,
memory mapping support also for non-Windows platforms, screen and clipboard
grabbing on Windows, support for CSS-style color strings, support for
IPTC/NAA and EXIF metadata, and more.
pkgsrc note:
We don't build the truetype component yet -- this might go into a separate
pkg to get more finegrained dependencies.
(Py-Imaging is supposed to work offline to, ie w/o X11.)
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks. Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
changes:
+ Adapted to Python 1.6, 2.0, 2.1 and 2.2. This version also
runs under 1.5.2, but probably not under versions older than
that.
+ To reduce module dependencies, the Tkinter support has been
moved to a separate binary module.
+ The JPEG decoder is more tolerant for broken files. As long
as all image data can be read, it won't complain.
+ An ANTIALIAS downsampling filter has been added.
+ Includes distutils build script (setup.py) for 2.0 and later.
+ The usual crop of bug fixes and performance tweaks.
Changes:
+ Adapted to Python 2.1. Among other things, all uses of the
"regex" module has been repleased with "re".
+ Fixed attribute error when reading large PNG files (this bug
was introduced in maintenance code released after the 1.1.1
release)
+ Ignore non-string objects in sys.path
+ Fixed Image.transform(EXTENT) for negative xoffsets
+ Fixed loading of image plugins if PIL is installed as a package.
(The plugin loader now always looks in the directory where the
Image.py module itself is found, even if that directory isn't on
the standard search path)
+ The Png plugin has been added to the list of preloaded standard
formats
+ Fixed bitmap/text drawing in fill mode.
+ Fixed "getextrema" to work also for multiband images.
+ Added transparency support for L and P images to the PNG codec.
+ Improved support for read-only images. The "load" method now
sets the "readonly" attribute for memory-mapped images. Operations
that modifies an image in place (such as "paste" and drawing operations)
creates an in-memory copy of the image, if necessary. (before this
change, any attempt to modify a memory-mapped image resulted in a
core dump...)
+ Added special cases for lists everywhere PIL expects a sequence.
This should speed up things like "putdata" and drawing operations.
+ The Image.offset method is deprecated. Use the ImageChops.offset
function instead.
+ Changed ImageChops operators to copy palette and info dictionary
from the first image argument.