summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-12-25 13:18:28 +0000
committerPacho Ramos <pacho@gentoo.org>2012-12-25 13:18:28 +0000
commit21b1dbcb744053ea8e7d2a523d20642a0bd6449a (patch)
tree4ab9824f22d9ba14f0c29475d716ada57a6dfcbc /sci-mathematics
parentDrop masked for removal package (diff)
downloadgentoo-2-21b1dbcb744053ea8e7d2a523d20642a0bd6449a.tar.gz
gentoo-2-21b1dbcb744053ea8e7d2a523d20642a0bd6449a.tar.bz2
gentoo-2-21b1dbcb744053ea8e7d2a523d20642a0bd6449a.zip
Drop masked for removal package
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/scilab/ChangeLog372
-rw-r--r--sci-mathematics/scilab/Manifest30
-rw-r--r--sci-mathematics/scilab/files/scilab-4.0-configure-gfortran.patch413
-rw-r--r--sci-mathematics/scilab/files/scilab-4.0-gtk-fix.patch23
-rw-r--r--sci-mathematics/scilab/files/scilab-4.0-java-pic.patch21
-rw-r--r--sci-mathematics/scilab/files/scilab-4.0-makefile.patch43
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1-examples.patch223
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1-header-fix.patch124
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1-java-pic.patch30
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1.2-gcc45-2.patch12
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch27
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1.2-header-fix.patch124
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1.2-java-config.patch12
-rw-r--r--sci-mathematics/scilab/files/scilab-4.1.2-tmp-fix.patch133
-rw-r--r--sci-mathematics/scilab/files/scilab-ppc-gcc4.patch32
-rw-r--r--sci-mathematics/scilab/metadata.xml5
-rw-r--r--sci-mathematics/scilab/scilab-4.1.2-r1.ebuild156
-rw-r--r--sci-mathematics/scilab/scilab-4.1.2-r2.ebuild164
-rw-r--r--sci-mathematics/scilab/scilab-4.1.2-r3.ebuild165
19 files changed, 0 insertions, 2109 deletions
diff --git a/sci-mathematics/scilab/ChangeLog b/sci-mathematics/scilab/ChangeLog
deleted file mode 100644
index 1ae4528151c0..000000000000
--- a/sci-mathematics/scilab/ChangeLog
+++ /dev/null
@@ -1,372 +0,0 @@
-# ChangeLog for sci-mathematics/scilab
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/ChangeLog,v 1.65 2012/10/16 19:06:56 jlec Exp $
-
- 16 Oct 2012; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild, scilab-4.1.2-r3.ebuild:
- Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the
- updated fortran-2.eclass
-
- 13 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> scilab-4.1.2-r1.ebuild:
- Revert to ~ppc wrt #360601
-
- 05 Dec 2011; Tony Vroon <chainsaw@gentoo.org> scilab-4.1.2-r3.ebuild:
- Marked stable on AMD64 as I am told there are no regressions over current
- stable, despite worrying run-time behaviour. Based on arch testing by
- Agostino "ago" Sarubbo, Elijah "Armageddon" El Lazkani & Ian "idella4"
- Delaney in bug #360601.
-
- 20 Sep 2011; Thomas Kahle <tomka@gentoo.org> scilab-4.1.2-r3.ebuild:
- x86 stable per bug 360601
-
-*scilab-4.1.2-r3 (19 Sep 2011)
-
- 19 Sep 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r2.ebuild,
- +scilab-4.1.2-r3.ebuild:
- Corrected missing revbump, as noticed by darkside
-
- 19 Sep 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r2.ebuild,
- +files/scilab-4.1.2-gcc45-2.patch:
- Fix for seqf on zterm, thanks Maciej Szmigiero for the patch , #301625
-
- 02 Aug 2011; Matt Turner <mattst88@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Renamed x11-libs/Xaw3d to x11-libs/libXaw3d.
-
- 28 Jun 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild, metadata.xml:
- Fix sed on *FLAGS from : to |, EAPI bump
-
- 21 Jun 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Add dependency on virtual/fortran
-
- 21 Jun 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Added fortran-2.eclass support
-
- 07 Mar 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Correct Slots for gtk 3 introduction to tree
-
- 02 Mar 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Correct Slots for gtk 3 introduction to tree
-
- 17 Dec 2010; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Fix for fortran.eclass removal
-
- 17 Dec 2010; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Removed last need_fortran
-
- 16 Dec 2010; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r1.ebuild,
- scilab-4.1.2-r2.ebuild:
- Removal of fortran.eclass, #348851
-
- 08 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org>
- scilab-4.1.2-r1.ebuild, scilab-4.1.2-r2.ebuild:
- media-libs/jpeg -> virtual/jpeg
-
- 24 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
- scilab-4.1.2-r2.ebuild, +files/scilab-4.1.2-gcc45.patch:
- Fix build with GCC-4.5 wrt bug 321209. Thanks Diego for reporting.
-
- 22 Jun 2010; Justin Lecher <jlec@gentoo.org> -scilab-4.0.ebuild:
- Removed broken version, #147900 & #155893
-
-*scilab-4.1.2-r2 (10 Aug 2009)
-
- 10 Aug 2009; Markus Dittrich <markusle@gentoo.org>
- +scilab-4.1.2-r2.ebuild:
- Added example useflag and install static libs (#257252).
-
- 15 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org>
- scilab-4.1.2-r1.ebuild:
- ppc stable, bug #245922
-
- 08 Nov 2008; Markus Meier <maekke@gentoo.org> scilab-4.1.2-r1.ebuild:
- amd64/x86 stable, bug #245922
-
-*scilab-4.1.2-r1 (07 Nov 2008)
-
- 07 Nov 2008; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.1.2-tmp-fix.patch, -scilab-4.1.1.ebuild,
- -scilab-4.1.2.ebuild, +scilab-4.1.2-r1.ebuild:
- Added patch for insecure tempfile handling (CVE-2008-4983) (see bug
- #245922).
-
- 08 Feb 2008; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.1.2-java-config.patch, scilab-4.1.2.ebuild:
- Fixed broken autotool detection of java (see bug #209245).
-
- 06 Feb 2008; Markus Dittrich <markusle@gentoo.org> scilab-4.1.2.ebuild:
- Added missing tools needed to build code inside scilab
- (fixes bug #208867). Thanks much to Daa Jaa <daajaa@gmail.com> for the
- fix.
-
-*scilab-4.1.2 (19 Jan 2008)
-
- 19 Jan 2008; Markus Dittrich <markusle@gentoo.org> -scilab-4.1.ebuild,
- +scilab-4.1.2.ebuild, +files/scilab-4.1.2-header-fix.patch:
- Version bump (see bug #206607).
-
- 09 Jan 2008; Markus Dittrich <markusle@gentoo.org>
- files/scilab-4.1-header-fix.patch:
- Fixed remaining QA issues caused by implicit declarations
- (fixes #204875).
-
- 20 Oct 2007; Markus Dittrich <markusle@gentoo.org> scilab-4.0.ebuild,
- scilab-4.1.ebuild, scilab-4.1.1.ebuild:
- Added missing virtual/cblas to DEPEND (fixes bug #196433).
-
- 30 May 2007; Markus Dittrich <markusle@gentoo.org> scilab-4.1.1.ebuild:
- configure with tcl/tk by default to avoid strange crashes using
- the gtk interface (see bug #167698).
-
- 23 May 2007; Markus Dittrich <markusle@gentoo.org> scilab-4.1.1.ebuild:
- Fixed improper SCR_URI.
-
-*scilab-4.1.1 (22 May 2007)
-
- 22 May 2007; Markus Dittrich <markusle@gentoo.org> +scilab-4.1.1.ebuild:
- Version bump (fixes bug #179379).
-
- 20 Mar 2007; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.1-java-pic.patch, scilab-4.1.ebuild:
- Added patch to fix linking problems on amd64.
- This fixes bug #166521.
-
- 01 Mar 2007; Markus Dittrich <markusle@gentoo.org>
- -files/gzvt2-add-gtk2-flags.patch, -scilab-3.1.1-r3.ebuild,
- scilab-4.0.ebuild, scilab-4.1.ebuild:
- Removed old version and dependency on libzvt for 4.x ebuilds (see
- bug #147550).
-
- 13 Feb 2007; Markus Dittrich <markusle@gentoo.org> scilab-4.1.ebuild:
- Removed superfluous stripping of scilex binary.
-
-*scilab-4.1 (11 Feb 2007)
-
- 11 Feb 2007; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.1-header-fix.patch,
- +files/scilab-4.1-examples.patch, +scilab-4.1.ebuild:
- Version bump. Thanks much to Michael Frank <mfrank@franksys.de>
- for his ebuild (see bug #157508).
-
- 21 Dec 2006; Saleem Abdulrasool <compnerd@gentoo.org>
- -files/scilab-2.7-configure.patch, -scilab-2.7-r3.ebuild:
- gnome-1.x removal
-
- 02 Dec 2006; Steve Dibb <beandog@gentoo.org> scilab-4.0.ebuild:
- Add ~amd64, bug 109722
-
- 22 Nov 2006; Christian Faulhammer <opfer@gentoo.org> scilab-4.0.ebuild:
- stable x86, bug #141440
-
- 22 Nov 2006; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.0-java-pic.patch, scilab-4.0.ebuild:
- Added patch to fix TEXTREL in libjavasci.so and removed deprecated
- tcltk USE flag.
-
- 06 Nov 2006; Markus Dittrich <markusle@gentoo.org> scilab-4.0.ebuild:
- Added missing java dependency and inherited java-pkg-opt-2 eclass
- to properly set up build environment.
-
- 16 Sep 2006; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.0-configure-gfortran.patch, scilab-4.0.ebuild:
- Added patch to fix configure problems on x86_64 using gfortran.
- See bug #135227.
-
- 04 Jul 2006; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.0-gtk-fix.patch, scilab-4.0.ebuild:
- Added patch from CVS head to fix crashing scicos due to gtk.
- This fixes bug #138252.
-
- 01 Jun 2006; Markus Dittrich <markusle@gentoo.org> scilab-4.0.ebuild:
- Fixed small typo and appended -pthread to LDFLAGS to fix linking
- problems with libblas.so (see bug #131957).
-
- 01 May 2006; Markus Dittrich <markusle@gentoo.org> scilab-4.0.ebuild:
- Disable parallel build since it is broken (see bug #117490).
-
- 27 Apr 2006; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-ppc-gcc4.patch, scilab-4.0.ebuild:
- Added patch to fix gcc-4.x configure/compile problems on ppc.
- Thanks much to Francois Bissey <f.r.bissey@massey.ac.nz> for his
- help in debugging this (see bug #117490).
-
-*scilab-4.0 (25 Apr 2006)
-
- 25 Apr 2006; Markus Dittrich <markusle@gentoo.org>
- +files/scilab-4.0-makefile.patch, +scilab-4.0.ebuild:
- Revision bump (see bug #117490). Currently package masked for
- further testing.
-
- 25 Apr 2006; Markus Dittrich <markusle@gentoo.org> scilab-2.7-r3.ebuild:
- Removed virtual/x11 since all necessary X dependencies are being
- pulled in by Xaw3d and tcltk/gtk.
-
- 15 Mar 2006; Olivier Fisette <ribosome@gentoo.org> -scilab-3.1.1.ebuild,
- -scilab-3.1.1-r1.ebuild, -scilab-3.1.1-r2.ebuild:
- Removed obsolete versions.
-
- 19 Jan 2006; Donnie Berkholz <spyderous@gentoo.org>;
- +files/gzvt2-add-gtk2-flags.patch, scilab-3.1.1-r3.ebuild:
- Fix modular X deps. Also fix gtk compilation.
-
- 12 Jan 2006; Saleem Abdulrasool <compnerd@gentoo.org> scilab-3.1.1.ebuild,
- scilab-3.1.1-r1.ebuild, scilab-3.1.1-r2.ebuild, scilab-3.1.1-r3.ebuild:
- pkgmove gnome-extra/libgtkhtml gnome-extra/gtkhtml
-
-*scilab-3.1.1-r3 (13 Nov 2005)
-
- 13 Nov 2005; Olivier Fisette <ribosome@gentoo.org>
- +scilab-3.1.1-r3.ebuild:
- Migrated to fortran.eclass (bug #65950).
-
-*scilab-3.1.1-r2 (01 Oct 2005)
-
- 01 Oct 2005; Olivier Fisette <ribosome@gentoo.org>
- +scilab-3.1.1-r2.ebuild:
- Removing deprecated "gtk2" USE flag (bug #106560).
-
- 08 Sep 2005; Peter Bienstman <pbienst@gentoo.org> scilab-3.1.1-r1.ebuild:
- Fix bug #105034.
-
- 07 Sep 2005; Peter Bienstman <pbienst@gentoo.org> scilab-3.1.1-r1.ebuild:
- Change order of lapack and blas libraries.
-
-*scilab-3.1.1-r1 (05 Sep 2005)
-
- 05 Sep 2005; Peter Bienstman <pbienst@gentoo.org> +scilab-3.1.1-r1.ebuild:
- Convert to new lapack infrastructure.
-
- 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org>
- -files/scilab-3.0-initialization.patch, -scilab-3.0.ebuild,
- -scilab-3.0-r1.ebuild:
- Removed obsolete versions.
-
- 23 Jun 2005; Olivier Fisette <ribosome@gentoo.org> scilab-3.1.1.ebuild:
- Fixed references to the WORKDIR in installed files (bug #95429).
-
- 21 Jun 2005; Olivier Fisette <ribosome@gentoo.org> scilab-3.1.1.ebuild:
- Add ocaml support.
-
-*scilab-3.1.1 (21 Jun 2005)
-
- 21 Jun 2005; Olivier Fisette <ribosome@gentoo.org> +scilab-3.1.1.ebuild:
- New version.
-
- 12 Jun 2005; Sven Wegener <swegener@gentoo.org> scilab-3.0.ebuild:
- Removed * postfix from <, <=, >= and > dependencies.
-
- 04 May 2005; David Holm <dholm@gentoo.org> scilab-3.0-r1.ebuild:
- Readded to ~ppc. Please don't remove it without filing a proper bug report.
-
-*scilab-3.0-r1 (02 Mar 2005)
-
- 02 Mar 2005; Gregorio Guidi <greg_g@gentoo.org>
- +files/scilab-3.0-initialization.patch, +scilab-3.0-r1.ebuild:
- Dependency cleanup. Added patch to fix #67905.
-
-*scilab-2.7-r3 (28 Dec 2004)
-
- 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
- +files/scilab-2.7-configure.patch, +scilab-2.7-r3.ebuild,
- +scilab-3.0.ebuild:
- Moved from app-sci/scilab to sci-mathematics/scilab.
-
- 01 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> scilab-3.0.ebuild:
- Correcting gtk/gtk2 handling (bug #70053)
-
- 27 Nov 2004; Joseph Jezak <josejx@gentoo.org> scilab-2.7-r3.ebuild:
- Marked ~ppc for bug #71458.
-
- 14 Sep 2004; Olivier Fisette <ribosome@gentoo.org> scilab-3.0.ebuild:
- Added a check for a Fortran compiler (bug #53872).
-
- 22 Aug 2004; Olivier Fisette <ribosome@gentoo.org>
- -scilab-2.7-r2.ebuild, scilab-3.0.ebuild:
- Corrected "libgtkhtml" dependency in version 3.0 (bug #61134).
- Removed old ebuild (version 2.7-r2).
-
-*scilab-3.0
-
- 19 Aug 2004; Olivier Fisette <ribosome@gentoo.org>
- scilab-2.7-r3.ebuild, scilab-3.0.ebuild:
- Version bump. Added 2.7-r3 to x86.
-
- 30 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> -scilab-2.6.ebuild,
- -scilab-2.7-r1.ebuild, scilab-2.7-r2.ebuild, -scilab-2.7.ebuild:
- Added ifc/g77 check to scilab-2.7-r2 as well. Removed <scilab-2.7-r1.
-
- 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> scilab-2.7-r3.ebuild,
- scilab-2.7.ebuild:
- QA - fix use invocation
-
- 14 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> scilab-2.7-r1.ebuild,
- scilab-2.7-r3.ebuild:
- Added (already) global USE flag "ifc" and appropriate dependency as well as the
- g77/ifc warning routine from app-sci/octave. Fixes BUG #53872.
-
- 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> scilab-2.7-r3.ebuild:
- Marked stable on amd64.
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> scilab-2.7-r3.ebuild:
- Add inherit eutils
-
- 21 Apr 2004; Danny van Dyk <kugelfang@gentoo.org>
- +files/scilab-2.7-configure.patch, scilab-2.7-r3.ebuild:
- Minor changes for amd64 only and marked ~amd64. Patch by Scott Robert Ladd.
-
-*scilab-2.7-r3 (22 Mar 2004)
-
- 22 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> scilab-2.7-r3.ebuild:
- Trying to fix bug #40225 by providing an X server during build.
-
- 11 Oct 2003; George Shapovalov <geore@gentoo.org> scilab-2.7-r2.ebuild :
- added few more dependensies for gtk interface
-
- 06 Oct 2003; George Shapovalov <geore@gentoo.org> scilab-2.7-r2.ebuild :
- looks like gnome-lib is also needed for gtk interface, added it to DEPEND under gtk?
-
- 05 Oct 2003; George Shapovalov <geore@gentoo.org> scilab-2.7-r2.ebuild :
- looks like enabling gtk makes scilab stop building macros,
- forced macros build in ebuild.
- Also added check for previous version installed, as it would have
- caused problems fr this revision upon upgrade.
- Note: this check should be removed in new versions if they are issued
- after reasonable amount of time passes (so that we can expect people to migrate to -r2)
-
-*scilab-2.7-r2 (04 Oct 2003)
-
- 04 Oct 2003; George Shapovalov <geore@gentoo.org> scilab-2.7-r2.ebuild :
- fixes ##28245 and 30219, thanks to the guys from the -r1 update :) and
- to Toby Smith <thlsmith@iprimus.com.au> for the gtk hint
- now ebuild comes without postinst/remove functions
-
-*scilab-2.7-r1 (16 Sep 2003)
-
- 16 Sep 2003; George Shapovalov <geore@gentoo.org> scilab-2.7-r1.ebuild :
- fixes #28245 (help browser),
- thanks to Federico Zenith <zenith@chemeng.ntnu.no> and Gregorio Guidi <g.guidi@sns.it>
- for the fixes
-
-*scilab-2.7 (16 Jul 2003)
-
- 16 Jul 2003; Ryan Phillips <rphillips@gentoo.org> scilab-2.7.ebuild :
- Fixes #16737.
-
-*scilab-2.6 (28 Apr 2002)
-
- 01 May 2003; Martin Holzer <mholzer@gentoo.org> scilab-2.6.ebuild:
- Fixing typo. Closes #20263.
-
- 28 Apr 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/sci-mathematics/scilab/Manifest b/sci-mathematics/scilab/Manifest
deleted file mode 100644
index 618f94fdee24..000000000000
--- a/sci-mathematics/scilab/Manifest
+++ /dev/null
@@ -1,30 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX scilab-4.0-configure-gfortran.patch 14731 SHA256 2e2ef24db30ad6c69fd9fd0c6690841ae9286256e2de71784d48f09d84e0222a SHA512 b9701bdec6ce9e4cc36a65c4ca566d095fddac583551eaa1227e1ae96275c01212d2eb512a570ba84ded7301849bf1ec81286089e54ed16daee1ac80378cc58a WHIRLPOOL 94f30b1c0af4dd0a128d7609e875c5187bab211d649eb37f06830038ecd044972f289af355ab0d35220247129224c0d54d806b74e0033d51a71fdff0ba330213
-AUX scilab-4.0-gtk-fix.patch 929 SHA256 25ef3f5dacfb91adb3d239855d7f32655a554b21608a4b485bf2bf3937ae6b85 SHA512 ca88541c803c0cc997221d12573f4f3bc090e7b9ea020b2e46629e57e61b6ea43b671c6420a31fa84aa8545e592738d22af5e1e328d3bdf08a9d90f1657acece WHIRLPOOL b6694e742d86311332fb3beb6cdd1787b2b6d14cbfddd54e62c1199253005b9b403edf2a708697baca5fb9dd1995df0b201f742e9ff66240a0d74b50a4fe602d
-AUX scilab-4.0-java-pic.patch 1043 SHA256 258c7db3f8350251c1973f950c26a790496fb13c44d9a6b70e13a066c5b6465a SHA512 700a422618960d52d6aa3a8e747b89580fd6d583c6da1b0bfc3075bef4ea0f6effff24742eca2827af5ab5c307142b986b2b765c1cf55d81e42cf33772869594 WHIRLPOOL fcfcfcc960579b31475054aec9cc5ef0b5f9221fb1aa032a8b53d1be0bba87eebad764fed16ca1ac14208218c064a148f690fe4ea1a301198139f84206811bb3
-AUX scilab-4.0-makefile.patch 1190 SHA256 6f552482a5933103133b1e9245166a6d23478fffe57cccac2166f2889cff140f SHA512 bab2c740f460c7ff88715c1cc447490c5a9963c879d54f878627c32e963b6fa61a39c812958ff04522dac193b1eb6d86b54d7173d155efc6b75c7108972d247f WHIRLPOOL b203b79c720a20032abec34d7623e76708db94a2b7ff335ab4dad23bda15bad1db1b962c1c166bd0a8820b5da5aea7801ad0386ef78120e837342c13f088b5b8
-AUX scilab-4.1-examples.patch 7399 SHA256 99b49abc82d9a881c7d8d15c2ca8fec678ddb8b9efedc2ec3347f6156886716d SHA512 706a802b2a060c60a43a49900be63cb2ebf6ae1e728ecd5ed7499b67b53f4ac6c18dd14070d04710180b166b748b4a4de440c97563ede47505dd867d2f718c1b WHIRLPOOL 37c2b05e6a9d1bfcd58efd1b71c201fbd4bd9fa8fd2dc7ceeb3795079514a459df91d0d18273b249cddda54df3a4e05674d041f79ee43171faaac2f4b5e3bf58
-AUX scilab-4.1-header-fix.patch 4145 SHA256 aa1ab5bd1b0c261268191b3b47e52ddee8b5642222806b8813a97dd16e1cc3b0 SHA512 7c886d20e5bcbef3166f75f6c12b0833d48363b37c9cd17199471c131e5614acf898ed82295c92a3f0f8d5195191cfbf2cbbccdaf008588171d9e6969becfd57 WHIRLPOOL 43a1c4498d0bbc2ebb00b5e772f50866484acaf03cbb633e3b8c0e56a00ee651dbace3c7eee03aa218c9554ef4b2ce37d6acf2d9ed87b5d83453ebc4c7c351ee
-AUX scilab-4.1-java-pic.patch 1604 SHA256 eab86feade8002a9edf2701b820847420b1ade7bcf96bb909e2a09b39850dd91 SHA512 2c4e7ed70a6d8ee14d7a3343d6bc5c9b04d077b1aa68c9f3c0414d93ca514c806f964a9a973d072ae3c2c889857459c77c5d9fa47990bb030cbdf93631d89f13 WHIRLPOOL f261003d5a8e908d478e39b495eaf80d210a11878283828818836cfeb64e103d9eef711f304e19dd5f33c584c6084a28142ebaac122c586bd7326fdcd8b2ee95
-AUX scilab-4.1.2-gcc45-2.patch 502 SHA256 adcd2cd3fda64dfd3d76f2b204f3e54cec922cb2b4dde0d9aa81e63e07aaa7b2 SHA512 e8f468b9cff2ee72b2e72a84370bdbf8d3599f1662100a9b05cd731a38bbae1badabe7b0bca4642333baa79e4b8f6c6cf5158d218822ff152065e767f4001f60 WHIRLPOOL 1d009858c8a59edb7863645eef0ed13480fad90556a1e88e2b05e3d0eaaf205d0a7823b86bbd020bd0cfaea37d025c8465c5d5bbf2890ba451beed108ff7aea3
-AUX scilab-4.1.2-gcc45.patch 668 SHA256 391d03173c866815a12e9a01f15e57c550b36f0b4a4eca5147caabfdc185b42b SHA512 20790e8e0b678115b986cf616a31cb13ed133379c714a96a442be097032d4f28d9d142bff6a417ed2b8d251363bcd69effeac6ebe585243ecb0268b7d7186a70 WHIRLPOOL c336601c64b3bd9513a5a6e5dcba41a87dfd445e5d3cb21cc9a2f487d6be661d260deeca7b64a4f8620d8760266a75f68870a83e274d70170433506f629ed932
-AUX scilab-4.1.2-header-fix.patch 4240 SHA256 1f103b1e08068cd9c813dd5f0f067ab0430ff6a4e608603fd2bf1f07adc5556b SHA512 196fe6c98371d37db4856ff147505f2e0ab57d60a00e0e85012f198100687008bee4821f7d86a2b0b87c2cc03c4f3ef2815f61bb0342e334fe2c1490561a9124 WHIRLPOOL 650f58456a62a41019c32f7c4dee2cb69313c260ec3c59e0d29ca65867bc8215190ee037cc75739eca3787961dd5fda4ee077da6dc6692140e4640629afc7916
-AUX scilab-4.1.2-java-config.patch 446 SHA256 650cb6dcce4a7883318cd553140516ced6ab32dc325eb1c56a013df272e3fd0f SHA512 d013b7e494333cb4b721092329e49ffeb8cfe34fa8f8a099923dc1055d121ac16600412569d788aa0b4446aa3520664fbe502439ddb1b36eda0048a0486e5870 WHIRLPOOL fe513454ad985387a59d41adcf1344086df2cacd1f20fb531bd748d979f31f49b5f5e8a721bcfed994195cacd7727ca3e5fc5b7d46beab8f492c7b3bc17ba6ed
-AUX scilab-4.1.2-tmp-fix.patch 6067 SHA256 b25b46e0738b2f37d8333128dc32d2f40358e0a217615f65b5e5811c423e336f SHA512 f8de5d4ab0f8f158780c096be04952751e56755818e6b49899dc6661ff5e9fb97413c674c9c7c418fd07d597430ae5d1b543013867e6ebc1fad4b9e4594ada34 WHIRLPOOL edf076a2bbe12f5b2f615e121eb005b9b589b1499d2bfa4c72a7784bb2f3f2b924e6a78bba47e9fef3544ca041e8cca79c2494bd96ce3344ee2afa3a8298388b
-AUX scilab-ppc-gcc4.patch 1045 SHA256 0844c4edad45ba23219b8d3405104a8bbb2b45e2b7b742f7aaeb10ce5e92388a SHA512 7fd0f14b8227e987f0257162aa464ed0c351f5f776d01d8c0a0e98a6155da91b1e171bc953a23f26b64698bc0756773a1a3235c7f24b2db0cfaed5b1378c6796 WHIRLPOOL 80ae3c2224cccf67d96a08eeed4e9c43c53712e280c8be4dd0fa4dc53002a2682c9ef158f4fef1a14a9e7e1dfcb67ec65778b30a8ec85d936bff7371ac8f5f9f
-DIST scilab-4.1.2-src.tar.gz 15892277 SHA256 4c0318a316c62a1206e53b936bbb1262d940e390c1d14da77c231e49b134b3a9
-EBUILD scilab-4.1.2-r1.ebuild 4314 SHA256 167692d7e02392299324bcea90dde1f4499110a9e67449a84c7bd1f73008cb61 SHA512 7ed6d31c4135f1b08d0b1047eaa220785f79fe60ececcef0ddda35530682379d848589e1341e9d75be72fbdb443457e02314e7ad660568da56c3b8cb99c7b822 WHIRLPOOL 8c7413c7650528d80a4250e7a5572e20b5609a529a82b5284e0812ac19564a0c670e3919c12f4d6f3ebe9aa0b401dec3427cdec29703b8570eb6bd7a86840dfb
-EBUILD scilab-4.1.2-r2.ebuild 4227 SHA256 cdd3460166da547e3cd847ec204b5868f80717dfda2183aaaa12143129e840d5 SHA512 88ec4edf2c4c3282b3345f894464ec4149d7f5d143bad58ce26899facdf920413451ef0729249ec4a6d950e270d24e2586add36d06b2142b1e27c6520057531c WHIRLPOOL f4c86a1a7be3dba9dc457a6d18e6967f656bf9a4be28e711ad94cfe5b9792953877392ffa31b1afb0385b9616819918a130fbeefcedecb39b9a7b90d044e295f
-EBUILD scilab-4.1.2-r3.ebuild 4261 SHA256 9ba6499e7b2af562f9b2c47ba4f96d3ae72639e2a53fd89d40b9908eeef984cc SHA512 a69da576ba15289214abc0cb9f7bb4d2eab4a216f1e3eb5348ba2f50d4fe1135381d6bdcd1fa34dbee4c9215d0153002449793ab762220b37fd9ddb6c2788294 WHIRLPOOL 588674c28caee1b3d2cd9ae245f39ed8152635b732155b846bfeae9d1c7bdc6e2192156dda653f733a63fbda7001331f6de3d8d02bba5d059823d454133af8d4
-MISC ChangeLog 14207 SHA256 096a717e65a7d6bf117cc4cfba14d590edaccd455dd6f968eb8ce82869791fd8 SHA512 a81a724d2840bb65ab15d71f9e7cf84733a71d80fe1110e44f0aa90d4b10125d34a81c18d9fc413548370ef04fcc169d8e3665f704f9ecbfa58767fb60a7b402 WHIRLPOOL 8f9a370ca69e9caf6b1061d340fe5f3fa0783a6e2c404f90ba5a39e4fc53f1b2092be3ce48d4e27dcaec00be44a7141657461e22fb64318f7f655465e64a2abe
-MISC metadata.xml 169 SHA256 7a9f25879c1299572cfaf2a3efb47313412564a1ef12c828224194f4e96edcd0 SHA512 3144781cb87739bf41621038a8e1a616adde00471d141e56dfdf5186c19c48a91cb92e20c32910974308e252fe072743c41ac44a7c1f16e0c720e9d2094ecf19 WHIRLPOOL fc342f5ef0c7a464909fdad40e6fd47895979f8fdf61a606aba36fd2431f116f578b8a17199d659706e67dc60e42740cc2c5fb893c5fcb8dce2626d4a73261e6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-Comment: GPGTools - http://gpgtools.org
-
-iEYEAREIAAYFAlB9sFEACgkQgAnW8HDreRbPhwCfbpF+q6D3WXEgmudXic8AMgWr
-eJMAoJcb26cnOnYkpfFGKsjPScJPTIIv
-=3oY+
------END PGP SIGNATURE-----
diff --git a/sci-mathematics/scilab/files/scilab-4.0-configure-gfortran.patch b/sci-mathematics/scilab/files/scilab-4.0-configure-gfortran.patch
deleted file mode 100644
index d5720cc7ad09..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.0-configure-gfortran.patch
+++ /dev/null
@@ -1,413 +0,0 @@
---- scilab-4.0/configure 2006-02-01 15:47:53.000000000 -0500
-+++ scilab-4.0-new/configure 2006-09-16 11:13:29.000000000 -0400
-@@ -4878,7 +4878,7 @@
- ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_f77_compiler_gnu
- if test -n "$ac_tool_prefix"; then
-- for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
-+ for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 gfortran
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-@@ -4920,7 +4920,7 @@
- fi
- if test -z "$F77"; then
- ac_ct_F77=$F77
-- for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
-+ for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 gfortran
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
-@@ -20127,10 +20127,11 @@
- DLD_SUBDIR=dld
- MAKEFILE_TARGET=Makefile.linux
- ;;
--# Linux gnu: x86_64 distributions added by cdh 2004-09-29
-- x86_64-*-linux-gnu)
-- LIEEELIB=
-- echo "$as_me:$LINENO: checking for main in -lieee" >&5
-+
-+# Linux gnu: x86_64 distributions added by cdh 2004-09-29 ( modified 2006-06-01 to find gfortran if needed )
-+x86_64-*-linux-gnu)
-+ LIEEELIB=
-+ echo "$as_me:$LINENO: checking for main in -lieee" >&5
- echo $ECHO_N "checking for main in -lieee... $ECHO_C" >&6
- if test "${ac_cv_lib_ieee_main+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-@@ -20138,7 +20139,6 @@
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lieee $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
--#line $LINENO "configure"
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
-@@ -20156,11 +20156,21 @@
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-- (eval $ac_link) 2>&5
-+ (eval $ac_link) 2>conftest.er1
- ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
-- { ac_try='test -s conftest$ac_exeext'
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
-@@ -20173,7 +20183,8 @@
-
- ac_cv_lib_ieee_main=no
- fi
--rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
-+rm -f conftest.err conftest.$ac_objext \
-+ conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
-@@ -20182,40 +20193,67 @@
- LIEEELIB=-lieee
- fi
-
-- MALLOC=malloc.o
-- if test "$with_intelcompilers" = yes; then
-- GCC=no
-- CC=$ICC
-- FC=$IFC
-- CC_OPTIONS='-O -DNDEBUG -Dlinux -DNARROWPROTO -mp'
-- CC_PICFLAGS="-fPIC"
--# -cm remove comments displays, -w90 -w95 remove warnings abort f90 f95 non standard
-- FC_OPTIONS="-O -cm -w90 -w95 -mp "
-- FC_OPTIONS_O0="-cm -w90 -w95 -mp "
-- if test "$enable_debug" = yes; then
-- CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO -mp '
-- FC_OPTIONS="-g -cm -w90 -w95 -mp "
-- fi
-- CC_LDFLAGS="$LIEEELIB -Wl,-relax"
-- FC_LDFLAGS="$LIEEELIB -ldl -lPEPCF90 -Wl,-relax "
-- LD=xild
-- LD_LDFLAGS="$LIEEELIB -lPEPCF90 -Wl,-relax "
-- else
-- GCC=yes
-- CC=gcc
-- # CC_PLAT_OPTIONS is optional, and is used to add CPU specific code generation tuning for Athlon64 presumably Opteron could benefit too but these are not optimized for the Opteron
-- CC_PLAT_OPTIONS='-march=athlon64 -mfpmath=sse -msse2 -m3dnow -m64 '
-- CC_OPTIONS="-O2 -DNDEBUG -Dlinux -DNARROWPROTO $CC_PLAT_OPTIONS"
-- CC_LDFLAGS=$LIEEELIB
-- CC_PICFLAGS=-fPIC
-- # find Fortran compiler
-- # g77 already asked and found: good
-- if test "$WITH_G77" = yes; then
-- FC=g77
-- FC_PICFLAGS=-fPIC
-- # option with-f2c
-- elif test "$with_f2c" = yes; then
-- # Extract the first word of "f2c", so it can be a program name with args.
-+ MALLOC=malloc.o
-+ if test "$with_intelcompilers" = yes; then
-+ GCC=no
-+ CC=$ICC
-+ FC=$IFC
-+ CC_OPTIONS='-O -DNDEBUG -Dlinux -DNARROWPROTO -mp'
-+ CC_PICFLAGS="-fPIC"
-+ # -cm remove comments displays, -w90 -w95 remove warnings abort f90 f95 non standard
-+ FC_OPTIONS="-O -cm -w90 -w95 -mp "
-+ FC_OPTIONS_O0="-cm -w90 -w95 -mp "
-+ if test "$enable_debug" = yes; then
-+ CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO -mp '
-+ FC_OPTIONS="-g -cm -w90 -w95 -mp "
-+ fi
-+ CC_LDFLAGS="$LIEEELIB -Wl,-relax"
-+ FC_LDFLAGS="$LIEEELIB -ldl -lPEPCF90 -Wl,-relax "
-+ LD=xild
-+ LD_LDFLAGS="$LIEEELIB -lPEPCF90 -Wl,-relax "
-+ else
-+ GCC=yes
-+ CC=gcc
-+ # CC_PLAT_OPTIONS is optional, and is used to add CPU specific code generation tuning for Athlon64 presumably Opteron could benefit too but these are not optimized for the Opteron
-+ CC_PLAT_OPTIONS='-march=athlon64 -mfpmath=sse -msse2 -m3dnow -m64'
-+
-+ CC_PICFLAGS='-fPIC'
-+ FC_PICFLAGS='-fPIC'
-+
-+ CC_OPTIONS="-O2 -DNDEBUG -Dlinux -DNARROWPROTO $CC_PLAT_OPTIONS $CC_PICFLAGS "
-+ CC_LDFLAGS=$LIEEELIB
-+
-+ if test "$enable_debug" = yes; then
-+ CC_OPTIONS="-g -Wall -Dlinux -DNARROWPROTO $CC_PLAT_OPTIONS $CC_PICFLAGS "
-+ fi
-+ # find Fortran compiler
-+ # g77 already asked and found: good
-+ if test "$WITH_G77" = yes; then
-+ FC=g77
-+ FC_PICFLAGS=-fPIC
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ elif test "$WITH_GFORTRAN" = yes;then
-+ FC=gfortran
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g -ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="-ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O -ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="-ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ cat >>confdefs.h <<\_ACEOF
-+#define G95_FORTRAN 1
-+_ACEOF
-+
-+ # option with-f2c
-+ elif test "$with_f2c" = yes; then
-+ # Extract the first word of "f2c", so it can be a program name with args.
- set dummy f2c; ac_word=$2
- echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-@@ -20251,16 +20289,23 @@
- echo "${ECHO_T}no" >&6
- fi
-
-- if test "$F2C" = no; then
-- { { echo "$as_me:$LINENO: error: Unable to configure: f2c compiler not found" >&5
-+ if test "$F2C" = no; then
-+ { { echo "$as_me:$LINENO: error: Unable to configure: f2c compiler not found" >&5
- echo "$as_me: error: Unable to configure: f2c compiler not found" >&2;}
- { (exit 1); exit 1; }; }
-- fi
-- # script shell f77 have bugs, get ours
-- FC='${SCIDIR}/bin/f77-linux'
-- else
-- # first find g77
-- # Extract the first word of "g77", so it can be a program name with args.
-+ fi
-+ # script shell f77 have bugs, get ours
-+ FC='${SCIDIR}/bin/f77-linux'
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ else
-+ # first find g77
-+ # Extract the first word of "g77", so it can be a program name with args.
- set dummy g77; ac_word=$2
- echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-@@ -20296,12 +20341,121 @@
- echo "${ECHO_T}no" >&6
- fi
-
-- if test "$WITH_G77" = yes; then
-- FC=g77
-- FC_PICFLAGS=-fPIC
-- else
-- # otherwise find f2c
-- # Extract the first word of "f2c", so it can be a program name with args.
-+ if test "$WITH_G77" = yes; then
-+ FC=g77
-+ FC_PICFLAGS=-fPIC
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g $CC_PLAT_OPTIONS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O $CC_PLAT_OPTIONS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ else
-+ # Extract the first word of "gfortran", so it can be a program name with args.
-+set dummy gfortran; ac_word=$2
-+echo "$as_me:$LINENO: checking for $ac_word" >&5
-+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-+if test "${ac_cv_prog_WITH_GFORTRAN+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ if test -n "$WITH_GFORTRAN"; then
-+ ac_cv_prog_WITH_GFORTRAN="$WITH_GFORTRAN" # Let the user override the test.
-+else
-+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-+for as_dir in $PATH
-+do
-+ IFS=$as_save_IFS
-+ test -z "$as_dir" && as_dir=.
-+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+ ac_cv_prog_WITH_GFORTRAN="yes"
-+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-+ break 2
-+ fi
-+done
-+done
-+
-+ test -z "$ac_cv_prog_WITH_GFORTRAN" && ac_cv_prog_WITH_GFORTRAN="no"
-+fi
-+fi
-+WITH_GFORTRAN=$ac_cv_prog_WITH_GFORTRAN
-+if test -n "$WITH_GFORTRAN"; then
-+ echo "$as_me:$LINENO: result: $WITH_GFORTRAN" >&5
-+echo "${ECHO_T}$WITH_GFORTRAN" >&6
-+else
-+ echo "$as_me:$LINENO: result: no" >&5
-+echo "${ECHO_T}no" >&6
-+fi
-+
-+ if test "$WITH_GFORTRAN" = yes; then
-+ FC=gfortran
-+ FC_PICFLAGS=-fPIC
-+ cat >>confdefs.h <<\_ACEOF
-+#define G95_FORTRAN 1
-+_ACEOF
-+
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g -ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="-ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O -ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="-ff2c $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ else
-+ # Extract the first word of "f95", so it can be a program name with args.
-+set dummy f95; ac_word=$2
-+echo "$as_me:$LINENO: checking for $ac_word" >&5
-+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-+if test "${ac_cv_prog_WITH_F95+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ if test -n "$WITH_F95"; then
-+ ac_cv_prog_WITH_F95="$WITH_F95" # Let the user override the test.
-+else
-+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-+for as_dir in $PATH
-+do
-+ IFS=$as_save_IFS
-+ test -z "$as_dir" && as_dir=.
-+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-+ ac_cv_prog_WITH_F95="yes"
-+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-+ break 2
-+ fi
-+done
-+done
-+
-+ test -z "$ac_cv_prog_WITH_F95" && ac_cv_prog_WITH_F95="no"
-+fi
-+fi
-+WITH_F95=$ac_cv_prog_WITH_F95
-+if test -n "$WITH_F95"; then
-+ echo "$as_me:$LINENO: result: $WITH_F95" >&5
-+echo "${ECHO_T}$WITH_F95" >&6
-+else
-+ echo "$as_me:$LINENO: result: no" >&5
-+echo "${ECHO_T}no" >&6
-+fi
-+
-+ if test "$WITH_F95" = yes; then
-+ FC=f95
-+ FC_PICFLAGS=-fPIC
-+ cat >>confdefs.h <<\_ACEOF
-+#define F95_FORTRAN 1
-+_ACEOF
-+
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS "
-+ fi
-+ else
-+ # otherwise find f2c
-+ # Extract the first word of "f2c", so it can be a program name with args.
- set dummy f2c; ac_word=$2
- echo "$as_me:$LINENO: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-@@ -20337,30 +20491,32 @@
- echo "${ECHO_T}no" >&6
- fi
-
-- if test "$F2C" = yes; then
-- # script shell f77 have bugs, get ours
-- FC='${SCIDIR}/bin/f77-linux'
-- else
-- { { echo "$as_me:$LINENO: error: Unable to configure: no Fortran compiler found" >&5
-+ if test "$F2C" = yes; then
-+ # script shell f77 have bugs, get ours
-+ FC='${SCIDIR}/bin/f77-linux'
-+ if test "$enable_debug" = yes; then
-+ FC_OPTIONS="-g $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ else
-+ FC_OPTIONS="-O $CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ FC_OPTIONS_O0="$CC_PLAT_OPTIONS $FC_PICFLAGS"
-+ fi
-+ else
-+ { { echo "$as_me:$LINENO: error: Unable to configure: no Fortran compiler found" >&5
- echo "$as_me: error: Unable to configure: no Fortran compiler found" >&2;}
- { (exit 1); exit 1; }; }
-- fi
-- fi
-- fi
-- FC_OPTIONS="-O $CC_PLAT_OPTIONS"
-- FC_OPTIONS_O0=
-- FC_LDFLAGS="$LIEEELIB -ldl -rdynamic -Wl,-relax "
-- LD=ld
-- LD_LDFLAGS="$LIEEELIB -Wl,-relax "
-- if test "$enable_debug" = yes; then
-- # CC_PLAT_OPTIONS is optional, and is used to add CPU specific code generation tuning for Athlon64 presumably Opteron could benefit too but these are not optimized for the Opteron
-- CC_PLAT_OPTIONS='-march=athlon64 -mfpmath=sse -msse2 -m3dnow -m64 '
-- CC_OPTIONS="-g -Wall -Dlinux -DNARROWPROTO $CC_PLAT_OPTIONS"
-- FC_OPTIONS="-g $CC_PLAT_OPTIONS"
-- fi
-- fi
-- MAKEFILE_TARGET=Makefile.linux
-- ;;
-+ fi
-+ fi
-+ fi
-+ fi
-+ fi
-+ FC_LDFLAGS="$LIEEELIB -ldl -rdynamic -Wl,-relax "
-+ LD=ld
-+ LD_LDFLAGS="$LIEEELIB -Wl,-relax "
-+ fi
-+ MAKEFILE_TARGET=Makefile.linux
-+ ;;
-+
- # Linux ELF: all standard distributions
- i*86-*-linux-gnu | *-pc-linux-gnu )
- LIEEELIB=
-@@ -22909,7 +23065,7 @@
- ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_f77_compiler_gnu
- if test -n "$ac_tool_prefix"; then
-- for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
-+ for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 gfortran
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-@@ -22951,7 +23107,7 @@
- fi
- if test -z "$F77"; then
- ac_ct_F77=$F77
-- for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
-+ for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 gfortran
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
diff --git a/sci-mathematics/scilab/files/scilab-4.0-gtk-fix.patch b/sci-mathematics/scilab/files/scilab-4.0-gtk-fix.patch
deleted file mode 100644
index a6b01366c1b0..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.0-gtk-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- scilab-4.0/routines/graphics/periGtk.c 2006-02-08 11:33:40.000000000 -0500
-+++ scilab-4.0-b4-20060515/routines/graphics/periGtk.c 2006-02-20 04:05:05.000000000 -0500
-@@ -395,16 +395,17 @@
- GdkEventButton *event,
- BCG *gc)
- {
-+ int display_double_click_distance;
- static GdkDisplay *display=NULL;
-+ if ( display == NULL) display=gdk_display_get_default();
-
- /* to compile with gdk<2.4 */
- #if GTK_MAJOR_VERSION==2 && GTK_MINOR_VERSION>=4
-- int display_double_click_distance = display->double_click_distance;
-+ display_double_click_distance = display->double_click_distance;
- #else
-- int display_double_click_distance=5;
-+ display_double_click_distance=5;
- #endif
-
-- if ( display == NULL) display=gdk_display_get_default();
- if ((event->time < (last_press.time + 2*display->double_click_time)) &&
- (event->window == last_press.window) &&
- (event->button == last_press.button) &&
diff --git a/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch b/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch
deleted file mode 100644
index 390ce9d0b3ec..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur scilab-4.0/routines/Javasci/Makefile.in scilab-4.0-new/routines/Javasci/Makefile.in
---- scilab-4.0/routines/Javasci/Makefile.in 2006-01-28 10:27:50.000000000 -0500
-+++ scilab-4.0-new/routines/Javasci/Makefile.in 2006-11-21 21:27:59.000000000 -0500
-@@ -13,7 +13,7 @@
- OBJSC= javasci_SciStringArray.o javasci_globals.o javasci_Scilab.o javasci_SciDoubleArray.o @GCCFIX@
- OBJSF =
- OBJS = $(OBJSC)
--CFLAGS = $(CC_OPTIONS) $(JAVAINC)
-+CFLAGS = $(CC_OPTIONS) -fPIC $(JAVAINC)
- FLIBS=@FLIBS@
-
- include ../../Makefile.incl
-diff -Naur scilab-4.0/routines/Javasci/Makefile.linux scilab-4.0-new/routines/Javasci/Makefile.linux
---- scilab-4.0/routines/Javasci/Makefile.linux 2005-05-23 07:22:17.000000000 -0400
-+++ scilab-4.0-new/routines/Javasci/Makefile.linux 2006-11-21 21:27:14.000000000 -0500
-@@ -4,4 +4,4 @@
- @echo Creation of $(LIBRARY)
- @$(RM) $@;
- @echo "linking";
-- @$(FC) -Wl,-shared -g -o $@ $(OBJS) $(DEFAULTS) $(LIBR) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
-+ @$(CC) -shared -o $@ $(OBJS) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
diff --git a/sci-mathematics/scilab/files/scilab-4.0-makefile.patch b/sci-mathematics/scilab/files/scilab-4.0-makefile.patch
deleted file mode 100644
index 99a6f731dc90..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.0-makefile.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- scilab-4.0-old/Makefile.in 2006-02-14 06:14:22.000000000 -0600
-+++ scilab-4.0/Makefile.in 2006-04-23 10:09:01.000000000 -0500
-@@ -206,28 +206,12 @@
- pvm3/bin/@PVMARCH@/*
-
- INSTBINDISTFILES = \
-- .pvmd.conf \
-- ACKNOWLEDGEMENTS \
-- CHANGES \
-- Makefile \
-- Makefile.OBJ \
-- Makefile.incl \
-- Makemex \
-- Path.incl \
-- README_Unix \
-- Version.incl \
-- configure \
-- libtool \
-- license.txt \
-- licence.txt \
- scilab.quit \
- scilab.star \
- X11_defaults \
- bin \
-- config \
- contrib \
- demos \
-- examples \
- imp/NperiPos.ps \
- imp/giffonts \
- macros \
-@@ -261,11 +245,7 @@
- @if test `pwd`/.. != $(PREFIX)/lib ; then \
- install -d $(PREFIX)/lib/$(SCIBASE); \
- ( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \
-- (cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \
- fi
-- install -d $(PREFIX)/share/doc/$(DOCNAME)/
-- install ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl \
-- licence.txt license.txt $(PREFIX)/share/doc/$(DOCNAME)
- install -d $(PREFIX)/bin
- $(RM) $(PREFIX)/bin/scilab
- ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/scilab $(PREFIX)/bin/scilab
diff --git a/sci-mathematics/scilab/files/scilab-4.1-examples.patch b/sci-mathematics/scilab/files/scilab-4.1-examples.patch
deleted file mode 100644
index 6da3407b4fc8..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1-examples.patch
+++ /dev/null
@@ -1,223 +0,0 @@
-diff -Naur examples/callsci/Makefile examples-new/callsci/Makefile
---- examples/callsci/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/callsci/Makefile 2007-02-11 12:38:26.000000000 -0500
-@@ -1,7 +1,7 @@
- SHELL = /bin/sh
-
--SCIDIR=../../
--include ../../Makefile.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Makefile.incl
-
- all :: info
-
-diff -Naur examples/interface-general/Makefile examples-new/interface-general/Makefile
---- examples/interface-general/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-general/Makefile 2007-02-11 12:38:52.000000000 -0500
-@@ -1,6 +1,7 @@
-
- include Path.incl
-
-+SCIDIR= gentoo-scidir
- include $(SCIDIR)/Makefile.incl
-
- all :: Makelib
-diff -Naur examples/interface-general/lib/Makefile examples-new/interface-general/lib/Makefile
---- examples/interface-general/lib/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-general/lib/Makefile 2007-02-11 12:39:04.000000000 -0500
-@@ -1,4 +1,4 @@
--SCIDIR=../../../
-+SCIDIR= gentoo-scidir
-
- include $(SCIDIR)/Makefile.incl
-
-diff -Naur examples/interface-lapack/Makefile examples-new/interface-lapack/Makefile
---- examples/interface-lapack/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-lapack/Makefile 2007-02-11 12:39:23.000000000 -0500
-@@ -1,6 +1,6 @@
- SHELL = /bin/sh
-
--SCIDIR = ../..
-+SCIDIR= gentoo-scidir
-
- LIBRARY = lapackscilab.a
-
-diff -Naur examples/interface-multi-so/Makefile examples-new/interface-multi-so/Makefile
---- examples/interface-multi-so/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-multi-so/Makefile 2007-02-11 12:39:50.000000000 -0500
-@@ -1,5 +1,5 @@
- SHELL = /bin/sh
--SCIDIR=../..
-+SCIDIR= gentoo-scidir
-
- include Path.incl
-
-diff -Naur examples/interface-multi-so/lib/Makefile examples-new/interface-multi-so/lib/Makefile
---- examples/interface-multi-so/lib/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-multi-so/lib/Makefile 2007-02-11 12:40:04.000000000 -0500
-@@ -1,4 +1,4 @@
--SCIDIR=../../../
-+SCIDIR= gentoo-scidir
-
- include $(SCIDIR)/Makefile.incl
-
-diff -Naur examples/interface-tour/Makefile examples-new/interface-tour/Makefile
---- examples/interface-tour/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-tour/Makefile 2007-02-11 12:40:21.000000000 -0500
-@@ -1,6 +1,6 @@
- SHELL = /bin/sh
-
--SCIDIR = ../..
-+SCIDIR= gentoo-scidir
-
- LIBRARY = examples.a
-
-diff -Naur examples/interface-tour-so/Makefile examples-new/interface-tour-so/Makefile
---- examples/interface-tour-so/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-tour-so/Makefile 2007-02-11 12:40:32.000000000 -0500
-@@ -1,4 +1,4 @@
--SCIDIR=../../
-+SCIDIR= gentoo-scidir
-
- include $(SCIDIR)/Makefile.incl
-
-diff -Naur examples/interface-tutorial/Makefile examples-new/interface-tutorial/Makefile
---- examples/interface-tutorial/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-tutorial/Makefile 2007-02-11 12:40:47.000000000 -0500
-@@ -1,6 +1,6 @@
- SHELL = /bin/sh
-
--SCIDIR = ../..
-+SCIDIR= gentoo-scidir
-
- LIBRARY = tutorial.a
-
-diff -Naur examples/interface-tutorial-so/Makefile examples-new/interface-tutorial-so/Makefile
---- examples/interface-tutorial-so/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/interface-tutorial-so/Makefile 2007-02-11 12:40:57.000000000 -0500
-@@ -1,4 +1,4 @@
--SCIDIR=../../
-+SCIDIR= gentoo-scidir
-
- include $(SCIDIR)/Makefile.incl
-
-diff -Naur examples/intersci-examples/Makefile examples-new/intersci-examples/Makefile
---- examples/intersci-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/intersci-examples/Makefile 2007-02-11 12:41:21.000000000 -0500
-@@ -1,9 +1,9 @@
- SHELL = /bin/sh
-
--SCIDIR=../..
-+SCIDIR= gentoo-scidir
- INTERSCI = $(SCIDIR)/bin/intersci
-
--include ../../Makefile.incl
-+include $(SCIDIR)/Makefile.incl
-
- all:: info
-
-diff -Naur examples/intersci-examples-so/Makefile examples-new/intersci-examples-so/Makefile
---- examples/intersci-examples-so/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/intersci-examples-so/Makefile 2007-02-11 12:41:32.000000000 -0500
-@@ -2,10 +2,10 @@
-
- SHELL = /bin/sh
-
--SCIDIR=../..
-+SCIDIR= gentoo-scidir
- INTERSCI = $(SCIDIR)/bin/intersci-n
-
--include ../../Makefile.incl
-+include $(SCIDIR)/Makefile.incl
-
- CFLAGS = $(CC_OPTIONS) $(CC_PICFLAGS) -I$(SCIDIR)/routines
- FFLAGS = $(FC_OPTIONS) $(FC_PICFLAGS) -I$(SCIDIR)/routines
-diff -Naur examples/link-examples/Makefile examples-new/link-examples/Makefile
---- examples/link-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/link-examples/Makefile 2007-02-11 12:41:46.000000000 -0500
-@@ -1,6 +1,6 @@
- SHELL = /bin/sh
--SCIDIR=../..
--include ../../Makefile.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Makefile.incl
-
- all:: info
-
-diff -Naur examples/link-examples-so/Makefile examples-new/link-examples-so/Makefile
---- examples/link-examples-so/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/link-examples-so/Makefile 2007-02-11 12:41:57.000000000 -0500
-@@ -1,5 +1,5 @@
- SHELL = /bin/sh
--SCIDIR=../..
-+SCIDIR= gentoo-scidir
-
- include $(SCIDIR)/Makefile.incl
-
-diff -Naur examples/macros-examples/Makefile examples-new/macros-examples/Makefile
---- examples/macros-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/macros-examples/Makefile 2007-02-11 12:42:10.000000000 -0500
-@@ -2,7 +2,7 @@
-
- # SCIDIR must be bound to your running Scilab directory
- # SCIDIR1 also for msvc Makfile
--SCIDIR=../..
-+SCIDIR= gentoo-scidir
- SCIDIR1=..\..
-
- include $(SCIDIR)/Makefile.incl
-diff -Naur examples/man-examples/Makefile examples-new/man-examples/Makefile
---- examples/man-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/man-examples/Makefile 2007-02-11 12:42:23.000000000 -0500
-@@ -1,10 +1,11 @@
- SHELL = /bin/sh
- # just to know where is scilab
--include ../../Path.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Path.incl
-
- # to get FILES_TO_CLEAN
- # include $(SCIDIR)/Makefile.incl
--include ../../Makefile.incl
-+include $(SCIDIR)/Makefile.incl
-
- # provide the list of sub-directories and format request
- # in format.sci
-diff -Naur examples/man-examples-xml/Makefile examples-new/man-examples-xml/Makefile
---- examples/man-examples-xml/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/man-examples-xml/Makefile 2007-02-11 12:42:34.000000000 -0500
-@@ -1,6 +1,7 @@
- SHELL = /bin/sh
- # just to know where is scilab
--include ../../Path.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Path.incl
-
- # to get FILES_TO_CLEAN
- include $(SCIDIR)/Makefile.incl
-diff -Naur examples/mex-examples/Makefile examples-new/mex-examples/Makefile
---- examples/mex-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/mex-examples/Makefile 2007-02-11 12:42:47.000000000 -0500
-@@ -1,7 +1,7 @@
- SHELL = /bin/sh
-
--SCIDIR=../../
--include ../../Makefile.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Makefile.incl
-
-
- SUBDIRS = cmex fmex mexglx mexdll
-diff -Naur examples/misc-examples/Makefile examples-new/misc-examples/Makefile
---- examples/misc-examples/Makefile 2007-02-11 12:00:41.000000000 -0500
-+++ examples-new/misc-examples/Makefile 2007-02-11 12:43:00.000000000 -0500
-@@ -1,7 +1,7 @@
- SHELL = /bin/sh
-
--SCIDIR=../..
--include ../../Makefile.incl
-+SCIDIR= gentoo-scidir
-+include $(SCIDIR)/Makefile.incl
-
- all:: info
-
diff --git a/sci-mathematics/scilab/files/scilab-4.1-header-fix.patch b/sci-mathematics/scilab/files/scilab-4.1-header-fix.patch
deleted file mode 100644
index 423240bc78d0..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1-header-fix.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-diff -Naur scilab-4.1.1/pvm3/pvmgs/pvmgsu_aux.c scilab-4.1.1.new/pvm3/pvmgs/pvmgsu_aux.c
---- scilab-4.1.1/pvm3/pvmgs/pvmgsu_aux.c 2002-10-14 10:28:41.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/pvmgs/pvmgsu_aux.c 2008-01-08 21:14:35.000000000 -0500
-@@ -53,6 +53,8 @@
- #include "pvmgsd.h"
- #include "pvmproto.h"
-
-+#include <strings.h>
-+
- extern int pvm_errno;
- extern int pvmmytid;
- extern int pvmtoplvl;
-diff -Naur scilab-4.1.1/pvm3/src/hoster.c scilab-4.1.1.new/pvm3/src/hoster.c
---- scilab-4.1.1/pvm3/src/hoster.c 2005-11-23 05:12:27.000000000 -0500
-+++ scilab-4.1.1.new/pvm3/src/hoster.c 2008-01-08 21:14:35.000000000 -0500
-@@ -263,6 +263,7 @@
- #include "bfunc.h"
- #include <pvmtev.h>
- #include "global.h"
-+#include <unistd.h>
-
- #ifdef IMA_BEOSCYLD
- #include <string.h>
-diff -Naur scilab-4.1.1/pvm3/src/lpvm.c scilab-4.1.1.new/pvm3/src/lpvm.c
---- scilab-4.1.1/pvm3/src/lpvm.c 2002-10-15 03:40:21.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/src/lpvm.c 2008-01-08 21:14:35.000000000 -0500
-@@ -607,6 +607,7 @@
- #include "waitc.h"
- #include "global.h"
- #include "lmsg.h"
-+#include "unistd.h"
-
- #ifdef IMA_MPP
- #include "pvmmimd.h"
-diff -Naur scilab-4.1.1/pvm3/tracer/cmd.c scilab-4.1.1.new/pvm3/tracer/cmd.c
---- scilab-4.1.1/pvm3/tracer/cmd.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/tracer/cmd.c 2008-01-08 21:14:35.000000000 -0500
-@@ -31,6 +31,8 @@
-
- #include "trcglob.h"
-
-+#include <stdlib.h>
-+
- #ifdef SYSVSTR
- #include <string.h>
- #else
-diff -Naur scilab-4.1.1/pvm3/tracer/tracer.c scilab-4.1.1.new/pvm3/tracer/tracer.c
---- scilab-4.1.1/pvm3/tracer/tracer.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/tracer/tracer.c 2008-01-08 21:14:35.000000000 -0500
-@@ -31,6 +31,8 @@
-
- #include "trcglob.h"
-
-+#include <stdlib.h>
-+
- #ifdef NEEDSSELECTH
- #include <sys/select.h>
- #endif
-diff -Naur scilab-4.1.1/pvm3/tracer/trccompat.c scilab-4.1.1.new/pvm3/tracer/trccompat.c
---- scilab-4.1.1/pvm3/tracer/trccompat.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/tracer/trccompat.c 2008-01-08 21:14:35.000000000 -0500
-@@ -28,6 +28,7 @@
- /* Tracer Headers */
-
- #include "trclib.h"
-+#include <stdlib.h>
-
- #include "trccompat.h"
-
-diff -Naur scilab-4.1.1/pvm3/tracer/trcsort.c scilab-4.1.1.new/pvm3/tracer/trcsort.c
---- scilab-4.1.1/pvm3/tracer/trcsort.c 2002-10-15 08:09:48.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/tracer/trcsort.c 2008-01-08 21:14:35.000000000 -0500
-@@ -28,6 +28,7 @@
- /* Tracer Headers */
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-
-diff -Naur scilab-4.1.1/pvm3/tracer/trcutil.c scilab-4.1.1.new/pvm3/tracer/trcutil.c
---- scilab-4.1.1/pvm3/tracer/trcutil.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.1.new/pvm3/tracer/trcutil.c 2008-01-08 21:14:35.000000000 -0500
-@@ -26,6 +26,7 @@
-
-
- #include "trclib.h"
-+#include <stdlib.h>
-
- #ifdef WIN32
- #include <winsock.h>
-diff -Naur scilab-4.1.1/routines/graphics/Events.c scilab-4.1.1.new/routines/graphics/Events.c
---- scilab-4.1.1/routines/graphics/Events.c 2005-12-07 04:31:48.000000000 -0500
-+++ scilab-4.1.1.new/routines/graphics/Events.c 2008-01-08 21:14:35.000000000 -0500
-@@ -3,6 +3,7 @@
- * jpc@cermics.enpc.fr
- --------------------------------------------------------------------------*/
- #include <stdio.h>
-+#include <string.h>
- #include "bcg.h"
-
- typedef struct but
-diff -Naur scilab-4.1.1/routines/gzvt2/vte.c scilab-4.1.1.new/routines/gzvt2/vte.c
---- scilab-4.1.1/routines/gzvt2/vte.c 2004-10-05 17:07:34.000000000 -0400
-+++ scilab-4.1.1.new/routines/gzvt2/vte.c 2008-01-08 21:15:19.000000000 -0500
-@@ -23,6 +23,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <string.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <gtk/gtk.h>
- #include <gdk/gdkx.h>
-diff -Naur scilab-4.1.1/routines/scicos/matscicos.h scilab-4.1.1.new/routines/scicos/matscicos.h
---- scilab-4.1.1/routines/scicos/matscicos.h 2005-11-05 16:19:15.000000000 -0500
-+++ scilab-4.1.1.new/routines/scicos/matscicos.h 2008-01-08 21:14:35.000000000 -0500
-@@ -10,6 +10,7 @@
- #include <stdio.h>
- #endif
-
-+#include <string.h>
- #include "../machine.h"
- #include "../stack-c.h"
-
diff --git a/sci-mathematics/scilab/files/scilab-4.1-java-pic.patch b/sci-mathematics/scilab/files/scilab-4.1-java-pic.patch
deleted file mode 100644
index 411c29c06be4..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1-java-pic.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur scilab-4.1.old/routines/Javasci/Makefile.in scilab-4.1/routines/Javasci/Makefile.in
---- scilab-4.1.old/routines/Javasci/Makefile.in 2006-07-19 05:08:44.000000000 -0400
-+++ scilab-4.1/routines/Javasci/Makefile.in 2007-03-11 14:09:00.000000000 -0400
-@@ -13,7 +13,7 @@
- OBJSC= javasci_SciStringArray.o javasci_globals.o javasci_Scilab.o javasci_Scilab2.o javasci_SciDoubleArray.o javasci_SciComplexArray.o @GCCFIX@
- OBJSF =
- OBJS = $(OBJSC)
--CFLAGS = $(CC_OPTIONS) $(JAVAINC)
-+CFLAGS = $(CC_OPTIONS) -fPIC $(JAVAINC)
- FLIBS=@FLIBS@
-
- include ../../Makefile.incl
-diff -Naur scilab-4.1.old/routines/Javasci/Makefile.linux scilab-4.1/routines/Javasci/Makefile.linux
---- scilab-4.1.old/routines/Javasci/Makefile.linux 2005-05-23 07:22:17.000000000 -0400
-+++ scilab-4.1/routines/Javasci/Makefile.linux 2007-03-11 14:09:17.000000000 -0400
-@@ -4,4 +4,4 @@
- @echo Creation of $(LIBRARY)
- @$(RM) $@;
- @echo "linking";
-- @$(FC) -Wl,-shared -g -o $@ $(OBJS) $(DEFAULTS) $(LIBR) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
-+ $(CC) -shared -o $@ $(OBJS) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
-diff -Naur scilab-4.1.old/routines/Javasci/Makefile.linux64 scilab-4.1/routines/Javasci/Makefile.linux64
---- scilab-4.1.old/routines/Javasci/Makefile.linux64 2006-06-13 10:14:49.000000000 -0400
-+++ scilab-4.1/routines/Javasci/Makefile.linux64 2007-03-11 14:09:51.000000000 -0400
-@@ -4,4 +4,4 @@
- @echo Creation of $(LIBRARY)
- @$(RM) $@;
- @echo "linking";
-- @$(FC) -shared -g -o $@ $(OBJS) $(DEFAULTS) $(LIBR) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
-+ $(CC) -shared -o $@ $(OBJS) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB);
diff --git a/sci-mathematics/scilab/files/scilab-4.1.2-gcc45-2.patch b/sci-mathematics/scilab/files/scilab-4.1.2-gcc45-2.patch
deleted file mode 100644
index 201f4f6ae0af..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1.2-gcc45-2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- routines/gzvt2/vte.c.old 2011-06-05 01:08:52.000000000 +0200
-+++ routines/gzvt2/vte.c 2011-06-05 01:09:11.612332604 +0200
-@@ -80,7 +80,8 @@
- geometry.min_width = xpad + terminal->char_width * 2;
- geometry.min_height = ypad + terminal->char_height * 2;
-
-- gtk_window_set_geometry_hints(window, widget, &geometry,
-+ if (gtk_widget_get_realized(widget))
-+ gtk_window_set_geometry_hints(window, widget, &geometry,
- GDK_HINT_RESIZE_INC |
- GDK_HINT_BASE_SIZE |
- GDK_HINT_MIN_SIZE);
diff --git a/sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch b/sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch
deleted file mode 100644
index d256625a6765..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Fixing build with gcc 4.5.
-
-http://bugs.gentoo.org/show_bug.cgi?id=321209
-
---- routines/system/msgs.f
-+++ routines/system/msgs.f
-@@ -82,7 +82,7 @@
- call showstack()
- goto 9999
- 109 continue
-- write(buf(1:5),'(1pI5)') ierr
-+ write(buf(1:5),'(I5)') ierr
- call basout(io, wte, 'rank defficient. rank = '//buf(1:5))
- goto 9999
- 110 continue
---- routines/system/Makefile.in
-+++ routines/system/Makefile.in
-@@ -41,6 +41,9 @@
- getsym.o: getsym.f
- $(FC) @FC_OPTIONS2@ -c getsym.f -o getsym.o
-
-+algebre.o: algebre.f
-+ $(FC) $(FC_OPTIONS) -fno-range-check -c $< -o $@
-+
- allops.o: ../stack.h
- bexec.o: ../stack.h
- clause.o: ../stack.h
diff --git a/sci-mathematics/scilab/files/scilab-4.1.2-header-fix.patch b/sci-mathematics/scilab/files/scilab-4.1.2-header-fix.patch
deleted file mode 100644
index 9b68e0268ea7..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1.2-header-fix.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-diff -Naur scilab-4.1.2/pvm3/pvmgs/pvmgsu_aux.c scilab-4.1.2.new/pvm3/pvmgs/pvmgsu_aux.c
---- scilab-4.1.2/pvm3/pvmgs/pvmgsu_aux.c 2002-10-14 10:28:41.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/pvmgs/pvmgsu_aux.c 2008-01-19 07:19:28.000000000 -0500
-@@ -53,6 +53,8 @@
- #include "pvmgsd.h"
- #include "pvmproto.h"
-
-+#include <strings.h>
-+
- extern int pvm_errno;
- extern int pvmmytid;
- extern int pvmtoplvl;
-diff -Naur scilab-4.1.2/pvm3/src/hoster.c scilab-4.1.2.new/pvm3/src/hoster.c
---- scilab-4.1.2/pvm3/src/hoster.c 2005-11-23 05:12:27.000000000 -0500
-+++ scilab-4.1.2.new/pvm3/src/hoster.c 2008-01-19 07:19:28.000000000 -0500
-@@ -263,6 +263,7 @@
- #include "bfunc.h"
- #include <pvmtev.h>
- #include "global.h"
-+#include <unistd.h>
-
- #ifdef IMA_BEOSCYLD
- #include <string.h>
-diff -Naur scilab-4.1.2/pvm3/src/lpvm.c scilab-4.1.2.new/pvm3/src/lpvm.c
---- scilab-4.1.2/pvm3/src/lpvm.c 2002-10-15 03:40:21.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/src/lpvm.c 2008-01-19 07:19:28.000000000 -0500
-@@ -607,6 +607,7 @@
- #include "waitc.h"
- #include "global.h"
- #include "lmsg.h"
-+#include "unistd.h"
-
- #ifdef IMA_MPP
- #include "pvmmimd.h"
-diff -Naur scilab-4.1.2/pvm3/tracer/cmd.c scilab-4.1.2.new/pvm3/tracer/cmd.c
---- scilab-4.1.2/pvm3/tracer/cmd.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/tracer/cmd.c 2008-01-19 07:19:28.000000000 -0500
-@@ -31,6 +31,8 @@
-
- #include "trcglob.h"
-
-+#include <stdlib.h>
-+
- #ifdef SYSVSTR
- #include <string.h>
- #else
-diff -Naur scilab-4.1.2/pvm3/tracer/tracer.c scilab-4.1.2.new/pvm3/tracer/tracer.c
---- scilab-4.1.2/pvm3/tracer/tracer.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/tracer/tracer.c 2008-01-19 07:19:28.000000000 -0500
-@@ -31,6 +31,8 @@
-
- #include "trcglob.h"
-
-+#include <stdlib.h>
-+
- #ifdef NEEDSSELECTH
- #include <sys/select.h>
- #endif
-diff -Naur scilab-4.1.2/pvm3/tracer/trccompat.c scilab-4.1.2.new/pvm3/tracer/trccompat.c
---- scilab-4.1.2/pvm3/tracer/trccompat.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/tracer/trccompat.c 2008-01-19 07:19:28.000000000 -0500
-@@ -28,6 +28,7 @@
- /* Tracer Headers */
-
- #include "trclib.h"
-+#include <stdlib.h>
-
- #include "trccompat.h"
-
-diff -Naur scilab-4.1.2/pvm3/tracer/trcsort.c scilab-4.1.2.new/pvm3/tracer/trcsort.c
---- scilab-4.1.2/pvm3/tracer/trcsort.c 2002-10-15 08:09:48.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/tracer/trcsort.c 2008-01-19 07:19:28.000000000 -0500
-@@ -28,6 +28,7 @@
- /* Tracer Headers */
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-
-diff -Naur scilab-4.1.2/pvm3/tracer/trcutil.c scilab-4.1.2.new/pvm3/tracer/trcutil.c
---- scilab-4.1.2/pvm3/tracer/trcutil.c 2002-10-14 11:00:41.000000000 -0400
-+++ scilab-4.1.2.new/pvm3/tracer/trcutil.c 2008-01-19 07:19:28.000000000 -0500
-@@ -26,6 +26,7 @@
-
-
- #include "trclib.h"
-+#include <stdlib.h>
-
- #ifdef WIN32
- #include <winsock.h>
-diff -Naur scilab-4.1.2/routines/graphics/Events.c scilab-4.1.2.new/routines/graphics/Events.c
---- scilab-4.1.2/routines/graphics/Events.c 2007-09-10 03:52:29.000000000 -0400
-+++ scilab-4.1.2.new/routines/graphics/Events.c 2008-01-19 07:19:28.000000000 -0500
-@@ -3,6 +3,7 @@
- * jpc@cermics.enpc.fr
- --------------------------------------------------------------------------*/
- #include <stdio.h>
-+#include <string.h>
- #include "bcg.h"
-
- typedef struct but
-diff -Naur scilab-4.1.2/routines/gzvt2/vte.c scilab-4.1.2.new/routines/gzvt2/vte.c
---- scilab-4.1.2/routines/gzvt2/vte.c 2004-10-05 17:07:34.000000000 -0400
-+++ scilab-4.1.2.new/routines/gzvt2/vte.c 2008-01-19 07:19:28.000000000 -0500
-@@ -23,6 +23,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <string.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <gtk/gtk.h>
- #include <gdk/gdkx.h>
-diff -Naur scilab-4.1.2/routines/scicos/scoWindowScope.c scilab-4.1.2.new/routines/scicos/scoWindowScope.c
---- scilab-4.1.2/routines/scicos/scoWindowScope.c 2007-10-15 04:45:30.000000000 -0400
-+++ scilab-4.1.2.new/routines/scicos/scoWindowScope.c 2008-01-19 07:20:15.000000000 -0500
-@@ -13,6 +13,7 @@
- #include "scoGetProperty.h"
- #include "scoSetProperty.h"
- #include <stdio.h>
-+#include <string.h>
-
- void scoSetWindowIDInUserData(ScopeMemory * pScopeMemory,int block_number)
- {
diff --git a/sci-mathematics/scilab/files/scilab-4.1.2-java-config.patch b/sci-mathematics/scilab/files/scilab-4.1.2-java-config.patch
deleted file mode 100644
index d0cf9cf7dc7e..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1.2-java-config.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur scilab-4.1.2/m4/java.m4 scilab-4.1.2.new/m4/java.m4
---- scilab-4.1.2/m4/java.m4 2006-10-24 09:22:25.000000000 -0500
-+++ scilab-4.1.2.new/m4/java.m4 2008-02-08 17:54:12.000000000 -0500
-@@ -17,7 +17,7 @@
-
- AC_MSG_CHECKING([for java headers])
-
-- _JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[[^/]]*$::'`
-+ _JTOPDIR=$JAVA_HOME
- case "$host_os" in
- darwin*)
- _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[[^/]]*$::'`
diff --git a/sci-mathematics/scilab/files/scilab-4.1.2-tmp-fix.patch b/sci-mathematics/scilab/files/scilab-4.1.2-tmp-fix.patch
deleted file mode 100644
index f945fe12994c..000000000000
--- a/sci-mathematics/scilab/files/scilab-4.1.2-tmp-fix.patch
+++ /dev/null
@@ -1,133 +0,0 @@
-diff -Naur scilab-4.1.2/bin/scilink scilab-4.1.2.new/bin/scilink
---- scilab-4.1.2/bin/scilink 2001-04-26 03:43:33.000000000 -0400
-+++ scilab-4.1.2.new/bin/scilink 2008-11-07 08:57:27.000000000 -0500
-@@ -15,30 +15,31 @@
- shift
- LOCALPOS=`pwd`
- cd $SCI
--make show | grep -v make > /tmp/SciLink$$1
--sed -e "s+routines/default+\$SD+g" -e "s+libs+\$SL+g" -e "s+./pvm3+\$SPVM+g" /tmp/SciLink$$1 > /tmp/SciLink$$2
-+TMPWRKDIR=`mktemp -d sci.XXXXXXXXXX`
-+make show | grep -v make > $TMPWRKDIR/SciLink$$1
-+sed -e "s+routines/default+\$SD+g" -e "s+libs+\$SL+g" -e "s+./pvm3+\$SPVM+g" $TMPWRKDIR/SciLink$$1 > $TMPWRKDIR/SciLink$$2
- for i in $*
- do
- x=`basename $i`
-- sed "s+\$SD/$x++g" /tmp/SciLink$$2 > /tmp/SciLink$$3
-- rm -f /tmp/SciLink$$2
-- mv /tmp/SciLink$$3 /tmp/SciLink$$2
-+ sed "s+\$SD/$x++g" $TMPWRKDIR/SciLink$$2 > $TMPWRKDIR/SciLink$$3
-+ rm -f $TMPWRKDIR/SciLink$$2
-+ mv $TMPWRKDIR/SciLink$$3 $TMPWRKDIR/SciLink$$2
- done
--echo "#!/bin/sh" > /tmp/SciLink$$3
--echo SCI=$SCI >> /tmp/SciLink$$3
--echo "SD=\$SCI/routines/default" >> /tmp/SciLink$$3
--echo "SPVM=\$SCI/pvm3" >> /tmp/SciLink$$3
--echo "SL=\$SCI/libs" >> /tmp/SciLink$$3
--echo "LOCAL=\"$*\"" >> /tmp/SciLink$$3
--sed -e "s+\$SL+ \$LOCAL \$SL+" -e "s+show+scilex+g" /tmp/SciLink$$2 >> /tmp/SciLink$$3
-+echo "#!/bin/sh" > $TMPWRKDIR/SciLink$$3
-+echo SCI=$SCI >> $TMPWRKDIR/SciLink$$3
-+echo "SD=\$SCI/routines/default" >> $TMPWRKDIR/SciLink$$3
-+echo "SPVM=\$SCI/pvm3" >> $TMPWRKDIR/SciLink$$3
-+echo "SL=\$SCI/libs" >> $TMPWRKDIR/SciLink$$3
-+echo "LOCAL=\"$*\"" >> $TMPWRKDIR/SciLink$$3
-+sed -e "s+\$SL+ \$LOCAL \$SL+" -e "s+show+scilex+g" $TMPWRKDIR/SciLink$$2 >> $TMPWRKDIR/SciLink$$3
- cd $LOCALPOS
--mv /tmp/SciLink$$3 Script
-+mv $TMPWRKDIR/SciLink$$3 Script
- chmod +x Script
- echo "Linking a new Scilab with " $*
- ./Script
- echo "I've created : scilex and scilab which uses that scilex"
- sed -e "s+\$SCI/bin/scilex+`pwd`/scilex+g" $SCI/bin/scilab > scilab
- chmod +x scilab
--#rm -f /tmp/SciLink*
-+#rm -f $TMPWRKDIR/SciLink*
-
-
-diff -Naur scilab-4.1.2/util/scidem scilab-4.1.2.new/util/scidem
---- scilab-4.1.2/util/scidem 2002-09-02 07:14:52.000000000 -0400
-+++ scilab-4.1.2.new/util/scidem 2008-11-07 08:57:27.000000000 -0500
-@@ -6,33 +6,34 @@
- echo ------------------- File $2--------------------
- SCI1=$1
- if [ -f $3 ]; then rm $3;fi;
--trap "rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff\
-+TMPWRKDIR=`mktemp -d sci.XXXXXXXXXX`
-+trap "rm -f $TMPWRKDIR/$2.$$ $TMPWRKDIR/$2.$$.res $TMPWRKDIR/$2.$$.err $TMPWRKDIR/$2.$$.diff\
- ;exit 1" 1 2 13 15
- echo "clear;lines(0);deff('[]=bugmes()','write(%io(2),''error on test'')');\
-- diary('$3');driver('Pos');" >> /tmp/$2.$$ ;
-+ diary('$3');driver('Pos');" >> $TMPWRKDIR/$2.$$ ;
- sed -e "s/pause,end/bugmes();quit;end/" \
- -e "s/halt()//" \
-- $2 >> /tmp/$2.$$ ;
--echo "diary(0);xend();exit;" >> /tmp/$2.$$ ;
--($SCI1/bin/scilab -nwni < /tmp/$2.$$ > /tmp/$2.$$.res ) 2> /tmp/$2.$$.err ;
-+ $2 >> $TMPWRKDIR/$2.$$ ;
-+echo "diary(0);xend();exit;" >> $TMPWRKDIR/$2.$$ ;
-+($SCI1/bin/scilab -nwni < $TMPWRKDIR/$2.$$ > $TMPWRKDIR/$2.$$.res ) 2> $TMPWRKDIR/$2.$$.err ;
- sed -e "s/ \./0\./g" -e "s/E+/D+/g" -e "s/E-/D-/g" -e "s/-\./-0\./g" -e "s/^-->//g" -e "s/^-1->//g" $3 > $3.n
- grep -v "xinit(" $3.n | grep -v "diary(" | grep -v "exec(" > $3
- rm -f $3.n
--if ( grep " error" /tmp/$2.$$.res > /dev/null ) ; then
-+if ( grep " error" $TMPWRKDIR/$2.$$.res > /dev/null ) ; then
- if [ $# != 4 ]; then
- echo "Test failed ERROR DETECTED while executing $2" ;
-- else if (grep "$4" /tmp/$2.$$.res > /dev/null ) ;
-+ else if (grep "$4" $TMPWRKDIR/$2.$$.res > /dev/null ) ;
- then echo Test skipped ;
- else echo "Test failed ERROR DETECTED while executing $2" ;
- fi;
- fi;
- else if [ -f $3.ref ];then
-- if ( diff -w $3 $3.ref > /tmp/$2.$$.diff ) ;
-+ if ( diff -w $3 $3.ref > $TMPWRKDIR/$2.$$.diff ) ;
- then echo Test passed ;
- else echo Test Failed SEE : diff -w $3 $3.ref ;
- fi;
- fi;
- fi;
- echo ----------------------------------------------------------
--#rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff
-+#rm -f $TMPWRKDIR/$2.$$ $TMPWRKDIR/$2.$$.res $TMPWRKDIR/$2.$$.err $TMPWRKDIR/$2.$$.diff
- exit 0
-diff -Naur scilab-4.1.2/util/scidoc scilab-4.1.2.new/util/scidoc
---- scilab-4.1.2/util/scidoc 2006-01-04 09:40:34.000000000 -0500
-+++ scilab-4.1.2.new/util/scidoc 2008-11-07 08:57:27.000000000 -0500
-@@ -7,24 +7,26 @@
- SCI=$1
- export SCI
- if [ -f $3 ]; then rm $3;fi;
--trap "rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff\
-+TMPWRKDIR=`mktemp -d sci.XXXXXXXXXX`
-+trap "rm -f $TMPWRKDIR/$2.$$ $TMPWRKDIR/$2.$$.res $TMPWRKDIR/$2.$$.err $TMPWRKDIR/$2.$$.diff\
- ;exit 1" 1 2 13 15
- echo "clear;lines(0);deff('[]=bugmes()','write(%io(2),''error on test'')');\
-- diary('$3');driver('Pos');" >> /tmp/$2.$$ ;
-+ diary('$3');driver('Pos');" >> $TMPWRKDIR/$2.$$ ;
- sed -e "s/pause,end/bugmes();quit;end/" \
- -e "s/halt()//" \
-- $2 >> /tmp/$2.$$ ;
--echo "diary(0);xend();quit;quit;quit;quit;quit;quit;" >> /tmp/$2.$$ ;
--($SCI/bin/scilex -nw < /tmp/$2.$$ > /tmp/$2.$$.res ) 2> /tmp/$2.$$.err ;
-+ $2 >> $TMPWRKDIR/$2.$$ ;
-+echo "diary(0);xend();quit;quit;quit;quit;quit;quit;" >> $TMPWRKDIR/$2.$$ ;
-+($SCI/bin/scilex -nw < $TMPWRKDIR/$2.$$ > $TMPWRKDIR/$2.$$.res ) 2> $TMPWRKDIR/$2.$$.err ;
- sed -e "s/ \.[0-9]/0&/g" -e "s/0 \./0./g" -e "s/E+/D+/g" -e "s/E-/D-/g" -e "s/-\./-0\./g" $3 > $3.n
- grep -v "xinit(" $3.n | grep -v "diary(" | grep -v "exec(" > $3
- rm -f $3.n
--if ( grep error /tmp/$2.$$.res > /dev/null ) ; then
-+if ( grep error $TMPWRKDIR/$2.$$.res > /dev/null ) ; then
- if [ $# != 4 ]; then
- echo "ERROR DETECTED while executing $2" ;
- fi;
- fi;
- echo ----------------------------------------------------------
--rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff
-+rm -f $TMPWRKDIR/$2.$$ $TMPWRKDIR/$2.$$.res $TMPWRKDIR/$2.$$.err $TMPWRKDIR/$2.$$.diff
-+rmdir $TMPWRKDIR
- exit 0
-
diff --git a/sci-mathematics/scilab/files/scilab-ppc-gcc4.patch b/sci-mathematics/scilab/files/scilab-ppc-gcc4.patch
deleted file mode 100644
index 820586638fcc..000000000000
--- a/sci-mathematics/scilab/files/scilab-ppc-gcc4.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- scilab-4.0/configure.in 2006-01-27 10:13:17.000000000 -0600
-+++ scilab-4.0-new/configure.in 2006-04-26 19:05:17.000000000 -0500
-@@ -894,13 +894,19 @@
- [LIEEELIB=-lieee])
- GCC=yes
- CC=gcc
-- CC_OPTIONS='-O -DNDEBUG -D_GNU_SOURCE -Dlinux -fwritable-strings'
-+ CC_OPTIONS='-O -DNDEBUG -D_GNU_SOURCE -Dlinux'
- CC_LDFLAGS=$LIEEELIB
- CC_PICFLAGS=-fPIC
- # find Fortran compiler
- # g77 already asked and found: good
- if test "$WITH_G77" = yes; then
- FC=g77
-+ elif test "$WITH_GFORTRAN" = yes;then
-+ FC=gfortran
-+ FC_OPTIONS="-O -ff2c"
-+ FC_OPTIONS_O0="-ff2c"
-+ FC_PICFLAGS=-fPIC
-+ AC_DEFINE(G95_FORTRAN)
- # option with-f2c
- elif test "$with_f2c" = yes; then
- AC_CHECK_PROG(F2C,f2c,yes,no)
-@@ -932,7 +938,7 @@
- LD=ld
- LD_LDFLAGS=$LIEEELIB
- if test "$enable_debug" = yes; then
-- CC_OPTIONS='-g -Dlinux -D_GNU_SOURCE -fwritable-strings'
-+ CC_OPTIONS='-g -Dlinux -D_GNU_SOURCE'
- FC_OPTIONS=-g
- fi
- MAKEFILE_TARGET=Makefile.linux
diff --git a/sci-mathematics/scilab/metadata.xml b/sci-mathematics/scilab/metadata.xml
deleted file mode 100644
index 2b0bd5314823..000000000000
--- a/sci-mathematics/scilab/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>sci-mathematics</herd>
-</pkgmetadata>
diff --git a/sci-mathematics/scilab/scilab-4.1.2-r1.ebuild b/sci-mathematics/scilab/scilab-4.1.2-r1.ebuild
deleted file mode 100644
index 43bd30d6dfae..000000000000
--- a/sci-mathematics/scilab/scilab-4.1.2-r1.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-4.1.2-r1.ebuild,v 1.16 2012/10/16 19:06:56 jlec Exp $
-
-EAPI="1"
-
-inherit autotools eutils fortran-2 java-pkg-opt-2 multilib toolchain-funcs
-
-DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)"
-HOMEPAGE="http://www.scilab.org/"
-SRC_URI="http://www.scilab.org/download/${PV}/${P}-src.tar.gz"
-
-SLOT="0"
-LICENSE="scilab"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="gtk java ocaml Xaw3d"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- virtual/cblas
- sys-libs/ncurses
- gtk? (
- virtual/jpeg
- media-libs/libpng
- sys-libs/zlib
- x11-libs/gtk+:2
- x11-libs/vte:0
- gnome-extra/gtkhtml:2
- )
- >=dev-lang/tk-8.4
- >=dev-lang/tcl-8.4
- Xaw3d? ( x11-libs/libXaw3d )
- ocaml? ( dev-lang/ocaml )
- java? ( >=virtual/jdk-1.4 )"
-
-DEPEND="${RDEPEND}
- app-text/sablotron"
-
-pkg_setup() {
- fortran-2_pkg_setup
- java-pkg-opt-2_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-4.0-makefile.patch
- epatch "${FILESDIR}"/${PN}-4.1-java-pic.patch
- epatch "${FILESDIR}"/${P}-header-fix.patch
- epatch "${FILESDIR}"/${PN}-4.1-examples.patch
- epatch "${FILESDIR}"/${P}-java-config.patch
- epatch "${FILESDIR}"/${P}-tmp-fix.patch
- eautoconf
-
- sed \
- -e "/^ATLAS_LAPACKBLAS\>/s,=.*,= $(pkg-config --libs blas cblas lapack)," \
- -e 's,$(SCIDIR)/libs/lapack.a,,' \
- -i Makefile.OBJ.in || die "Failed to fix Makefile.OBJ.in"
-
- sed \
- -e "s:\$(PREFIX):\${D}\$(PREFIX):g" \
- -e "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):g" \
- -i Makefile.in || die "Failed to fix Makefile.in"
-
- sed \
- -e "s|@CC_OPTIONS@|${CFLAGS}|" \
- -e "s|@FC_OPTIONS@|${FFLAGS}|" \
- -e "s|@LD_LDFLAGS@|${LDFLAGS} -lpthread|" \
- -i Makefile.incl.in || die "Failed to fix Makefile.incl.in"
-
- # fix bad C practices by failure of scilab build system to
- # include proper headers
- sed -e "s:-DNOTMPNAM:-DNOTMPNAM -DSYSVSTR -DHASSTDLIB:" \
- -i pvm3/conf/LINUX.def -i pvm3/conf/LINUX64.def || \
- die "Failed to fix pvm3 conf scripts."
-
- # fix examples
- local MAKE_TO_FIX="callsci inter* link* m* interface-multi-so/lib interface-general/lib"
- cd examples/
- for name in ${MAKE_TO_FIX}; do
- sed -e "s:gentoo-scidir:/usr/$(get_libdir)/${P}:" \
- -i ${name}/Makefile || die "Failed to fix examples"
- done
-}
-
-src_compile() {
- local myopts
- myopts="${myopts} --with-atlas-library=/usr/$(get_libdir)"
-
- # the tk interface is the default
- myopts="${myopts} --with-tk"
-
- if [[ $(tc-getFC) =~ gfortran ]]; then
- myopts="${myopts} --with-gfortran"
- fi
-
- econf \
- $(use_with Xaw3d xaw3d) \
- $(use_with gtk gtk2 ) \
- $(use_with ocaml) \
- $(use_with java ) \
- ${myopts}
- env HOME="${S}" emake -j1 all || die "emake failed"
-}
-
-src_install() {
- DESTDIR="${D}" make install || die "installation failed"
-
- # some postinstall fixes
- echo "SCIDIR=/usr/$(get_libdir)/${P}" > \
- "${D}/usr/$(get_libdir)/${P}/Path.incl"
-
- # install docs
- dodoc ACKNOWLEDGEMENTS CHANGES README_Unix RELEASE_NOTES \
- Readme_Visual.txt || die "failed to install docs"
-
- # install examples
- insinto /usr/share/${PN}/
- doins -r examples/ || die "failed to install examples"
-
- insinto /usr/$(get_libdir)/${P}
- doins Makefile.incl || die "failed to install Makefile.incl"
-
- exeinto /usr/$(get_libdir)/${P}
- doexe libtool || die "failed to install libtool"
-
- insinto /usr/$(get_libdir)/${P}/config
- doins config/Makeso.incl || die "failed to install Makeso.incl"
-
- # The compile and install process causes the work folder
- # to be registered as the runtime folder in many files.
- # This is corrected here.
- BAD_REF="${WORKDIR}/${P}"
- FIXED_REF="/usr/$(get_libdir)/${P}"
- local BIN_TO_FIX="Blpr BEpsf Blatexpr2 Blatexprs Blatexpr scilab"
- for i in ${BIN_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/bin/${i} || \
- die "Failed to fix wrapper scripts"
- done
- local MISC_TO_FIX="util/Blatdoc util/Blatdocs"
- for i in ${MISC_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/${i} || \
- die "Failed to fix Blatdocs"
- done
-}
-
-pkg_postinst() {
- einfo "To tell Scilab about your printers, set the environment"
- einfo "variable PRINTERS in the form:"
- einfo
- einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\""
-}
diff --git a/sci-mathematics/scilab/scilab-4.1.2-r2.ebuild b/sci-mathematics/scilab/scilab-4.1.2-r2.ebuild
deleted file mode 100644
index b5e641ad6055..000000000000
--- a/sci-mathematics/scilab/scilab-4.1.2-r2.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-4.1.2-r2.ebuild,v 1.15 2012/10/16 19:06:56 jlec Exp $
-
-EAPI=4
-
-inherit autotools eutils fortran-2 java-pkg-opt-2 multilib toolchain-funcs
-
-DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)"
-HOMEPAGE="http://www.scilab.org/"
-SRC_URI="http://www.scilab.org/download/${PV}/${P}-src.tar.gz"
-
-SLOT="0"
-LICENSE="scilab"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="examples gtk java ocaml Xaw3d"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- virtual/cblas
- sys-libs/ncurses
- gtk? (
- virtual/jpeg
- media-libs/libpng
- sys-libs/zlib
- x11-libs/gtk+:2
- x11-libs/vte:0
- gnome-extra/gtkhtml:2
- )
- >=dev-lang/tk-8.4
- >=dev-lang/tcl-8.4
- Xaw3d? ( x11-libs/libXaw3d )
- ocaml? ( dev-lang/ocaml )
- java? ( >=virtual/jdk-1.4 )"
-
-DEPEND="${RDEPEND}
- app-text/sablotron"
-
-pkg_setup() {
- fortran-2_pkg_setup
- java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-4.0-makefile.patch \
- "${FILESDIR}"/${PN}-4.1-java-pic.patch \
- "${FILESDIR}"/${P}-header-fix.patch \
- "${FILESDIR}"/${PN}-4.1-examples.patch \
- "${FILESDIR}"/${P}-java-config.patch \
- "${FILESDIR}"/${P}-tmp-fix.patch \
- "${FILESDIR}"/${P}-gcc45.patch
- eautoconf
-
- sed \
- -e "/^ATLAS_LAPACKBLAS\>/s,=.*,= $(pkg-config --libs blas cblas lapack)," \
- -e 's,$(SCIDIR)/libs/lapack.a,,' \
- -i Makefile.OBJ.in || die "Failed to fix Makefile.OBJ.in"
-
- sed \
- -e "s:\$(PREFIX):\${D}\$(PREFIX):g" \
- -e "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):g" \
- -i Makefile.in || die "Failed to fix Makefile.in"
-
- sed \
- -e "s|@CC_OPTIONS@|${CFLAGS}|" \
- -e "s|@FC_OPTIONS@|${FFLAGS}|" \
- -e "s|@LD_LDFLAGS@|${LDFLAGS} -lpthread|" \
- -i Makefile.incl.in || die "Failed to fix Makefile.incl.in"
-
- # fix bad C practices by failure of scilab build system to
- # include proper headers
- sed -e "s:-DNOTMPNAM:-DNOTMPNAM -DSYSVSTR -DHASSTDLIB:" \
- -i pvm3/conf/LINUX.def -i pvm3/conf/LINUX64.def || \
- die "Failed to fix pvm3 conf scripts."
-
- # fix examples
- local MAKE_TO_FIX="callsci inter* link* m* interface-multi-so/lib interface-general/lib"
- cd examples/
- for name in ${MAKE_TO_FIX}; do
- sed -e "s:gentoo-scidir:/usr/$(get_libdir)/${P}:" \
- -i ${name}/Makefile || die "Failed to fix examples"
- done
-}
-
-src_configure() {
- local myopts
- myopts="${myopts} --with-atlas-library=/usr/$(get_libdir)"
-
- # the tk interface is the default
- myopts="${myopts} --with-tk"
-
- if [[ $(tc-getFC) =~ gfortran ]]; then
- myopts="${myopts} --with-gfortran"
- fi
-
- econf \
- $(use_with Xaw3d xaw3d) \
- $(use_with gtk gtk2 ) \
- $(use_with ocaml) \
- $(use_with java ) \
- ${myopts}
-}
-
-src_compile() {
- env HOME="${S}" emake -j1 all
-}
-
-src_install() {
- default
-
- # some postinstall fixes
- echo "SCIDIR=/usr/$(get_libdir)/${P}" > \
- "${D}/usr/$(get_libdir)/${P}/Path.incl"
-
- # install docs
- dodoc ACKNOWLEDGEMENTS Readme_Visual.txt
-
- # install examples
- if use examples; then
- insinto /usr/share/${PN}/
- doins -r examples/
- fi
-
- # install static libs since they are needed to link some third
- # party apps (see bug #257252)
- insinto /usr/$(get_libdir)/${P}/libs
- doins libs/*.a
-
- insinto /usr/$(get_libdir)/${P}
- doins Makefile.incl
-
- exeinto /usr/$(get_libdir)/${P}
- doexe libtool
-
- insinto /usr/$(get_libdir)/${P}/config
- doins config/Makeso.incl
-
- # The compile and install process causes the work folder
- # to be registered as the runtime folder in many files.
- # This is corrected here.
- BAD_REF="${WORKDIR}/${P}"
- FIXED_REF="/usr/$(get_libdir)/${P}"
- local BIN_TO_FIX="Blpr BEpsf Blatexpr2 Blatexprs Blatexpr scilab"
- for i in ${BIN_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/bin/${i} || \
- die "Failed to fix wrapper scripts"
- done
- local MISC_TO_FIX="util/Blatdoc util/Blatdocs"
- for i in ${MISC_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/${i} || \
- die "Failed to fix Blatdocs"
- done
-}
-
-pkg_postinst() {
- einfo "To tell Scilab about your printers, set the environment"
- einfo "variable PRINTERS in the form:"
- einfo
- einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\""
-}
diff --git a/sci-mathematics/scilab/scilab-4.1.2-r3.ebuild b/sci-mathematics/scilab/scilab-4.1.2-r3.ebuild
deleted file mode 100644
index fad01a24486f..000000000000
--- a/sci-mathematics/scilab/scilab-4.1.2-r3.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-4.1.2-r3.ebuild,v 1.4 2012/10/16 19:06:56 jlec Exp $
-
-EAPI=4
-
-inherit autotools eutils fortran-2 java-pkg-opt-2 multilib toolchain-funcs
-
-DESCRIPTION="Scientific software package for numerical computations (Matlab lookalike)"
-HOMEPAGE="http://www.scilab.org/"
-SRC_URI="http://www.scilab.org/download/${PV}/${P}-src.tar.gz"
-
-SLOT="0"
-LICENSE="scilab"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="examples gtk java ocaml Xaw3d"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
- virtual/cblas
- sys-libs/ncurses
- gtk? (
- virtual/jpeg
- media-libs/libpng
- sys-libs/zlib
- x11-libs/gtk+:2
- x11-libs/vte:0
- gnome-extra/gtkhtml:2
- )
- >=dev-lang/tk-8.4
- >=dev-lang/tcl-8.4
- Xaw3d? ( x11-libs/libXaw3d )
- ocaml? ( dev-lang/ocaml )
- java? ( >=virtual/jdk-1.4 )"
-
-DEPEND="${RDEPEND}
- app-text/sablotron"
-
-pkg_setup() {
- fortran-2_pkg_setup
- java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-4.0-makefile.patch \
- "${FILESDIR}"/${PN}-4.1-java-pic.patch \
- "${FILESDIR}"/${P}-header-fix.patch \
- "${FILESDIR}"/${PN}-4.1-examples.patch \
- "${FILESDIR}"/${P}-java-config.patch \
- "${FILESDIR}"/${P}-tmp-fix.patch \
- "${FILESDIR}"/${P}-gcc45.patch \
- "${FILESDIR}"/${P}-gcc45-2.patch
- eautoconf
-
- sed \
- -e "/^ATLAS_LAPACKBLAS\>/s,=.*,= $(pkg-config --libs blas cblas lapack)," \
- -e 's,$(SCIDIR)/libs/lapack.a,,' \
- -i Makefile.OBJ.in || die "Failed to fix Makefile.OBJ.in"
-
- sed \
- -e "s:\$(PREFIX):\${D}\$(PREFIX):g" \
- -e "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):g" \
- -i Makefile.in || die "Failed to fix Makefile.in"
-
- sed \
- -e "s|@CC_OPTIONS@|${CFLAGS}|" \
- -e "s|@FC_OPTIONS@|${FFLAGS}|" \
- -e "s|@LD_LDFLAGS@|${LDFLAGS} -lpthread|" \
- -i Makefile.incl.in || die "Failed to fix Makefile.incl.in"
-
- # fix bad C practices by failure of scilab build system to
- # include proper headers
- sed -e "s:-DNOTMPNAM:-DNOTMPNAM -DSYSVSTR -DHASSTDLIB:" \
- -i pvm3/conf/LINUX.def -i pvm3/conf/LINUX64.def || \
- die "Failed to fix pvm3 conf scripts."
-
- # fix examples
- local MAKE_TO_FIX="callsci inter* link* m* interface-multi-so/lib interface-general/lib"
- cd examples/
- for name in ${MAKE_TO_FIX}; do
- sed -e "s:gentoo-scidir:/usr/$(get_libdir)/${P}:" \
- -i ${name}/Makefile || die "Failed to fix examples"
- done
-}
-
-src_configure() {
- local myopts
- myopts="${myopts} --with-atlas-library=/usr/$(get_libdir)"
-
- # the tk interface is the default
- myopts="${myopts} --with-tk"
-
- if [[ $(tc-getFC) =~ gfortran ]]; then
- myopts="${myopts} --with-gfortran"
- fi
-
- econf \
- $(use_with Xaw3d xaw3d) \
- $(use_with gtk gtk2 ) \
- $(use_with ocaml) \
- $(use_with java ) \
- ${myopts}
-}
-
-src_compile() {
- env HOME="${S}" emake -j1 all
-}
-
-src_install() {
- default
-
- # some postinstall fixes
- echo "SCIDIR=/usr/$(get_libdir)/${P}" > \
- "${D}/usr/$(get_libdir)/${P}/Path.incl"
-
- # install docs
- dodoc ACKNOWLEDGEMENTS Readme_Visual.txt
-
- # install examples
- if use examples; then
- insinto /usr/share/${PN}/
- doins -r examples/
- fi
-
- # install static libs since they are needed to link some third
- # party apps (see bug #257252)
- insinto /usr/$(get_libdir)/${P}/libs
- doins libs/*.a
-
- insinto /usr/$(get_libdir)/${P}
- doins Makefile.incl
-
- exeinto /usr/$(get_libdir)/${P}
- doexe libtool
-
- insinto /usr/$(get_libdir)/${P}/config
- doins config/Makeso.incl
-
- # The compile and install process causes the work folder
- # to be registered as the runtime folder in many files.
- # This is corrected here.
- BAD_REF="${WORKDIR}/${P}"
- FIXED_REF="/usr/$(get_libdir)/${P}"
- local BIN_TO_FIX="Blpr BEpsf Blatexpr2 Blatexprs Blatexpr scilab"
- for i in ${BIN_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/bin/${i} || \
- die "Failed to fix wrapper scripts"
- done
- local MISC_TO_FIX="util/Blatdoc util/Blatdocs"
- for i in ${MISC_TO_FIX}; do
- sed -e "s%${BAD_REF}%${FIXED_REF}%" -i \
- "${D}"/usr/$(get_libdir)/${P}/${i} || \
- die "Failed to fix Blatdocs"
- done
-}
-
-pkg_postinst() {
- einfo "To tell Scilab about your printers, set the environment"
- einfo "variable PRINTERS in the form:"
- einfo
- einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\""
-}