Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298284 - sci-physics/root-5.26.00 version bump
Summary: sci-physics/root-5.26.00 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-25 04:23 UTC by Andrew Savchenko
Modified: 2010-01-09 17:42 UTC (History)
0 users

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


Attachments
ebuild (root-5.26.00.ebuild,8.82 KB, text/plain)
2009-12-25 04:27 UTC, Andrew Savchenko
Details
gcc44 patch (root-5.26.00-gcc44.patch,515 bytes, patch)
2009-12-25 04:28 UTC, Andrew Savchenko
Details | Diff
use proper system flags (root-5.26.00-prop-flags.patch,1.67 KB, patch)
2009-12-25 04:30 UTC, Andrew Savchenko
Details | Diff
xrootd flags fix (root-5.26.00-xrootd-prop-flags.patch,32.39 KB, patch)
2009-12-25 04:31 UTC, Andrew Savchenko
Details | Diff
fix configure paths (root-5.26.00-configure-paths.patch,1.06 KB, patch)
2009-12-25 04:32 UTC, Andrew Savchenko
Details | Diff
fix g4root flags (root-5.26.00-g4root-flags.patch,553 bytes, patch)
2009-12-25 04:33 UTC, Andrew Savchenko
Details | Diff
ebuild: gfortran (root-5.26.00.ebuild.p1-FC.patch,364 bytes, patch)
2009-12-25 04:36 UTC, Andrew Savchenko
Details | Diff
ebuild: opengl (root-5.26.00.ebuild.p2-opengl.patch,1.44 KB, patch)
2009-12-25 04:39 UTC, Andrew Savchenko
Details | Diff
ebuild: cern (root-5.26.00.ebuild.p3-cern.patch,475 bytes, patch)
2009-12-25 04:40 UTC, Andrew Savchenko
Details | Diff
ebuild: afterimage (root-5.26.00.ebuild.p4-afterimage.patch,441 bytes, patch)
2009-12-25 04:44 UTC, Andrew Savchenko
Details | Diff
ebuild: freetype (root-5.26.00.ebuild.p5-freetype.patch,369 bytes, patch)
2009-12-25 04:45 UTC, Andrew Savchenko
Details | Diff
ebuild: zlib (root-5.26.00.ebuild.p6-zlib.patch,296 bytes, patch)
2009-12-25 04:46 UTC, Andrew Savchenko
Details | Diff
ebuild: xft (root-5.26.00.ebuild.p7-xft.patch,868 bytes, patch)
2009-12-25 04:47 UTC, Andrew Savchenko
Details | Diff
ebuild: glew (root-5.26.00.ebuild.p8-glew.patch,510 bytes, patch)
2009-12-25 04:48 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2009-12-25 04:23:47 UTC
Hello, this is updated version of ROOT. Aside from patches update there are some changens in the ebuild discussed below.
Comment 1 Andrew Savchenko gentoo-dev 2009-12-25 04:27:05 UTC
Created attachment 214084 [details]
ebuild

Ebuild itself, based on root-5.24.00-r1.ebuild.
Functional changes will be split it the patches below.
Comment 2 Andrew Savchenko gentoo-dev 2009-12-25 04:28:44 UTC
Created attachment 214086 [details, diff]
gcc44 patch

Patch to compile with gcc44 in Gentoo.
The same as in 5.24.
Comment 3 Andrew Savchenko gentoo-dev 2009-12-25 04:30:05 UTC
Created attachment 214088 [details, diff]
use proper system flags

Updated from 5.24.
Comment 4 Andrew Savchenko gentoo-dev 2009-12-25 04:31:14 UTC
Created attachment 214090 [details, diff]
xrootd flags fix

Extended version based on patch from 5.24.
Comment 5 Andrew Savchenko gentoo-dev 2009-12-25 04:32:50 UTC
Created attachment 214092 [details, diff]
fix configure paths

Based on 5.24, taking into account that most issues was fixed upstream; only postgresql and odbc still should be patched.
Comment 6 Andrew Savchenko gentoo-dev 2009-12-25 04:33:32 UTC
Created attachment 214094 [details, diff]
fix g4root flags

The same as in 5.24.
Comment 7 Andrew Savchenko gentoo-dev 2009-12-25 04:36:30 UTC
Created attachment 214096 [details, diff]
ebuild: gfortran

Ebuild functional change.
Use FC compiler instead of F77.

FC is sufficient to compile stuff and F77 is absent on most system, thus h2root and g2root silently fails to compile. With FC they compiles and work without problems.
Comment 8 Andrew Savchenko gentoo-dev 2009-12-25 04:39:46 UTC
Created attachment 214098 [details, diff]
ebuild: opengl

Makes ebuild conditionally depend on opengl flag.

Well, opengl still needed to be present on the system for mandatory ftgl or optional qt4. But nevertheless this option allows to compile root without OpenGL functionality itself and without direct binding for GL libraries.

On some setups opengl functionality is not needed, however it is usually desired, so enabled by default.
Comment 9 Andrew Savchenko gentoo-dev 2009-12-25 04:40:48 UTC
Created attachment 214100 [details, diff]
ebuild: cern

USE="cern" is not used anymore, cernlib is deprecated by CERN, so this flag is to be removed.
Comment 10 Andrew Savchenko gentoo-dev 2009-12-25 04:44:07 UTC
Created attachment 214102 [details, diff]
ebuild: afterimage

Built-in libafterimage is enabled anyway even if --disable-builtin-afterimage is specified. You can check this in config.log.

ROOT use its own fork incompatible with upstream Afterimage, so they force builtin option even if it is disabled by configure option unless very old libafterimage is installed on the system.

Thus --disable-builtin-afterimage option is not needed.
Comment 11 Andrew Savchenko gentoo-dev 2009-12-25 04:45:32 UTC
Created attachment 214103 [details, diff]
ebuild: freetype

We disable built-in freetype, this is great. But root should depend on system-wide freetype because it use it instead of built-in.
Comment 12 Andrew Savchenko gentoo-dev 2009-12-25 04:46:17 UTC
Created attachment 214105 [details, diff]
ebuild:  zlib

The same as for freetype: we should depend on system lib.
Comment 13 Andrew Savchenko gentoo-dev 2009-12-25 04:47:13 UTC
Created attachment 214106 [details, diff]
ebuild: xft

Dependency on xft is optional and may be disabled when it is not needed.
Comment 14 Andrew Savchenko gentoo-dev 2009-12-25 04:48:25 UTC
Created attachment 214108 [details, diff]
ebuild: glew

ROOT needs media-libs/glew. If it is not present, built-in is used, but system libraries should be used whenever possible.
Comment 15 Andrew Savchenko gentoo-dev 2009-12-25 05:21:36 UTC
And as-needed patch is dropped because --as-needed seems to be incompatible with CINT.
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2009-12-25 10:57:34 UTC
*** Bug 298285 has been marked as a duplicate of this bug. ***
Comment 17 Sébastien Fabbro (RETIRED) gentoo-dev 2010-01-09 17:42:33 UTC
Hi,

I committed the bump based on your work. The only differences are: 
* no need to specify freetype since it is already a run dependency of some root dependencies
* included some of the change from the as-needed patch to propagate the LDFLAGS
The bundled afterimage lib is not really a fork but a copy of the cvs afterimage trunk. Unfortunately the afterimage upstream does not release a new tar ball.
 
Would you submit the patches upstream?