Changeset 80967
- Timestamp:
- 07/22/11 10:33:46 (4 years ago)
- Location:
- trunk/dports/aqua/qtiplot
- Files:
-
- 2 added
- 3 deleted
- 2 edited
-
Portfile (modified) (8 diffs)
-
files/patch-ApplicationWindow.diff (modified) (4 diffs)
-
files/patch-importOPJ.cpp.diff (deleted)
-
files/patch-qti.sip.diff (added)
-
files/patch-qtiplot-qtiplot.pro (deleted)
-
files/patch-qtiplot-src-scripting-scripting.pri (deleted)
-
files/patch-scripting.pri.diff (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/aqua/qtiplot/Portfile
r79078 r80967 6 6 7 7 name qtiplot 8 version 0.9.8.3 9 revision 2 8 version 0.9.8.7 10 9 categories aqua science 11 10 maintainers jonas openmaintainer … … 23 22 master_sites http://download.berlios.de/qtiplot/ 24 23 25 distfiles ${distname}.zip \ 26 QTeXEngine-0.2-opensource.zip \ 27 liborigin2-13092010.zip 24 distfiles ${distname}.zip 28 25 29 26 depends_lib-append path:bin/qmake-mac:qt4-mac \ … … 35 32 36 33 checksums qtiplot-${version}.zip \ 37 md5 c90e9dc08e03dc1cd0db19dfe8941f0c \ 38 sha1 35dec539fb20b8c7ca121cca11f7b800b4ff0c6b \ 39 rmd160 2b0fd5b710d2752a1a413f83cbee9daf1e88edbf \ 40 QTeXEngine-0.2-opensource.zip \ 41 md5 fc2fe7f3fdb9e06c00d1f5c3c3e68920 \ 42 sha1 b484a4da7a0f3103e188539bfa6c1910dc9b55ca \ 43 rmd160 76ff1f2f96cd6df0ea5e6965013e0db452c55f09 \ 44 liborigin2-13092010.zip \ 45 md5 e2b41c4d8a1e2d357dd2b5b331d31375 \ 46 sha1 3f17d5a8c484ddb864a29a91a94d677b0b3b18d7 \ 47 rmd160 df7f4bafc1b9815c5921c09b435f431d8a1947e6 34 md5 cd571f88cde988734b7acf5db9917afc \ 35 sha1 8c4b39a2e5997b2e9a8a2ec2a41ac8395661bbe6 \ 36 rmd160 2a69ae9c2ab836cc8170fc71eb581b605ba6e7b6 48 37 49 patchfiles patch-ApplicationWindow.diff 38 patchfiles patch-ApplicationWindow.diff \ 39 patch-qti.sip.diff \ 40 patch-scripting.pri.diff 50 41 51 42 use_zip yes … … 71 62 puts $confFD "QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a" 72 63 puts $confFD "QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include" 73 puts $confFD " unix:QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a"64 puts $confFD "QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a" 74 65 puts $confFD "LIBPNG_LIBS = -lpng" 75 puts $confFD "TEX_ENGINE_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/QTeXEngine/src"76 puts $confFD "T EX_ENGINE_LIBS = \$\$QTI_ROOT/3rdparty/QTeXEngine/libQTeXEngine.a"77 if {[variant_isset origin]} {78 puts $confFD " LIBORIGIN_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/liborigin2"79 puts $confFD " LIBORIGIN_LIBS = \$\$QTI_ROOT/3rdparty/liborigin2/liborigin2.a"66 # Forcing TamuAnova to nothing 67 puts $confFD "TAMUANOVA_LIBS = " 68 if {[variant_isset qtexengine]} { 69 puts $confFD "TEX_ENGINE_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/QTeXEngine/src" 70 puts $confFD "TEX_ENGINE_LIBS = \$\$QTI_ROOT/3rdparty/QTeXEngine/libQTeXEngine.a" 80 71 } 81 82 # linking to deprecated library83 reinplace "s|<QAssistantClient>|\"qassistantclient.h\"|g" ${worksrcpath}/qtiplot/src/core/ApplicationWindow.cpp84 72 85 73 # target specific configuration 86 74 puts $confFD "contains( TARGET, qtiplot ) \{" 87 75 puts $confFD "SCRIPTING_LANGS += muParser"; # currently you can't build without 88 if {[variant_isset python25] || [variant_isset python26] } {76 if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} { 89 77 puts $confFD "SCRIPTING_LANGS += Python" 90 78 } … … 102 90 " ${worksrcpath}/qtiplot/qtiplotrc.py 103 91 104 if {[variant_isset origin]} { 105 # prepare liborigin2 106 copy ${workpath}/liborigin2 ${worksrcpath}/3rdparty/liborigin2 107 reinplace "s|INCLUDEPATH += ../boost|INCLUDEPATH += ${prefix}/include|g" ${worksrcpath}/3rdparty/liborigin2/liborigin2.pro 108 reinplace "s|lboost_thread|lboost_thread-mt|g" ${worksrcpath}/3rdparty/liborigin2/liborigin2.pro 109 reinplace "s|liborigin|liborigin2|g" ${worksrcpath}/qtiplot/src/origin/origin.pri 110 } 92 if {[variant_isset qtexengine]} { 93 # prepare qtexengine 94 copy ${workpath}/QTeXEngine ${worksrcpath}/3rdparty/QTeXEngine 111 95 112 # prepare qtexengine 113 copy ${workpath}/QTeXEngine ${worksrcpath}/3rdparty/QTeXEngine 96 # add 3rdparty to compilation 97 reinplace "s|3rdparty/qwtplot3d \|3rdparty/qwtplot3d 3rdparty/QTeXEngine \|g" \ 98 ${worksrcpath}/qtiplot.pro 114 99 115 # add 3rdparty to compilation 116 reinplace "s|3rdparty/qwtplot3d \|3rdparty/qwtplot3d 3rdparty/QTeXEngine \|g" \ 117 ${worksrcpath}/qtiplot.pro 118 if {[variant_isset origin]} { 119 reinplace "s|3rdparty/QTeXEngine \|3rdparty/QTeXEngine 3rdparty/liborigin2 \|g" \ 120 ${worksrcpath}/qtiplot.pro 100 # suppress examples which do not compile 101 reinplace "/example/d" ${worksrcpath}/3rdparty/QTeXEngine/QTeXEngine.pro 121 102 } 122 103 … … 127 108 configure.pre_args "PREFIX=${prefix}" 128 109 configure.cmd "LOCALSOFT=${prefix} ${qt_qmake_cmd}" 129 configure.env-append QMAKESPEC=${qt_mkspecs_dir}/macx-g++130 build.env-append QMAKESPEC=${qt_mkspecs_dir}/macx-g++131 110 destroot.destdir INSTALL_ROOT=${destroot} 132 111 … … 156 135 } 157 136 158 variant origin description "add support for originlab files" { 159 depends_lib-append port:treehh 160 patchfiles-append patch-importOPJ.cpp.diff 137 variant qtexengine description "add support for tex exportation" { 138 distfiles-append QTeXEngine-0.3-opensource.zip 139 checksums-append QTeXEngine-0.3-opensource.zip \ 140 md5 d1b234623770ec6209b14d1b5137f2f1 \ 141 sha1 971410ebc6b73f31a11cf473f4d9171c278271f0 \ 142 rmd160 6f75f8e6355515cf5eb8a7b90b9acca8aa889129 161 143 } 162 144 163 variant python25 conflicts python26 description "add support for python26 scripting" {145 variant python25 conflicts python26 python27 description "add support for python26 scripting" { 164 146 depends_lib-append port:python25 \ 165 147 port:py25-sip \ … … 167 149 } 168 150 169 variant python26 conflicts python25 description "add support for python26 scripting" {151 variant python26 conflicts python25 python27 description "add support for python26 scripting" { 170 152 depends_lib-append port:python26 \ 171 153 port:py26-sip \ 172 154 port:py26-pyqt4 173 155 } 156 157 variant python27 conflicts python25 python26 description "add support for python26 scripting" { 158 depends_lib-append port:python27 \ 159 port:py27-sip \ 160 port:py27-pyqt4 161 } -
trunk/dports/aqua/qtiplot/files/patch-ApplicationWindow.diff
r74646 r80967 1 --- qtiplot/src/core/ApplicationWindow.cpp.orig 201 0-10-12 08:53:20.000000000 +02002 +++ qtiplot/src/core/ApplicationWindow.cpp 201 0-11-10 22:19:52.000000000 +01003 @@ -17 1,7 +171,7 @@1 --- qtiplot/src/core/ApplicationWindow.cpp.orig 2011-07-14 13:24:58.000000000 +0200 2 +++ qtiplot/src/core/ApplicationWindow.cpp 2011-07-20 20:41:23.000000000 +0200 3 @@ -173,7 +173,7 @@ 4 4 #include <QVarLengthArray> 5 5 #include <QList> … … 10 10 #include <QSpinBox> 11 11 #include <QMdiArea> 12 @@ -3 52,7 +352,7 @@12 @@ -347,7 +347,7 @@ 13 13 insertTranslatedStrings(); 14 14 disableToolbars(); … … 17 17 + //assistant = new QAssistantClient( QString(), this ); 18 18 19 actionNextWindow = new QAction(QIcon(":/next.png"), tr("&Next","next window"), this);20 actionNextWindow->setShortcut( tr("F5","next window shortcut") );21 @@ -11 169,10 +11169,10 @@19 connect(tablesDepend, SIGNAL(activated(int)), this, SLOT(showTable(int))); 20 21 @@ -11325,10 +11325,10 @@ 22 22 } 23 23 … … 34 34 35 35 void ApplicationWindow::showHelp() 36 @@ -11 203,8 +11203,8 @@36 @@ -11359,8 +11359,8 @@ 37 37 } 38 38
Note: See TracChangeset
for help on using the changeset viewer.

