From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/fsl/, sci-biology/fsl/files/
Date: Thu, 5 Jan 2017 19:28:23 +0000 (UTC) [thread overview]
Message-ID: <1483528391.eda8f3c599b7c146c971ba0295235a99604062b8.jlec@gentoo> (raw)
commit: eda8f3c599b7c146c971ba0295235a99604062b8
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed Jan 4 11:13:11 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 11:13:11 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=eda8f3c5
sci-biology/fsl: fixed outstanding FSLDIR and GUI issues (#716)
* sci-biology/fsl: addressing FSLDIR via symlinks
* sci-biology/fsl: fixed FSL GUI
Package-Manager: Portage-2.3.3, Repoman-2.3.1
* sci-biology/fsl: EAPI update
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-biology/fsl/files/99fsl | 2 +-
sci-biology/fsl/fsl-5.0.8.ebuild | 11 +++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/sci-biology/fsl/files/99fsl b/sci-biology/fsl/files/99fsl
index ca37941..41db5c5 100644
--- a/sci-biology/fsl/files/99fsl
+++ b/sci-biology/fsl/files/99fsl
@@ -2,4 +2,4 @@ FSLOUTPUTTYPE=NIFTI_GZ
FSLMULTIFILEQUIT=TRUE
FSLTCLSH=tclsh
FSLWISH=wish
-FSLDIR=/usr
+FSLDIR=/usr/share/fsl
diff --git a/sci-biology/fsl/fsl-5.0.8.ebuild b/sci-biology/fsl/fsl-5.0.8.ebuild
index 3e9dc99..f6e57d1 100644
--- a/sci-biology/fsl/fsl-5.0.8.ebuild
+++ b/sci-biology/fsl/fsl-5.0.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils toolchain-funcs prefix
@@ -87,6 +87,7 @@ src_prepare(){
$(grep -rl "\'\${FSLDIR}\'/doc" src/*)
sed -i -e "s:\$FSLDIR/etc:/etc:g" `grep -rlI \$FSLDIR/etc *`
+ default
}
src_compile() {
@@ -127,6 +128,12 @@ src_install() {
# doins etc/matlab
#fi
+ #the following is needed for FSL and depending programs to be able
+ #to find its files, since FSL uses an uncommon:
+ #https://github.com/gentoo-science/sci/pull/612#r60289295
+ dosym /etc /usr/share/fsl/etc
+ dosym /usr/share/doc/${P} /usr/share/fsl/doc
+
doenvd "${FILESDIR}"/99fsl
mv "${ED}"/usr/bin/{,fsl_}cluster || die
}
next reply other threads:[~2017-01-05 19:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 19:28 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-18 10:48 [gentoo-commits] proj/sci:master commit in: sci-biology/fsl/, sci-biology/fsl/files/ Andrew Ammerlaan
2020-01-30 15:22 Horea Christian
2018-10-21 14:30 Horea Christian
2015-04-20 1:11 Francois Bissey
2015-04-20 1:11 Francois Bissey
2015-04-20 1:11 Francois Bissey
2015-04-20 1:11 Francois Bissey
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=1483528391.eda8f3c599b7c146c971ba0295235a99604062b8.jlec@gentoo \
--to=jlec@gentoo.org \
--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