View | Details | Raw Unified | Return to bug 113251
Collapse All | Expand All

(-)/home/makc/porting/ports/math/qtiplot/Makefile (-35 / +23 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	qtiplot
8
PORTNAME=	qtiplot
9
PORTVERSION=	0.8.9
9
#PORTVERSION=	0.9.r2
10
PORTREVISION=	1
10
DISTVERSION=	0.9rc2
11
CATEGORIES=	math science
11
CATEGORIES=	math science
12
MASTER_SITES=	http://soft.proindependent.com/src/
12
MASTER_SITES=	http://soft.proindependent.com/src/
13
13
14
MAINTAINER=	makc@issp.ac.ru
14
MAINTAINER=	makc@issp.ac.ru
15
COMMENT=	An Origin clone for data analysis and scientific plotting
15
COMMENT=	An Origin clone for data analysis and scientific plotting
16
16
17
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
18
LIB_DEPENDS=	gsl.9:${PORTSDIR}/math/gsl \
17
LIB_DEPENDS=	gsl.9:${PORTSDIR}/math/gsl \
19
		muparser.0:${PORTSDIR}/math/muparser \
18
		muparser.0:${PORTSDIR}/math/muparser \
20
		origin.0:${PORTSDIR}/math/liborigin \
19
		origin.0:${PORTSDIR}/math/liborigin \
21
		qwtplot3d:${PORTSDIR}/math/qwtplot3d \
20
		qwtplot3d-qt4:${PORTSDIR}/math/qwtplot3d-qt4 \
22
		qwt.5:${PORTSDIR}/x11-toolkits/qwt-devel
21
		qwt.5:${PORTSDIR}/x11-toolkits/qwt-devel
23
22
24
USE_BZIP2=	yes
23
USE_BZIP2=	yes
25
USE_GMAKE=	yes
24
USE_GMAKE=	yes
26
USE_QT_VER=	3
25
USE_QT_VER=	4
27
MAKE_ENV=	QTDIR=${QT_PREFIX}
26
QT_COMPONENTS=	gui moc qmake opengl qt3support network assistantclient
27
HAS_CONFIGURE=	yes
28
CONFIGURE_ENV+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
29
USE_DOS2UNIX=	qtiplot/qtiplot.pro
28
30
29
DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \
31
DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \
30
		"${DATADIR}/manual/common/qtiplot_logo.png" \
32
		"${DATADIR}/manual/common/qtiplot_logo.png" \
Lines 36-50 Link Here
36
.include <bsd.port.pre.mk>
38
.include <bsd.port.pre.mk>
37
39
38
.if defined(WITH_PYTHON)
40
.if defined(WITH_PYTHON)
41
BROKEN=	py-qt4-\* ports should be fixed first
39
USE_PYTHON=	yes
42
USE_PYTHON=	yes
40
# manually include this, because USE_PYTHON is defined
43
# manually include this, because USE_PYTHON is defined
41
# after including bsd.port.pre.mk
44
# after including bsd.port.pre.mk
42
.include "${PORTSDIR}/Mk/bsd.python.mk"
45
.include "${PORTSDIR}/Mk/bsd.python.mk"
43
BUILD_DEPENDS+=	sip:${PORTSDIR}/devel/py-sip \
46
BUILD_DEPENDS+=	${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
44
		${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
47
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
45
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-qt
46
PLIST_SUB+=	PYTHON=""
48
PLIST_SUB+=	PYTHON=""
47
MAKE_ENV+=	PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \
49
CONFIGURE_ENV+=	PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \
48
		PYTHON_VERSION=${PYTHON_VERSION}
50
		PYTHON_VERSION=${PYTHON_VERSION}
49
.else
51
.else
50
PLIST_SUB+=	PYTHON="@comment "
52
PLIST_SUB+=	PYTHON="@comment "
Lines 55-79 Link Here
55
.endif
57
.endif
56
58
57
.if !defined(WITHOUT_NLS)
59
.if !defined(WITHOUT_NLS)
58
QTI_LANG=	de es fr ru sv
60
#QT_COMPONENTS+=	linguist
61
BUILD_DEPENDS+=	${LOCALBASE}/bin/lupdate-qt4:${PORTSDIR}/devel/qt4-linguist
62
QTI_LANG=	de es fr ja ru sv
59
PLIST_SUB+=	NLS=""
63
PLIST_SUB+=	NLS=""
60
.else
64
.else
61
PLIST_SUB+=	NLS="@comment "
65
PLIST_SUB+=	NLS="@comment "
62
.endif
66
.endif
63
67
64
QMAKE=		qmake
65
QMAKESPEC=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
66
67
QPRO_DIRS=	. \
68
QPRO_DIRS=	. \
68
		fitPlugins/fitRational0 \
69
		fitPlugins/fitRational0 \
69
		fitPlugins/fitRational1 \
70
		fitPlugins/fitRational1 \
70
		qtiplot
71
		qtiplot
71
72
72
pre-patch:
73
	@${RM} -r ${WRKSRC}/3rdparty/muParser
74
	@${RM} -r ${WRKSRC}/3rdparty/qwt
75
	@${CP} ${FILESDIR}/${PORTNAME}.pro ${WRKSRC}/${PORTNAME}/${PORTNAME}.pro
76
77
post-patch:
73
post-patch:
78
.if defined(WITH_PYTHON)
74
.if defined(WITH_PYTHON)
79
	@${REINPLACE_CMD} -e \
75
	@${REINPLACE_CMD} -e \
Lines 81-102 Link Here
81
		${WRKSRC}/${PORTNAME}/src/PythonScripting.cpp
77
		${WRKSRC}/${PORTNAME}/src/PythonScripting.cpp
82
.else
78
.else
83
	@${REINPLACE_CMD} \
79
	@${REINPLACE_CMD} \
84
		-e "s/unix:SCRIPTING_LANGS += Python//" \
80
		-e "s/^SCRIPTING_LANGS += Python//" \
85
		${WRKSRC}/${PORTNAME}/qtiplot.pro
81
		${WRKSRC}/${PORTNAME}/qtiplot.pro
86
.endif
82
.endif
87
	@${REINPLACE_CMD} -e "s:3rdparty/qwt::" ${WRKSRC}/${PORTNAME}.pro
88
	@${REINPLACE_CMD} -e 's:"/usr/share/doc/qtiplot:"${DATADIR}/manual:' \
89
		-e 's:QDir( "./" ).absPath():"":g' \
90
		${WRKSRC}/${PORTNAME}/src/application.cpp
91
	@${REINPLACE_CMD} -e 's:"../3rdparty/muParser/muParser.h":<muParser.h>:' \
92
		${WRKSRC}/${PORTNAME}/src/parser.h
93
	@${REINPLACE_CMD} -e 's:"../3rdparty/muParser/muParser.h":<muParser.h>:' \
94
		${WRKSRC}/${PORTNAME}/src/muParserScripting.h
95
83
96
do-configure:
84
do-configure:
97
.for d in ${QPRO_DIRS}
85
.for d in ${QPRO_DIRS}
98
	@cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
86
	(cd ${WRKSRC}/${d} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE})
99
		-spec ${QMAKESPEC} *.pro
100
.endfor
87
.endfor
101
88
102
post-configure:
89
post-configure:
Lines 111-116 Link Here
111
		${WRKSRC}/${d}/Makefile
98
		${WRKSRC}/${d}/Makefile
112
.endfor
99
.endfor
113
100
101
do-build:
102
.for d in ${QPRO_DIRS}
103
	(cd ${WRKSRC}/${d}; ${SETENV} ${MAKE_ENV} ${GMAKE})
104
.endfor
105
114
do-install:
106
do-install:
115
	${MKDIR} ${DATADIR}
107
	${MKDIR} ${DATADIR}
116
	${INSTALL_PROGRAM} ${WRKSRC}/qtiplot/qtiplot ${DATADIR}/qtiplot
108
	${INSTALL_PROGRAM} ${WRKSRC}/qtiplot/qtiplot ${DATADIR}/qtiplot
Lines 126-136 Link Here
126
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/qtiplotrc.pyc ${DATADIR}/qtiplotrc.pyc
118
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/qtiplotrc.pyc ${DATADIR}/qtiplotrc.pyc
127
.endif
119
.endif
128
.if !defined(WITHOUT_NLS)
120
.if !defined(WITHOUT_NLS)
129
.for i in ${QTI_LANG}
121
	(cd ${WRKSRC}/qtiplot/translations/ && ${COPYTREE_SHARE} '*.qm' ${DATADIR}/translations)
130
	${MKDIR} ${DATADIR}/translations/
131
	${INSTALL_DATA}	${WRKSRC}/qtiplot/translations/qtiplot_${i}.qm \
132
	${DATADIR}/translations/
133
.endfor
134
.endif
122
.endif
135
123
136
.include <bsd.port.post.mk>
124
.include <bsd.port.post.mk>
(-)/home/makc/porting/ports/math/qtiplot/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qtiplot-0.8.9.tar.bz2) = d4477a3d7d5a61d6f6da1af48424220f
1
MD5 (qtiplot-0.9rc2.tar.bz2) = e848a4e802d00b8bd972df09b26dff49
2
SHA256 (qtiplot-0.8.9.tar.bz2) = c1472192cb04a56a7b75155d2520add2e6571bc8ede40341b8720291aafea870
2
SHA256 (qtiplot-0.9rc2.tar.bz2) = 75f422372f5ca979316d8db4685d20b1324ca229e981322faff119c4aa2b38f1
3
SIZE (qtiplot-0.8.9.tar.bz2) = 848083
3
SIZE (qtiplot-0.9rc2.tar.bz2) = 787376
(-)/home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro (+14 lines)
Line 0 Link Here
1
--- ./fitPlugins/fitRational0/fitRational0.pro.orig	Thu Apr 19 15:36:12 2007
2
+++ ./fitPlugins/fitRational0/fitRational0.pro	Sat Jun  2 15:33:23 2007
3
@@ -11,9 +11,8 @@
4
 
5
 DESTDIR           = ../
6
  
7
-INCLUDEPATH += ../../3rdparty/gsl
8
-LIBS        += ../../3rdparty/gsl/lib/libgsl.a
9
-LIBS        += ../../3rdparty/gsl/lib/libgslcblas.a
10
+unix:INCLUDEPATH += $$(LOCALBASE)/include
11
+unix:LIBS         += -lgsl -lgslcblas
12
 
13
 #target.path=/usr/lib$${libsuff}
14
 #INSTALLS += target
(-)/home/makc/porting/ports/math/qtiplot/files/patch-fitPlugins__fitRational1__fitRational1.pro (+14 lines)
Line 0 Link Here
1
--- ./fitPlugins/fitRational1/fitRational1.pro.orig	Thu Apr 19 15:36:12 2007
2
+++ ./fitPlugins/fitRational1/fitRational1.pro	Sat Jun  2 15:33:23 2007
3
@@ -11,9 +11,8 @@
4
 
5
 DESTDIR           = ../
6
 
7
-INCLUDEPATH += ../../3rdparty/gsl
8
-LIBS        += ../../3rdparty/gsl/lib/libgsl.a
9
-LIBS        += ../../3rdparty/gsl/lib/libgslcblas.a
10
+unix:INCLUDEPATH += $$(LOCALBASE)/include
11
+unix:LIBS         += -lgsl -lgslcblas
12
 
13
 target.path=/usr/lib$${libsuff}
14
 INSTALLS += target
(-)/home/makc/porting/ports/math/qtiplot/files/patch-qtiplot__qtiplot.pro (+148 lines)
Line 0 Link Here
1
--- ./qtiplot/qtiplot.pro.orig	Sat Jun  2 15:33:23 2007
2
+++ ./qtiplot/qtiplot.pro	Sat Jun  2 15:35:21 2007
3
@@ -17,24 +17,17 @@
4
 
5
 # what to install and where
6
 INSTALLS        += target
7
-INSTALLS        += documentation
8
-unix: target.path = /usr/bin
9
+#INSTALLS        += documentation
10
+unix: target.path = $$(PREFIX)
11
 unix: documentation.path = /usr/share/doc/qtiplot
12
 
13
 ##################### 3rd PARTY HEADER FILES SECTION ########################
14
 #!!! Warning: You must modify these paths according to your computer settings
15
 #############################################################################
16
 
17
-INCLUDEPATH       += ../3rdparty/muParser
18
-
19
-INCLUDEPATH       += ../3rdparty/qwtplot3d/include
20
-INCLUDEPATH       += ../3rdparty/qwt/src
21
-#INCLUDEPATH       += /usr/include/qwtplot3d
22
-#INCLUDEPATH       += /usr/include/qwt5
23
-
24
-INCLUDEPATH       += ../3rdparty/liborigin
25
-INCLUDEPATH       += ../3rdparty/gsl/include
26
-INCLUDEPATH       += ../3rdparty/zlib123/include
27
+unix:INCLUDEPATH += $$(LOCALBASE)/include
28
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwt
29
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwtplot3d-qt4
30
 
31
 ##################### 3rd PARTY LIBRARIES SECTION ###########################
32
 #!!! Warning: You must modify these paths according to your computer settings
33
@@ -47,18 +40,18 @@
34
 unix:LIBS         += -L /usr/lib$${libsuff}
35
 
36
 # statically link against Qwt(3D) in 3rdparty
37
-unix:LIBS         += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
38
-unix:LIBS         += ../3rdparty/qwt/lib/libqwt.a
39
+unix:LIBS         += -L$$(LOCALBASE)/lib -lqwt -lqwtplot3d-qt4 -lorigin
40
+unix:LIBS         += -lz -lmuparser
41
 # dynamically link against Qwt(3D) installed system-wide
42
 # WARNING: make sure they are compiled against Qt4
43
 #unix:LIBS         += -lqwtplot3d
44
 #unix:LIBS         += -lqwt
45
 
46
 # statically link against GSL in 3rdparty
47
-unix:LIBS         += ../3rdparty/gsl/lib/libgsl.a
48
-unix:LIBS         += ../3rdparty/gsl/lib/libgslcblas.a
49
+#unix:LIBS         += ../3rdparty/gsl/lib/libgsl.a
50
+#unix:LIBS         += ../3rdparty/gsl/lib/libgslcblas.a
51
 #dynamically link against GSL installed system-wide
52
-#unix:LIBS         += -lgsl -lgslcblas
53
+unix:LIBS         += -lgsl -lgslcblas
54
 
55
 ##################### Windows ###############################################
56
 
57
@@ -110,8 +103,8 @@
58
                   translations/qtiplot_ja.ts \
59
                   translations/qtiplot_sv.ts
60
 
61
-#system(lupdate -verbose qtiplot.pro)
62
-#system(lrelease -verbose qtiplot.pro)
63
+system($$(LOCALBASE)/bin/lupdate-qt4 -verbose qtiplot.pro)
64
+system($$(LOCALBASE)/bin/lrelease-qt4 -verbose qtiplot.pro)
65
 
66
 ###################### DOCUMENTATION ########################################
67
 
68
@@ -350,8 +343,8 @@
69
 ################# Origin Import (liborigin) ###################
70
 ###############################################################
71
 
72
-HEADERS += ../3rdparty/liborigin/OPJFile.h
73
-SOURCES += ../3rdparty/liborigin/OPJFile.cpp
74
+#HEADERS += ../3rdparty/liborigin/OPJFile.h
75
+#SOURCES += ../3rdparty/liborigin/OPJFile.cpp
76
 
77
 ###############################################################
78
 ##################### SCRIPTING LANGUAGES SECTION #############
79
@@ -361,30 +354,32 @@
80
 
81
 contains(SCRIPTING_LANGS, muParser) {
82
   DEFINES += SCRIPTING_MUPARSER
83
-
84
+  
85
+  unix:LIBS +=	-lmuparser
86
+  
87
   HEADERS += src/muParserScript.h \
88
              src/muParserScripting.h \
89
-             ../3rdparty/muParser/muParser.h \
90
-             ../3rdparty/muParser/muParserBase.h \
91
-             ../3rdparty/muParser/muParserInt.h \
92
-             ../3rdparty/muParser/muParserError.h \
93
-             ../3rdparty/muParser/muParserStack.h \
94
-             ../3rdparty/muParser/muParserToken.h \
95
-             ../3rdparty/muParser/muParserBytecode.h \
96
-             ../3rdparty/muParser/muParserCallback.h \
97
-             ../3rdparty/muParser/muParserTokenReader.h \
98
-             ../3rdparty/muParser/muParserFixes.h \
99
-             ../3rdparty/muParser/muParserDef.h \
100
+#              ../3rdparty/muParser/muParser.h \
101
+#              ../3rdparty/muParser/muParserBase.h \
102
+#              ../3rdparty/muParser/muParserInt.h \
103
+#              ../3rdparty/muParser/muParserError.h \
104
+#              ../3rdparty/muParser/muParserStack.h \
105
+#              ../3rdparty/muParser/muParserToken.h \
106
+#              ../3rdparty/muParser/muParserBytecode.h \
107
+#              ../3rdparty/muParser/muParserCallback.h \
108
+#              ../3rdparty/muParser/muParserTokenReader.h \
109
+#              ../3rdparty/muParser/muParserFixes.h \
110
+#              ../3rdparty/muParser/muParserDef.h \
111
 
112
   SOURCES += src/muParserScript.cpp \
113
              src/muParserScripting.cpp \
114
-             ../3rdparty/muParser/muParser.cpp \
115
-             ../3rdparty/muParser/muParserBase.cpp \
116
-             ../3rdparty/muParser/muParserInt.cpp \
117
-             ../3rdparty/muParser/muParserBytecode.cpp \
118
-             ../3rdparty/muParser/muParserCallback.cpp \
119
-             ../3rdparty/muParser/muParserTokenReader.cpp \
120
-             ../3rdparty/muParser/muParserError.cpp \
121
+#              ../3rdparty/muParser/muParser.cpp \
122
+#              ../3rdparty/muParser/muParserBase.cpp \
123
+#              ../3rdparty/muParser/muParserInt.cpp \
124
+#              ../3rdparty/muParser/muParserBytecode.cpp \
125
+#              ../3rdparty/muParser/muParserCallback.cpp \
126
+#              ../3rdparty/muParser/muParserTokenReader.cpp \
127
+#              ../3rdparty/muParser/muParserError.cpp \
128
 
129
 }
130
 
131
@@ -396,12 +391,11 @@
132
   SOURCES += src/PythonScript.cpp src/PythonScripting.cpp
133
 
134
   unix {
135
-    INCLUDEPATH += $$system(python python-includepath.py)
136
-    LIBS        += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"")
137
-    LIBS        += -lm
138
-    system(mkdir -p $${SIP_DIR})
139
-    system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip)
140
-  }
141
+	INCLUDEPATH += $$(PYTHON_INCLUDEDIR)
142
+	LIBS +=	-lm -l$$(PYTHON_VERSION)
143
+	system(mkdir -p $${SIP_DIR})
144
+	system($$(PYTHON_VERSION) -c $${SIP_DIR} src/qti.sip)
145
+	}
146
 
147
   win32 {
148
     INCLUDEPATH += $$system(call python-includepath.py)
(-)/home/makc/porting/ports/math/qtiplot/files/qtiplot.pro (-288 lines)
Lines 1-288 Link Here
1
QMAKE_PROJECT_DEPTH = 0
2
3
TARGET		 = qtiplot
4
TEMPLATE	 = app
5
CONFIG		+= qt warn_on exceptions opengl
6
CONFIG		+= thread
7
CONFIG		+= release
8
9
MOC_DIR		 = ../tmp/qtiplot
10
OBJECTS_DIR	 = ../tmp/qtiplot
11
DESTDIR		 = ./
12
DEFINES		+= QT_PLUGIN
13
14
unix:INCLUDEPATH += $$(LOCALBASE)/include/qwt
15
unix:INCLUDEPATH += $$(LOCALBASE)/include
16
unix:INCLUDEPATH += $$(X11BASE)/include
17
18
unix:LIBS         +=  $$(QTDIR)/lib/libqassistantclient.a
19
unix:LIBS         += -L$$(LOCALBASE)/lib -lqwt -lgsl -lgslcblas -lorigin
20
unix:LIBS         += -L$$(X11BASE)/lib -lqwtplot3d
21
unix:LIBS         += -lz
22
23
TRANSLATIONS      = translations/qtiplot_de.ts \
24
			        translations/qtiplot_es.ts \
25
			        translations/qtiplot_fr.ts \
26
			        translations/qtiplot_ru.ts \
27
			        translations/qtiplot_sv.ts 
28
29
system($$(X11BASE)/bin/lupdate -verbose qtiplot.pro)
30
system($$(X11BASE)/bin/lrelease -verbose qtiplot.pro)
31
32
###################### HEADERS ##############################################
33
HEADERS  += src/application.h \
34
     src/graph.h \
35
     src/graph3D.h \
36
     src/worksheet.h \
37
     src/curvesDialog.h \
38
     src/valuesDialog.h \
39
     src/plotDialog.h \
40
     src/plot3DDialog.h \
41
     src/plotWizard.h \
42
     src/exportDialog.h \
43
     src/importDialog.h \
44
     src/axesDialog.h \
45
     src/pieDialog.h \
46
     src/polynomFitDialog.h \
47
     src/expDecayDialog.h \
48
     src/functionDialog.h \
49
     src/fitDialog.h \
50
     src/surfaceDialog.h \
51
     src/tableDialog.h \
52
     src/textDialog.h \
53
     src/lineDlg.h \
54
     src/scalePicker.h \
55
     src/canvaspicker.h \
56
     src/ErrorBar.h \
57
     src/pie.h \
58
     src/errDlg.h \
59
     src/LegendMarker.h \
60
     src/LineMarker.h\
61
     src/ImageMarker.h\
62
     src/imageDialog.h \
63
     src/fit.h \
64
     src/nrutil.h\
65
     src/pixmaps.h\
66
     src/multilayer.h\
67
     src/layerDialog.h \
68
     src/intDialog.h \
69
     src/sortDialog.h\
70
         src/bars.h \
71
         src/cones.h \
72
         src/configDialog.h \
73
         src/BarCurve.h \
74
         src/BoxCurve.h \
75
         src/Histogram.h \
76
         src/VectorCurve.h \
77
     src/scales.h \
78
         src/imageExportDialog.h \
79
         src/matrix.h \
80
         src/matrixDialog.h \
81
         src/matrixSizeDialog.h \
82
         src/matrixValuesDialog.h \
83
     src/analysisDialog.h \
84
         src/parser.h \
85
         src/colorBox.h \
86
         src/symbolBox.h \
87
         src/patternBox.h \
88
         src/importOPJ.h\
89
         src/symbolDialog.h \
90
         src/plot.h \
91
         src/colorButton.h \
92
         src/associationsDialog.h \
93
         src/renameWindowDialog.h \
94
         src/widget.h \
95
         src/interpolationDialog.h\
96
         src/fileDialogs.h\
97
         src/epsExportDialog.h\
98
         src/smoothCurveDialog.h\
99
         src/filterDialog.h\
100
         src/fftDialog.h\
101
         src/note.h\
102
         src/folder.h\
103
         src/findDialog.h\
104
         src/Scripting.h\
105
         src/scriptedit.h\
106
         src/FunctionCurve.h\
107
         src/Fitter.h\
108
         src/customEvents.h\
109
         src/ScriptingLangDialog.h\
110
         src/ScriptWindow.h\
111
         src/TableStatistics.h\
112
         src/Spectrogram.h\
113
         src/ColorMapEditor.h
114
 
115
###################### SOURCES  ##############################################  
116
  
117
SOURCES  += src/application.cpp \
118
     src/graph.cpp \
119
     src/analysis.cpp \
120
     src/graph3D.cpp \
121
     src/worksheet.cpp \
122
     src/valuesDialog.cpp \
123
     src/curvesDialog.cpp \
124
     src/plotDialog.cpp \
125
     src/plot3DDialog.cpp \
126
     src/plotWizard.cpp \
127
     src/exportDialog.cpp \
128
     src/importDialog.cpp \
129
     src/axesDialog.cpp \
130
     src/pieDialog.cpp \
131
     src/polynomFitDialog.cpp \
132
     src/tableDialog.cpp \
133
     src/textDialog.cpp \
134
     src/scalePicker.cpp \
135
     src/canvaspicker.cpp \
136
     src/expDecayDialog.cpp \
137
     src/functionDialog.cpp \
138
     src/fitDialog.cpp \
139
     src/surfaceDialog.cpp \
140
     src/lineDlg.cpp \
141
     src/ErrorBar.cpp \
142
     src/pie.cpp \
143
     src/errDlg.cpp \
144
     src/LegendMarker.cpp \
145
     src/LineMarker.cpp \
146
     src/ImageMarker.cpp\
147
     src/imageDialog.cpp \
148
     src/multilayer.cpp\
149
     src/layerDialog.cpp \
150
     src/intDialog.cpp \
151
     src/sortDialog.cpp\
152
         src/bars.cpp \
153
         src/cones.cpp \
154
     src/analysisDialog.cpp \
155
         src/configDialog.cpp \
156
         src/BarCurve.cpp \
157
         src/BoxCurve.cpp \
158
         src/Histogram.cpp \
159
         src/VectorCurve.cpp \
160
         src/imageExportDialog.cpp \
161
         src/matrix.cpp \
162
         src/matrixDialog.cpp \
163
         src/matrixSizeDialog.cpp \
164
         src/matrixValuesDialog.cpp \
165
         src/parser.cpp\
166
         src/colorBox.cpp \
167
         src/symbolBox.cpp \
168
         src/patternBox.cpp \
169
         src/importOPJ.cpp\
170
         src/main.cpp \
171
         src/symbolDialog.cpp \
172
         src/plot.cpp \
173
         src/colorButton.cpp \
174
         src/associationsDialog.cpp \
175
         src/renameWindowDialog.cpp \
176
         src/widget.cpp\
177
         src/interpolationDialog.cpp\
178
         src/epsExportDialog.cpp\
179
         src/nrutil.cpp\
180
     src/fit.cpp\
181
         src/smoothCurveDialog.cpp\
182
         src/filterDialog.cpp\
183
         src/fftDialog.cpp\
184
         src/note.cpp\
185
         src/folder.cpp\
186
         src/findDialog.cpp\
187
         src/scriptedit.cpp\
188
         src/fileDialogs.cpp\
189
     src/scales.cpp\
190
         src/FunctionCurve.cpp\
191
         src/Fitter.cpp\
192
         src/Scripting.cpp\
193
         src/ScriptingLangDialog.cpp\
194
         src/ScriptWindow.cpp\
195
         src/TableStatistics.cpp\
196
         src/Spectrogram.cpp\
197
         src/ColorMapEditor.cpp
198
199
SOURCES   +=../3rdparty/zlib123/minigzip.c
200
201
##################### SCRIPTING LANGUAGES SECTION #############
202
 
203
 SCRIPTING_LANGS = muParser
204
 DEFINES	+= SCRIPTING_CONSOLE
205
 DEFINES	+= SCRIPTING_DIALOG
206
207
# Python support is unstable; use at your own risk
208
unix:SCRIPTING_LANGS += Python
209
210
##################### Default: muParser #######################
211
contains(SCRIPTING_LANGS, muParser) {
212
  DEFINES +=	SCRIPTING_MUPARSER
213
  unix:LIBS +=	-lmuparser
214
  HEADERS +=	src/muParserScripting.h 
215
  SOURCES +=	src/muParserScripting.cpp 
216
}
217
218
##################### PYTHON + SIP + PyQT #####################
219
contains(SCRIPTING_LANGS, Python) {
220
  DEFINES +=	SCRIPTING_PYTHON
221
  HEADERS +=	src/PythonScripting.h
222
  SOURCES +=	src/PythonScripting.cpp
223
224
  SIP =		$$(LOCALBASE)/bin/sip
225
  SIPINCLUDE =	$$(LOCALBASE)/share/py-sip
226
227
 unix {
228
	INCLUDEPATH += $$(PYTHON_INCLUDEDIR)
229
	LIBS +=	-lm -l$$(PYTHON_VERSION)
230
	system(mkdir -p $${MOC_DIR})
231
	unix:system($${SIP} -I $${SIPINCLUDE} -t Qt_3_3_0 -t WS_X11 -c $${MOC_DIR} src/qti.sip)
232
	}
233
234
##################### SIP generated files #####################
235
  HEADERS +=\
236
	 ../tmp/qtiplot/sipqtiApplicationWindow.h\
237
	 ../tmp/qtiplot/sipqtiGraph.h\
238
	 ../tmp/qtiplot/sipqtiLineMarker.h\
239
	 ../tmp/qtiplot/sipqtiMultiLayer.h\
240
	 ../tmp/qtiplot/sipqtiTable.h\
241
	 ../tmp/qtiplot/sipqtimyWidget.h\
242
	 ../tmp/qtiplot/sipqtiScriptEdit.h\
243
	 ../tmp/qtiplot/sipqtiNote.h\
244
	 ../tmp/qtiplot/sipqtiFit.h\
245
	 ../tmp/qtiplot/sipqtiExponentialFit.h\
246
	 ../tmp/qtiplot/sipqtiTwoExpFit.h\
247
	 ../tmp/qtiplot/sipqtiThreeExpFit.h\
248
	 ../tmp/qtiplot/sipqtiSigmoidalFit.h\
249
	 ../tmp/qtiplot/sipqtiGaussAmpFit.h\
250
	 ../tmp/qtiplot/sipqtiLorentzFit.h\
251
	 ../tmp/qtiplot/sipqtiNonLinearFit.h\
252
	 ../tmp/qtiplot/sipqtiPluginFit.h\
253
	 ../tmp/qtiplot/sipqtiMultiPeakFit.h\
254
	 ../tmp/qtiplot/sipqtiPolynomialFit.h\
255
	 ../tmp/qtiplot/sipqtiLinearFit.h\
256
	 ../tmp/qtiplot/sipqtiMatrix.h\
257
	 ../tmp/qtiplot/sipqtiGaussFit.h\
258
	 ../tmp/qtiplot/sipqtiPythonScript.h\
259
	 ../tmp/qtiplot/sipqtiFolder.h\
260
	 ../tmp/qtiplot/sipqtiQPtrList.h
261
  SOURCES +=\
262
	 ../tmp/qtiplot/sipqticmodule.cpp\
263
	 ../tmp/qtiplot/sipqtiApplicationWindow.cpp\
264
	 ../tmp/qtiplot/sipqtiGraph.cpp\
265
	 ../tmp/qtiplot/sipqtiLineMarker.cpp\
266
	 ../tmp/qtiplot/sipqtiMultiLayer.cpp\
267
	 ../tmp/qtiplot/sipqtiTable.cpp\
268
	 ../tmp/qtiplot/sipqtimyWidget.cpp\
269
	 ../tmp/qtiplot/sipqtiScriptEdit.cpp\
270
	 ../tmp/qtiplot/sipqtiNote.cpp\
271
	 ../tmp/qtiplot/sipqtiFit.cpp\
272
	 ../tmp/qtiplot/sipqtiExponentialFit.cpp\
273
	 ../tmp/qtiplot/sipqtiTwoExpFit.cpp\
274
	 ../tmp/qtiplot/sipqtiThreeExpFit.cpp\
275
	 ../tmp/qtiplot/sipqtiSigmoidalFit.cpp\
276
	 ../tmp/qtiplot/sipqtiGaussAmpFit.cpp\
277
	 ../tmp/qtiplot/sipqtiLorentzFit.cpp\
278
	 ../tmp/qtiplot/sipqtiNonLinearFit.cpp\
279
	 ../tmp/qtiplot/sipqtiPluginFit.cpp\
280
	 ../tmp/qtiplot/sipqtiMultiPeakFit.cpp\
281
	 ../tmp/qtiplot/sipqtiPolynomialFit.cpp\
282
	 ../tmp/qtiplot/sipqtiLinearFit.cpp\
283
	 ../tmp/qtiplot/sipqtiMatrix.cpp\
284
	 ../tmp/qtiplot/sipqtiGaussFit.cpp\
285
	 ../tmp/qtiplot/sipqtiPythonScript.cpp\
286
	 ../tmp/qtiplot/sipqtiFolder.cpp\
287
	 ../tmp/qtiplot/sipqtiQPtrList.cpp
288
}
(-)/home/makc/porting/ports/math/qtiplot/pkg-plist (+1 lines)
Lines 7-12 Link Here
7
%%NLS%%%%DATADIR%%/translations/qtiplot_de.qm
7
%%NLS%%%%DATADIR%%/translations/qtiplot_de.qm
8
%%NLS%%%%DATADIR%%/translations/qtiplot_es.qm
8
%%NLS%%%%DATADIR%%/translations/qtiplot_es.qm
9
%%NLS%%%%DATADIR%%/translations/qtiplot_fr.qm
9
%%NLS%%%%DATADIR%%/translations/qtiplot_fr.qm
10
%%NLS%%%%DATADIR%%/translations/qtiplot_ja.qm
10
%%NLS%%%%DATADIR%%/translations/qtiplot_ru.qm
11
%%NLS%%%%DATADIR%%/translations/qtiplot_ru.qm
11
%%NLS%%%%DATADIR%%/translations/qtiplot_sv.qm
12
%%NLS%%%%DATADIR%%/translations/qtiplot_sv.qm
12
%%NLS%%@dirrm %%DATADIR%%/translations
13
%%NLS%%@dirrm %%DATADIR%%/translations

Return to bug 113251