[MacPorts] #43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8
#43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8 ------------------------+-------------------------------- Reporter: mopihopi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gtk3 ------------------------+-------------------------------- {{{ ---> Building gtk3 Error: org.macports.build for port gtk3 returned: command execution failed Please see the log file for port gtk3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk3/gtk3/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} The previously available version (gtk3 @3.10.7_0+quartz) builds successfully. The build error is: {{{ scale = roundf ([[NSScreen mainScreen] backingScaleFactor]); }}} {{{ :info:build gtkapplication-quartz-menu.c: In function '-[GNSMenuItem didChangeIcon]': :info:build gtkapplication-quartz-menu.c:265: warning: 'NSScreen' may not respond to '-backingScaleFactor' :info:build gtkapplication-quartz-menu.c:265: warning: (Messages without a matching method signature :info:build gtkapplication-quartz-menu.c:265: warning: will be assumed to return 'id' and accept :info:build gtkapplication-quartz-menu.c:265: warning: '...' as arguments.) :info:build gtkapplication-quartz-menu.c:265: error: incompatible type for argument 1 of 'roundf' :info:build make[4]: *** [libgtk_3_la-gtkapplication-quartz-menu.lo] Error 1 }}} The `backingScaleFactor` method was added to `NSScreen` in OS X 10.7. -- Ticket URL: <https://trac.macports.org/ticket/43283> MacPorts <http://www.macports.org/> Ports system for OS X
#43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtk3 | -------------------------+---------------------- Changes (by cal@…): * cc: cal@… (removed) * status: new => assigned * owner: macports-tickets@… => cal@… Comment: Upstream at https://bugzilla.gnome.org/show_bug.cgi?id=727366. -- Ticket URL: <https://trac.macports.org/ticket/43283#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtk3 | -------------------------+---------------------- Comment (by frederic.devernay@…): This patch enables compilation with the 10.6 SDK, and if running on 10.7 it properly gets the backingScaleFactor property. If running on 10.6 or below, scale is set to 1. -- Ticket URL: <https://trac.macports.org/ticket/43283#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: gtk3 | -------------------------+---------------------- Changes (by devans@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/43283#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43283: gtk3 @3.12.0 +quartz build fails on OS X 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: gtk3 | -------------------------+---------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r120176. -- Ticket URL: <https://trac.macports.org/ticket/43283#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts