1 |
jlec 13/12/07 18:50:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: octave-3.6.4-r1.ebuild |
5 |
Log: |
6 |
sci-mathematics/octave: Get gcc-4.8 fix from debian, #492488, https://savannah.gnu.org/bugs/?38746, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705485 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.146 sci-mathematics/octave/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.146&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.146&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.145&r2=1.146 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v |
20 |
retrieving revision 1.145 |
21 |
retrieving revision 1.146 |
22 |
diff -u -r1.145 -r1.146 |
23 |
--- ChangeLog 18 Jul 2013 17:46:50 -0000 1.145 |
24 |
+++ ChangeLog 7 Dec 2013 18:50:41 -0000 1.146 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sci-mathematics/octave |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.145 2013/07/18 17:46:50 chithanh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.146 2013/12/07 18:50:41 jlec Exp $ |
30 |
+ |
31 |
+*octave-3.6.4-r1 (07 Dec 2013) |
32 |
+ |
33 |
+ 07 Dec 2013; Justin Lecher <jlec@g.o> +octave-3.6.4-r1.ebuild, |
34 |
+ +files/octave-3.6.4-gcc-4.8.patch: |
35 |
+ Get gcc-4.8 fix from debian, #492488, https://savannah.gnu.org/bugs/?38746, |
36 |
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705485 |
37 |
|
38 |
18 Jul 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
39 |
octave-3.6.4.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-mathematics/octave/octave-3.6.4-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.4-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.6.4-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: octave-3.6.4-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.6.4-r1.ebuild,v 1.1 2013/12/07 18:50:41 jlec Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
AUTOTOOLS_AUTORECONF=1 |
57 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
58 |
|
59 |
inherit autotools-utils multilib toolchain-funcs fortran-2 |
60 |
|
61 |
DESCRIPTION="High-level interactive language for numerical computations" |
62 |
LICENSE="GPL-3" |
63 |
HOMEPAGE="http://www.octave.org/" |
64 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" |
65 |
|
66 |
SLOT="0/${PV}" |
67 |
IUSE="curl doc fftw +glpk gnuplot hdf5 +imagemagick opengl postscript |
68 |
+qhull +qrupdate readline +sparse static-libs X zlib" |
69 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
70 |
|
71 |
RDEPEND=" |
72 |
app-text/ghostscript-gpl |
73 |
dev-libs/libpcre |
74 |
sys-libs/ncurses |
75 |
virtual/lapack |
76 |
curl? ( net-misc/curl ) |
77 |
fftw? ( sci-libs/fftw:3.0 ) |
78 |
glpk? ( sci-mathematics/glpk ) |
79 |
gnuplot? ( sci-visualization/gnuplot ) |
80 |
hdf5? ( sci-libs/hdf5 ) |
81 |
imagemagick? ( || ( |
82 |
media-gfx/graphicsmagick[cxx] |
83 |
media-gfx/imagemagick[cxx] ) ) |
84 |
opengl? ( |
85 |
media-libs/freetype:2 |
86 |
media-libs/fontconfig |
87 |
>=x11-libs/fltk-1.3:1[opengl] |
88 |
virtual/glu ) |
89 |
postscript? ( |
90 |
app-text/epstool |
91 |
media-gfx/pstoedit |
92 |
media-gfx/transfig ) |
93 |
qhull? ( media-libs/qhull ) |
94 |
qrupdate? ( sci-libs/qrupdate ) |
95 |
readline? ( sys-libs/readline ) |
96 |
sparse? ( |
97 |
sci-libs/arpack |
98 |
sci-libs/camd |
99 |
sci-libs/ccolamd |
100 |
sci-libs/cholmod |
101 |
sci-libs/colamd |
102 |
sci-libs/cxsparse |
103 |
sci-libs/umfpack ) |
104 |
X? ( x11-libs/libX11 ) |
105 |
zlib? ( sys-libs/zlib )" |
106 |
|
107 |
DEPEND="${RDEPEND} |
108 |
doc? ( |
109 |
virtual/latex-base |
110 |
dev-texlive/texlive-genericrecommended |
111 |
sys-apps/texinfo ) |
112 |
dev-util/gperf |
113 |
virtual/pkgconfig" |
114 |
|
115 |
PATCHES=( |
116 |
"${FILESDIR}"/${PN}-3.4.3-{pkgbuilddir,texi}.patch |
117 |
"${FILESDIR}"/${PN}-3.6.3-legendtext.patch |
118 |
"${FILESDIR}"/${P}-texinfo.patch |
119 |
"${FILESDIR}"/${P}-gcc-4.8.patch |
120 |
) |
121 |
|
122 |
src_prepare() { |
123 |
# nasty prefix hack for fltk:1 linking |
124 |
if use prefix && use opengl; then |
125 |
sed -i \ |
126 |
-e "s:ldflags\`:ldflags\` -Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/fltk-1:" \ |
127 |
configure.ac |
128 |
fi |
129 |
autotools-utils_src_prepare |
130 |
} |
131 |
|
132 |
src_configure() { |
133 |
# occasional fail on install, force regeneration (bug #401189) |
134 |
rm doc/interpreter/contributors.texi || die |
135 |
|
136 |
# unfortunate dependency on mpi from hdf5 (bug #302621) |
137 |
use hdf5 && has_version sci-libs/hdf5[mpi] && \ |
138 |
export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77 |
139 |
|
140 |
local myeconfargs=( |
141 |
--localstatedir="${EPREFIX}/var/state/octave" |
142 |
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" |
143 |
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" |
144 |
$(use_enable prefix rpath) |
145 |
$(use_enable doc docs) |
146 |
$(use_enable readline) |
147 |
$(use_with curl) |
148 |
$(use_with fftw fftw3) |
149 |
$(use_with fftw fftw3f) |
150 |
$(use_with glpk) |
151 |
$(use_with hdf5) |
152 |
$(use_with opengl) |
153 |
$(use_with qhull) |
154 |
$(use_with qrupdate) |
155 |
$(use_with sparse arpack) |
156 |
$(use_with sparse umfpack) |
157 |
$(use_with sparse colamd) |
158 |
$(use_with sparse ccolamd) |
159 |
$(use_with sparse cholmod) |
160 |
$(use_with sparse cxsparse) |
161 |
$(use_with X x) |
162 |
$(use_with zlib z) |
163 |
) |
164 |
if use imagemagick; then |
165 |
if has_version media-gfx/graphicsmagick[cxx]; then |
166 |
myeconfargs+=( "--with-magick=GraphicsMagick" ) |
167 |
else |
168 |
myeconfargs+=( "--with-magick=ImageMagick" ) |
169 |
fi |
170 |
else |
171 |
myeconfargs+=( "--without-magick" ) |
172 |
fi |
173 |
autotools-utils_src_configure |
174 |
} |
175 |
|
176 |
src_install() { |
177 |
autotools-utils_src_install |
178 |
use doc && dodoc $(find doc -name \*.pdf) |
179 |
[[ -e test/fntests.log ]] && dodoc test/fntests.log |
180 |
echo "LDPATH=${EROOT%/}/usr/$(get_libdir)/${P}" > 99octave |
181 |
doenvd 99octave |
182 |
} |