Opened 13 years ago

Closed 13 years ago

#30269 closed update (fixed)

Qtiplot-0.9.8.3-upgrade to 0.9.8.7

Reported by: nicos_pavlov@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jonas@…
Port: qtiplot

Description (last modified by mf2k (Frank Schima))

Proposing the update of qtiplot to version 0.9.8.7, which makes the compilation quite simpler to before. The main changes in the portfile are:

  • liborigin is now integrated in qtiplot and does not need to be separately downloaded (the variant origin is thus dropped). This also means that the treehh port is no longer needed
  • Qtexengine is not necessary anymore for basic compilation and is thus provided as a variant, updated to version 0.3.
  • Added a version for python27 scripting

Attachments (4)

patch-ApplicationWindow.diff (1.4 KB) - added by nicos_pavlov@… 13 years ago.
patch-Portfile.diff (6.7 KB) - added by nicos_pavlov@… 13 years ago.
patch to the original portfile
patch-qti.sip.diff (462 bytes) - added by nicos_pavlov@… 13 years ago.
patch-scripting.pri.diff (481 bytes) - added by nicos_pavlov@… 13 years ago.

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by nicos_pavlov@…

comment:1 Changed 13 years ago by nicos_pavlov@…

The second attachment is the new patch for ApplicationWindow.cpp, which can replace the present one. To note that the other patches in the port are no longer needed.

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

Thanks for the patch, but please don't patch the $Id: line.

comment:3 Changed 13 years ago by mf2k (Frank Schima)

Cc: jonas@… added

comment:4 Changed 13 years ago by mf2k (Frank Schima)

I'm seeing the following build error:

:info:build /opt/local/bin/moc -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DSVN_REVISION="\"\"" -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.7/tmp/qtiplot -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/include/QtSvg -I/opt/local/include/Qt3Support -I/opt/local/include/QtXml -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include -D__APPLE__ -D__GNUC__ src/analysis/Convolution.h -o ../tmp/qtiplot/moc_Convolution.cpp
:info:build In file included from src/scripting/qti.sip:3439:
:info:build src/analysis/Anova.h:93: error: 'gsl_anova_twoway_types' does not name a type
:info:build src/analysis/Anova.h:98: error: 'tamu_anova_table' does not name a type
:info:build src/analysis/Anova.h:99: error: 'tamu_anova_table_twoway' does not name a type
:info:build src/analysis/Anova.h: In member function 'void Anova::setAnovaTwoWayModel(int)':
:info:build src/analysis/Anova.h:44: error: 'd_anova_type' was not declared in this scope
:info:build src/analysis/Anova.h:44: error: 'gsl_anova_twoway_types' was not declared in this scope
:info:build src/analysis/Anova.h:44: error: expected `;' before 'type'
:info:build src/analysis/Anova.h: At global scope:
:info:build src/analysis/Anova.h:44: warning: unused parameter 'type'
:info:build src/analysis/Anova.h: In member function 'double Anova::fStat()':
:info:build src/analysis/Anova.h:52: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'virtual double Anova::statistic()':
:info:build src/analysis/Anova.h:53: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'virtual double Anova::pValue()':
:info:build src/analysis/Anova.h:54: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::ssm()':
:info:build src/analysis/Anova.h:55: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::fStatA()':
:info:build src/analysis/Anova.h:60: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::fStatB()':
:info:build src/analysis/Anova.h:61: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::fStatAB()':
:info:build src/analysis/Anova.h:62: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::pValueA()':
:info:build src/analysis/Anova.h:64: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::pValueB()':
:info:build src/analysis/Anova.h:65: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::pValueAB()':
:info:build src/analysis/Anova.h:66: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::ssa()':
:info:build src/analysis/Anova.h:68: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::ssb()':
:info:build src/analysis/Anova.h:69: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::ssab()':
:info:build src/analysis/Anova.h:70: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::msa()':
:info:build src/analysis/Anova.h:72: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::msb()':
:info:build src/analysis/Anova.h:73: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::msab()':
:info:build src/analysis/Anova.h:74: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::sse()':
:info:build src/analysis/Anova.h:77: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h:77: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::sst()':
:info:build src/analysis/Anova.h:78: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h:78: error: 'd_at' was not declared in this scope
:info:build src/analysis/Anova.h: In member function 'double Anova::mse()':
:info:build src/analysis/Anova.h:79: error: 'd_att' was not declared in this scope
:info:build src/analysis/Anova.h:79: error: 'd_at' was not declared in this scope
:info:build src/scripting/qti.sip: In function 'int cellDataHelper(Table*, int, int, PyObject**)':
:info:build src/scripting/qti.sip:249: warning: deprecated conversion from string constant to 'char*'
:info:build src/scripting/qti.sip:249: warning: deprecated conversion from string constant to 'char*'
:info:build src/scripting/qti.sip:262: warning: deprecated conversion from string constant to 'char*'
:info:build src/scripting/qti.sip:262: warning: deprecated conversion from string constant to 'char*'
:info:build /opt/local/bin/moc -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DSVN_REVISION="\"\"" -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.7/tmp/qtiplot -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/include/QtSvg -I/opt/local/include/Qt3Support -I/opt/local/include/QtXml -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include -D__APPLE__ -D__GNUC__ src/analysis/Correlation.h -o ../tmp/qtiplot/moc_Correlation.cpp
:info:build /opt/local/bin/moc -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DSVN_REVISION="\"\"" -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.7/tmp/qtiplot -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/include/QtSvg -I/opt/local/include/Qt3Support -I/opt/local/include/QtXml -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include -D__APPLE__ -D__GNUC__ src/analysis/Differentiation.h -o ../tmp/qtiplot/moc_Differentiation.cpp
:info:build src/scripting/qti.sip: At global scope:
:info:build src/scripting/qti.sip:119: warning: 'int setCellDataHelper(Table*, int, int, PyObject*)' defined but not used
:info:build src/scripting/qti.sip:233: warning: 'int cellDataHelper(Table*, int, int, PyObject**)' defined but not used

comment:5 Changed 13 years ago by nicos_pavlov@…

Sorry for the patch of $Id lines

Right about the compilation. This seems to occur with python25 and python26 variants which try to link to an optional package that should not be activated. I will look into it. Default (no python) and python27 variants should compile fine to my knowledge.

Changed 13 years ago by nicos_pavlov@…

Attachment: patch-Portfile.diff added

patch to the original portfile

Changed 13 years ago by nicos_pavlov@…

Attachment: patch-qti.sip.diff added

Changed 13 years ago by nicos_pavlov@…

Attachment: patch-scripting.pri.diff added

comment:6 Changed 13 years ago by nicos_pavlov@…

Replacing the patch to the portfile, where two patches have been added to suppress the dependency on Anova package, which is supposed to be optional. The compilation works now for the three variants of python.

comment:7 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

That seems to work. Thanks! r80967.

Note: See TracTickets for help on using tickets.