Bug 250364 - devel/glib20: make run-depend on python OPTIONal
Summary: devel/glib20: make run-depend on python OPTIONal
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
Depends on:
Reported: 2020-10-15 10:00 UTC by Pietro Cerutti
Modified: 2020-12-18 03:58 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (desktop)

Patch (1.16 KB, patch)
2020-10-15 10:00 UTC, Pietro Cerutti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Cerutti freebsd_committer 2020-10-15 10:00:46 UTC
Created attachment 218756 [details]

I would like to make OPTIONal the run-dependency of glib20 on python, with a default that keeps the current status. The reason is that many packages depend on glib only for its shared libraries, and it is unconvenient to have to install 100MB of python just for that.

If MAINTAINER agrees, there are two approaches:

1. just make the run-dependency optional
This is what is currently implemented in the attached patch. The plist does not change so it's still possible to install python later to run glib-genmarshal and friends.

2. make the run-dependency optional and skip the installation of anything that relies on python
Perhaps safer, perhaps overkill given that python continues to be a run-dependency by default and turning that off means you know what you are doing. However, if you prefer this approach, I'm prepared to implement it.