Package: qtiplot / 0.9.8.9-9

01_build_system.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Changes the build system to use libraries from the Debian package system
and fixes installation directories
--- a/qtiplot.pro
+++ b/qtiplot.pro
@@ -1,7 +1,5 @@
 TEMPLATE = subdirs
 
-SUBDIRS = fitPlugins \
-	    manual \
-	    3rdparty/qwt \
+SUBDIRS = 3rdparty/qwt \
 		3rdparty/qwtplot3d \
         qtiplot
--- a/qtiplot/qtiplot.pro
+++ b/qtiplot/qtiplot.pro
@@ -20,6 +20,9 @@
 LIBS         += $$QWT_LIBS
 LIBS         += $$QWT3D_LIBS
 LIBS         += $$GSL_LIBS
+LIBS         += -lorigin2
+LIBS         += -lz
+LIBS         += -lboost_system
 
 #############################################################################
 ###################### BASIC PROJECT PROPERTIES #############################
@@ -114,17 +117,16 @@
 		translations/qtiplot_sv.qm
 
 isEmpty(LUPDATE): LUPDATE = lupdate
-#system($$LUPDATE -verbose qtiplot.pro)
+system($$LUPDATE -verbose qtiplot.pro)
 isEmpty(LRELEASE): LRELEASE = lrelease
-#system($$LRELEASE -verbose qtiplot.pro)
+system($$LRELEASE -verbose qtiplot.pro)
 
 ###################### DOCUMENTATION ########################################
 
 manual.files += ../manual/html \
                 ../manual/qtiplot-manual-en.pdf
 
-documentation.files += ../README.html \
-                       ../gpl_licence.txt
+documentation.files += ../README.html
 
 unix: man.files += ../qtiplot.1
 
@@ -159,7 +161,7 @@
   				    qtiUtil.py \
   				    qti_wordlist.txt \
 
-  	unix: pythonconfig.path = /usr/local/qtiplot
+  	unix: pythonconfig.path = /usr/share/qtiplot
   	win32: pythonconfig.path = $$INSTALLBASE
   	DEFINES += PYTHON_CONFIG_PATH="\\\"$$replace(pythonconfig.path," ","\ ")\\\"
   }