-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I put together an ebuild for geant-4.9.1 over the weekend.
Geant[3,4] is a widely used physics simulation code from cern; 3.* is in
the tree, 4.* is not, which is bad (for some). Even debian users can
have geant4 ...
This ebuild seems to work on x86 using the g** compilers. You can find
it temporarily at rsync://netronaut.de/geant4. There are ebuilds for
geant4 and for the needed data files (pulled in via "data" USE flag).
There are also 2 patches to make the build and environment scripts work.
As it depends on sci-physics/chlep from the science overlay I am only
advertising here.
Since this is my first ebuild for the public and the geant4 install is
extra nasty I would love to have suggestions for improvements,
flames ... I am particularly interested in suggestions concerning
1) Ebuild
* no checking of CFLAGS and MAKEOPTS:
Is it too bad? I have no idea ...
* relying solely on Geant4 ./Configure to figure out
platform/compiler:
Maybe somebody on a different platform or with a different
compiler can tell me if the build is still working.
* name:
Now its a newer version of sci-physics/geant-3.*.* currently in the
tree, maybe causing trouble.
* License: Geant4 license not in /usr/portage/license; not sure about
licenses for data files, but one could ask ...
* USE: I have no idea how to switch some of them on by default ...
2) Geant4 infrastructure
* do your projects compile and run successfully?
* geant and geant4-data install lots of stuff like data files, config
scripts, example apps into /usr/share/geant4. Is this the right
place? Is it working for your use case?
* even worse: libraries are installed
into /usr/lib/geant4/<platform><compiler>/. This is how geant4 does
it by default. No versions are recorded. No archives are installed.
How much does this violate gentoo policy? Do you need the
archives? How much would another solution break your application?
I would really really (really) love to have this package in gentoo,
maybe in the science overlay: geant4's build system is painful and
scary, but portage can conveniently hide all that once and forever ;)
Hope to hear from you,
b.
ps. If you start playing with the compile you should use ccache. I can
dispel some of the builds darkness ...
- --
"If we had asked people what they wanted they would have said 'a
faster horse'." --Henry Ford
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHy2QjVj4CPF3kbQwRAo4oAJ4irmfUV1UEwVi73zovNSSgfZ90EgCdFwQZ
aqipO63GvAiGnFrlyrI4rLs=
=ZIhE
-----END PGP SIGNATURE-----