Bug 55719 - Ebuild: dev-libs/root-4.00.08 (was: dev-libs/root-4.00.06a)
|
Bug#:
55719
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: sci@gentoo.org
|
Reported By: hypnos75@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
http://root.cern.ch/root/Availability.html
|
|
Summary: Ebuild: dev-libs/root-4.00.08 (was: dev-libs/root-4.00.06a)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-06-30 14:26 0000
|
An ebuild (attached following) for the new recommended version of ROOT.
Reproducible: Always
Steps to Reproduce:
phosphan, looks like you're the maintainer, please add a metadata.xml file
reflecting that
Well, I don't consider myself the maintainer just because I did one version
bump and one bugfix, but this obviously fits for the sci herd.
However, this beast needs some patching to survive gcc 3.4...
I missed something in my Python support -- /usr/lib/root must be in the
PYTHONPATH. So src_install should be changed from
---------------
src_install() {
make DESTDIR=${D} INSTALL="install" install || die "install failed"
dodir /etc/env.d
echo > ${D}/etc/env.d/99root "LDPATH=\"/usr/lib/root\""
}
----------------
to
-----------------
src_install() {
make DESTDIR=${D} INSTALL="install" install || die "install failed"
dodir /etc/env.d
echo > ${D}/etc/env.d/99root "LDPATH=\"/usr/lib/root\""
if [ `use python` ]; then
echo "PYTHONPATH=\"/usr/lib/root\"" >> ${D}/etc/env.d/99root
fi
}
-----------------
I am attaching an ebuild with this revision.
Perhaps it would be better to put the python stuff into site-packages instead
of tweaking PYTHONPATH if that's possible. Assigning to the sci herd because I
currently don't have much time.
Well, that would be a little hackish and the ebuild already had tweaks to
LDPATH.
ROOT is a bit of a beast, so there's no perfectly clean way to install into a
FHS-compliant tree until ROOT starts using autotools (or equivalent).
attached subsequently is an ebuild for v4.00.08, the first 4.x release declared
ready for "production" use. Changes from v4.00.06a:
- Version bump
- Ruby bindings in addition to Python bindings (keyed to USE words)
Has passed my research group's (icecube.wisc.edu) build acid test ....
root-4.02.00 now in Portage.