[MacPorts] #56809: gstreamer1-gst-plugins-base upgrade error: +ogg+x11 upgrades to +cocoa+ogg-x11

MacPorts noreply at macports.org
Sat Jul 14 04:45:54 UTC 2018

#56809: gstreamer1-gst-plugins-base upgrade error: +ogg+x11 upgrades to
  Reporter:  posita                       |      Owner:  (none)
      Type:  defect                       |     Status:  new
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:  2.5.2
Resolution:                               |   Keywords:
      Port:  gstreamer1-gst-plugins-base  |

Comment (by kencu):

 this code does not seem to recognize that the previous installation was
 installed with +x11
 # base has variant_set, but no variant_unset, so emulate it.
 global variations
 # Prefer x11 variant, only enable cocoa by default if supported.
 # We disable the other conflicting variant explicitly for a smooth upgrade
 if {${os.major} >= 13 && ![variant_isset universal] && ![variant_isset
 x11] && ${build_arch} eq "x86_64"} {
     default_variants +cocoa

     default_variants -x11
     set variations(x11) -
 } else {
     default_variants +x11

     default_variants -cocoa
     set variations(cocoa) -

 but I suppose that's not all. `webkit2-gtk` is probably now going to
 specifically have to require that the `gstreamer` ports are installed with

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

More information about the macports-tickets mailing list