From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD7DA138CA3 for ; Mon, 20 Apr 2015 01:12:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97FCDE08B1; Mon, 20 Apr 2015 01:11:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A6F2E08B1 for ; Mon, 20 Apr 2015 01:11:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5911D340C8D for ; Mon, 20 Apr 2015 01:11:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E2F7164E5 for ; Mon, 20 Apr 2015 01:11:36 +0000 (UTC) From: "Francois Bissey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Francois Bissey" Message-ID: <1428545249.c936a53ac9ac5f4e923326f9dfbfac3739b2dde2.fbissey@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/fsl/, sci-biology/fsl/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/fsl/ChangeLog sci-biology/fsl/files/fsl-5.0.4-fsldir_redux.patch X-VCS-Directories: sci-biology/fsl/ sci-biology/fsl/files/ X-VCS-Committer: fbissey X-VCS-Committer-Name: Francois Bissey X-VCS-Revision: c936a53ac9ac5f4e923326f9dfbfac3739b2dde2 X-VCS-Branch: master Date: Mon, 20 Apr 2015 01:11:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 31eaedaf-287b-499c-82e0-4fead39bd545 X-Archives-Hash: a85f269cb963836b221c48556ce87017 commit: c936a53ac9ac5f4e923326f9dfbfac3739b2dde2 Author: Horea Christian mail ru> AuthorDate: Thu Apr 9 02:07:29 2015 +0000 Commit: Francois Bissey massey ac nz> CommitDate: Thu Apr 9 02:07:29 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c936a53a removed 5.0.4 redux patch Package-Manager: portage-2.2.18 sci-biology/fsl/ChangeLog | 3 + sci-biology/fsl/files/fsl-5.0.4-fsldir_redux.patch | 467 --------------------- 2 files changed, 3 insertions(+), 467 deletions(-) diff --git a/sci-biology/fsl/ChangeLog b/sci-biology/fsl/ChangeLog index e509710..f97b5da 100644 --- a/sci-biology/fsl/ChangeLog +++ b/sci-biology/fsl/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Apr 2015; -files/fsl-5.0.4-fsldir_redux.patch: + removed 5.0.4 redux patch + 07 Apr 2015; -fsl-5.0.4.ebuild, -fsl-5.0.5.ebuild: removed ebuilds with unavailable sources diff --git a/sci-biology/fsl/files/fsl-5.0.4-fsldir_redux.patch b/sci-biology/fsl/files/fsl-5.0.4-fsldir_redux.patch deleted file mode 100644 index 06f6445..0000000 --- a/sci-biology/fsl/files/fsl-5.0.4-fsldir_redux.patch +++ /dev/null @@ -1,467 +0,0 @@ ---- src/fast4/fast_two.cc.orig 2013-10-19 23:45:02.636971888 +1300 -+++ src/fast4/fast_two.cc 2013-10-19 23:46:45.436138299 +1300 -@@ -166,7 +166,7 @@ - string csfPriorName, grayPriorName, whitePriorName; - if(alternatePriors.unset()) - { -- string priorRootName=string(getenv("FSLDIR")) + "/data/standard/tissuepriors/avg152T1_"; -+ string priorRootName="@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/tissuepriors/avg152T1_"; - csfPriorName = priorRootName+"csf"; - grayPriorName = priorRootName+"gray"; - whitePriorName = priorRootName+"white"; -@@ -215,15 +215,15 @@ - if(bapused>0) - { - char reg[1024]; -- sprintf(reg, "%s/bin/flirt -ref %s -in %s -out %s -applyxfm -init %s", getenv("FSLDIR"), inname.c_str(), csfPriorName.c_str(), (main_prior_vol+"_csf_stdspace").c_str(), bapriori.value().c_str()); -+ sprintf(reg, "flirt -ref %s -in %s -out %s -applyxfm -init %s", inname.c_str(), csfPriorName.c_str(), (main_prior_vol+"_csf_stdspace").c_str(), bapriori.value().c_str()); - if(verbose.value()) - cout< normalisedContrasts, model, triggers; -- string fmriFileName, fslPath, featdir, vType, indexText; -+ string fmriFileName, featdir, vType, indexText; - ColumnVector NewimageVoxCoord(4),NiftiVoxCoord(4); - bool outputText(true), useCoordinate(false), prewhiten(false), useTriggers(false), customMask(false), modelFree(false), isHigherLevel(false), outputDataOnly(false); - bool zWeightClusters(true); -@@ -307,7 +307,6 @@ - if (argc<2) usage(""); - featdir=string(argv[1]); - fmriFileName=featdir+"/filtered_func_data"; -- fslPath=string(getenv("FSLDIR")); - - string outputName(featdir); - -@@ -725,7 +724,7 @@ - cerr << "Can't open output report file " << outputName << endl; - exit(1); - } -- outputFile << "\n"<< statType << num2str(i) <<"\n\n
\n

FEAT Time Series Report - "<< statType << num2str(i) <<"

\n
\n
Full plots

\n"<< graphText; -+ outputFile << "\n"<< statType << num2str(i) <<"\n\n


\n

FEAT Time Series Report - "<< statType << num2str(i) <<"

\n
\n
Full plots

\n"<< graphText; - if (useTriggers) outputFile << "\n


Peristimulus plots

\n"<< peristimulusText <<"\n


\n\n"; - else outputFile << "\n\n\n"; - outputFile.close(); -@@ -740,7 +739,7 @@ - cerr << "Can't open output report file " << outputName << endl; - exit(1); - } -- outputFile << "\nFEAT Time Series Report\n\n
\n

FEAT Time Series Report

\n
\n
" << indexText << "
" << endl << endl; -+ outputFile << "\nFEAT Time Series Report\n\n
\n

FEAT Time Series Report

\n
\n
" << indexText << "
" << endl << endl; - outputFile.close(); - - /* now output same thing without start and end, for inclusion in feat report */ ---- src/feat5/feat_model.cc.orig 2013-10-19 23:52:13.456668655 +1300 -+++ src/feat5/feat_model.cc 2013-10-19 23:53:31.655795065 +1300 -@@ -734,7 +734,6 @@ - vector G; - vector titles; - float tr, mult, trmult, nltffwhm=0, maxconvwin=0; -- char fl[10000], *FSLDIR; - string fn, filename; - FONT_DATA *font_data = new FONT_DATA[1]; - -@@ -753,8 +752,6 @@ - if (argc==3) - motionparams=remmean(read_ascii_matrix(argv[2])); - -- FSLDIR=getenv("FSLDIR"); -- - fn = string(argv[1])+".fsf"; - - level = atoi(find_line(fn, "fmri(level)", fl)); -@@ -1479,7 +1476,7 @@ - writeCovarianceImage(string(argv[1])+"_cov.ppm", contrasts, F, nftests, realDesign, level, evs.eigenvals, font_data, contrasts.RE); - writeImagePreview(string(argv[1])+".ppm", contrasts, F, nftests, realDesign, level, evs, font_data, titles, tr, nltffwhm, nTimepoints, G); - -- filename=string(getenv("FSLDIR"))+"/bin/wpng -q -overwrite "+string(argv[1])+".ppm "; -+ filename="wpng -q -overwrite "+string(argv[1])+".ppm "; - system(filename.c_str()); - - return(0); -@@ -2122,6 +2119,6 @@ - - fclose(outputfile); - -- filename=string(getenv("FSLDIR")) + "/bin/wpng -q -overwrite " + filename; -+ filename="wpng -q -overwrite " + filename; - system(filename.c_str()); - } ---- src/first/first_utils.cc.orig 2013-10-19 23:54:30.375890034 +1300 -+++ src/first/first_utils.cc 2013-10-19 23:59:11.706344887 +1300 -@@ -1954,8 +1954,8 @@ - if (!surfaceVAout.value()) { - // do not output on the surface, instead do the new default of outputting a volume with the scalar normal dot product values (for use with randomise) - volume refim; -- if (useReconMNI.value()) { read_volume(refim,string(getenv("FSLDIR")) + "/data/standard/MNI152_T1_1mm"); } -- else { read_volume(refim,string(getenv("FSLDIR")) + "/data/standard/MNI152_T1_1mm"); } -+ if (useReconMNI.value()) { read_volume(refim,"@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/MNI152_T1_1mm"); } -+ else { read_volume(refim,"@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/MNI152_T1_1mm"); } - volume maskvol(refim); - maskvol=0.0f; - volume4D volnormals; ---- src/fnirt/fnirtfns.cpp.orig 2013-10-20 00:00:18.106452166 +1300 -+++ src/fnirt/fnirtfns.cpp 2013-10-20 00:04:56.005901533 +1300 -@@ -1203,8 +1203,7 @@ - return(string(ref_fname)); - } - else { -- const char *fsldir_ptr = getenv("FSLDIR"); -- string eref_fname = string(fsldir_ptr) + string("/data/standard/") + ref_fname; -+ string eref_fname = string("@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/") + ref_fname; - if (NEWIMAGE::fsl_imageexists(eref_fname)) return(eref_fname); - else return(string("")); - } -@@ -1230,9 +1229,8 @@ - NEWIMAGE::read_volume_hdr_only(vref,ref_fname); // Throws if file dont exist - eref_fname = ref_fname; - } -- catch(...) { // Didn't exist in current directory, try in ${FSLDIR}/data/standard -- const char *fsldir_ptr = getenv("FSLDIR"); -- eref_fname = string(fsldir_ptr) + string("/data/standard/") + ref_fname; -+ catch(...) { // Didn't exist in current directory, try in .../data/standard -+ eref_fname = string("@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/") + ref_fname; - try { - cout << "Could not find " << ref_fname << ", now checking " << eref_fname << endl; - NEWIMAGE::read_volume_hdr_only(vref,eref_fname); // Throws if file dont exist -@@ -1267,8 +1265,7 @@ - if (check_exist(ecfname)) return(ecfname); - } - if (!FNIRT::path(cfname).length()) { // If no path explicitly given -- const char *fsldir_ptr = getenv("FSLDIR"); -- ecfname = string(fsldir_ptr) + string("/etc/flirtsch/") + cfname; -+ ecfname = string("@GENTOO_PORTAGE_EPREFIX@/etc/flirtsch/") + cfname; - if (check_exist(ecfname)) return(ecfname); - else if (!FNIRT::extension(ecfname).length()) { // If no path _and_ no extension given - ecfname += string(".cnf"); ---- src/fslsurface/fslsurface_first.cc.orig 2013-10-20 00:05:35.495965454 +1300 -+++ src/fslsurface/fslsurface_first.cc 2013-10-20 00:06:54.346092913 +1300 -@@ -500,8 +500,7 @@ - - volume* immni = new volume(); - -- char* fsldir = getenv("FSLDIR"); -- read_volume_hdr_only(*immni, string(fsldir) + "/data/standard/MNI152_T1_1mm"); -+ read_volume_hdr_only(*immni, "@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/MNI152_T1_1mm"); - - //read_volume_hdr_only(*immni, template_name); - -@@ -699,8 +698,7 @@ - - volume* immni = new volume(); - -- char* fsldir = getenv("FSLDIR"); -- read_volume_hdr_only(*immni, string(fsldir) + "/data/standard/MNI152_T1_1mm"); -+ read_volume_hdr_only(*immni, "@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/data/standard/MNI152_T1_1mm"); - - //read_volume_hdr_only(*immni, template_name); - ---- src/fslsurface/fslsurfacemaths.cpp.orig 2013-10-20 00:07:39.457165850 +1300 -+++ src/fslsurface/fslsurfacemaths.cpp 2013-10-20 00:09:28.396341998 +1300 -@@ -598,12 +598,6 @@ - - }else if (command == "-reconFromBvars"){ - cout<<"do recon "<" << endl -+ "@GENTOO_PORTAGE_EPREFIX@/usr/share/fsl/doc/fsl.css>" << endl - << "" - << "FSL" << endl - << "