diff options
author | Andrey Grozin <grozin@gentoo.org> | 2008-12-20 07:11:02 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2008-12-20 07:11:02 +0000 |
commit | 62e2ea531071a23797e5edeb46dcd77ecf57c31c (patch) | |
tree | 5d6e800e5d9cd25c25112430884b4d6d9896a628 /sci-visualization | |
parent | Version bump (diff) | |
download | historical-62e2ea531071a23797e5edeb46dcd77ecf57c31c.tar.gz historical-62e2ea531071a23797e5edeb46dcd77ecf57c31c.tar.bz2 historical-62e2ea531071a23797e5edeb46dcd77ecf57c31c.zip |
Version bump
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'sci-visualization')
8 files changed, 419 insertions, 2 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog index d3f6aaf46fa7..d5d225317a01 100644 --- a/sci-visualization/qtiplot/ChangeLog +++ b/sci-visualization/qtiplot/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-visualization/qtiplot # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.38 2008/12/18 22:57:38 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.39 2008/12/20 07:11:02 grozin Exp $ + +*qtiplot-0.9.7.4 (20 Dec 2008) + + 20 Dec 2008; Andrey Grozin <grozin@gentoo.org> + +files/qtiplot-0.9.7.4-gcc4.3.patch, + +files/qtiplot-0.9.7.4-liborigin-gcc4.3.patch, + +files/qtiplot-0.9.7.4-no-python.patch, +files/qtiplot-0.9.7.4-pro.patch, + +files/qtiplot-0.9.7.4-sip.patch, +qtiplot-0.9.7.4.ebuild: + Version bump 18 Dec 2008; Markus Dittrich <markusle@gentoo.org> +files/qtiplot-0.9.7.3-sip.patch, qtiplot-0.9.7.3.ebuild: diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest index e73f1a4f9b17..4a426da73742 100644 --- a/sci-visualization/qtiplot/Manifest +++ b/sci-visualization/qtiplot/Manifest @@ -9,14 +9,21 @@ AUX qtiplot-0.9.7.3-no-python.patch 1747 RMD160 03f86f741e84e0c2aedde9cc7915c7ea AUX qtiplot-0.9.7.3-pro.patch 6899 RMD160 c1e0d832ff580ae0fe6ada3bbb6c12f57e495321 SHA1 badc6ee0613d40ebdbe78a9a74730e253d8824f0 SHA256 a1941673150536446cad5d8b45bb0665be8a3c06a8adb8530960dad9d59af35c AUX qtiplot-0.9.7.3-qwt3d.patch 843 RMD160 02273d1f407a7c5901671ad5008860b0ad01d381 SHA1 0824134197bd971bdfd5f978bbfc0ee38a55e07e SHA256 7ff5823103bbd13b99cc5e5de0b34539cc2db24280cf95874303e9f60b686abe AUX qtiplot-0.9.7.3-sip.patch 1205 RMD160 0311a72e107c66adcdbf14ca97febdadf33e520c SHA1 253d87c47a74649d831f1bb1688cffa60e68cd70 SHA256 d7de2cdabba5b39ecb5b5fe002b45a946adf74a559433dc697d09bb7376165e8 +AUX qtiplot-0.9.7.4-gcc4.3.patch 614 RMD160 f2533f8f8c28489ee13f7e910b2e79524d66fa5d SHA1 f5d341dfe804a3e132038cab0e1b59e90c5df3e6 SHA256 43023cea82e3bc3ee83bf986dc9c6ccccb2c6c373fe7ff8c7849b27d7769e10b +AUX qtiplot-0.9.7.4-liborigin-gcc4.3.patch 420 RMD160 4c91a48d2b1aa6dc6c06274eb70fb18112c49279 SHA1 41796cef78b34c8a04b8b536b1199d5c58d00629 SHA256 30fe79b3ff916c181feb3bc7e974421c1972df5bbb844f5ce82b0d8aba94286b +AUX qtiplot-0.9.7.4-no-python.patch 1845 RMD160 01e7f8dc3f2f913d524969c995b4b2cd63cfc70b SHA1 2fe3148e008b9d5ef3b57e2444866a495c6c726e SHA256 35f6ea43207ee8ccb489b7c10757f79810d44e4a0a11cd7dea9dfcc9d4d4287e +AUX qtiplot-0.9.7.4-pro.patch 6451 RMD160 1d6108d7aa86ba8c69fd8d0d4183134cfab90fbf SHA1 48619dbd1837fb6934d24935cf4a0f22b6e79f0e SHA256 82c30d3794d80e1441ba826ce835a1879c3403ce13742473cf568b153b9c51f7 +AUX qtiplot-0.9.7.4-sip.patch 1191 RMD160 d3b6d3b7069ff88088a6ea0f7d496248cb461b25 SHA1 6e845d90be62ba2ab783408a07584870b0c1dad2 SHA256 2410f2b8db00270c137959bc319ecca1000a483f4bc67df17c61fbbf35c9a593 DIST qtiplot-0.7.7.zip 812738 RMD160 6f62b32059eec57bf931b5bae9f524672d436ee9 SHA1 b201e600ec057ff0f7b4b4572850b0b072a0e0fb SHA256 937849c42cc3047df3975d1cb7a26a2503a499d548066937589340f55bd1ab01 DIST qtiplot-0.8.5.tar.bz2 530579 RMD160 72f4f60f1171c57e6c2614a1a5a7b6dfc3bda4f5 SHA1 d8142877bfc86fad8a43e64f6f3e0a16126e5f0a SHA256 81831d8dfaddbdf32d85a6e7eaf0e54e2321e2fba6ffaabfe6943bc326a6f874 DIST qtiplot-0.9.7-manual-en.tar.bz2 5890732 RMD160 fc6270d6333f229599e298b092d61a61c6f78287 SHA1 5242ea8ff10a2455c53a0f2bd5638a0bf09f09c7 SHA256 8475f8f9f57a06062c49ea7cad00582a158ef004c9ced898f4d7b181d8bf5e0a DIST qtiplot-0.9.7.2.tar.bz2 6584563 RMD160 0b62644a660a84b9f90d0e335987316151853356 SHA1 99ff2bcfda83ac67911a3cde10c0cca1eb077188 SHA256 2cd4b9ee4fc84ce1c5c73efdfa8a909ae129a0f04ad9995ebae818e12a879f87 DIST qtiplot-0.9.7.3.tar.bz2 6714565 RMD160 406bda2fb9c3c3de92e6e871cfece0d4613d206c SHA1 7147d7466f3d223bcc26891d7e8d34ed18fc2913 SHA256 13865a74ebce2849a1b3a4c53caba897b5ca691d38b361bf988d148d022a249b +DIST qtiplot-0.9.7.4.tar.bz2 6756367 RMD160 ea007cc47e89c2a2f083435cc41ac28a43ef5a99 SHA1 f983114273763aae3c9b9289144f68c5339382c7 SHA256 75fe8026c241d8fd3b717daa586fcd9c7443d11ad8d43fcd8c7a7d2b62d18f0b EBUILD qtiplot-0.7.7.ebuild 1095 RMD160 a5ccfad6cdadadf0f11600f9b8114f9c7fb8ae2b SHA1 e6008083cbd394f979d675035c6c11fb6771fc26 SHA256 b4019c8262709376fc6d2d6fc34150da0d1079db79718d3c50adc06ed3f95c03 EBUILD qtiplot-0.8.5.ebuild 1215 RMD160 e34d3e44ffcc28647798ef7619dfeaa1e4789adc SHA1 d3dae0497b8b4e2b5b5b889e8dc399a443dad549 SHA256 f98a4f12419637657977c68d340bd826ad6267ed61413e4015690437c693fa9b EBUILD qtiplot-0.9.7.2.ebuild 3232 RMD160 8affd1f099b3a3ca9bb9de85ad17c1f82e4b1d1b SHA1 84d520b18a5afaf93c09c134bd3dd1d9d80e5eb3 SHA256 da1521c6a53b37ab4b82fa2a8ccf5a3caff1f9254efd2b20d95066f214dde29c EBUILD qtiplot-0.9.7.3.ebuild 3367 RMD160 44cb07f05e0a3d59541c3173fd843de0e675a8b3 SHA1 ceaf0513ebd36fbdfd6cc5122589588c3d47d1b4 SHA256 6f85749e83dc947d2e0d6373df3a9a63ab823f04bd5e28ead0da478c54471a27 -MISC ChangeLog 10121 RMD160 7b0fd457101bf2823a36c724d4117f432284c831 SHA1 dae3d1a9405e73621dc4f49c304e3cd03ab52841 SHA256 75735381a0e245e91b7beddbe32c6b5b719c631b9ba8fbacd0e11cdbec391b02 +EBUILD qtiplot-0.9.7.4.ebuild 3286 RMD160 eaf1085a43af7a385ceb09d67d589517cb88ff2f SHA1 6b4c3075f9e15da0b5d0678baf79830b5b8eef67 SHA256 4681639069457df34f69ac4454ebe550376ae44bd23371405909a41171a31674 +MISC ChangeLog 10441 RMD160 b65ef561046478d2dcadf0eefb9478e6e6a1568b SHA1 e47f18c64fed7232b5d7f71bb42b1445473789e9 SHA256 0c6e19597844ba3615064ae163e256d0ba0589d72083ff24fe5b642e30c3e54a MISC metadata.xml 604 RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 SHA1 0f1b65755c3b923539a54b7e05dfda9679c4d758 SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-gcc4.3.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-gcc4.3.patch new file mode 100644 index 000000000000..639aa8d40d31 --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-gcc4.3.patch @@ -0,0 +1,15 @@ +# patch needed for providing the proper includes needed for +# gcc-4.3 (08/25/2008) + +Index: qtiplot-0.9.7.4/qtiplot/src/plot2D/ScaleEngine.cpp +=================================================================== +--- qtiplot-0.9.7.4.orig/qtiplot/src/plot2D/ScaleEngine.cpp ++++ qtiplot-0.9.7.4/qtiplot/src/plot2D/ScaleEngine.cpp +@@ -27,6 +27,7 @@ + * * + ***************************************************************************/ + #include "ScaleEngine.h" ++#include <limits.h> + + QwtScaleTransformation* ScaleEngine::transformation() const + {
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-liborigin-gcc4.3.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-liborigin-gcc4.3.patch new file mode 100644 index 000000000000..0e6c1bbb8f10 --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-liborigin-gcc4.3.patch @@ -0,0 +1,14 @@ +# fix gcc-4.3 missing headers + +Index: qtiplot-0.9.7.4/3rdparty/liborigin/OriginObj.h +=================================================================== +--- qtiplot-0.9.7.4.orig/3rdparty/liborigin/OriginObj.h ++++ qtiplot-0.9.7.4/3rdparty/liborigin/OriginObj.h +@@ -33,6 +33,7 @@ + + #include <string> + #include <vector> ++#include <cstring> + #include "boost/variant.hpp" + #include "boost/date_time/posix_time/ptime.hpp" + diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-no-python.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-no-python.patch new file mode 100644 index 000000000000..de2db4c7811b --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-no-python.patch @@ -0,0 +1,63 @@ +Index: qtiplot-0.9.7.4/qtiplot/src/scripting/ScriptEdit.cpp +=================================================================== +--- qtiplot-0.9.7.4.orig/qtiplot/src/scripting/ScriptEdit.cpp ++++ qtiplot-0.9.7.4/qtiplot/src/scripting/ScriptEdit.cpp +@@ -28,7 +28,11 @@ + ***************************************************************************/ + #include "ScriptEdit.h" + #include "Note.h" ++ ++#ifdef SCRIPTING_PYTHON + #include "PythonSyntaxHighlighter.h" ++#endif ++ + #include "FindReplaceDialog.h" + + #include <QAction> +@@ -58,9 +62,11 @@ ScriptEdit::ScriptEdit(ScriptingEnv *env + setTextFormat(Qt::PlainText); + setAcceptRichText (false); + ++#ifdef SCRIPTING_PYTHON + if (scriptEnv->name() == QString("Python")) + d_highlighter = new PythonSyntaxHighlighter(this); +- ++#endif ++ + d_fmt_default.setBackground(palette().brush(QPalette::Base)); + d_fmt_failure.setBackground(QBrush(QColor(255,128,128))); + +@@ -142,6 +148,7 @@ void ScriptEdit::customEvent(QEvent *e) + connect(myScript, SIGNAL(error(const QString&, const QString&, int)), this, SLOT(insertErrorMsg(const QString&))); + connect(myScript, SIGNAL(print(const QString&)), this, SLOT(scriptPrint(const QString&))); + ++#ifdef SCRIPTING_PYTHON + if (scriptEnv->name() == QString("Python") && !d_highlighter) + d_highlighter = new PythonSyntaxHighlighter(this); + else { +@@ -149,6 +156,7 @@ void ScriptEdit::customEvent(QEvent *e) + delete d_highlighter; + d_highlighter = 0; + } ++#endif + } + } +
+@@ -585,13 +593,16 @@ void ScriptEdit::setDirPath(const QStrin + + void ScriptEdit::rehighlight() + { ++#ifdef SCRIPTING_PYTHON + if (scriptEnv->name() != QString("Python")) + return; +- ++#endif + if (d_highlighter) + delete d_highlighter; + ++#ifdef SCRIPTING_PYTHON + d_highlighter = new PythonSyntaxHighlighter(this); ++#endif + } + + void ScriptEdit::showFindDialog(bool replace) diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-pro.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-pro.patch new file mode 100644 index 000000000000..9c170de02cd3 --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-pro.patch @@ -0,0 +1,143 @@ +Index: qtiplot-0.9.7.4/fitPlugins/explin/explin.pro +=================================================================== +--- qtiplot-0.9.7.4.orig/fitPlugins/explin/explin.pro ++++ qtiplot-0.9.7.4/fitPlugins/explin/explin.pro +@@ -12,12 +12,13 @@ CONFIG += dll
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++#INCLUDEPATH += ../../3rdparty/gsl/include/
++#LIBS += ../../3rdparty/gsl/lib/libgsl.a
++#LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++INCLUDEPATH += /usr/include/gsl
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+Index: qtiplot-0.9.7.4/fitPlugins/exp_saturation/exp_saturation.pro +=================================================================== +--- qtiplot-0.9.7.4.orig/fitPlugins/exp_saturation/exp_saturation.pro ++++ qtiplot-0.9.7.4/fitPlugins/exp_saturation/exp_saturation.pro +@@ -12,12 +12,12 @@ CONFIG += dll
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++#LIBS += ../../3rdparty/gsl/lib/libgsl.a
++#LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++INCLUDEPATH += /usr/include/gsl
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+Index: qtiplot-0.9.7.4/fitPlugins/fitRational0/fitRational0.pro +=================================================================== +--- qtiplot-0.9.7.4.orig/fitPlugins/fitRational0/fitRational0.pro ++++ qtiplot-0.9.7.4/fitPlugins/fitRational0/fitRational0.pro +@@ -12,12 +12,13 @@ CONFIG += dll
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++#INCLUDEPATH += ../../3rdparty/gsl/include/
++#LIBS += ../../3rdparty/gsl/lib/libgsl.a
++#LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++INCLUDEPATH += /usr/include/gsl ++unix:LIBS += $$system(pkg-config --libs gsl) +
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+Index: qtiplot-0.9.7.4/fitPlugins/fitRational1/fitRational1.pro +=================================================================== +--- qtiplot-0.9.7.4.orig/fitPlugins/fitRational1/fitRational1.pro ++++ qtiplot-0.9.7.4/fitPlugins/fitRational1/fitRational1.pro +@@ -12,12 +12,13 @@ CONFIG += dll
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++#INCLUDEPATH += ../../3rdparty/gsl/include/
++#LIBS += ../../3rdparty/gsl/lib/libgsl.a
++#LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++INCLUDEPATH += /usr/include/gsl
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+Index: qtiplot-0.9.7.4/qtiplot/qtiplot.pro +=================================================================== +--- qtiplot-0.9.7.4.orig/qtiplot/qtiplot.pro ++++ qtiplot-0.9.7.4/qtiplot/qtiplot.pro +@@ -20,7 +20,7 @@ win32:INCLUDEPATH += ../3rdparty/libpng/ + win32:LIBS += ../3rdparty/libpng/libpng.a
+
+ # Uncomment the following line if you want to perform a custom installation using the *.path variables defined bellow.
+-#CONFIG += CustomInstall
++CONFIG += CustomInstall
+
+ CONFIG += release
+ #CONFIG += debug
+@@ -30,13 +30,12 @@ CONFIG += release
+ #!!! Warning: You must modify these paths according to your computer settings
+ #############################################################################
+
+-INCLUDEPATH += ../3rdparty/muparser/include
+-INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-INCLUDEPATH += ../3rdparty/qwt/src
+-INCLUDEPATH += ../3rdparty/liborigin
+-INCLUDEPATH += ../3rdparty/gsl/include
+-INCLUDEPATH += ../3rdparty/zlib123/include
+-INCLUDEPATH += ../3rdparty/boost_1_36_0
++INCLUDEPATH += /usr/include/muparser ++INCLUDEPATH += ../3rdparty/qwtplot3d/include ++INCLUDEPATH += /usr/include/qwt5 ++INCLUDEPATH += ../3rdparty/liborigin ++INCLUDEPATH += /usr/include/gsl ++INCLUDEPATH += /usr/include/boost +
+ ##################### 3rd PARTY LIBRARIES SECTION ###########################
+ #!!! Warning: You must modify these paths according to your computer settings
+@@ -45,15 +44,15 @@ INCLUDEPATH += ../3rdparty/boost_1 + ##################### Linux (Mac OS X) ######################################
+
+ # statically link against libraries in 3rdparty
+-unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
+-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
+-unix:LIBS += /usr/local/lib/libboost_date_time-gcc41-mt.a
+-unix:LIBS += /usr/local/lib/libboost_thread-gcc41-mt.a
++#unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
++#unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
++#unix:LIBS += /usr/local/lib/libboost_date_time-gcc41-mt.a
++#unix:LIBS += /usr/local/lib/libboost_thread-gcc41-mt.a
+
+ # dynamically link against dependencies if they are installed system-wide
+-#unix:LIBS += -lmuparser
++unix:LIBS += -lmuparser -lqwt $$system(pkg-config --libs gsl) -lz -lboost_date_time -lboost_thread + #unix:LIBS += -lqwt
+ #unix:LIBS += -lgsl -lgslcblas
+
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-sip.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-sip.patch new file mode 100644 index 000000000000..a55f62dbd886 --- /dev/null +++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.4-sip.patch @@ -0,0 +1,31 @@ +Index: qtiplot-0.9.7.4/qtiplot/src/scripting/qti.sip +=================================================================== +--- qtiplot-0.9.7.4.orig/qtiplot/src/scripting/qti.sip ++++ qtiplot-0.9.7.4/qtiplot/src/scripting/qti.sip +@@ -74,8 +74,6 @@ private:
+ MdiSubWindow(const MdiSubWindow&);
+ };
+
+-typedef QList<MdiSubWindow*> MDIWindowList;
+-
+ class Table: MdiSubWindow
+ {
+ %TypeHeaderCode
+@@ -1072,7 +1070,7 @@ public:
+ Graph3D* plotParametricSurface(const QString&, const QString&, const QString&,
+ double, double, double, double, int=40, int=40, bool=true, bool=true) /PyName=plot3D/;
+
+- MDIWindowList windowsList() /PyName=windows/;
++ QList<MdiSubWindow*> windowsList() /PyName=windows/;
+
+ // folders
+ Folder *activeFolder() /NoDerived/;
+@@ -1867,7 +1865,7 @@ class Folder : QObject
+ #include "src/core/Folder.h"
+ %End
+ public:
+- MDIWindowList windowsList() /PyName=windows/;
++ QList<MdiSubWindow*> windowsList() /PyName=windows/;
+ // TODO: implement signal Folder::nameChanged and make it update the project explorer; adjust renaming from GUI accordingly
+ // void setFolderName(const QString&) /PyName=setName/;
+ QString name();
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.7.4.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.7.4.ebuild new file mode 100644 index 000000000000..bf5cbf0bcb45 --- /dev/null +++ b/sci-visualization/qtiplot/qtiplot-0.9.7.4.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.4.ebuild,v 1.1 2008/12/20 07:11:02 grozin Exp $ + +EAPI="1" +inherit eutils multilib qt4 fdo-mime python + +DESCRIPTION="Qt based clone of the Origin plotting package" +HOMEPAGE="http://soft.proindependent.com/qtiplot.html" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 + doc? ( mirror://gentoo/${PN}-0.9.7-manual-en.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="python doc bindist" + +LANGS="de es fr ja ru sv" +for l in ${LANGS}; do + IUSE="${IUSE} linguas_${l}" +done + +CDEPEND=">=x11-libs/qwt-5.1 + >=x11-libs/qwtplot3d-0.2.7 + x11-libs/qt-gui:4 + x11-libs/qt-qt3support:4 + x11-libs/qt-assistant:4 + >=dev-cpp/muParser-1.28 + >=dev-libs/boost-1.35.0 + !bindist? ( sci-libs/gsl ) + bindist? ( <sci-libs/gsl-1.10 )" + +DEPEND="${CDEPEND} + dev-util/pkgconfig + python? ( >=dev-python/sip-4.5.2 )" + +RDEPEND="${CDEPEND} + python? ( >=dev-lang/python-2.5 + dev-python/PyQt4 + dev-python/pygsl + sci-libs/scipy )" + +QT4_BUILT_WITH_USE_CHECK="qt3support" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-pro.patch + epatch "${FILESDIR}"/${P}-gcc4.3.patch + epatch "${FILESDIR}"/${P}-liborigin-gcc4.3.patch + epatch "${FILESDIR}"/${P}-no-python.patch + epatch "${FILESDIR}"/${P}-sip.patch + + sed -i \ + -e '/manual/d'\ + -e '/3rd/d' \ + qtiplot.pro || die "sed qtiplot.pro failed" + + python_version + + sed -i \ + -e '/manual/d' \ + -e "s:doc/${PN}:doc/${PF}:" \ + -e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \ + qtiplot/qtiplot.pro || die " sed for qtiplot/qtiplot.pro failed" + + if ! use python; then + sed -i \ + -e '/^SCRIPTING_LANGS += Python/d' \ + -e '/sipcmd/d' \ + qtiplot/qtiplot.pro || die "sed for python option failed" + fi + + # the lib$$suff did not work in the fitRational*.pro files + pushd fitPlugins >& /dev/null + sed -i \ + -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \ + fit*/fitRational*.pro exp_saturation/*.pro explin/*.pro \ + || die "sed fitRational* failed" + popd + + for l in ${LANGS}; do + if ! use linguas_${l}; then + sed -i \ + -e "s:translations/qtiplot_${l}.ts::" \ + -e "s:translations/qtiplot_${l}.qm::" \ + qtiplot/qtiplot.pro || die + fi + done +} + +src_compile() { + eqmake4 + emake || die "emake failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die 'emake install failed' + rm -f "${D}"/usr/share/${PN}/translations/*.ts + use python && chmod -x "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/qti_wordlist.txt + + newicon qtiplot_logo.png qtiplot.png + make_desktop_entry qtiplot QtiPlot qtiplot + + if use doc; then + insinto /usr/share/doc/${PF}/html + doins -r "${WORKDIR}"/qtiplot-manual/* \ + || die "install manual failed" + rm -rf "${D}"/usr/share/doc/${PF}/html/*/.svn + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + if use python; then + python_version + python_mod_compile \ + /usr/$(get_libdir)/python${PYVER}/site-packages/qti{plotrc,Util}.py + fi + + if use doc; then + elog "On the first start, do Help -> Choose Help Folder" + elog "and select /usr/share/doc/${PF}/html" + fi +} + +pkg_postrm() { + fdo-mime_desktop_database_update + + if use python; then + python_version + python_mod_cleanup + fi +} |