summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/mypaint/Makefile9
-rw-r--r--graphics/mypaint/distinfo9
-rw-r--r--graphics/mypaint/patches/patch-aa25
3 files changed, 6 insertions, 37 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile
index d81e968eb0e..8b13ee4f920 100644
--- a/graphics/mypaint/Makefile
+++ b/graphics/mypaint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2011/02/25 09:47:23 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2011/03/06 07:33:52 ryoon Exp $
#
-DISTNAME= mypaint-0.9.0
+DISTNAME= mypaint-0.9.1
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://download.gna.org/mypaint/
@@ -26,11 +26,6 @@ DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
FIND_PREFIX:= SCONSDIR=scons
.include "../../mk/find-prefix.mk"
-SUBST_CLASSES+= python-cmd
-SUBST_STAGE.python-cmd= pre-configure
-SUBST_FILES.python-cmd= brushlib/SConscript
-SUBST_SED.python-cmd= -e 's,python,${PYTHONBIN},'
-
SUBST_CLASSES+= locale-dir
SUBST_STAGE.locale-dir= pre-configure
SUBST_FILES.locale-dir= SConstruct
diff --git a/graphics/mypaint/distinfo b/graphics/mypaint/distinfo
index e3c02cbba56..13335be3ad2 100644
--- a/graphics/mypaint/distinfo
+++ b/graphics/mypaint/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/12/23 11:45:32 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2011/03/06 07:33:52 ryoon Exp $
-SHA1 (mypaint-0.9.0.tar.bz2) = 6c733a1bc87e237be18389aefb26a034b1229d24
-RMD160 (mypaint-0.9.0.tar.bz2) = 07c83e5012400b9931a03bb750bf3f97da73bbd3
-Size (mypaint-0.9.0.tar.bz2) = 5540285 bytes
-SHA1 (patch-aa) = d3283ff5eb413be9fde1f09a8bcc49d64610db87
+SHA1 (mypaint-0.9.1.tar.bz2) = b2fe2e311619a4c4815cd698abd41e99b6692b43
+RMD160 (mypaint-0.9.1.tar.bz2) = 16bd0492b567822b5ea4d6e3153e73436828a728
+Size (mypaint-0.9.1.tar.bz2) = 5542866 bytes
diff --git a/graphics/mypaint/patches/patch-aa b/graphics/mypaint/patches/patch-aa
deleted file mode 100644
index b2cc458058c..00000000000
--- a/graphics/mypaint/patches/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/12/23 11:45:32 ryoon Exp $
-
-http://gna.org/bugs/?17084
---- gui/tileddrawwidget.py.orig 2010-10-30 19:27:59.000000000 +0000
-+++ gui/tileddrawwidget.py
-@@ -9,6 +9,7 @@
- import gtk, gobject, cairo, random
- gdk = gtk.gdk
- from math import floor, ceil, pi, log
-+from numpy import isfinite
-
- from lib import helpers, tiledsurface, pixbufsurface
- import cursor
-@@ -167,7 +168,10 @@ class TiledDrawWidget(gtk.DrawingArea):
-
- xtilt = event.get_axis(gdk.AXIS_XTILT)
- ytilt = event.get_axis(gdk.AXIS_YTILT)
-- if xtilt is None or ytilt is None:
-+ # Check whether tilt is present. For some tablets without
-+ # tilt support GTK reports a tilt axis with value nan, instead
-+ # of None. https://gna.org/bugs/?17084
-+ if xtilt is None or ytilt is None or not isfinite(xtilt+ytilt):
- xtilt = 0.0
- ytilt = 0.0
-