Hi, On 25.06.2015, at 18:04, Alexander Hansen <alexanderk.han...@gmail.com> wrote:
> >> 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 > [...] > 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. So I did the most general thing: I added an sdl-nox variant (hoping that as many packages as possible will switch to it), and also fixed the plain "sdl" package to not use convenience symlinks, and to add the X11 include paths to the "sdl-config --cflags" output, in an attempt to get packages to compile cleanly. I did this on 10.8, my OS X version of choice, so I'd appreciate if people could test this on 10.9+. Cheers, Max ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ 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