On Sat, Apr 16, 2005 at 07:24:20PM -0400, Jack Howarth wrote: > Dan, > I noticed your messages about the freeglut packaging being broken.
Validating package file /sw/fink/dists/unstable/main/finkinfo/x11/freeglut.info... Warning: Not allowed to specify version information in "Provides". (freeglut.info) Warning: Not allowed to specify version information in "Provides" of "splitoff". (freeglut.info) Using foo:provides:bar where bar is an existing package in its own right does not behave like you expect it does, nor is there a way to have it do what you want. > With the 10.4 branch being created, I think now is a good time to address > this issue. Since glut and freeglut are not really binary replacements > it should be decided whether freeglut should replace the glut package in > the 10.4 branch. Can you give me some specific examples of programs where > freeglut appears to be broken? Again since it is not a binary replacement > I am only talking about anything that is being compiled and linked > directly against the installed freeglut. Because they both provide the same file freeglut.info: Shlibs: %p/lib/libglut.3.dylib 12.0.0 %n (>= 2.2.0-1) glut.info: Shlibs: %p/lib/libglut.3.dylib 3.7.0 %n (>= 3.7-13) A user who builds something in the presence of glut must be able to swap in freeglut and have the thing still work. If that is not the case, then freeglut is not a replacement or upgrade for glut. Perhaps what is needed is to put the actual .dylib in a subdir and adjust the lib/libglut.dylib link to point there? That way the -shlibs can both coexist. If the %N for freglt and glut Conflicts/Replaces each other (and nuke the broken freeglut*:Provides stuff), then -lglut willl always link to what the BuildDepends calls for. > Also, I noticed your mention > of fltk requiring glut. This really puzzles me as my read of the fltk > package is that it provides a fl based glut replacement. Specifically if > I comment out the .SILENT line in the makeincludes of fltk and rebuild > fltk at no point do I see libglut being linked in. Also the fact that > configure in fltk makes no effort to find out if glut is installed > should be a give away that libglut isn't used as part of fltk. Rather > fltk provides an internal replacement for glut. I don't remember why we added BuildDepends:glut to fltk-x11, nor if that reason is still relevant to the current version of it. > In any case, if anyone can point to a particular piece of software > which doesn't work under freeglut please let me know. As far as I can > tell all the major linux distros are still proceeding forward with > freeglut as a replacement for glut and I haven't seen any particular > complaints about that. I'd be happy to have freeglut become the New Hotness in fink. But it's gonna be much easier to consider it a stand-alone "the new way of doing things" rather than to try to shoe-horn it in as a direct upgrade/replacement for glut itself. Not much links against glut I don't think, so shouldn't be hard to adjust those deps glut->freeglut and test them to make sure things are okay. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
