Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: metadata.xml ChangeLog octave-3.4.3-r1.ebuild octave-3.4.3.ebuild octave-3.4.0-r2.ebuild octave-3.2.4-r3.ebuild
Date: Tue, 03 Jan 2012 02:24:20
Message-Id: 20120103022405.1948B2004C@flycatcher.gentoo.org
1 bicatali 12/01/03 02:24:05
2
3 Modified: metadata.xml ChangeLog
4 Added: octave-3.4.3-r1.ebuild
5 Removed: octave-3.4.3.ebuild octave-3.4.0-r2.ebuild
6 octave-3.2.4-r3.ebuild
7 Log:
8 Added glpk, qhull, qrupdate use flags to allow minimal no graphics build and take care of some automagic. Removed fltk flag, the native graphics need opengl anyway. Gnuplot is not a dependencency anymore (more a suggested one).
9
10 (Portage version: 2.1.10.41/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.6 sci-mathematics/octave/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/metadata.xml?rev=1.6&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/metadata.xml?rev=1.6&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/metadata.xml?r1=1.5&r2=1.6
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/metadata.xml,v
22 retrieving revision 1.5
23 retrieving revision 1.6
24 diff -u -r1.5 -r1.6
25 --- metadata.xml 6 Aug 2008 20:42:01 -0000 1.5
26 +++ metadata.xml 3 Jan 2012 02:24:04 -0000 1.6
27 @@ -2,7 +2,17 @@
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 <herd>sci-mathematics</herd>
31 +<longdescription lang='en'>
32 + Octave is a high-level language, primarily intended for numerical
33 + computations. It provides a convenient command line interface for
34 + solving linear and nonlinear problems numerically, and for performing
35 + other numerical experiments. It may also be used as a batch-oriented
36 + language.
37 +</longdescription>
38 <use>
39 - <flag name='sparse'>Enable enhanced support for sparse matrix algebra</flag>
40 + <flag name='glpk'>Add support for <pkg>sci-libs/glpk</pkg> for linear programming</flag>
41 + <flag name='qhull'>Add support for <pkg>sci-libs/qhull</pkg>, to allow `delaunay', `convhull', and related functions</flag>
42 + <flag name='qrupdate'>Add support for <pkg>sci-libs/qrupdate</pkg>for QR and Cholesky update functions. </flag>
43 + <flag name='sparse'>Add enhanced support for sparse matrix algebra</flag>
44 </use>
45 </pkgmetadata>
46
47
48
49 1.109 sci-mathematics/octave/ChangeLog
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.109&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.109&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.108&r2=1.109
54
55 Index: ChangeLog
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
58 retrieving revision 1.108
59 retrieving revision 1.109
60 diff -u -r1.108 -r1.109
61 --- ChangeLog 25 Nov 2011 17:39:01 -0000 1.108
62 +++ ChangeLog 3 Jan 2012 02:24:04 -0000 1.109
63 @@ -1,6 +1,15 @@
64 # ChangeLog for sci-mathematics/octave
65 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
66 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.108 2011/11/25 17:39:01 bicatali Exp $
67 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
68 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.109 2012/01/03 02:24:04 bicatali Exp $
69 +
70 +*octave-3.4.3-r1 (03 Jan 2012)
71 +
72 + 03 Jan 2012; Sébastien Fabbro <bicatali@g.o> -octave-3.2.4-r3.ebuild,
73 + -octave-3.4.0-r2.ebuild, -octave-3.4.3.ebuild, +octave-3.4.3-r1.ebuild,
74 + metadata.xml:
75 + Added glpk, qhull, qrupdate use flags to allow minimal no graphics build and
76 + take care of some automagic. Removed fltk flag, the native graphics need
77 + opengl anyway. Gnuplot is not a dependencency anymore (more a suggested one).
78
79 *octave-3.4.3 (25 Nov 2011)
80
81 @@ -29,7 +38,7 @@
82
83 *octave-3.4.0-r1 (09 Jun 2011)
84
85 - 09 Jun 2011; Sébastien Fabbro <bicatali@g.o> -octave-3.2.4-r2.ebuild,
86 + 09 Jun 2011; Sébastien Fabbro <bicatali@g.o> -octave-3.2.4-r2.ebuild,
87 -octave-3.4.0.ebuild, +octave-3.4.0-r1.ebuild,
88 +files/octave-3.4.0-fltk.patch, +files/octave-3.4.0-gcc46.patch,
89 +files/octave-3.4.0-help.patch, +files/octave-3.4.0-pkgbuilddir.patch:
90
91
92
93 1.1 sci-mathematics/octave/octave-3.4.3-r1.ebuild
94
95 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.4.3-r1.ebuild?rev=1.1&view=markup
96 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.4.3-r1.ebuild?rev=1.1&content-type=text/plain
97
98 Index: octave-3.4.3-r1.ebuild
99 ===================================================================
100 # Copyright 1999-2012 Gentoo Foundation
101 # Distributed under the terms of the GNU General Public License v2
102 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.4.3-r1.ebuild,v 1.1 2012/01/03 02:24:04 bicatali Exp $
103
104 EAPI=4
105 inherit eutils base autotools
106
107 DESCRIPTION="High-level interactive language for numerical computations"
108 LICENSE="GPL-3"
109 HOMEPAGE="http://www.octave.org/"
110 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
111
112 SLOT="0"
113 IUSE="curl doc fftw +glpk +imagemagick opengl +qhull +qrupdate readline +sparse X zlib"
114 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
115
116 RDEPEND="dev-libs/libpcre
117 app-text/ghostscript-gpl
118 sys-libs/ncurses
119 virtual/lapack
120 curl? ( net-misc/curl )
121 fftw? ( sci-libs/fftw:3.0 )
122 glpk? ( sci-mathematics/glpk )
123 imagemagick? ( || (
124 media-gfx/graphicsmagick[cxx]
125 media-gfx/imagemagick[cxx] ) )
126 opengl? (
127 media-libs/freetype:2
128 media-libs/fontconfig
129 >=x11-libs/fltk-1.3:1[opengl] )
130 qhull? ( media-libs/qhull )
131 qrupdate? ( sci-libs/qrupdate )
132 sparse? (
133 sci-libs/camd
134 sci-libs/ccolamd
135 sci-libs/cholmod
136 sci-libs/colamd
137 sci-libs/cxsparse
138 sci-libs/umfpack )
139 X? ( x11-libs/libX11 )
140 zlib? ( sys-libs/zlib )"
141
142 DEPEND="${RDEPEND}
143 doc? (
144 virtual/latex-base
145 dev-texlive/texlive-genericrecommended
146 sys-apps/texinfo )
147 dev-util/pkgconfig"
148
149 src_prepare() {
150 epatch "${FILESDIR}"/${PN}-3.4.0-{pkgbuilddir,help}.patch
151 eautoreconf
152 }
153
154 src_configure() {
155 # hdf5 disabled because not really useful (bug #299876)
156 econf \
157 --localstatedir="${EPREFIX}/var/state/octave" \
158 --enable-shared \
159 --without-hdf5 \
160 --with-blas="$(pkg-config --libs blas)" \
161 --with-lapack="$(pkg-config --libs lapack)" \
162 $(use_enable doc docs) \
163 $(use_enable readline) \
164 $(use_with curl) \
165 $(use_with fftw fftw3) \
166 $(use_with fftw fftw3f) \
167 $(use_with glpk) \
168 $(use_with imagemagick magick) \
169 $(use_with opengl) \
170 $(use_with qhull) \
171 $(use_with qrupdate) \
172 $(use_with sparse umfpack) \
173 $(use_with sparse colamd) \
174 $(use_with sparse ccolamd) \
175 $(use_with sparse cholmod) \
176 $(use_with sparse cxsparse) \
177 $(use_with X x) \
178 $(use_with zlib z)
179 }
180
181 src_install() {
182 default
183 use doc && dodoc $(find doc -name \*.pdf)
184 [[ -e test/fntests.log ]] && dodoc test/fntests.log
185 echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${P}" > 99octave
186 doenvd 99octave
187 }