[MacPorts] #67990: meson ports: subproject handling: update all, to explicitly declare whether subproject download allowed

MacPorts noreply at macports.org
Sat Aug 19 18:40:46 UTC 2023


#67990: meson ports: subproject handling: update all, to explicitly declare whether
subproject download allowed
-----------------------+----------------------
 Reporter:  mascguy    |      Owner:  mascguy
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:  portgroup  |       Port:  meson
-----------------------+----------------------
 Up until today, Meson-based ports have had no real control over subproject
 downloads. However, that functionality is now available via new option
 `meson.wrap_mode`, courtesy of Dean Greer.

 In order to ensure expected/consistent behavior, all Meson-based ports
 should be updated to declare whether subproject downloads are allowed.

 The vast majority of ports don't want/need subproject downloads, so
 they'll specify `meson.wrap_mode nodownload`. For the rare cases where
 downloads should be allowed, ports will specify `meson.wrap_mode default`.
 (Or perhaps one of the more advanced options. Though those will be the
 exception, rather than the rule.)

 The eventual end-goal is to ultimately block subproject downloads by
 default, in the Meson portgroup. But the first step is to ensure all such
 ports declare the behavior that's desired.

 Once all ports have been updated, we'll be able to update the default, and
 remove `nodownload` declarations. And the only ports that will declare
 `meson.wrap_mode`, will be those that need it enabled.

 ETA for the latter is over the coming weeks, as time allows.

-- 
Ticket URL: <https://trac.macports.org/ticket/67990>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list