Gentoo Archives: gentoo-science

From: Markus Dittrich <markusle@g.o>
To: "Andrey G. Grozin" <A.G.Grozin@×××××××.su>
Cc: Markus Dittrich <markusle@g.o>, gentoo-science@l.g.o
Subject: Re: [gentoo-science] mathgl octave bindings
Date: Sat, 13 Dec 2008 12:25:02
Message-Id: 20081213122500.GA25883@woodpecker.gentoo.org
In Reply to: Re: [gentoo-science] mathgl octave bindings by "Andrey G. Grozin"
1 "Andrey G. Grozin" <A.G.Grozin@×××××××.su> writes:
2 > On Tue, 9 Dec 2008, Markus Dittrich wrote:
3 >> "Andrey G. Grozin" <A.G.Grozin@×××××××.su> writes:
4 >>> How to install this as an octave package? Perhaps, octave-forge.eclass
5 >>> can
6 >>> be used? Should I hack the mathgl ebuild so that it does this octave
7 >>> installation (when USE=octave)? Or, maybe, there should be a separate
8 >>> octave-mathgl ebuild (perhaps, inheriting octave-forge) which depends on
9 >>> mathgl[octave]?
10 >> This looks pretty much like a generic octave-forge package as far as
11 >> I can tell. Simply renaming one of the octave-forge ebuilds
12 >> in the overlay should probably work out of the box.
13 > Yes, thanks, this works for me. But the problem is: mathgl.tar.gz is a
14 > generated file (it is actually a target in the mathgl's Makefile). It can
15 > be different on different systems (at least, the directory name
16 > i686-pc-linux-gnu-api-v32 will be different). So, it cannot have a fixed
17 > checksum. Is it possible to write some octave-forge-* like ebuild which
18 > will take /usr/share/mathgl/octave/mathgl.tar.gz and install it into
19 > /usr/share/octave/packages/ without checking checksums etc.?
20 >
21 > Andrey
22
23 Maybe, instead of moving mathgl.tar.gz onto the live filesystem
24 we should just install the octave_forge like package via the
25 octave_forge.eclass when we build and install mathgl itself
26 (via a useflag). I am not sure at the moment if the
27 octave_forge.eclass is organized in a way that allows
28 this, but it could probably be done by re-arranging some bits
29 in the eclass. I'll check.
30
31 Best,
32 Markus
33
34
35 --
36 --
37 Markus Dittrich (markusle)
38 Gentoo Linux Developer
39 Scientific applications

Replies

Subject Author
Re: [gentoo-science] mathgl octave bindings "Andrey G. Grozin" <A.G.Grozin@×××××××.su>