Opened 9 months ago

Last modified 9 months ago

#67990 assigned defect

meson ports: subproject handling: update all, to explicitly declare whether subproject download allowed

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: portgroup Cc: Gcenx
Port: meson

Description

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.

Change History (3)

comment:1 Changed 9 months ago by Christopher Nielsen <mascguy@…>

In 9baa54f3f765943e64eab793febe59a13bf7799c/macports-ports (master):

coeurl: use meson.wrap_mode, rather than configure arg

See: #67990

comment:2 Changed 9 months ago by Christopher Nielsen <mascguy@…>

In d9807a0c956b105cd6dc229bd3beaecd1369b654/macports-ports (master):

mesa: use py311; block meson subproject download

Fixes: #67036
See: #67990

comment:3 Changed 9 months ago by Christopher Nielsen <mascguy@…>

In 21e4bbdc5078702ecaf6343901dc2fa4887ccd8b/macports-ports (master):

meson ports: migrate to meson.wrap_mode

See: #67990

Note: See TracTickets for help on using tickets.