Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/graphics
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25152/10.4-transitional/unstable/main/finkinfo/graphics
Added Files:
mesa.info mesa.patch
Log Message:
New package from trackers (Submissions #1373725)
--- NEW FILE: mesa.info ---
Package: mesa
Version: 6.4.1
Revision: 1
Maintainer: Murali Vadivelu <[EMAIL PROTECTED]>
Depends: %N-shlibs (= %v-%r)
BuildDepends: x11-dev
BuildDependsOnly: True
Description: 3-D graphics library
Homepage: http://mesa3d.sourceforge.net/
License: OSI-Approved
Source: mirror:sourceforge:mesa3d/MesaLib-%v.tar.bz2
Source2: mirror:sourceforge:mesa3d/MesaGLUT-%v.tar.bz2
SourceDirectory: Mesa-%v
Source-MD5: ea148c828ec6f645526451db1b8556f1
Source2-MD5: bd003bb4f981a4f91dee4c38644d4f3f
GCC: 3.3
PatchScript: sed 's,@PREFIX@,%p,g' < %a/%n.patch | patch -p1
CompileScript: <<
make darwin
<<
InstallScript: <<
mkdir -p %i/lib/%n
mv %b/lib/* %i/lib/%n/
mkdir -p %i/include/%n
mv %b/include/* %i/include/%n/
mkdir -p %i/share/%n
cp -r %b/docs %i/share/%n/
ln -sf %p/lib/%n %i/share/%n/lib
ln -sf %p/include/%n %i/share/%n/include
<<
SplitOff: <<
Package: %N-shlibs
Depends: x11, x11-shlibs
Files: lib/mesa/libGLU.dylib lib/mesa/libGL.dylib lib/mesa/libglut.dylib
lib/mesa/libOSMesa.dylib
Shlibs: <<
%p/lib/mesa/libGLU.dylib 1.3.0 %n (>= 6.4.1-1)
%p/lib/mesa/libGL.dylib 1.5.0 %n (>= 6.4.1-1)
%p/lib/mesa/libglut.dylib 3.7.0 %n (>= 6.4.1-1)
%p/lib/mesa/libOSMesa.dylib 6.4.0 %n (>= 6.4.1-1)
<<
DocFiles: docs/COPYING
<<
DescDetail: <<
Mesa is a 3-D graphics library with an API which
is very similar to that of OpenGL.* To the extent
that Mesa utilizes the OpenGL command syntax or
state machine, it is being used with authorization
from Silicon Graphics, Inc.(SGI). However, the
author does not possess an OpenGL license from
SGI, and makes no claim that Mesa is in any way
a compatible replacement for OpenGL or associated
with SGI. Those who want a licensed implementation
of OpenGL should contact a licensed vendor.
<<
DescUsage: <<
The libraries and headers are installed in
%p/lib/mesa and %p/include/mesa, respectively. This
is toavoid conflict with other OpenGL dependent
packages in Fink like GLUT/ freeglut, etc. To use the
libraries and headers installed, you need to
explicitly set the Include (-I) and Linker (-L)
flags before compiling against Mesa3d. The order
in which the flags are passed to the linker
is also important, so that Mesa libraries is the
one that is seen first by the linker (before the
system OpenGL).
Care needs to be taken to avoid system OpenGL,
if you want to use Mesa3d, while compiling, like
making sure that its first in the linker's search
path. Otherwise, you get runtime errors.
<<
DescPackaging: <<
A link is created from %p/include/mesa and
%p/lib/mesa to %p/share/mesa/include and
%p/share/mesa/lib, respectively. This is done to
facilitate compiling certain programmes which look
for a common GL directory containing an include
directory (with gl.h, etc.) and lib directory
(with libGL.*, etc.).
<<
--- NEW FILE: mesa.patch ---
diff -urN Mesa-6.4.1.orig/bin/mklib Mesa-6.4.1/bin/mklib
--- Mesa-6.4.1.orig/bin/mklib 2005-12-17 15:19:11.000000000 +0000
+++ Mesa-6.4.1/bin/mklib 2005-12-17 15:17:48.000000000 +0000
@@ -505,7 +505,7 @@
else
LIBNAME="lib${LIBNAME}.dylib"
echo "mklib: Making Darwin shared library: " ${LIBNAME}
- FLAGS="-dynamiclib -multiply_defined suppress -current_version
${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0"
+ FLAGS="-dynamiclib -multiply_defined suppress -install_name
@PREFIX@/lib/mesa/${LIBNAME} -current_version ${MAJOR}.${MINOR}.0
-compatibility_version ${MAJOR}.${MINOR}.0"
if [ $CPLUSPLUS = 1 ] ; then
LINK="g++"
else
-------------------------------------------------------
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-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits