[141680] trunk/dports/graphics/ipe

khindenburg at macports.org khindenburg at macports.org
Sat Dec 12 02:33:19 PST 2015


Revision: 141680
          https://trac.macports.org/changeset/141680
Author:   khindenburg at macports.org
Date:     2015-10-26 12:39:46 -0700 (Mon, 26 Oct 2015)
Log Message:
-----------
ipe: update to 7.1.9; add qt4 patch; maintainer #49427

Modified Paths:
--------------
    trunk/dports/graphics/ipe/Portfile
    trunk/dports/graphics/ipe/files/Info.plist.in

Added Paths:
-----------
    trunk/dports/graphics/ipe/files/patch-ipecanvas-ipecanvas_qt.cpp.diff

Modified: trunk/dports/graphics/ipe/Portfile
===================================================================
--- trunk/dports/graphics/ipe/Portfile	2015-10-26 19:10:54 UTC (rev 141679)
+++ trunk/dports/graphics/ipe/Portfile	2015-10-26 19:39:46 UTC (rev 141680)
@@ -5,8 +5,7 @@
 PortGroup               qt4 1.0
 
 name                    ipe
-version                 7.1.8
-revision                1
+version                 7.1.9
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              graphics
 maintainers             gmail.com:m7.thon openmaintainer
@@ -24,8 +23,8 @@
 distname                ${name}-${version}-src
 worksrcdir              ${name}-${version}/src
 
-checksums               sha1    52894af0493fbc8a9115effb6f4c82dd5d2f0c23 \
-                        rmd160  ace0e161ac0ff0cd8ed79c154f0adc195b74dd1f
+checksums               sha1    ec213ad86393ab2e0de8581a50ce63a09b83186d \
+                        rmd160  03d4425b2b7cee4309d363ecc90bb3ddaab48542
 
 depends_lib-append      port:freetype \
                         path:lib/pkgconfig/cairo.pc:cairo \
@@ -34,6 +33,8 @@
                         port:libpng \
                         port:zlib
 
+patchfiles              patch-ipecanvas-ipecanvas_qt.cpp.diff
+
 use_configure           no
 
 variant universal {}
@@ -48,7 +49,8 @@
 
 pre-build {
     build.env           CXXFLAGS="[get_canonical_archflags cxx]" \
-                        LDFLAGS="[get_canonical_archflags ld]"
+                        LDFLAGS="[get_canonical_archflags ld]" \
+                        PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:${qt_pkg_config_dir}
 
     build.args          IPEPREFIX=${prefix} \
                         ZLIB_CFLAGS="`pkg-config --cflags zlib`" \
@@ -60,7 +62,7 @@
                         FREETYPE_LIBS="`pkg-config --libs freetype2`" \
                         CAIRO_CFLAGS="`pkg-config --cflags cairo`" \
                         CAIRO_LIBS="`pkg-config --libs cairo`" \
-                        LUA_CFLAGS="`pkg-config --cflags lua` -DLUA_COMPAT_5_2" \
+                        LUA_CFLAGS="`pkg-config --cflags lua`" \
                         LUA_LIBS="`pkg-config --libs lua`" \
                         QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" \
                         QT_LIBS="`pkg-config --libs QtGui QtCore`" \

Modified: trunk/dports/graphics/ipe/files/Info.plist.in
===================================================================
--- trunk/dports/graphics/ipe/files/Info.plist.in	2015-10-26 19:10:54 UTC (rev 141679)
+++ trunk/dports/graphics/ipe/files/Info.plist.in	2015-10-26 19:39:46 UTC (rev 141680)
@@ -57,7 +57,7 @@
 	<key>LSEnvironment</key>
 	<dict>
 		<key>PATH</key>
-		<string>@PREFIX@/bin:/bin:/usr/bin:/usr/local/bin:/usr/texbin:/usr/local/texbin</string>
+		<string>@PREFIX@/bin:/bin:/usr/bin:/usr/local/bin:/usr/texbin:/usr/local/texbin:/Library/TeX/texbin</string>
 	</dict>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>

Added: trunk/dports/graphics/ipe/files/patch-ipecanvas-ipecanvas_qt.cpp.diff
===================================================================
--- trunk/dports/graphics/ipe/files/patch-ipecanvas-ipecanvas_qt.cpp.diff	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/patch-ipecanvas-ipecanvas_qt.cpp.diff	2015-10-26 19:39:46 UTC (rev 141680)
@@ -0,0 +1,11 @@
+--- ipecanvas/ipecanvas_qt.cpp.orig	2015-10-24 20:31:16.000000000 +0200
++++ ipecanvas/ipecanvas_qt.cpp	2015-10-24 20:31:53.000000000 +0200
+@@ -239,7 +239,7 @@
+ void Canvas::tabletEvent(QTabletEvent *ev)
+ {
+   Vector globalPos(ev->hiResGlobalX(), ev->hiResGlobalY());
+-  QPointF hiPos = ev->posF();
++  QPointF hiPos = ev->hiResGlobalPos() - (ev->globalPos() - ev->pos());
+   ev->accept();
+ 
+   switch (ev->type()) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/f69ba827/attachment.html>


More information about the macports-changes mailing list