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
Description:   Opened: 2004-06-30 14:26 0000
An ebuild (attached following) for the new recommended version of ROOT.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Hypnos 2004-06-30 14:29:17 0000 -------
Created an attachment (id=34518) [details]
dev-libs/root-4.00.06a.ebuild

Changes from dev-libs/root-3.10.02-r1 :

* sh kung fu to handle patch sources

* Support for new Python module

------- Comment #2 From Seemant Kulleen (RETIRED) 2004-06-30 15:11:18 0000 -------
phosphan, looks like you're the maintainer, please add a metadata.xml file
reflecting that

------- Comment #3 From Patrick Kursawe 2004-07-02 08:34:21 0000 -------
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...

------- Comment #4 From Patrick Kursawe 2004-07-02 12:18:26 0000 -------
In portage - thanks!

------- Comment #5 From Hypnos 2004-07-08 16:32:27 0000 -------
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.

------- Comment #6 From Hypnos 2004-07-08 16:33:03 0000 -------
Created an attachment (id=35033) [details]
root-4.00.06a.ebuild

------- Comment #7 From Patrick Kursawe 2004-07-14 00:05:27 0000 -------
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.

------- Comment #8 From Hypnos 2004-07-14 04:20:21 0000 -------
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).

------- Comment #9 From Hypnos 2004-07-16 14:53:26 0000 -------
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 ....

------- Comment #10 From Hypnos 2004-07-16 14:54:39 0000 -------
Created an attachment (id=35597) [details]
root-4.00.08.ebuild

I should add that the gcc-3.4 patch should no longer be necessary, but that
should be tested by someone running gcc-3.4 ...

------- Comment #11 From Sébastien Fabbro 2004-09-28 07:45:41 0000 -------
Created an attachment (id=40617) [details]
root-4.00.08f.ebuild

Corrected a bug in SRC_URI of root-4.00.08.ebuild, and added a possibility for
inclusion
of cernlib (which ebuild is in bug #65677), and thus a new USE flag. Is this
the right way?

------- Comment #12 From Olivier Fisette 2005-01-15 18:45:02 0000 -------
root-4.02.00 now in Portage.