graphics/impressive: Update to 0.12.1

* Remove patch for impressive.py that no longer applies. [1]

Changelog:

* Fixed crash in crash reporter with recent Pillow versions [1]
* Fixed crash with recent PyGame versions when non-latin characters appeared
  in slide titles
* Fixed page rotation
* Fixed -x/--fade mode
* Fixed directory playback mode
* More robust PDF hyperlink parser (page boxes can now be PDF references)
* Added option to temporarily inhibit automatic slideshows
* Default keybinding: [A] key, actions: auto-start, auto-stop, auto-toggle

MFH:		2019Q3
This commit is contained in:
Kai Knoblich 2019-09-03 21:23:25 +00:00
parent 5b003102de
commit 4e5f5164d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511043
3 changed files with 4 additions and 23 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= impressive
PORTVERSION= 0.12.0
PORTREVISION= 2
PORTVERSION= 0.12.1
CATEGORIES= graphics python
MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/
DISTNAME= Impressive-${PORTVERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1558123299
SHA256 (Impressive-0.12.0.tar.gz) = 7dc78de333e4a942036ba4bda53358799f493114f2f655b2ab2689b6fdc0587d
SIZE (Impressive-0.12.0.tar.gz) = 209514
TIMESTAMP = 1567453628
SHA256 (Impressive-0.12.1.tar.gz) = 74a331f41e39a363b362dcadf861e3a300351d5ad5cfe033b5d47215c886f1e4
SIZE (Impressive-0.12.1.tar.gz) = 210928

View file

@ -1,18 +0,0 @@
--- impressive.py.orig 2018-02-04 20:31:39 UTC
+++ impressive.py
@@ -6332,7 +6332,14 @@ def run_main():
print >>sys.stderr, "Impressive version:", __version__
print >>sys.stderr, "Python version:", sys.version
print >>sys.stderr, "PyGame version:", pygame.__version__
- print >>sys.stderr, "PIL version:", Image.VERSION
+ if hasattr(Image, "__version__"): # Pillow >= 5.2
+ print >>sys.stderr, "PIL version: Pillow", Image.__version__
+ elif hasattr(Image, "PILLOW_VERSION"): # Pillow < 7.0
+ print >>sys.stderr, "PIL version: Pillow", Image.PILLOW_VERSION
+ elif hasattr(Image, "VERSION"): # classic PIL or Pillow 1.x
+ print >>sys.stderr, "PIL version: classic", Image.VERSION
+ else:
+ print >>sys.stderr, "PIL version: unknown"
if PDFRenderer:
print >>sys.stderr, "PDF renderer:", PDFRenderer.name
else: