Date: Tue, 7 Oct 2014 16:48:54 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370365 - in head/graphics/impressive: . files Message-ID: <201410071648.s97Gmsbd087187@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Tue Oct 7 16:48:54 2014 New Revision: 370365 URL: https://svnweb.freebsd.org/changeset/ports/370365 QAT: https://qat.redports.org/buildarchive/r370365/ Log: graphics/impressive: switch from py-imaging to py-pillow - USES python With hat: python Approved by: portmgr (bdrewery, implicit) Added: head/graphics/impressive/files/ head/graphics/impressive/files/patch-impressive.py (contents, props changed) Modified: head/graphics/impressive/Makefile Modified: head/graphics/impressive/Makefile ============================================================================== --- head/graphics/impressive/Makefile Tue Oct 7 16:45:30 2014 (r370364) +++ head/graphics/impressive/Makefile Tue Oct 7 16:48:54 2014 (r370365) @@ -3,7 +3,7 @@ PORTNAME= impressive PORTVERSION= 0.10.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/ DISTNAME= Impressive-${PORTVERSION} @@ -14,14 +14,14 @@ COMMENT= The stylish way of giving prese LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \ - ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ xpdf:${PORTSDIR}/graphics/xpdf \ pdftk:${PORTSDIR}/print/pdftk \ xdg-open:${PORTSDIR}/devel/xdg-utils \ mplayer:${PORTSDIR}/multimedia/mplayer \ ${PYGAME} -USE_PYTHON= yes +USES= python USE_GHOSTSCRIPT_RUN= yes NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} \ Added: head/graphics/impressive/files/patch-impressive.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/impressive/files/patch-impressive.py Tue Oct 7 16:48:54 2014 (r370365) @@ -0,0 +1,13 @@ +--- impressive.py.orig 2014-10-04 23:28:04 UTC ++++ impressive.py +@@ -182,8 +182,8 @@ + from OpenGL.GL import * + import pygame + from pygame.locals import * +- import Image, ImageDraw, ImageFont, ImageFilter +- import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin ++ from PIL import Image, ImageDraw, ImageFont, ImageFilter ++ from PIL import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin + except (ValueError, ImportError), err: + print >>sys.stderr, "Oops! Cannot load necessary modules:", err + print >>sys.stderr, """To use Impressive, you need to install the following Python modules:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071648.s97Gmsbd087187>