head 1.5; access; symbols pkgsrc-2019Q1:1.4.0.78 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.76 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.74 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.72 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.70 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.68 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.66 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.62 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.60 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.58 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.56 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.54 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.52 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.50 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.48 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.46 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.44 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.42 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.40 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.38 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.36 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.34 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.32 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.30 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.28 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.26 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.24 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.22 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.20 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.18 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.16 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.14 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.12 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.10 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.8 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.6 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.4 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.3.0.26 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.24 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.22 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.16 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.14 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.12 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.10 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.8 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2019.06.17.16.42.29; author adam; state dead; branches; next 1.4; commitid Yhagx9vEf7AaUyrB; 1.4 date 2009.12.11.21.40.30; author drochner; state Exp; branches; next 1.3; 1.3 date 2007.03.23.20.47.58; author drochner; state Exp; branches; next 1.2; 1.2 date 2005.10.12.14.48.44; author drochner; state Exp; branches; next 1.1; 1.1 date 2003.08.18.10.15.43; author drochner; state Exp; branches; next ; desc @@ 1.5 log @py-imagingtk: removed @ text @$NetBSD: patch-aa,v 1.4 2009/12/11 21:40:30 drochner Exp $ --- setup.py.orig 2009-11-15 17:06:10.000000000 +0100 +++ setup.py @@@@ -85,6 +85,7 @@@@ except ImportError: from distutils import sysconfig from distutils.core import Extension, setup from distutils.command.build_ext import build_ext +from distutils.command.install import install try: import _tkinter @@@@ -147,7 +148,7 @@@@ class pil_build_ext(build_ext): add_directory(library_dirs, "/opt/local/lib") add_directory(include_dirs, "/opt/local/include") - add_directory(library_dirs, "/usr/local/lib") +# add_directory(library_dirs, "/usr/local/lib") # FIXME: check /opt/stuff directories here? prefix = sysconfig.get_config_var("prefix") @@@@ -208,8 +209,8 @@@@ class pil_build_ext(build_ext): add_directory(include_dirs, tcl_dir) # standard locations - add_directory(library_dirs, "/usr/local/lib") - add_directory(include_dirs, "/usr/local/include") +# add_directory(library_dirs, "/usr/local/lib") +# add_directory(include_dirs, "/usr/local/include") add_directory(library_dirs, "/usr/lib") add_directory(include_dirs, "/usr/include") @@@@ -243,7 +244,7 @@@@ class pil_build_ext(build_ext): if find_library_file(self, "tiff"): feature.tiff = "tiff" - if find_library_file(self, "freetype"): + if 0: # look for freetype2 include files freetype_version = 0 for dir in self.compiler.include_dirs: @@@@ -264,9 +265,9 @@@@ class pil_build_ext(build_ext): if dir: add_directory(self.compiler.include_dirs, dir, 0) - if find_include_file(self, "lcms.h"): - if find_library_file(self, "lcms"): - feature.lcms = "lcms" +# if find_include_file(self, "lcms.h"): +# if find_library_file(self, "lcms"): +# feature.lcms = "lcms" if _tkinter and find_include_file(self, "tk.h"): # the library names may vary somewhat (e.g. tcl84 or tcl8.4) @@@@ -302,9 +303,10 @@@@ class pil_build_ext(build_ext): if struct.unpack("h", "\0\1")[0] == 1: defs.append(("WORDS_BIGENDIAN", None)) - exts = [(Extension( - "_imaging", files, libraries=libs, define_macros=defs - ))] +# exts = [(Extension( +# "_imaging", files, libraries=libs, define_macros=defs +# ))] + exts = [] # # additional libraries @@@@ -360,8 +362,8 @@@@ class pil_build_ext(build_ext): libraries=[feature.tcl, feature.tk] )) - if os.path.isfile("_imagingmath.c"): - exts.append(Extension("_imagingmath", ["_imagingmath.c"])) +# if os.path.isfile("_imagingmath.c"): +# exts.append(Extension("_imagingmath", ["_imagingmath.c"])) self.extensions[:] = exts @@@@ -445,6 +447,10 @@@@ class pil_build_ext(build_ext): if m.group(1) < "1.2.3": return m.group(1) +class pkgsrcinstall(install): + def initialize_options(self): + install.initialize_options(self) + self.install_path_file = 0 # # build! @@@@ -470,7 +476,8 @@@@ if __name__ == "__main__": "Topic :: Multimedia :: Graphics :: Graphics Conversion", "Topic :: Multimedia :: Graphics :: Viewers", ], - cmdclass = {"build_ext": pil_build_ext}, + cmdclass = {"build_ext": pil_build_ext, + "install": pkgsrcinstall}, description=DESCRIPTION, download_url=DOWNLOAD_URL % (NAME, VERSION), ext_modules = [Extension("_imaging", ["_imaging.c"])], # dummy @@@@ -478,10 +485,10 @@@@ if __name__ == "__main__": license="Python (MIT style)", long_description=DESCRIPTION, name=NAME, - package_dir={"": "PIL"}, - packages=[""], +# package_dir={"": "PIL"}, +# packages=[""], platforms="Python 1.5.2 and later.", - scripts = glob.glob("Scripts/pil*.py"), +# scripts = glob.glob("Scripts/pil*.py"), url=HOMEPAGE, version=VERSION, ) @ 1.4 log @sync w/ base pkg @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @update to 1.1.6 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 @ text @d3 1 a3 1 --- setup.py.orig 2006-12-03 12:37:29.000000000 +0100 d5 19 a23 3 @@@@ -193,9 +193,6 @@@@ class pil_build_ext(build_ext): # # add standard directories d25 1 d28 3 a30 1 - d33 1 a33 2 @@@@ -226,7 +223,7 @@@@ class pil_build_ext(build_ext): d42 14 a55 1 @@@@ -281,9 +278,10 @@@@ class pil_build_ext(build_ext): d69 33 a101 1 @@@@ -448,10 +446,10 @@@@ if __name__ == "__main__": @ 1.2 log @update to 1.1.5 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 @ text @d3 1 a3 1 --- setup.py.orig 2005-03-23 19:16:40.000000000 +0100 d5 1 a5 1 @@@@ -177,9 +177,6 @@@@ class pil_build_ext(build_ext): d15 1 a15 1 @@@@ -210,7 +207,7 @@@@ class pil_build_ext(build_ext): d23 2 a24 2 for dir in include_dirs: @@@@ -265,9 +262,10 @@@@ class pil_build_ext(build_ext): d38 1 a38 1 @@@@ -430,10 +428,10 @@@@ if __name__ == "__main__": @ 1.1 log @catch up with py-imaging - use distutils and don't depend strictly on Python-2.0 anymore @ text @d3 40 a42 51 --- setup.py.orig Fri May 9 14:00:56 2003 +++ setup.py Sun Aug 17 00:55:09 2003 @@@@ -85,16 +85,16 @@@@ # standard windows libraries LIBRARIES.extend(["kernel32", "user32", "gdi32"]) -MODULES.append( - Extension( - "_imaging", - ["_imaging.c", "decode.c", "encode.c", "map.c", "display.c", - "outline.c", "path.c"], - include_dirs=INCLUDE_DIRS, - library_dirs=LIBRARY_DIRS, - libraries=LIBRARIES - ) - ) +#MODULES.append( +# Extension( +# "_imaging", +# ["_imaging.c", "decode.c", "encode.c", "map.c", "display.c", +# "outline.c", "path.c"], +# include_dirs=INCLUDE_DIRS, +# library_dirs=LIBRARY_DIRS, +# libraries=LIBRARIES +# ) +# ) # security check @@@@ -121,7 +121,7 @@@@ try: import _tkinter - TCL_VERSION = _tkinter.TCL_VERSION[:3] + TCL_VERSION = ''.join(_tkinter.TCL_VERSION[:3].split('.')) except (ImportError, AttributeError): pass else: @@@@ -206,7 +206,7 @@@@ if not tk_framework_found: # assume the libraries are installed in the default location - LIBRARIES.extend(["tk" + TCL_VERSION, "tcl" + TCL_VERSION]) + LIBRARIES.extend(["tk" + TCL_VERSION, "tcl" + TCL_VERSION, "X11"]) HAVE_TCLTK = 1 if HAVE_TCLTK: @@@@ -300,7 +300,7 @@@@ author_email=AUTHOR[1], description=DESCRIPTION, url=HOMEPAGE, d44 1 d46 6 a51 3 extra_path = "PIL", package_dir={"": "PIL"}, ext_modules = MODULES, @