Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45202 closed defect (fixed)

gtk3 quartz 3.14.0 fails to build on 10.6.8: 'NSFullScreenWindowMask' undeclared

Reported by: bugztrac@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: neverpanic (Clemens Lang), cooljeanius (Eric Gallager)
Port: gtk3

Description

gtk3 quartz fails to build on 10.6.8. See attached log file.

Attachments (1)

gtk3_build_log.txt (10.6 KB) - added by bugztrac@… 10 years ago.
build log

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by bugztrac@…

Attachment: gtk3_build_log.txt added

build log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… added
Owner: changed from macports-tickets@… to cal@…

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Cc: cal@… added; devans@… removed
Owner: changed from cal@… to devans@…
Status: newassigned

Yes, indeed, the NSFullScreenWindowMask constant was not introduced until 10.7.

This is due to upstream commit https://git.gnome.org/browse/gtk+/commit/?id=ec17a649aed65fb0a27d6cf10ab097a5f310dfc6 which purports to add native full screen window support for 10.7+. Most of the code added is guarded by the AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER availability macro but the code that adds the setStyleMask method to GdkQuartzNSWindow is not so protected, hence the failure.

As an immediate MacPorts fix we can back this commit out for 10.6 and earlier and I'll file a ticket upstream so a proper fix can be addressed.

Thanks for spotting this.

Last edited 10 years ago by dbevans (David B. Evans) (previous) (diff)

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Patch committed in r125907 which backs out the offending upstream commit for 10.6 and earlier. I don't have a 10.6 test machine available so please update your ports, clean, rebuild and report back with your findings. Thanks.

comment:4 Changed 10 years ago by dbevans (David B. Evans)

comment:5 Changed 10 years ago by bugztrac@…

As requested, updated ports, cleaned gtk3 and rebuilt. Build succeeded. Thanks!

comment:6 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 10 years ago by dbevans (David B. Evans)

As of gtk3 version 3.14.5, committed in r128154, this issue is purported to have been fixed upstream (see bug report cited above). I've dropped the previous patch and would appreciate it if someone running 10.6 would test the +quartz build for this version and report back.

Thanks.

comment:9 Changed 10 years ago by bugztrac@…

Build works now. 10.6.8 +quartz.

Thanks

Note: See TracTickets for help on using tickets.