[MacPorts] #71905: gimp3-devel +quartz: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. (was: gimp3-devel +quartz fails on building with a ninja subcommand)

MacPorts noreply at macports.org
Wed Jan 22 02:11:35 UTC 2025


#71905: gimp3-devel +quartz: error: 'CGWindowListCreateImage' is unavailable:
obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
---------------------------+----------------------
  Reporter:  DominusExult  |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:  sequoia
      Port:  gimp3-devel   |
---------------------------+----------------------
Changes (by ryandesign):

 * keywords:   => sequoia


Comment:

 The relevant error in the log seems to be:

 {{{
 ../gimp-3.0.0-RC1/libgimpwidgets/gimppickbutton-quartz.c:187:20: error:
 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please
 use ScreenCaptureKit instead.
   187 |   root_image_ref = CGWindowListCreateImage (NSRectToCGRect(rect),
       |                    ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGWindow.h:271:33:
 note: 'CGWindowListCreateImage' has been explicitly marked unavailable
 here
   271 | CG_EXTERN CGImageRef __nullable CGWindowListCreateImage(CGRect
 screenBounds,
       |                                 ^
 }}}

 See SequoiaProblems#ScreenCaptureKitRequirementwithmacOS15SDK

-- 
Ticket URL: <https://trac.macports.org/ticket/71905#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list