[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Any interest in Debian packages of Geant 4?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Brett,

(CC-ing to James Ferrando since I made a slight update of his clhep2
package to the newest upstream version, and I don't know if he
subscribes to debian-science)

On 12/22/05, Brett Viren <bv@bnl.gov> wrote:

> Have you contacted Geant4 folks to see if they would distribute your
> debian/ source directory?

Not yet -- I'd prefer not to submit it upstream until I've thoroughly
polished and tested the .debs.  (And if they do end up in Debian's
archive, it makes life easier if upstream doesn't have their own debian
directory.)

I also don't know whether upstream would approve of one of my
improvements.  I figured out how to make it unnecessary to set most of
the Geant 4 environment variables by writing a couple of wrapper
scripts: "g4make" to run make, and "g4run" to run a Geant 4 executable,
in a subshell with the relevant env. variables set.  (I also wrote a
couple of scripts, env.sh and env.csh, that people can optionally source
in their login files instead of using the wrapper scripts if they really
want a polluted environment namespace.)  See the README.Debian in the
geant4 source package (see below) for more info.

> Just distributing your debian/ source directory would make me happy!

Well, OK.  I've just made it accessible as a source package to APT.  (By
the way, I hereby license all of my Debian packaging for Geant 4 under
the MIT/X license:
<URL:http://www.opensource.org/licenses/mit-license.php>)  Add this:

deb-src http://borex.princeton.edu/~kmccarty/ unstable main

to your sources.list.  Run "apt-get update" then "apt-get source clhep2
geant4".  You need to build and install the clhep2 .deb first, then
geant4.

N.B. The clhep2 .deb comes directly from James Ferrando's unofficial
package, just updated slightly to the latest upstream source tarball
(2.0.2.2 instead of 2.0.1.1) - it isn't at all Policy-compliant yet.  As
I said, the Geant 4 .debs are also very rough still, so I'm not going to
offer binaries yet and would appreciate it if you don't distribute any
that you compile.

Also, be sure to check out the hideous hack I wrote called
debian/scripts/env.csh and be awed :-)

All comments/criticisms about the Debian packaging so far are welcomed.

> Also, if you need/want a distribution repository I can offer space on
> the one that currently distributes the ROOT debs.

That would be wonderful!  I'll take you up on that offer once I feel
the Geant 4 .debs are ready for public consumption.

best regards,

- --
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqx2hfYxAIk+Dx1ERAmbEAKCwv7uGnO9fW0cjoE993wA6+DfY/QCeKRjW
QL3itMMyOJ6cK7yUcXYsebs=
=VOGZ
-----END PGP SIGNATURE-----



Reply to: