Please keyword geant-4. I'm planning to add geant4 support to sci-physics/root. Thanks.
sparc stable
I didn't mean stable and this needs a lot of keywords as well :P Will check later
Marked ~hppa. Shame about the missing support for a test suite...
Added ~sparc for testing, everything seems OK. That said, please note: 1. This also requires keywords for: sci-physics/clhep-2.0.3.3 sci-physics/paw-2.14.04-r2 sci-physics/geant-3.21.14-r2 media-gfx/dawn-3.88a 2. On my system, it also requires a package.use.mask for openinventor because openinventor will not build (apparently include file problems). 3. It's really to bad that with USE=examples this package does not actually build the examples; only installs source. It seems to be impossible to build them from the GNUmakefile provided (without further instructions which are not provided so far as I can find). I'm leaving this open for comment, because I'm curious why USE=examples does not build the examples. (Or at least explain how to get it done. It looks like that's a matter of setting up a lot of environment variables, such as in make G4INSTALL=/usr/share/geant4 G4SYSTEM=Linux-g++ but there are clearly a lot more of them, and the examples do not build easily in the /var/tmp/portage/sci-portage build directory, either.)
Hi Ferris, Thanks for clear review of the testing. Could you file a bug for openinventor with your failure? USE=examples should not build anything since it is not required for a working package. I'm cc-ing he original ebuild author (see bug #212221), who I'm also including a test he sent me on a priv. email: # mkdir ~/geant4 # cp -r /usr/share/doc/geant-4*/examples ~/geant4 # cd ~geant4/examples/advanced/cosmicray_charging # make and now for a fancy and useless picture (and seeing $G4WORKDIR break) # G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac or for some calculations (with a suprisingly condensed output to run00_*) # G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/ ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac The .mac files are Geant4 macros for one of their interpreters; init.mac has other output drivers in comments you could activate if you really wanted to go into the matter.
Bug filed for openinventor and cross-referenced here. I don't know if the little band-aid I used to get openinventor to build makes it good for geant; I'll verify as time permits.
Hi, (In reply to comment #5) more up to date (now that we fixed the environment variables) instruction how to build+run e.g. this example would be > # mkdir ~/geant4 > # cp -r /usr/share/doc/geant-4*/examples ~/geant4 > # cd ~geant4/examples/advanced/cosmicray_charging > # make > > and now for a fancy and useless picture (and seeing $G4WORKDIR break) ... shouldn't break anymore (and nice to see if X display is working) > # G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac ~geant4/bin/$G4SYSTEM/CRCharging init.mac > > or for some calculations (with a suprisingly condensed output to run00_*) > > # G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/ > ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac where ~/geant4 is $G4WORKDIR. b.
I've removed the package.use.mask on openinventor for geant because openinventor now builds correctly on sparc.
Ferris, Is geant-4.9 ok? Can we close this bug? Thanks
I guess we can close this one since geant is ~sparc.