diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-07-04 23:35:26 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-04 23:35:59 +1000 |
commit | 4027355a6a5ca91f11d080853c058a523ee0746b (patch) | |
tree | 2d11726489bcd81d113242fa2098fc81e256a56c /sci-mathematics | |
parent | media-gfx/opencsg: version bump 1.4.2 (diff) | |
download | gentoo-4027355a6a5ca91f11d080853c058a523ee0746b.tar.gz gentoo-4027355a6a5ca91f11d080853c058a523ee0746b.tar.bz2 gentoo-4027355a6a5ca91f11d080853c058a523ee0746b.zip |
sci-mathematics/freemat: remove last rited package
Gentoo-bug: 620752
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/freemat/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-4.1-fixes.patch | 21 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-4.1-python3.patch | 24 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-4.2-use_llvm.patch | 45 | ||||
-rw-r--r-- | sci-mathematics/freemat/freemat-4.2.ebuild | 83 | ||||
-rw-r--r-- | sci-mathematics/freemat/metadata.xml | 23 |
6 files changed, 0 insertions, 197 deletions
diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest deleted file mode 100644 index c794a4aef3a1..000000000000 --- a/sci-mathematics/freemat/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST FreeMat-4.2-Source.tar.gz 106222549 SHA256 5f56dc18458da72fb8143d47faeb7a66fa104f8ac9160558e032f6d2d68c9ffb SHA512 85f56ab910358bac63bb50d9ef8fac51a486c32ffc246b47aea02fc6a629c36f0cd8d55feb755c4697530a87cf08fa8cc7b69ebde0f09535561014ea280b902a WHIRLPOOL 94b72375f451afd3da6bc756b9fa3e9a782edf8827a1b90f3d30723235df99c093ea7c4455b7d5cca1633f1d8d95302b237e0b389647ed242504626dd3f2c304 diff --git a/sci-mathematics/freemat/files/freemat-4.1-fixes.patch b/sci-mathematics/freemat/files/freemat-4.1-fixes.patch deleted file mode 100644 index 8ebb1bceb06f..000000000000 --- a/sci-mathematics/freemat/files/freemat-4.1-fixes.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- libs/libGraphics/VTKWindow.cpp.orig 2012-01-27 19:54:55.000000000 +0100 -+++ libs/libGraphics/VTKWindow.cpp 2012-01-27 19:54:49.000000000 +0100 -@@ -3,6 +3,7 @@ - #include "VTKWrap.hpp" - #include "VTKWindow.hpp" - -+#include <QObject> - #include <QtCore/QString> - #include <QtGui/QLabel> - #include <QtGui/QMenu> ---- libs/libGraphics/GLRenderEngine.cpp.orig 2011-11-27 00:27:43.000000000 +0000 -+++ libs/libGraphics/GLRenderEngine.cpp 2012-01-29 03:57:48.453433954 +0000 -@@ -16,6 +16,8 @@ - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ -+ -+#include <GL/glu.h> - #include "GLRenderEngine.hpp" - #include <qimage.h> - #include <qpainter.h> diff --git a/sci-mathematics/freemat/files/freemat-4.1-python3.patch b/sci-mathematics/freemat/files/freemat-4.1-python3.patch deleted file mode 100644 index a7aad97cfc7d..000000000000 --- a/sci-mathematics/freemat/files/freemat-4.1-python3.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nur tools.orig/jitgen.py tools/jitgen.py ---- tools.orig/jitgen.py 2012-04-13 00:25:18.000000000 +0100 -+++ tools/jitgen.py 2012-04-13 00:25:40.000000000 +0100 -@@ -39,7 +39,7 @@ - f.write("// \n\n// Here, each function gets prototyped.\n"); - f.close() - --os.path.walk(sys.argv[1], visit, '') -+os.walk(sys.argv[1], visit, '') - - f = open(sys.argv[2],'a') - f.write("static const char* jit_scalar_list[] = {"); -diff -Nur tools.orig/siggen.py tools/siggen.py ---- tools.orig/siggen.py 2012-04-13 00:25:18.000000000 +0100 -+++ tools/siggen.py 2012-04-13 00:25:53.000000000 +0100 -@@ -81,7 +81,7 @@ - function_name = fsplit[1] - function_internal_name = fsplit[2]; - if (function_name == '') or (function_internal_name == ''): -- print 'MISSING Function Name: <%s> <%s> <%s>'%(fline,function_name,function_internal_name) -+ print('MISSING Function Name: <%s> <%s> <%s>'%(fline,function_name,function_internal_name)) - inputs = iline.split() - inputs = inputs[1:] - outputs = oline.split() diff --git a/sci-mathematics/freemat/files/freemat-4.2-use_llvm.patch b/sci-mathematics/freemat/files/freemat-4.2-use_llvm.patch deleted file mode 100644 index c29b8694ddb7..000000000000 --- a/sci-mathematics/freemat/files/freemat-4.2-use_llvm.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- libs/libMatC/CMakeLists.txt.orig 2011-11-27 01:27:43.000000000 +0100 -+++ libs/libMatC/CMakeLists.txt 2012-01-29 14:39:19.842402326 +0100 -@@ -1,10 +1,14 @@ - - INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ) - -+IF( USE_LLVM ) -+ set(LLVM_SOURCES "CJitFuncClang.cpp") -+endif( USE_LLVM ) -+ - ADD_LIBRARY( MatC - JITFactory.cpp - CJitFunc.cpp -- CJitFuncClang.cpp -+ ${LLVM_SOURCES} - CArray.cpp - ) - ---- libs/libMatC.orig/JITFactory.cpp 2011-11-27 01:27:43.000000000 +0100 -+++ libs/libMatC/JITFactory.cpp 2012-01-29 14:53:17.296686846 +0100 -@@ -1,5 +1,7 @@ - #include "JITFactory.hpp" --#include "CJitFuncClang.hpp" -+#ifdef HAVE_LLVM -+# include "CJitFuncClang.hpp" -+#endif - - JITFuncBase* JITFactory::GetJITFunc(Interpreter *eval) - { ---- CMakeLists.txt 2014-12-06 21:47:39.685839650 +0100 -+++ CMakeLists.txt 2014-12-06 21:48:01.752127927 +0100 -@@ -249,9 +249,10 @@ - # LLVM Support
- ######################################################################
- OPTION(USE_LLVM "Build with LLVM support?" ON)
--
--FIND_PACKAGE(LLVM)
--FIND_PACKAGE(CLANG)
-+IF(USE_LLVM)
-+ FIND_PACKAGE(LLVM)
-+ FIND_PACKAGE(CLANG)
-+ENDIF()
-
- IF (LLVM_FOUND AND CLANG_FOUND)
- add_definitions(-DHAVE_LLVM)
diff --git a/sci-mathematics/freemat/freemat-4.2.ebuild b/sci-mathematics/freemat/freemat-4.2.ebuild deleted file mode 100644 index 9b23b39606aa..000000000000 --- a/sci-mathematics/freemat/freemat-4.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils cmake-utils fdo-mime - -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}-Source.tar.gz" - -IUSE="volpack vtk" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-libs/libpcre - media-libs/portaudio - sci-libs/arpack - sci-libs/fftw:3.0 - sci-libs/matio - sci-libs/umfpack - sys-libs/ncurses:0= - virtual/glu - virtual/lapack - virtual/libffi - virtual/opengl - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - dev-qt/qtsvg:4 - dev-qt/qtwebkit:4 - volpack? ( media-libs/volpack ) - vtk? ( sci-libs/vtk )" - -DEPEND="${RDEPEND} - dev-lang/python - virtual/pkgconfig" - -S="${WORKDIR}/${MY_P}-Source" - -src_prepare(){ - epatch \ - "${FILESDIR}"/${PN}-4.1-fixes.patch \ - "${FILESDIR}"/${PN}-4.1-python3.patch \ - "${FILESDIR}"/${P}-use_llvm.patch - rm -f CMakeCache.txt - find . -type f -name '*.moc.cpp' -exec rm -f {} \; - find . -type f -name 'add.so' -exec rm -f {} \; -} - -src_configure() { - mycmakeargs+=( - -DFORCE_SYSTEM_LIBS=ON - -DUSE_LLVM=OFF - -DUSE_ITK=OFF - -DFFI_INCLUDE_DIR="$(pkg-config --cflags-only-I libffi | sed -e s/-I//)" - $(cmake-utils_use_with volpack VOLPACK) - $(cmake-utils_use_with vtk VTK) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install -j1 - dodoc ChangeLog - 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 ${EROOT}usr/share/${MY_P}" - elog "Then start ${MY_PN}, choose Tools -> Path Tool," - elog "select ${EROOT}usr/share/${MY_P}/toolbox and Add With Subfolders" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/sci-mathematics/freemat/metadata.xml b/sci-mathematics/freemat/metadata.xml deleted file mode 100644 index 6962b5b7937a..000000000000 --- a/sci-mathematics/freemat/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription lang="en"> - FreeMat is an open sources environment for rapid engineering and - scientific prototyping and data processing. It is similar to - commercial systems such as MATLAB from Mathworks. FreeMat includes a - codeless interface to external C/C++/FORTRAN code, - parallel/distributed algorithm development (via MPI), and plotting - and visualization capabilities. -</longdescription> - <use> - <flag name="volpack">Add volume rendering via <pkg>media-libs/volpack</pkg></flag> - <flag name="vtk">Add 3D capabilities via <pkg>sci-libs/vtk</pkg></flag> - </use> - <upstream> - <remote-id type="sourceforge">freemat</remote-id> - </upstream> -</pkgmetadata> |