Commit graph

4 commits

Author SHA1 Message Date
Jack Nagel
01e9fad4a1 Adjust XQuartz/X11 module naming scheme
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-06 00:39:06 -05:00
Jack Nagel
b81d01e23d Update formulae for new XQuartz module 2012-08-01 00:31:39 -05:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Fernando Mut
d692c10848 New Formula: MesaLib-GLw
Installation of the GLw library compiled against the OS X version of
OpenGL libraries. Version 7.2 is considered by many (e.g. Fink, Ubuntu)
to be the stable version of MesaLib. GLw is not provided with OS X.
By default, MesaLib first compiles GL(mesa) and then GLw against it.
This forces that any application compiled against GLw will also need
to be linked with GL(mesa), not the native OS X version of OpenGL,
since otherwise you get a version incompatibility error.
In order to avoid having a duplicated version of the OpenGL library,
and also to take advantage of any hardware acceleration that the OS X
OpenGL version could provide, it is best to compile the GLw library
against the provided OS X OpenGL library. For this purpose, some
modifications to the autoconf setting file and the GLw Makefile
were performed. In particular, the inclusion of the OS X OpenGL header
files (located in /usr/X11/include/GL) instead of the header files
provided with the mesalib package, and the linkage against the OS X
OpenGL libraries (located in /usr/X11/lib). The compilation of the
GL(mesa) libraries was also removed from the autoconf settings file.
The installation of the package files is performed manually since the
'make install' fails due to a bad detection of symbolic links.

Closes Homebrew/homebrew#6074.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-04-22 17:59:58 -07:00