[115325] trunk/dports/aqua/qtiplot
nicos at macports.org
nicos at macports.org
Tue Dec 31 00:58:23 PST 2013
Revision: 115325
https://trac.macports.org/changeset/115325
Author: nicos at macports.org
Date: 2013-12-31 00:58:23 -0800 (Tue, 31 Dec 2013)
Log Message:
-----------
qtiplot: fix python27 variant with py-sip >= 4.15 (ticket #41903) and fix variant qtexengine
Modified Paths:
--------------
trunk/dports/aqua/qtiplot/Portfile
Added Paths:
-----------
trunk/dports/aqua/qtiplot/files/patch-sip-4.15.diff
Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile 2013-12-31 08:39:38 UTC (rev 115324)
+++ trunk/dports/aqua/qtiplot/Portfile 2013-12-31 08:58:23 UTC (rev 115325)
@@ -36,7 +36,8 @@
patchfiles patch-ApplicationWindow.diff \
patch-qti.sip.diff \
patch-scripting.pri.diff \
- patch-qwt3d_openglhelper.diff
+ patch-qwt3d_openglhelper.diff \
+ patch-sip-4.15.diff
use_zip yes
@@ -104,6 +105,7 @@
# suppress examples which do not compile
reinplace "/example/d" ${worksrcpath}/3rdparty/QTeXEngine/QTeXEngine.pro
+ reinplace "/test/d" ${worksrcpath}/3rdparty/QTeXEngine/QTeXEngine.pro
}
# use system-wide libraries
Added: trunk/dports/aqua/qtiplot/files/patch-sip-4.15.diff
===================================================================
--- trunk/dports/aqua/qtiplot/files/patch-sip-4.15.diff (rev 0)
+++ trunk/dports/aqua/qtiplot/files/patch-sip-4.15.diff 2013-12-31 08:58:23 UTC (rev 115325)
@@ -0,0 +1,45 @@
+--- ./qtiplot/src/plot2D/ImageWidget.h.orig 2010-10-17 07:04:05.000000000 +0000
++++ ./qtiplot/src/plot2D/ImageWidget.h 2013-10-23 18:00:01.810504452 +0000
+@@ -67,10 +67,10 @@
+ void setWindowName(const QString& name){d_window_name = name;};
+
+ static QPixmap windowPixmap(ApplicationWindow *mw, const QString& name, const QSize& size);
++ void paintEvent(QPaintEvent *e);
+
+ private:
+ void draw(QPainter *painter, const QRect& r);
+- void paintEvent(QPaintEvent *e);
+ QPixmap d_pix;
+ //! The file from which the image was loaded.
+ QString d_file_name;
+--- ./qtiplot/src/analysis/FFT.cpp.orig 2011-07-06 11:51:08.000000000 +0000
++++ ./qtiplot/src/analysis/FFT.cpp 2013-10-23 23:07:45.674925476 +0000
+@@ -353,7 +353,7 @@
+ ml->arrangeLayers(false, false);
+ }
+
+-bool FFT::setDataFromTable(Table *t, const QString& realColName, const QString& imagColName, int from, int to)
++bool FFT::setDataFromTable(Table *t, const QString& realColName, const QString& imagColName, int from, int to, bool unused)
+ {
+ d_init_err = true;
+
+--- ./qtiplot/src/analysis/FFT.h.orig 2011-07-05 22:05:03.000000000 +0000
++++ ./qtiplot/src/analysis/FFT.h 2013-10-23 23:11:34.277924367 +0000
+@@ -52,6 +52,8 @@
+ Matrix *realOutputMatrix(){return d_re_out_matrix;}
+ Matrix *imaginaryOutputMatrix(){return d_im_out_matrix;}
+
++ bool setDataFromTable(Table *t, const QString& realColName, const QString& imagColName = QString(), int from = 0, int to = -1, bool unused = false);
++
+ private:
+ void init();
+ void output();
+@@ -60,8 +62,6 @@
+ void fftTable();
+ void fftMatrix();
+
+- bool setDataFromTable(Table *t, const QString& realColName, const QString& imagColName = QString(), int from = 0, int to = -1);
+-
+ double d_sampling;
+ //! Flag telling if an inverse FFT must be performed.
+ bool d_inverse;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131231/7ca34a67/attachment.html>
More information about the macports-changes
mailing list