Hi there,

so Jack sent me a patch for sdl.info to avoid use of the X11 convenience 
symlinks, see e.g. here:

https://sourceforge.net/p/fink/package-submissions/4507/


However, that patch isn't quite enough. It would result in an unusable SDL on 
systems without the convenience links, since, if X11 support is enabled in SDL
 (a) sdl.h always pulls X11 headers, even if the application using SDL is not 
using the X11 video driver,
 (b) "sdl-config --cflags" does not include something like -I/opt/X11/include

Result: You can't compile code using SDL, at least not without manually 
adjusting the CFLAGS.

I see two possible solutions:

(1) Just disable the X11 video driver, under the assumption that everyone is 
using the native Quartz driver these days anyway.

(2) Modify sdl-config to point to /opt/X11


Option (1) is a lot easier and also reduces the dependencies for anything using 
SDL. But I am not sure if the underlying assumption is right. I.e. are there 
packages which rely on the SDL X11 video driver? Does anybody know?

If not, I can have a look at option (2). It certainly is "safer", but not nicer.


An additional option would be to provide a -nox variant of sdl / sdl-shlibs, 
and start migrating packages to using that.



Cheers,
Max
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to