Michal,
No, freeglut and glut are not interchangable. However, freeglut now
builds with -disable-replace-glut so that it remains named as libfreeglut
rather than libglut. I do have the freeglut package symlink...
ln -s libfreeglut.3.dylib %i/lib/libglut.dylib
as well as the headers, so that packages which are set to build against
freeglut don't need to be patched to do so. However, this shouldn't be
a problem as anything that builds against glut earlier or later will
be linked against %i/lib/libglut.3.dylib and not %i/lib/libglut.dylib.
For example, if you do a 'fink install molmol' in stable which currently
builds against glut, glut and glut-shlibs will be built and installed.
The resulting molmol will be linked against %i/lib/libglut.3.dylib. Now
if you copy over pymol-py.* and freeglut.* from unstable into
/sw/fink/10.4-transitional/local/main/finkinfo and do 'fink install pymol-py24'
you will see glut deinstalled, freeglut/freeglut-shlibs built and installed
and pymol-py24 linked against %i/lib/libfreeglut.3.dylib.
The main point is that glut is effectively dead as far as future
development goes and all new Linux distros have long ago switched over
to freeglut. The currently packaging for both in unstable copes with the
fact that they have the same versioning but are not binary compatible by
using different names for the libraries.
Jack
ps Of course any package that uses glut has to pick one or another. They
can't just do a build depends glut|freeglut. That was my original goal
but it causes too many problems.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel