diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 21:03:57 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 21:03:57 +0000 |
commit | 2440dc8c51916c88c490cf009f6d4bced25f1876 (patch) | |
tree | 8942a7db9fd4e5c6c8393d25c3641c4d5ff7ac21 /sci-mathematics | |
parent | Remove unused description for USE="vala" (diff) | |
download | historical-2440dc8c51916c88c490cf009f6d4bced25f1876.tar.gz historical-2440dc8c51916c88c490cf009f6d4bced25f1876.tar.bz2 historical-2440dc8c51916c88c490cf009f6d4bced25f1876.zip |
Removed old
Package-Manager: portage-2.1.10.37/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/freemat/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/freemat/Manifest | 15 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-3.6-gcc44.patch | 20 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-3.6-includes.patch | 470 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch | 91 | ||||
-rw-r--r-- | sci-mathematics/freemat/freemat-3.6.ebuild | 83 |
6 files changed, 12 insertions, 676 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog index 368c90198615..6625d5617017 100644 --- a/sci-mathematics/freemat/ChangeLog +++ b/sci-mathematics/freemat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/freemat -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.22 2010/05/05 16:11:17 bicatali Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.23 2011/11/25 21:03:56 bicatali Exp $ + + 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> -freemat-3.6.ebuild, + -files/freemat-3.6-gcc44.patch, -files/freemat-3.6-includes.patch, + -files/freemat-3.6-optional-deps.patch: + Removed old 05 May 2010; Sébastien Fabbro <bicatali@gentoo.org> freemat-4.0.ebuild, +files/freemat-4.0-gcc45.patch: diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest index 7fe57ec40a3e..dcd06563835c 100644 --- a/sci-mathematics/freemat/Manifest +++ b/sci-mathematics/freemat/Manifest @@ -1,20 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX freemat-3.6-gcc44.patch 414 RMD160 9fad803969f30910cf8da539d1c9fc92e87e9e73 SHA1 43b526feacd539160371f23978833d74f1b195b8 SHA256 5e34882bf33ec9a28bcdbacd8f94246cdf5308248d36a908853606dd377c2887 -AUX freemat-3.6-includes.patch 12718 RMD160 81e22774a89ead773b7a7cc49dfce272014198bd SHA1 83af91282c6771cb6d7cac13fd5a2d83d1defe59 SHA256 4b9b71e1ad007f32c85b45e5ce950e552c167c9942bab91d77ba53c9a088d9d9 -AUX freemat-3.6-optional-deps.patch 2768 RMD160 53da537a8bb00e64ff887884217a7a46ccb28c05 SHA1 6b83d60570277a610f22a0e143e8afd88c44abdb SHA256 ff30ab1a5897234e91251b31bc3ef5e8acc97f8adb5b9443aebddecd83d5259c AUX freemat-4.0-gcc45.patch 8460 RMD160 aaf5d080e0ab9417538778e36f1da4caf2f32040 SHA1 966565ae170233f42056d0f59b48a7c3e4754b2f SHA256 bf5699f75995583e984a858a013e5566288332eebe5d9979a60d03c527ac1275 -DIST FreeMat-3.6.tar.gz 7843736 RMD160 5af31332f42aafe952c6495b16ceee5ce4ab5d1c SHA1 2ffaac015f870409ceb07eae035efb94ab1d95cb SHA256 2cbc8b4435add159df11b734fd2736029b80f6c9712e53e5aa156eac1aac5951 DIST FreeMat-4.0-Source.tar.gz 38038903 RMD160 6978890a0e4b55bb4815bee9cc5c027b6da3c1e2 SHA1 4446af7f393bc33d7e6017f78cff4bf680c411a7 SHA256 6df1707c1f9e08b34e15eca8fa58bf3cf0ec8c121f64f58ca1d34a6eafd1066b -EBUILD freemat-3.6.ebuild 2123 RMD160 8dc1124673dcc63e815b6cc27a94fb68ed87585d SHA1 02efa5cbac4f7d0d89457453e02170c15c61e7a0 SHA256 3caa43851fbf85abc9a82fef7ce27136d78f521e386d63d1123182d7d87e5208 EBUILD freemat-4.0.ebuild 1748 RMD160 5a9a55242dc40c8e29fd32b67c6604806c6ecb5b SHA1 dfc2db7a73a920b50ac51ea5370ecbdcb318ab64 SHA256 2af41c171d958aca601fe40d5448e7ed538af7c8a9f2fdf643b06f0514c7e85f -MISC ChangeLog 3954 RMD160 9a1304a3397aaf729c4ddfaa551dd9daa7fd9459 SHA1 59dce93aead6ae566a60aeda3552d00f1eac7ae3 SHA256 733279d9f5e452ee078b3be38fc235b34fd8d9e8d1e0f7c8b8116067b38dfdc5 +MISC ChangeLog 4156 RMD160 339dcc09eb3f70bb60271e2a1513cb48827e5511 SHA1 092f19e7311c29ef74ac24a395b3e0dbd052497c SHA256 16ff7b790f9306803395d1894d6364e3f326b5263c6abc5b5e3737665c59b963 MISC metadata.xml 923 RMD160 b91a893dc540c52252fd68642f012051a05cb24c SHA1 05e4960fc83389804056ffcfec31b69b38929e38 SHA256 4025d2670fe55671ba64ec0ae29971f437c89641e0f08c96c6207f6907ab4016 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAkvhouEACgkQ1ycZbhPLE2BN3gCgkRg2kSGLEvyEM4Rid7Gao4zj -FlIAoLA2+wkro51nZ/3tSxgh7+q5M37m -=yAVx +iEYEARECAAYFAk7QAsUACgkQ1ycZbhPLE2B9CACgjZ+Fpwd1W0m0YHZnfi6VgTRY +Tw0AoKfvEfd3r05RjdJUxuXncieUheWp +=F2q8 -----END PGP SIGNATURE----- diff --git a/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch b/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch deleted file mode 100644 index b145d25e3405..000000000000 --- a/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.in -+++ configure.in -@@ -64,6 +64,7 @@ - platform="--linux" - MP_WITH_CURSES - LIBS="$LIBS $CURSES_LIB $FLIBS $QT_LIBS" -+ LIBS="$LIBS -lGLU" - fi - - if (test "$cross_compiling" = "yes"); then ---- libs/libFreeMat/IEEEFP.cpp -+++ libs/libFreeMat/IEEEFP.cpp -@@ -17,6 +17,7 @@ - * - */ - #include "IEEEFP.hpp" -+#include <cstdio> - - static bool endianDetected = false; - static bool bigEndian = false; diff --git a/sci-mathematics/freemat/files/freemat-3.6-includes.patch b/sci-mathematics/freemat/files/freemat-3.6-includes.patch deleted file mode 100644 index b7cca116cfea..000000000000 --- a/sci-mathematics/freemat/files/freemat-3.6-includes.patch +++ /dev/null @@ -1,470 +0,0 @@ ---- ./libs/libCore/IO.cpp.orig 2008-03-14 15:43:03.000000000 +0000 -+++ ./libs/libCore/IO.cpp 2008-05-20 17:18:35.000000000 +0100 -@@ -19,8 +19,8 @@ - */ - - #include "Array.hpp" --#include <stdio.h> --#include <errno.h> -+#include <cstdio> -+#include <cerrno> - #include <math.h> - #include "Malloc.hpp" - #include "HandleList.hpp" ---- ./libs/libCore/Random.cpp.orig 2008-03-15 05:16:27.000000000 +0000 -+++ ./libs/libCore/Random.cpp 2008-05-20 17:18:35.000000000 +0100 -@@ -21,7 +21,7 @@ - #include "Exception.hpp" - #include "Malloc.hpp" - #include <math.h> --#include <stdio.h> -+#include <cstdio> - #include "RanLib.hpp" - - static bool initialized = false; ---- ./libs/libCore/Constructors.cpp.orig 2008-03-14 15:43:03.000000000 +0000 -+++ ./libs/libCore/Constructors.cpp 2008-05-20 17:18:35.000000000 +0100 -@@ -21,10 +21,10 @@ - #include "Math.hpp" - #include "Exception.hpp" - #include <math.h> --#include <stdio.h> -+#include <cstdio> - #include "Core.hpp" - #include "Malloc.hpp" --#include <ctype.h> -+#include <cctype> - - - //! ---- ./libs/libCore/RanLib.cpp.orig 2008-03-14 15:43:03.000000000 +0000 -+++ ./libs/libCore/RanLib.cpp 2008-05-20 17:18:35.000000000 +0100 -@@ -18,11 +18,9 @@ - */ - - #include "Exception.hpp" --#include <stdio.h> --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include <math.h> --#include <stdlib.h> - #include "RanLib.hpp" - - /* -@@ -68,7 +68,6 @@ - email: matumoto@math.keio.ac.jp - */ - --#include <stdio.h> - - /* Period parameters */ - #define N 624 ---- ./libs/libCore/Directory.cpp.orig 2008-03-14 15:43:03.000000000 +0000 -+++ ./libs/libCore/Directory.cpp 2008-05-20 17:18:35.000000000 +0100 -@@ -20,7 +20,7 @@ - #include "Array.hpp" - #include "Interpreter.hpp" - #include "Utils.hpp" --#include <stdio.h> -+#include <cstdio> - #include "System.hpp" - #include <QtCore> - ---- ./libs/libFreeMat/Scope.hpp.orig 2008-05-20 15:26:51.000000000 +0100 -+++ ./libs/libFreeMat/Scope.hpp 2008-05-20 15:27:26.000000000 +0100 -@@ -24,6 +24,7 @@ - * A Scope is a combination of a variable hashtable and a function hashtable. - */ - #include <string> -+#include <algorithm> - #include <QMutex> - - #include "Array.hpp" ---- ./libs/libFreeMat/Malloc.cpp.orig 2008-05-20 15:28:34.000000000 +0100 -+++ ./libs/libFreeMat/Malloc.cpp 2008-05-20 15:29:19.000000000 +0100 -@@ -19,9 +19,9 @@ - - #include "Malloc.hpp" - #include "Exception.hpp" --#include <stdlib.h> --#include <stdio.h> -- -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> - - void* Malloc(int count) { - void* ptr; ---- ./libs/libFreeMat/Context.hpp.orig 2008-05-20 15:46:01.000000000 +0100 -+++ ./libs/libFreeMat/Context.hpp 2008-05-20 15:47:46.000000000 +0100 -@@ -30,7 +30,7 @@ - #include <QDebug> - #include <QList> - #include <QMutex> --#include <stdarg.h> -+#include <cstdarg> - - /** - * This class represents a reference to an array in a scope ---- ./libs/libFreeMat/Token.cpp.orig 2008-05-20 15:30:09.000000000 +0100 -+++ ./libs/libFreeMat/Token.cpp 2008-05-20 15:31:57.000000000 +0100 -@@ -1,7 +1,8 @@ - #include "Token.hpp" - #include "Serialize.hpp" - #include <iostream> --#include <errno.h> -+#include <cerrno> -+#include <climits> - - // These must appear as sequential token numbers - string fm_reserved[22] = { ---- ./libs/libFreeMat/File.hpp.orig 2008-05-20 15:46:12.000000000 +0100 -+++ ./libs/libFreeMat/File.hpp 2008-05-20 15:47:35.000000000 +0100 -@@ -19,7 +19,7 @@ - - #ifndef __File_hpp__ - #define __File_hpp__ --#include <stdio.h> -+#include <cstdio> - #include "Stream.hpp" - #include <string> - ---- ./libs/libFreeMat/Scanner.cpp.orig 2008-05-20 15:32:16.000000000 +0100 -+++ ./libs/libFreeMat/Scanner.cpp 2008-05-20 15:32:56.000000000 +0100 -@@ -1,8 +1,9 @@ - #include "Scanner.hpp" - #include <iostream> --#include <stdio.h> --#include <stdlib.h> --#include <ctype.h> -+#include <algorithm> -+#include <cstdio> -+#include <cstdlib> -+#include <cctype> - #include "Exception.hpp" - - extern string fm_reserved[]; ---- ./libs/libFreeMat/LAPACK.hpp.orig 2008-05-20 15:46:19.000000000 +0100 -+++ ./libs/libFreeMat/LAPACK.hpp 2008-05-20 15:47:16.000000000 +0100 -@@ -20,7 +20,7 @@ - #ifndef __FMLAPACK_hpp__ - #define __FMLAPACK_hpp__ - --#include <string.h> -+#include <cstring> - - // Lapack routines used are declared here - extern "C" { ---- ./libs/libFreeMat/Print.hpp.orig 2008-05-20 15:46:29.000000000 +0100 -+++ ./libs/libFreeMat/Print.hpp 2008-05-20 15:46:53.000000000 +0100 -@@ -23,8 +23,8 @@ - #include <vector> - #include <list> - #include <string> --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include "Array.hpp" - - class Interpreter; ---- ./libs/libFreeMat/Sparse.cpp.orig 2008-05-20 15:34:58.000000000 +0100 -+++ ./libs/libFreeMat/Sparse.cpp 2008-05-20 15:33:55.000000000 +0100 -@@ -29,7 +29,7 @@ - #include "LAPACK.hpp" - #include "MemPtr.hpp" - #include "Math.hpp" --#include <math.h> -+#include <cmath> - - // Routines that need to be Colon-compliant - // SetSparseNDimSubsets ---- ./libs/libFreeMat/Serialize.cpp.orig 2008-05-20 15:36:42.000000000 +0100 -+++ ./libs/libFreeMat/Serialize.cpp 2008-05-20 15:36:02.000000000 +0100 -@@ -20,7 +20,7 @@ - #include "Serialize.hpp" - #include "Exception.hpp" - #include "Malloc.hpp" --#include <stdio.h> -+#include <cstdio> - - #ifdef WIN32 - #include <winsock2.h> ---- ./libs/libFreeMat/SingularValueDecompose.cpp.orig 2008-05-20 15:35:16.000000000 +0100 -+++ ./libs/libFreeMat/SingularValueDecompose.cpp 2008-05-20 15:35:31.000000000 +0100 -@@ -19,8 +19,8 @@ - - #include "SingularValueDecompose.hpp" - #include "LAPACK.hpp" --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include "Malloc.hpp" - - #define min(a,b) ((a) < (b) ? (a) : (b)) ---- ./libs/libFreeMat/Array.cpp.orig 2008-05-20 15:37:11.000000000 +0100 -+++ ./libs/libFreeMat/Array.cpp 2008-05-20 15:37:48.000000000 +0100 -@@ -24,8 +24,8 @@ - #include "IEEEFP.hpp" - #include "Interpreter.hpp" - #include "Sparse.hpp" --#include <math.h> --#include <stdio.h> -+#include <cmath> -+#include <cstdio> - #include <set> - - #include "FunctionDef.hpp" ---- ./libs/libFreeMat/Dimensions.cpp.orig 2008-05-20 15:37:29.000000000 +0100 -+++ ./libs/libFreeMat/Dimensions.cpp 2008-05-20 15:38:08.000000000 +0100 -@@ -19,9 +19,9 @@ - - #include "Dimensions.hpp" - #include "Exception.hpp" --#include <stdlib.h> -+#include <cstdlib> - #include <string> --#include <stdio.h> -+#include <cstdio> - #include "Malloc.hpp" - #include "Interpreter.hpp" - ---- ./libs/libFreeMat/EigenDecompose.cpp.orig 2008-05-20 15:38:34.000000000 +0100 -+++ ./libs/libFreeMat/EigenDecompose.cpp 2008-05-20 15:39:44.000000000 +0100 -@@ -19,8 +19,8 @@ - - #include "EigenDecompose.hpp" - #include "LAPACK.hpp" --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include "Malloc.hpp" - - #define MAX(a,b) ((a) > (b) ? (a) : (b)) ---- ./libs/libFreeMat/Interpreter.cpp.orig 2008-05-20 15:38:41.000000000 +0100 -+++ ./libs/libFreeMat/Interpreter.cpp 2008-05-20 15:39:18.000000000 +0100 -@@ -18,8 +18,8 @@ - */ - - #include "Interpreter.hpp" --#include <math.h> --#include <stdio.h> -+#include <cmath> -+#include <cstdio> - #include "Exception.hpp" - #include "Math.hpp" - #include "Array.hpp" -@@ -30,7 +30,7 @@ - #include "Module.hpp" - #include "File.hpp" - #include "Serialize.hpp" --#include <signal.h> -+#include <csignal> - #include "Class.hpp" - #include "Print.hpp" - #include "MemPtr.hpp" -@@ -38,7 +38,7 @@ - #include <qeventloop.h> - #include <QtCore> - #include <fstream> --#include <stdarg.h> -+#include <cstdarg> - #include "JIT.hpp" - #include "JITFunc.hpp" - ---- ./libs/libFreeMat/Exception.cpp.orig 2008-05-20 15:40:54.000000000 +0100 -+++ ./libs/libFreeMat/Exception.cpp 2008-05-20 15:42:02.000000000 +0100 -@@ -17,9 +17,9 @@ - * - */ - --#include <string.h> --#include <stdlib.h> --#include <stdio.h> -+#include <cstring> -+#include <cstdlib> -+#include <cstdio> - #include <iostream> - #include "Exception.hpp" - #include "Malloc.hpp" ---- ./libs/libFreeMat/FunctionDef.cpp.orig 2008-05-20 15:41:04.000000000 +0100 -+++ ./libs/libFreeMat/FunctionDef.cpp 2008-05-20 15:41:23.000000000 +0100 -@@ -22,7 +22,7 @@ - #include "Parser.hpp" - #include "Exception.hpp" - #include <iostream> --#include <signal.h> -+#include <csignal> - #include "SymbolTable.hpp" - #include "Types.hpp" - #include "MexInterface.hpp" ---- ./libs/libFreeMat/Math.cpp.orig 2008-05-20 15:42:37.000000000 +0100 -+++ ./libs/libFreeMat/Math.cpp 2008-05-20 15:44:27.000000000 +0100 -@@ -26,7 +26,7 @@ - #include "EigenDecompose.hpp" - #include "Malloc.hpp" - #include "Sparse.hpp" --#include <math.h> -+#include <cmath> - - // Sparse ops: +, -, neg, * - ---- ./libs/libFreeMat/LeastSquaresSolver.cpp.orig 2008-05-20 15:42:17.000000000 +0100 -+++ ./libs/libFreeMat/LeastSquaresSolver.cpp 2008-05-20 15:44:51.000000000 +0100 -@@ -19,8 +19,8 @@ - - #include "LeastSquaresSolver.hpp" - #include "LAPACK.hpp" --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include "Malloc.hpp" - - #define MSGBUFLEN 2048 ---- ./libs/libFreeMat/LinearEqSolver.cpp.orig 2008-05-20 15:42:26.000000000 +0100 -+++ ./libs/libFreeMat/LinearEqSolver.cpp 2008-05-20 15:44:41.000000000 +0100 -@@ -19,8 +19,8 @@ - - #include "LinearEqSolver.hpp" - #include "LAPACK.hpp" --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include <iostream> - #include "Malloc.hpp" - ---- ./libs/libFreeMat/MatrixMultiply.cpp.orig 2008-05-20 15:42:45.000000000 +0100 -+++ ./libs/libFreeMat/MatrixMultiply.cpp 2008-05-20 15:44:16.000000000 +0100 -@@ -18,9 +18,9 @@ - */ - - #include "MatrixMultiply.hpp" --#include <math.h> --#include <stdlib.h> --#include <stdio.h> -+#include <cmath> -+#include <cstdlib> -+#include <cstdio> - - extern "C" { - void sgemm_ (char * ta, char* tb, int* m, int* n, int* k, float *alp, ---- ./libs/libFreeMat/Print.cpp.orig 2008-05-20 15:42:54.000000000 +0100 -+++ ./libs/libFreeMat/Print.cpp 2008-05-20 15:43:58.000000000 +0100 -@@ -2,7 +2,7 @@ - #include "FunctionDef.hpp" - #include "Interpreter.hpp" - #include <math.h> --#include <string.h> -+#include <cstring> - - #define MSGBUFLEN 2048 - ---- ./libs/libFreeMat/QRDecompose.cpp.orig 2008-05-20 15:43:12.000000000 +0100 -+++ ./libs/libFreeMat/QRDecompose.cpp 2008-05-20 15:43:45.000000000 +0100 -@@ -19,8 +19,8 @@ - - #include "QRDecompose.hpp" - #include "LAPACK.hpp" --#include <stdlib.h> --#include <stdio.h> -+#include <cstdlib> -+#include <cstdio> - #include "Malloc.hpp" - - #define MIN(a,b) (((a) < (b)) ? (a) : (b)) ---- ./libs/libXP/System.cpp.orig 2008-03-14 15:43:11.000000000 +0000 -+++ ./libs/libXP/System.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -18,7 +18,7 @@ - */ - #include "System.hpp" - #include "Exception.hpp" --#include <stdlib.h> -+#include <cstdlib> - #include <QProcess> - #include <QtGui> - #ifdef Q_OS_WIN32 ---- ./libs/libMex/mxArray.cpp.orig 2008-03-14 15:43:03.000000000 +0000 -+++ ./libs/libMex/mxArray.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -17,8 +17,8 @@ - * - */ - #include "mex.h" --#include <string.h> --#include <stdlib.h> -+#include <cstring> -+#include <cstdlib> - #include <set> - #include <string> - ---- ./libs/libGraphics/HandleCommands.cpp.orig 2008-03-14 15:43:05.000000000 +0000 -+++ ./libs/libGraphics/HandleCommands.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -27,7 +27,7 @@ - #include <qgl.h> - #include <QtGui> - #include <QtSvg> --#include <ctype.h> -+#include <cctype> - #include <algorithm> - #include "HandleLineSeries.hpp" - #include "HandleObject.hpp" ---- ./src/main.cpp.orig 2008-03-14 15:42:59.000000000 +0000 -+++ ./src/main.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -20,9 +20,9 @@ - #include <QtGui> - #include <QDebug> - #include <unistd.h> --#include <signal.h> --#include <stdio.h> --#include <stdlib.h> -+#include <csignal> -+#include <cstdio> -+#include <cstdlib> - #include "MainApp.hpp" - #include <qapplication.h> - #include "Exception.hpp" ---- ./src/MainApp.cpp.orig 2008-03-16 20:00:20.000000000 +0000 -+++ ./src/MainApp.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -46,7 +46,7 @@ - #include <unistd.h> - #include <fcntl.h> - #include <qsocketnotifier.h> --#include <signal.h> -+#include <csignal> - #include <unistd.h> - - sig_t signal_suspend_default; ---- ./src/DumbTerminal.cpp.orig 2008-03-14 15:42:59.000000000 +0000 -+++ ./src/DumbTerminal.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -20,7 +20,7 @@ - #include "DumbTerminal.hpp" - #include <qapplication.h> - #include <qeventloop.h> --#include <stdio.h> -+#include <cstdio> - #include <unistd.h> - - DumbTerminal::DumbTerminal() { ---- ./src/Terminal.cpp.orig 2008-03-14 15:42:59.000000000 +0000 -+++ ./src/Terminal.cpp 2008-05-20 17:18:36.000000000 +0100 -@@ -19,11 +19,11 @@ - #include <qapplication.h> - #include "Serialize.hpp" - #include "Terminal.hpp" --#include <errno.h> -+#include <cerrno> - #include <unistd.h> --#include <stdio.h> --#include <stdlib.h> --#include <string.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> - #ifdef Q_WS_X11 - #include <term.h> - #include <curses.h> diff --git a/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch b/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch deleted file mode 100644 index b7b0020a46b3..000000000000 --- a/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch +++ /dev/null @@ -1,91 +0,0 @@ ---- acinclude.m4.orig 2008-03-24 00:40:28.000000000 +0000 -+++ acinclude.m4 2008-03-24 01:40:37.000000000 +0000 -@@ -304,6 +304,11 @@ - need_extern="no" - LIBS="$LIBS $FLIBS" - -+AC_ARG_ENABLE(portaudio, -+ [--enable-portaudio], -+ [enable_portaudio=$enableval]) -+if test x"$enable_portaudio" = x"yes"; then -+ - AC_CHECK_LIB(portaudio,Pa_GetDefaultInputDevice,found_portaudio19="yes",found_portaudio19="no") - AC_CHECK_HEADER(portaudio.h,[],found_portaudio19="no") - -@@ -330,6 +335,7 @@ - else - found_portaudio="no"; - fi -+fi - - AC_CHECK_LIB(pcre,pcre_compile,found_pcre="yes",found_pcre="no") - AC_CHECK_HEADER(pcre.h,[],found_pcre="no") -@@ -339,6 +345,11 @@ - AC_DEFINE(HAVE_PCRE, 1, [Set to 1 if you have libpcre]) - fi - -+ -+AC_ARG_ENABLE(ffcall, -+ [--enable-ffcall], -+ [enable_ffcall=$enableval]) -+if test x"$enable_ffcall" = x"yes"; then - AC_CHECK_LIB(avcall,__structcpy,found_avcall="yes",found_avcall="no") - AC_CHECK_HEADER(avcall.h,[],found_avcall="no") - -@@ -346,7 +357,7 @@ - LIBS="-lavcall $LIBS" - AC_DEFINE(HAVE_AVCALL, 1, [Set to 1 if you have libavcall]) - fi -- -+fi - if test x"$is_osx" == xyes; then - LIBS="$LIBS -framework vecLib" - found_blas="yes" -@@ -362,6 +373,10 @@ - fi - fi - -+AC_ARG_ENABLE(umfpack, -+ [--enable-umfpack], -+ [enable_umfpack=$enableval]) -+if test x"$enable_umfpack" = x"yes"; then - AC_CHECK_LIB(amd,amd_postorder,found_amd="yes",found_amd="no") - AC_CHECK_HEADER(amd.h,found_amdh="yes",found_amdh="no") - if test x"$found_amdh" == xno; then -@@ -405,10 +420,15 @@ - if (test x"$found_amdh" == xyes) && (test x"$found_amd" == xyes) && (test x"$found_umfpackh" == xyes) && (test x"$found_umfpack" == xyes); then - AC_DEFINE(HAVE_UMFPACK, 1, [Set to 1 if you have UMFPACK]) - fi -+fi - - dnl PKG_CHECK_MODULES(fftw3, fftw3 >= 3.1.0, found_fftw3="yes", found_fftw3="no") - dnl PKG_CHECK_MODULES(fftw3f, fftw3f >= 3.1.0, found_fftw3f="yes", found_fftw3f="no") - -+AC_ARG_ENABLE(fftw, -+ [--enable-fftw], -+ [enable_fftw=$enableval]) -+if test x"$enable_fftw" = x"yes"; then - AC_CHECK_LIB(fftw3f,fftwf_malloc,found_fftw3f="yes",found_fftw3f="no") - AC_CHECK_LIB(fftw3,fftw_malloc,found_fftw3="yes",found_fftw3="no") - AC_CHECK_HEADER(fftw3.h,[],[found_fftw3="no";found_fftw3f="no"]) -@@ -422,6 +442,12 @@ - LIBS="-lfftw3 $LIBS" - AC_DEFINE(HAVE_FFTW, 1, [Set to 1 if you have the double precision version of FFTW installed]) - fi -+fi -+ -+AC_ARG_ENABLE(arpack, -+ [--enable-arpack], -+ [enable_arpack=$enableval]) -+if test x"$enable_arpack" = x"yes"; then - - AC_F77_FUNC(znaupd) - if test x"$znaupd" == x"unknown"; then -@@ -441,6 +467,7 @@ - AC_DEFINE(HAVE_ARPACK, 1, [Set to 1 if you have ARPACK installed]) - fi - fi -+fi - - AC_CHECK_LIB(z,inflate,found_z="yes",found_z="no") - if test x"$found_z" == xyes; then diff --git a/sci-mathematics/freemat/freemat-3.6.ebuild b/sci-mathematics/freemat/freemat-3.6.ebuild deleted file mode 100644 index f6a9b0a1fba1..000000000000 --- a/sci-mathematics/freemat/freemat-3.6.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.10 2009/11/27 18:40:14 bicatali Exp $ - -EAPI="2" -inherit eutils autotools fdo-mime virtualx - -MY_PN=FreeMat -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Environment for rapid engineering and scientific processing" -HOMEPAGE="http://freemat.sourceforge.net/" -SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz" - -IUSE="+arpack ffcall +fftw ncurses portaudio test +umfpack" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - x11-libs/qt-svg:4 - dev-libs/libpcre - virtual/lapack - virtual/opengl - ncurses? ( >=sys-libs/ncurses-5.4 ) - umfpack? ( sci-libs/umfpack ) - arpack? ( sci-libs/arpack ) - fftw? ( sci-libs/fftw:3.0 ) - portaudio? ( media-libs/portaudio ) - ffcall? ( dev-libs/ffcall )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - test? ( - media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - # allow enable/disable for configure - epatch "${FILESDIR}"/${P}-optional-deps.patch - epatch "${FILESDIR}"/${P}-includes.patch - epatch "${FILESDIR}"/${P}-gcc44.patch - eautoreconf -} - -src_configure() { - econf \ - --with-blas="$(pkg-config --libs blas)" \ - --with-lapack="$(pkg-config --libs lapack)" \ - $(use_with ncurses) \ - $(use_enable umfpack) \ - $(use_enable arpack) \ - $(use_enable fftw) \ - $(use_enable portaudio) \ - $(use_enable ffcall) \ - LLVM_CONFIG=no -} - -src_test () { - Xemake check || die "emake check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog || die "dodoc failed" - newicon images/freemat_small_mod_64.png ${PN}.png - make_desktop_entry FreeMat FreeMat -} - -pkg_postinst() { - fdo-mime_desktop_database_update - elog "Before using ${MY_PN}, do (as a normal user)" - elog "FreeMat -i /usr/share/${MY_P}" - elog "Then start ${MY_PN}, choose Tools -> Path Tool," - elog "select /usr/share/${MY_P}/toolbox and Add With Subfolders" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} |