Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/octave: ChangeLog octave-2.1.73-r2.ebuild
Date: Tue, 18 Dec 2007 10:29:12
Message-Id: E1J4Zh8-0001G1-3r@stork.gentoo.org
1 markusle 07/12/18 10:29:02
2
3 Modified: ChangeLog octave-2.1.73-r2.ebuild
4 Log:
5 Added xemacs support to ebuild (fixes bug #193430).
6 (Portage version: 2.1.4_rc10)
7
8 Revision Changes Path
9 1.50 sci-mathematics/octave/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.50&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.50&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.49&r2=1.50
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v
18 retrieving revision 1.49
19 retrieving revision 1.50
20 diff -u -r1.49 -r1.50
21 --- ChangeLog 20 Nov 2007 14:46:56 -0000 1.49
22 +++ ChangeLog 18 Dec 2007 10:29:01 -0000 1.50
23 @@ -1,6 +1,11 @@
24 # ChangeLog for sci-mathematics/octave
25 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.49 2007/11/20 14:46:56 markusle Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.50 2007/12/18 10:29:01 markusle Exp $
28 +
29 + 18 Dec 2007; Markus Dittrich <markusle@g.o>
30 + octave-2.1.73-r2.ebuild:
31 + Added xemacs support to ebuild (fixes bug #193430). Thanks much to
32 + Ulrich Mueller <ulm@g.o> for his patch.
33
34 20 Nov 2007; Markus Dittrich <markusle@g.o>
35 octave-2.1.57-r1.ebuild, octave-2.1.69.ebuild, octave-2.1.71-r2.ebuild,
36
37
38
39 1.4 sci-mathematics/octave/octave-2.1.73-r2.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?rev=1.4&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?rev=1.4&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild?r1=1.3&r2=1.4
44
45 Index: octave-2.1.73-r2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v
48 retrieving revision 1.3
49 retrieving revision 1.4
50 diff -u -r1.3 -r1.4
51 --- octave-2.1.73-r2.ebuild 20 Nov 2007 14:46:56 -0000 1.3
52 +++ octave-2.1.73-r2.ebuild 18 Dec 2007 10:29:01 -0000 1.4
53 @@ -1,8 +1,8 @@
54 # Copyright 1999-2007 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v 1.3 2007/11/20 14:46:56 markusle Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-2.1.73-r2.ebuild,v 1.4 2007/12/18 10:29:01 markusle Exp $
58
59 -inherit flag-o-matic fortran autotools
60 +inherit flag-o-matic fortran autotools xemacs-elisp-common
61
62 DESCRIPTION="GNU Octave is a high-level language (MatLab compatible) intended for numerical computations"
63 LICENSE="GPL-2"
64 @@ -11,7 +11,7 @@
65 ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/${P}.tar.bz2"
66
67 SLOT="0"
68 -IUSE="emacs static readline zlib doc hdf5 mpi"
69 +IUSE="emacs static readline zlib doc hdf5 mpi xemacs"
70 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
71
72 DEPEND="virtual/libc
73 @@ -26,7 +26,10 @@
74 hdf5? ( sci-libs/hdf5 )
75 doc? ( virtual/latex-base )
76 mpi? ( virtual/mpi )
77 + xemacs? ( virtual/xemacs )
78 !=app-text/texi2html-1.70"
79 +RDEPEND="${DEPEND}
80 + emacs? ( virtual/emacs )"
81
82 # NOTE: octave supports blas/lapack from intel but this is not open
83 # source nor is it free (as in beer OR speech) Check out...
84 @@ -83,6 +86,11 @@
85 || die "econf failed"
86
87 emake || die "emake failed"
88 +
89 + if use xemacs; then
90 + cd "${S}/emacs"
91 + xemacs-elisp-comp *.el
92 + fi
93 }
94
95 src_install() {
96 @@ -90,15 +98,14 @@
97 if use doc; then
98 octave-install-doc || die "Octave doc install failed"
99 fi
100 - if use emacs; then
101 + if use emacs || use xemacs; then
102 cd emacs
103 exeinto /usr/bin
104 doexe otags || die
105 doman otags.1 || die
106 - for emacsdir in /usr/share/emacs/site-lisp /usr/lib/xemacs/site-lisp; do
107 - insinto ${emacsdir}
108 - doins *.el || die
109 - done
110 + if use xemacs; then
111 + xemacs-elisp-install ${PN} *.el *.elc
112 + fi
113 cd ..
114 fi
115 dodir /etc/env.d || die
116
117
118
119 --
120 gentoo-commits@g.o mailing list