Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55719 - Ebuild: dev-libs/root-4.00.08 (was: dev-libs/root-4.00.06a)
Summary: Ebuild: dev-libs/root-4.00.08 (was: dev-libs/root-4.00.06a)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Science Related Packages
URL: http://root.cern.ch/root/Availability...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 14:26 UTC by Hypnos
Modified: 2005-01-15 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-libs/root-4.00.06a.ebuild (root-4.00.06a.ebuild,4.75 KB, text/plain)
2004-06-30 14:29 UTC, Hypnos
Details
root-4.00.06a.ebuild (root-4.00.06a.ebuild,4.82 KB, text/plain)
2004-07-08 16:33 UTC, Hypnos
Details
root-4.00.08.ebuild (root-4.00.08.ebuild,5.25 KB, text/plain)
2004-07-16 14:54 UTC, Hypnos
Details
root-4.00.08f.ebuild (root-4.00.08f.ebuild,4.62 KB, text/plain)
2004-09-28 07:45 UTC, Sébastien Fabbro (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2004-06-30 14:26:04 UTC
An ebuild (attached following) for the new recommended version of ROOT.

Reproducible: Always
Steps to Reproduce:
Comment 1 Hypnos 2004-06-30 14:29:17 UTC
Created attachment 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 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-30 15:11:18 UTC
phosphan, looks like you're the maintainer, please add a metadata.xml file reflecting that
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-02 08:34:21 UTC
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 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-02 12:18:26 UTC
In portage - thanks!
Comment 5 Hypnos 2004-07-08 16:32:27 UTC
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 Hypnos 2004-07-08 16:33:03 UTC
Created attachment 35033 [details]
root-4.00.06a.ebuild
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-14 00:05:27 UTC
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 Hypnos 2004-07-14 04:20:21 UTC
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 Hypnos 2004-07-16 14:53:26 UTC
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 Hypnos 2004-07-16 14:54:39 UTC
Created attachment 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 Sébastien Fabbro (RETIRED) gentoo-dev 2004-09-28 07:45:41 UTC
Created attachment 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 Olivier Fisette (RETIRED) gentoo-dev 2005-01-15 18:45:02 UTC
root-4.02.00 now in Portage.