Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249885 - sci-physics/root-5.20.00-r2: ftgl.h vs FTGL.h header might not be found
Summary: sci-physics/root-5.20.00-r2: ftgl.h vs FTGL.h header might not be found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 03:41 UTC by Benjamin Bannier
Modified: 2008-12-05 17:26 UTC (History)
0 users

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


Attachments
Apply patch for older ftgl versions (patch_for_old_ftgls.patch,567 bytes, patch)
2008-12-05 03:43 UTC, Benjamin Bannier
Details | Diff
Change included file name for older tfgl versions (root-5.20.00-ftgl_header.patch,750 bytes, patch)
2008-12-05 03:44 UTC, Benjamin Bannier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Bannier 2008-12-05 03:41:32 UTC
I know its bad to mix stable and unstable packages.

Nevertheless: In root-5.20.00-r2 two files in graf3d/gl include FTGL/ftgl.h. Apparently, ftgl.h is only available in media-libs/ftgl-2.1.3_rc5 which is currently masked and so on my machine make exits on "File not found" (the root ebuild doesn't do a version check on ftgl).

In the stable media-libs/ftgl-2.1.2-r1 installed in my system a corresponding file seems to be TFGL/TFGL.h. I tried and changed the included file to the on installed here, and root at least compiled fine. I also ran some of the macros from $DOC/tutorials/gl and they produced pretty pictures.

I am attaching a patch that depending on the installed ftgl version does the patching for the correct header.

Somehow related is https://savannah.cern.ch/bugs/?func=detailitem&item_id=44742 which touches on the various problems the gl stuff has right now. root-5.22 is to be released very soon (2008/12/18). Did somebody push the gentoo patches, especially for the gl stuff upstream? That part of the code seems to have still some very rough, alpha-y edges and the root people always seem to be open to patches and suggestion. If not I can have a look at svn and file the remainder.

Please let me know if you need more information.


Cheers,

Benjamin

Reproducible: Always

Steps to Reproduce:
Comment 1 Benjamin Bannier 2008-12-05 03:43:26 UTC
Created attachment 174290 [details, diff]
Apply patch for older ftgl versions
Comment 2 Benjamin Bannier 2008-12-05 03:44:41 UTC
Created attachment 174291 [details, diff]
Change included file name for older tfgl versions
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-05 17:18:20 UTC
Thanks for the patches, as always.
Will contact upstream with all our patches asap.

Comment 4 Benjamin Bannier 2008-12-05 17:26:49 UTC
(In reply to comment #3)
> Thanks for the patches, as always.
> Will contact upstream with all our patches asap.
> 

No,

thank YOU for taking on these monsters coming out of CERN. And gentoo-science rocks, really, a please to work with.

Cheers,

b.