GIMP2 fails to build on 10.7

Riccardo Mottola riccardo.mottola at
Sun Aug 26 19:58:53 UTC 2018

Hi Ryan!

On 2018-08-26 03:08:57 +0200 Ryan Schmidt <ryandesign at> wrote:

> CoreGraphics didn't become a top-level framework until OS X 10.8. On 10.7 it 
> was only available as a part of ApplicationServices.
> According to 
> one should instead include <ApplicationServices/ApplicationServices.h>.
> Would you report this bug to the developers of gimp, if it has not already 
> been reported to them?

Oh, interesting information, I included the other header and it works

I developed the attached patch, what do you think? I am always a bit scared by AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER … but it should be used the correct way… if it is there otherwise fall back.

It works for me, could you add it to the port?

In the meanwhile I reported it upstream and provided te patch, if they accept it, we can always remove the pach later from the port (as with other paches I provided…)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gimp_gimpwidgets_cg.patch
Type: text/x-patch
Size: 403 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list