cannot build Gtk 3.24.23 targeting 10.11
With commit gtk-osx@ba5af596, Gtk+-3.0 has been updated to 3.24.23 to fix an issue when building on Big Sur. Have you tried building it against 10.11? I haven't been able to build any Gtk+-3.0 release above 3.24.20 when targeting 10.11.
errors messages building Gtk 3.24.23 against 10.11
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkdevicemanager-core-quartz.c:254:25: error: use of undeclared identifier 'NSEventTypeTabletProximity'; did you mean 'kCGEventTabletProximity'?
if ([nsevent type] != GDK_QUARTZ_EVENT_TABLET_PROXIMITY &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventTabletProximity
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:79:43: note: expanded from macro 'GDK_QUARTZ_EVENT_TABLET_PROXIMITY'
#define GDK_QUARTZ_EVENT_TABLET_PROXIMITY NSEventTypeTabletProximity
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:122:3: note: 'kCGEventTabletProximity' declared here
kCGEventTabletProximity = NX_TABLETPROXIMITY,
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkdevicemanager-core-quartz.c:255:28: error: use of undeclared identifier 'NSEventSubtypeTabletProximity'; did you mean 'kCGEventMouseSubtypeTabletProximity'?
[nsevent subtype] != GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventMouseSubtypeTabletProximity
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:80:51: note: expanded from macro 'GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY'
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY NSEventSubtypeTabletProximity
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:384:3: note: 'kCGEventMouseSubtypeTabletProximity' declared here
kCGEventMouseSubtypeTabletProximity = 2
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkdevicemanager-core-quartz.c:352:25: error: use of undeclared identifier 'NSEventTypeTabletProximity'; did you mean 'kCGEventTabletProximity'?
if ([nsevent type] == GDK_QUARTZ_EVENT_TABLET_PROXIMITY ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventTabletProximity
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:79:43: note: expanded from macro 'GDK_QUARTZ_EVENT_TABLET_PROXIMITY'
#define GDK_QUARTZ_EVENT_TABLET_PROXIMITY NSEventTypeTabletProximity
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:122:3: note: 'kCGEventTabletProximity' declared here
kCGEventTabletProximity = NX_TABLETPROXIMITY,
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkdevicemanager-core-quartz.c:353:28: error: use of undeclared identifier 'NSEventSubtypeTabletProximity'; did you mean 'kCGEventMouseSubtypeTabletProximity'?
[nsevent subtype] == GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventMouseSubtypeTabletProximity
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:80:51: note: expanded from macro 'GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY'
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY NSEventSubtypeTabletProximity
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:384:3: note: 'kCGEventMouseSubtypeTabletProximity' declared here
kCGEventMouseSubtypeTabletProximity = 2
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkdevicemanager-core-quartz.c:354:28: error: use of undeclared identifier 'NSEventSubtypeTabletPoint'; did you mean 'kCGEventMouseSubtypeTabletPoint'?
[nsevent subtype] == GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventMouseSubtypeTabletPoint
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:81:47: note: expanded from macro 'GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT'
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT NSEventSubtypeTabletPoint
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:383:3: note: 'kCGEventMouseSubtypeTabletPoint' declared here
kCGEventMouseSubtypeTabletPoint = 1,
^
5 errors generated.
make[4]: *** [Makefile:723: gdkdevicemanager-core-quartz.lo] Fehler 1
make[4]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1052:71: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
event_device = _gdk_quartz_device_manager_core_device_for_ns_event (gdk_display_get_device_manager (_gdk_display),
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/gdkdisplay.h:170:1: note: 'gdk_display_get_device_manager' has been explicitly marked deprecated here
GDK_DEPRECATED_IN_3_20_FOR(gdk_display_get_default_seat)
^
../../gdk/gdkversionmacros.h:399:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_20_FOR'
# define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f)
^
../../gdk/gdkversionmacros.h:49:31: note: expanded from macro 'GDK_DEPRECATED_FOR'
#define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GDK_EXTERN
^
/Users/Shared/work/0.46/include/glib-2.0/glib/gmacros.h:952:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1055:28: error: use of undeclared identifier 'NSEventSubtypeTabletPoint'; did you mean 'kCGEventMouseSubtypeTabletPoint'?
if ([nsevent subtype] == GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventMouseSubtypeTabletPoint
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:81:47: note: expanded from macro 'GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT'
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT NSEventSubtypeTabletPoint
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:383:3: note: 'kCGEventMouseSubtypeTabletPoint' declared here
kCGEventMouseSubtypeTabletPoint = 1,
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1095:71: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
event_device = _gdk_quartz_device_manager_core_device_for_ns_event (gdk_display_get_device_manager (_gdk_display),
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/gdkdisplay.h:170:1: note: 'gdk_display_get_device_manager' has been explicitly marked deprecated here
GDK_DEPRECATED_IN_3_20_FOR(gdk_display_get_default_seat)
^
../../gdk/gdkversionmacros.h:399:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_20_FOR'
# define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f)
^
../../gdk/gdkversionmacros.h:49:31: note: expanded from macro 'GDK_DEPRECATED_FOR'
#define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GDK_EXTERN
^
/Users/Shared/work/0.46/include/glib-2.0/glib/gmacros.h:952:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1098:28: error: use of undeclared identifier 'NSEventSubtypeTabletPoint'; did you mean 'kCGEventMouseSubtypeTabletPoint'?
if ([nsevent subtype] == GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kCGEventMouseSubtypeTabletPoint
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:81:47: note: expanded from macro 'GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT'
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT NSEventSubtypeTabletPoint
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:383:3: note: 'kCGEventMouseSubtypeTabletPoint' declared here
kCGEventMouseSubtypeTabletPoint = 1,
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1515:21: error: use of undeclared identifier 'NSEventTypeTabletProximity'; did you mean 'kEventTabletProximity'?
if (event_type == GDK_QUARTZ_EVENT_TABLET_PROXIMITY)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kEventTabletProximity
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkinternal-quartz.h:79:43: note: expanded from macro 'GDK_QUARTZ_EVENT_TABLET_PROXIMITY'
#define GDK_QUARTZ_EVENT_TABLET_PROXIMITY NSEventTypeTabletProximity
^
/opt/sdks/MacOSX10.11.sdk/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEvents.h:14261:3: note: 'kEventTabletProximity' declared here
kEventTabletProximity = 2
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/quartz/gdkevents-quartz.c:1517:64: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
_gdk_quartz_device_manager_register_device_for_ns_event (gdk_display_get_device_manager (_gdk_display),
^
/Users/Shared/work/0.46/usr/src/gtk+-3.24.23/gdk/gdkdisplay.h:170:1: note: 'gdk_display_get_device_manager' has been explicitly marked deprecated here
GDK_DEPRECATED_IN_3_20_FOR(gdk_display_get_default_seat)
^
../../gdk/gdkversionmacros.h:399:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_20_FOR'
# define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f)
^
../../gdk/gdkversionmacros.h:49:31: note: expanded from macro 'GDK_DEPRECATED_FOR'
#define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GDK_EXTERN
^
/Users/Shared/work/0.46/include/glib-2.0/glib/gmacros.h:952:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
^
3 warnings and 3 errors generated.
make[4]: *** [Makefile:723: gdkevents-quartz.lo] Fehler 1
make[4]: Verzeichnis „/Users/Shared/work/0.46/var/build/gtk+-3.24.23/gdk/quartz“ wird verlassen
make[3]: *** [Makefile:1715: all-recursive] Fehler 1
make[3]: Verzeichnis „/Users/Shared/work/0.46/var/build/gtk+-3.24.23/gdk“ wird verlassen
make[2]: *** [Makefile:1138: all] Fehler 2
make[2]: Verzeichnis „/Users/Shared/work/0.46/var/build/gtk+-3.24.23/gdk“ wird verlassen
make[1]: *** [Makefile:750: all-recursive] Fehler 1
make[1]: Verzeichnis „/Users/Shared/work/0.46/var/build/gtk+-3.24.23“ wird verlassen
make: *** [Makefile:623: all] Fehler 2
There are no issues when targeting 10.13, so I think 3.24.20 is the end of the line when targeting 10.11. As 10.11 is running out of Gtk's 5 year support policy soon, it's probably time to raise system requirements again.