summaryrefslogtreecommitdiff
path: root/graphics/py-imaging
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03Fix building and disable TKINTER on Darwin.adam3-30/+18
2010-12-23Mechanically replace references to graphics/jpeg with the suitabledsainty2-4/+4
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
2010-07-19recognize a 16bit greyscale format with "white is zero" (which isdrochner3-3/+16
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
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz2-3/+4
2009-12-11update to 1.1.7drochner4-20/+37
changes: misc bugfixes and improvements, too much to list here, see the CHANGES file for details
2009-08-27Fix fallout from recursive jpeg shlib bump.wiz1-2/+2
The man page says that you should check the diff before committing, especially for the case that went wrong here (PYPKGPREFIX -> py25). Hi sno!
2009-08-26bump revision because of graphics/jpeg updatesno2-3/+4
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-20Include pyversion.mk include the protected part of the buildlink3.mkjoerg1-3/+3
files, not over and over again.
2009-03-11Fix freetype2 recognition, e.g. for native X.wiz1-1/+9
2009-02-09Remove Python 2.1 support.joerg1-3/+1
2008-04-25Explicitly include Python 2.1 -- this is used by Zope 2.5.joerg1-1/+3
2007-08-09Add DESTDIR support.joerg1-5/+7
2007-03-23update to 1.1.6drochner3-10/+22
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
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2007-01-20Include the FreeType2 component of PIL. Bump revision.joerg4-15/+8
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-20This package needs zlib to build.minskim1-1/+2
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-2/+4
2005-10-12update to 1.1.5drochner5-240/+68
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
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digestsagc1-1/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
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.
2004-07-22add python as categoryrecht1-2/+2
ok'd a while back at pkgsrcCon by agc and wiz
2004-05-23unusedrecht1-19/+0
2004-05-17Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymoreseb1-2/+1
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-02Convert to buildlink3.snj1-3/+3
2004-03-29Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,jlam1-2/+3
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+". This is mandated by the example buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-16If the ${PKGBASE} of a package doesn't match the token passed tojlam1-1/+2
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-12Added buildlink3.mk file. Used by new databases/gramps.reed1-0/+23
2004-02-26build libImaging.a with -fPIC, it goes into a dynamic objectdrochner2-8/+12
2003-09-14hange extension.mk to also install optimized files for distutils packages.recht1-1/+68
Inspired by FreeBSD "ports". Fix the PLISTs accordingly. Also, while at it, remove now obsolete compileall.py calls in post-install targets and insure that extension.mk is in included before builinlinks of other Python modules. Discussed with/ok'ed by drochner@.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-27update to 1.1.4drochner4-34/+167
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.)
2003-06-07Use @JPEGDIR@ in patch file instead of hardcoding /usr/pkg.jmmv2-4/+4
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-1/+1
2002-10-25forgot a dirrmdrochner1-1/+2
2002-10-24not needed anymoredrochner1-6/+0
2002-10-24install some header files (this got lost recently)drochner3-3/+23
and buildlink2ify them needed (at least) for graphics/sketch
2002-10-09buildlink1 -> buildlink2.wiz1-3/+3
2002-09-21Strip the ".buildlink" from the names of the python application andjlam1-2/+2
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.
2002-09-04-resort to old buildlink - BUILDLINK2 doesn't work yet with Pythondrochner2-132/+130
packages -fix hardwired python2.2 in PLIST
2002-09-03update to 1.1.3drochner6-58/+235
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.
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam1-0/+7
buildlink2.mk files back into the main trunk.
2002-02-14update to 1.1.2drochner2-6/+6
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.