Geomview port does not work with xorg-libs of MacPorts

Jeremy Huddleston jeremyhu at macports.org
Tue Jan 27 13:28:35 PST 2009


On Jan 27, 2009, at 02:34, Raphael Straub wrote:

> Jeremy Huddleston wrote:
>> On Jan 22, 2009, at 11:30, Raphael Straub wrote:
>>
>>> Yes, some libraries in ${prefix}/lib are still linked against /usr/ 
>>> X11/lib/*. For example, libXm.4.0.1.dylib (openmotif) and libXaw3d. 
>>> 8.0.dylib (Xaw3d). In both cases a complete rebuild of these  
>>> libraries does not help.
>>
>> Those ports have now been updated to link against the libs in  
>> $prefix rather than $x11prefix
>
> Thanks, Jeremy!
>
> I linked geomview against the GL libraries provided by the mesa  
> port, because they use libX11 from MacPorts and not /usr/X11/lib/ 
> libX11.dylib like the GL libraries in /usr/X11. But I assume that  
> mesa does not use hardware accelerated OpenGL as it does not use the  
> OpenGL system framework. How can I use hardware accelerated OpenGL  
> in X11 applications?

We're in the process of creating a new HW-accelerated (via  
OpenGL.framework) glx libGL.  It was just released today actually in  
XQuartz-2.4.0_alpha2.  It is not yet in MacPorts.

This brings up an interesting question about how to handle libGL in  
MacPorts...

mesa provides both libGL and libGLU.

Option 1)  Change this to TWO ports: mesa-GLU and mesa-GL... then  
introduce a new port for the HW Accelerated libGL.
Option 2)  Have the mesa port default to installing this new HW  
accelerated libGL with a variant to install the SW libGL.

Thoughts?




More information about the macports-dev mailing list