public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guillaume Horel" <guillaume.horel@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/scilab/
Date: Mon, 19 Sep 2011 03:45:25 +0000 (UTC)	[thread overview]
Message-ID: <cd3f889832beb61ac6c19b19c48bd833f9c5a084.guillaume_horel@gentoo> (raw)

commit:     cd3f889832beb61ac6c19b19c48bd833f9c5a084
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 03:44:38 2011 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Mon Sep 19 03:44:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cd3f8898

[sci-libs/scilab] Various fixes

---
 sci-mathematics/scilab/ChangeLog           |    4 ++++
 sci-mathematics/scilab/scilab-5.3.2.ebuild |   15 +++++++++------
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/scilab/ChangeLog b/sci-mathematics/scilab/ChangeLog
index 9916297..b889a95 100644
--- a/sci-mathematics/scilab/ChangeLog
+++ b/sci-mathematics/scilab/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  19 Sep 2011; Guillaume Horel <guillaume.horel@gmail.com> scilab-5.3.2.ebuild:
+  make sure the BLAS_LIBS variable is used
+  see #373565
+
   30 Jun 2011; Guillaume Horel <guillaume.horel@gmail.com> scilab-5.3.2.ebuild:
   Added hdf-java dependency to xcos
 

diff --git a/sci-mathematics/scilab/scilab-5.3.2.ebuild b/sci-mathematics/scilab/scilab-5.3.2.ebuild
index 72ea6aa..adddadb 100644
--- a/sci-mathematics/scilab/scilab-5.3.2.ebuild
+++ b/sci-mathematics/scilab/scilab-5.3.2.ebuild
@@ -21,8 +21,7 @@ KEYWORDS="~amd64 ~x86"
 # http://wiki.scilab.org/Dependencies_of_Scilab_5.X
 RDEPEND="virtual/lapack
 	tk? ( dev-lang/tk )
-	xcos? ( dev-lang/ocaml
-			dev-java/hdf-java )
+	xcos? ( dev-lang/ocaml )
 	umfpack? ( sci-libs/umfpack )
 	gui? ( >=virtual/jre-1.5
 		dev-java/commons-logging
@@ -49,7 +48,8 @@ DEPEND="${RDEPEND}
 		app-text/docbook-xsl-stylesheets )"
 
 pkg_setup() {
-	CHECKREQS_MEMORY="512"
+	use doc && CHECKREQS_MEMORY="512M"
+	check-reqs_pkg_setup
 	java-pkg-2_pkg_setup
 
 	# temp Bug 6593 upstream, fixed
@@ -58,12 +58,15 @@ pkg_setup() {
 
 src_prepare() {
 	# Increases java heap to 512M when available, when building docs
-	check_reqs_conditional && epatch "${FILESDIR}/java-heap-${PV}.patch"
+	use doc && epatch "${FILESDIR}/java-heap-${PV}.patch"
 	# fix scilib path
 	epatch "${FILESDIR}/${P}-scilib-fix.patch"
 	# bug 9268 reported upstream http://bugzilla.scilab.org/show_bug.cgi?id=9268
 	epatch "${FILESDIR}"/bug_9268.diff
 
+	#bug 9824 upstream
+	sed -i "/BLAS_LIBS=$/d" m4/libsmath.m4
+
 	sed -i "s|-L\$SCI_SRCDIR/bin/|-L\$SCI_SRCDIR/bin/ \
 		-L$(java-config -i gluegen) \
 		-L$(java-config -i jogl)|" \
@@ -84,7 +87,7 @@ src_configure() {
 	use doc && myopts="--with-docbook=/usr/share/sgml/docbook/xsl-stylesheets"
 	# javac complained about (j)hdf
 	use hdf5 && myopts="$myopts --with-hdf5-library=$(java-config -i hdf-java)"
-	export JAVA_HOME=$(java-config -O)
+	export JAVA_HOME="$(java-config -O)"
 	export BLAS_LIBS="$(pkg-config --libs blas)"
 	export LAPACK_LIBS="$(pkg-config --libs lapack)"
 
@@ -101,7 +104,7 @@ src_configure() {
 		$(use_with matio) \
 		$(use_with umfpack) \
 		$(use_with tk) \
-		$(use_with xcos) \
+		$(use_with xcos scicos) \
 		${myopts}
 }
 



             reply	other threads:[~2011-09-19  3:45 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19  3:45 Guillaume Horel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-mathematics/scilab/ Andrew Ammerlaan
2021-03-21 12:38 Andrew Ammerlaan
2021-01-25  8:46 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2021-01-11 18:12 Andrew Ammerlaan
2021-01-11 18:11 Andrew Ammerlaan
2015-09-21 19:05 Justin Lecher
2015-09-01  7:57 Justin Lecher
2015-07-31 10:09 Justin Lecher
2015-07-31 10:09 Justin Lecher
2015-07-23 21:06 Jauhien Piatlicki
2015-07-10  3:59 Nicolas Bock
2015-02-01  3:01 Guillaume Horel
2015-02-01  3:01 Guillaume Horel
2014-11-01 16:44 Guillaume Horel
2014-05-05 22:44 Guillaume Horel
2013-11-01  1:59 Guillaume Horel
2013-11-01  1:59 Guillaume Horel
2013-10-21 21:41 Christoph Junghans
2013-06-03 23:33 Christoph Junghans
2013-05-10  0:34 Guillaume Horel
2013-02-22 10:15 Justin Lecher
2013-01-19 17:46 Guillaume Horel
2013-01-08  2:27 Guillaume Horel
2012-11-27  3:30 Guillaume Horel
2012-10-18 14:06 Guillaume Horel
2012-10-18  4:34 Guillaume Horel
2012-10-18  4:28 Guillaume Horel
2012-10-02  5:50 Guillaume Horel
2012-09-25  6:08 Guillaume Horel
2012-08-11 22:23 Guillaume Horel
2012-05-30  1:26 Guillaume Horel
2011-12-23  1:02 Guillaume Horel
2011-06-30 13:44 Guillaume Horel
2011-06-30 13:44 Guillaume Horel
2011-06-24 17:09 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd3f889832beb61ac6c19b19c48bd833f9c5a084.guillaume_horel@gentoo \
    --to=guillaume.horel@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox