[MacPorts] #51462: gtk3 variant quartz does not need mesa -> results in X install (PATCH)
#51462: gtk3 variant quartz does not need mesa -> results in X install (PATCH) ----------------------------------+-------------------------------- Reporter: friedrich.beckmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: gtk3 quartz mesa | Port: gtk3 ----------------------------------+-------------------------------- The gtk3 package depends on the mesa package which depends on X For the quartz variant, the mesa package should not be listed as dependency as the quartz variant will not use X and does not depend on mesa. This will avoid to install the complete X system into the installation. I attached a patch for the gtk3 portfile that move the mesa port dependency to the x11 variant section. -- Ticket URL: <https://trac.macports.org/ticket/51462> MacPorts <https://www.macports.org/> Ports system for OS X
#51462: gtk3 variant quartz does not need mesa -> results in X install (PATCH) -----------------------------------+---------------------- Reporter: friedrich.beckmann@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gtk3 | -----------------------------------+---------------------- Changes (by mf2k@…): * cc: devans (removed) * owner: macports-tickets@… => devans@… * keywords: gtk3 quartz mesa => Comment: Trac requires complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/51462#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51462: gtk3 variant quartz does not need mesa -> results in X install (PATCH) -----------------------------------+------------------------ Reporter: friedrich.beckmann@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gtk3 | -----------------------------------+------------------------ Changes (by devans@…): * owner: devans@… => jeremyhu@… * cc: devans@… (added) Comment: I'm going fishing for the next month so I'm going to refer this one to jeremyhu who is backing me up in the interim. -- Ticket URL: <https://trac.macports.org/ticket/51462#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51462: gtk3 variant quartz does not need mesa -> results in X install (PATCH) -----------------------------------+------------------------ Reporter: friedrich.beckmann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: gtk3 | -----------------------------------+------------------------ Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Well, I'm still here so I'll handle this anyway. Fixed in r149002. The mesa dependency here was introduced due to libepoxy which is used by gtk3 for both +quartz and +x11 builds. libepoxy uses mesa at build time to establish its glx dispatch table but does not explicitly link with mesa. This means that, as you say, mesa only needs to be installed for glx to work on the +x11 build. I tested this this morning to be sure. BTW, this also means that if you are building from scratch (libepoxy is not installed yet), mesa and its X11 dependencies will be installed as build dependencies of libepoxy but you can remove them after libepoxy is installed if using strictly +quartz. Other dependencies of gtk3 (cairo, pango) build with +quartz +x11 by default (and without conflict) so if you really want an X11 free environment then you need to use +quartz -x11 as your default variants. The old +no_x11 that is mentioned in some outdated documentation is not necessary in any circumstance as it is no longer used in MacPorts having been entirely replaced by -x11. Thanks for your ticket and patch. -- Ticket URL: <https://trac.macports.org/ticket/51462#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts