Chris,
Well I did a quick test of changing the versioning and that doesn't help
much under fink anyway. If I use...
Package: freeglut
Version: 2.2.0
Revision: 2
GCC: 3.3
Maintainer: Jack Howarth <howarth <at> bromo.med.uc.edu>
Source: mirror:sourceforge:freeglut/%N-%v.tar.gz
Source-MD5: 9439b8745f443131c2dad00bc93dc0ef
Patch: %n.patch
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.9.9), x11-dev
Conflicts: glut (<< 3.7-25)
Replaces: glut (<< 3.7-25)
SetCFLAGS: -O3
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
BuildDependsOnly: True
SplitOff: <<
Package: %N-shlibs
Depends: libgl
Conflicts: glut-shlibs (<< 3.7-25)
Replaces: glut-shlibs (<< 3.7-25)
Files: lib/lib*.*.dylib
Shlibs: %p/lib/libglut.11.dylib 11.8.0 %n (>= 2.2.0-1)
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
<<
Description: Opengl utility toolkit
DescDetail: <<
Freeglut is a completely OpenSourced alternative to the OpenGL Utility
Toolkit (GLUT) library released under the X-Consortium license. The
original GLUT library seems to have been abandoned with the most recent
version (3.7) dating back to August 1998. Its license does not allow
anyone to distribute modified library code. Freeglut is actively
developed and doesn't suffer the license restrictions. The goal is
to gradually depreciate the current glut package out of fink replacing
it with freeglut.
<<
License: OSI-Approved
Homepage: http://freeglut.sourceforge.net/
with the patch...
diff -uNr freeglut-2.2.0.org/src/Makefile.am freeglut-2.2.0/src/Makefile.am
--- freeglut-2.2.0.org/src/Makefile.am Wed Dec 10 20:32:09 2003
+++ freeglut-2.2.0/src/Makefile.am Sun Apr 17 13:04:23 2005
@@ -36,7 +36,7 @@
# Additional linker flags
#
[EMAIL PROTECTED]@_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11
$(LIBXXF86VM
)
[EMAIL PROTECTED]@_la_LDFLAGS = -version-info 11:0:8
[EMAIL PROTECTED]@_la_LDFLAGS = -version-info 11:0:0
[EMAIL PROTECTED]@_la_CFLAGS = $(X_CFLAGS)
#
The resulting freeglut amd dummy glut packages do not appear to cause a pymol
package previously built against the stock glut package to not install. Despite
the fact that this pymol package is linked against libglut.3.dylib and I have
installed a libglut.11.dylib now. I guess I had forgotten that our library
dependency tracking in fink is quite so brain dead. Blah.
It is interesting to note that the above patch is required to get
libglut.11.dylib
built. Freeglut should really be building that out of the box as far as I can
see. I can't quite find the glitch in the makefiles that is causing
libglut.3.8.0.dylib
to be built instead of libglut.11.8.0.dylib as -version-info 11:0:8 directs.
Oh, I did notice we could also just start passing --disable-replace-glut to
configure and end up with libfreeglut libraries instead. Of course that means
more changes for the packages that use glut.
Lastly I found this web page...
http://openglean.sourceforge.net/lib/index.html
...which seems to summarize the mess that glut is in.
Jack
-------------------------------------------------------
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