Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/x11
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14767
Added Files:
freeglut-2.4.0.info freeglut-2.4.0.patch
Log Message:
Make sure we keep old %v available because new one uses features of x11 that
don't exist and can lead to runtime crashes (pymol for example) and nobody's
got a fix for it right now
--- NEW FILE: freeglut-2.4.0.patch ---
--- freeglut-2.4.0/src/freeglut_cursor.c.old 2006-10-11 20:49:13.000000000
+0200
+++ freeglut-2.4.0/src/freeglut_cursor.c 2006-10-11 20:51:43.000000000
+0200
@@ -147,11 +147,13 @@
}
}
- if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) {
+ if ( cursorIDToUse == GLUT_CURSOR_INHERIT ) {
+ XUndefineCursor( fgDisplay.Display, window->Window.Handle );
+ } else if ( cursor != None ) {
+ XDefineCursor( fgDisplay.Display, window->Window.Handle, cursor );
+ } else if ( cursorIDToUse != GLUT_CURSOR_NONE ) {
fgError( "Failed to create cursor" );
}
- XDefineCursor( fgDisplay.Display,
- window->Window.Handle, cursor );
}
#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
--- NEW FILE: freeglut-2.4.0.info ---
Package: freeglut
Version: 2.4.0
Revision: 5
Maintainer: None <[email protected]>
Source: mirror:sourceforge:freeglut/%N-%v.tar.gz
Source-MD5: 6d16873bd876fbf4980a927cfbc496a1
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.12), x11-dev
Conflicts: glut, openglut
Replaces: glut, openglut
ConfigureParams: --disable-replace-glut --disable-warnings
--disable-dependency-tracking --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib RANLIB='ranlib -c'
SetCFLAGS: -O3
SetLDFLAGS:
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
PatchFile: %n-%v.patch
PatchFile-MD5: a94c1bc27fb509ac5fef3d5102d9e374
PatchScript: <<
%{default_script}
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
BuildDependsOnly: True
InstallScript: <<
make install DESTDIR=%d
ln -s libfreeglut.3.dylib %i/lib/libglut.dylib
ln -s libfreeglut.a %i/lib/libglut.a
ln -s libfreeglut.la %i/lib/libglut.la
ln -s freeglut.h %i/include/GL/glut.h
ln -s freeglut_ext.h %i/include/GL/glut_ext.h
ln -s freeglut_std.h %i/include/GL/glut_std.h
<<
SplitOff: <<
Package: %N-shlibs
Depends: libgl, x11
Files: lib/libfreeglut.3.8.0.dylib lib/libfreeglut.3.dylib
Shlibs: %p/lib/libfreeglut.3.dylib 12.0.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.
<<
DescPackaging: <<
This package is NOT binary compatible with glut/glut-shlibs and can not
replace for them. Packages that wish to use freeglut as a replacement
for glut cannot have "BuildDepends: glut|freeglut" and "Depends:
glut-shlibs|freeglut-shlibs" in their info file, but need to pick one
self-consistently.
This package builds the freeglut libraries named as freeglut rather than
glut to allow the co-existance with glut since the shared library versioning
is identical. I have adopted the use of symlinks for the libraries and
headers to allow freeglut to used as a drop in replace for glut without
requiring changes in the source code of programs which require glut.
Patch fixes crash in flightgear (taken from RH's Fedora 7 package).
<<
License: OSI-Approved
Homepage: http://freeglut.sourceforge.net/
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs