1 |
-----BEGIN PGP SIGNED MESSAGE-----
|
2 |
Hash: SHA1
|
3 |
|
4 |
Hi,
|
5 |
|
6 |
I put together an ebuild for geant-4.9.1 over the weekend.
|
7 |
|
8 |
Geant[3,4] is a widely used physics simulation code from cern; 3.* is in
|
9 |
the tree, 4.* is not, which is bad (for some). Even debian users can
|
10 |
have geant4 ...
|
11 |
|
12 |
This ebuild seems to work on x86 using the g** compilers. You can find
|
13 |
it temporarily at rsync://netronaut.de/geant4. There are ebuilds for
|
14 |
geant4 and for the needed data files (pulled in via "data" USE flag).
|
15 |
There are also 2 patches to make the build and environment scripts work.
|
16 |
|
17 |
As it depends on sci-physics/chlep from the science overlay I am only
|
18 |
advertising here.
|
19 |
|
20 |
Since this is my first ebuild for the public and the geant4 install is
|
21 |
extra nasty I would love to have suggestions for improvements,
|
22 |
flames ... I am particularly interested in suggestions concerning
|
23 |
|
24 |
1) Ebuild
|
25 |
* no checking of CFLAGS and MAKEOPTS:
|
26 |
Is it too bad? I have no idea ...
|
27 |
* relying solely on Geant4 ./Configure to figure out
|
28 |
platform/compiler:
|
29 |
Maybe somebody on a different platform or with a different
|
30 |
compiler can tell me if the build is still working.
|
31 |
* name:
|
32 |
Now its a newer version of sci-physics/geant-3.*.* currently in the
|
33 |
tree, maybe causing trouble.
|
34 |
* License: Geant4 license not in /usr/portage/license; not sure about
|
35 |
licenses for data files, but one could ask ...
|
36 |
* USE: I have no idea how to switch some of them on by default ...
|
37 |
|
38 |
2) Geant4 infrastructure
|
39 |
* do your projects compile and run successfully?
|
40 |
* geant and geant4-data install lots of stuff like data files, config
|
41 |
scripts, example apps into /usr/share/geant4. Is this the right
|
42 |
place? Is it working for your use case?
|
43 |
* even worse: libraries are installed
|
44 |
into /usr/lib/geant4/<platform><compiler>/. This is how geant4 does
|
45 |
it by default. No versions are recorded. No archives are installed.
|
46 |
How much does this violate gentoo policy? Do you need the
|
47 |
archives? How much would another solution break your application?
|
48 |
|
49 |
I would really really (really) love to have this package in gentoo,
|
50 |
maybe in the science overlay: geant4's build system is painful and
|
51 |
scary, but portage can conveniently hide all that once and forever ;)
|
52 |
|
53 |
|
54 |
Hope to hear from you,
|
55 |
|
56 |
b.
|
57 |
|
58 |
ps. If you start playing with the compile you should use ccache. I can
|
59 |
dispel some of the builds darkness ...
|
60 |
- --
|
61 |
"If we had asked people what they wanted they would have said 'a
|
62 |
faster horse'." --Henry Ford
|
63 |
-----BEGIN PGP SIGNATURE-----
|
64 |
Version: GnuPG v2.0.7 (GNU/Linux)
|
65 |
|
66 |
iD8DBQFHy2QjVj4CPF3kbQwRAo4oAJ4irmfUV1UEwVi73zovNSSgfZ90EgCdFwQZ
|
67 |
aqipO63GvAiGnFrlyrI4rLs=
|
68 |
=ZIhE
|
69 |
-----END PGP SIGNATURE----- |