> On Jun 25, 2015, at 03:39, Max Horn <m...@quendi.de> wrote: > > 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
Hi, Max. The issue is mainly on 10.11, since initially the X11 convenience symlinks couldn’t even be set up. I guess there’s now a system-level tool which can be run to do that, but personally, I’d prefer if we were able to convince all of our packages for 10.9+ systems to operate with no X11 convenience symlinks since they get clobbered on every OS update. Option (1) or an sdl-nox seem reasonable to me. —Alex ------------------------------------------------------------------------------ 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