Ticket #26150 (assigned enhancement)
gst-plugins-good dependency-limiting variant
| Reported by: | louis-francis.ratte-boulianne@… | Owned by: | rmstonecipher@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | haspatch | Cc: | |
| Port: | gst-plugins-good |
Description (last modified by rmstonecipher@…) (diff)
Add variant to exclude external dependencies
Attachments
Change History
comment:1 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to rmsfisher@…
- Version 1.9.1 deleted
comment:2 Changed 3 years ago by rmsfisher@…
- Ratte-Boulianne,
Regarding your proposed addition of gconf to the depends_lib section of the Portfile, the dependency will not be added for the following reason:
libsoup, which is already in depends_lib, depends upon libproxy which in turn depends upon gconf.
The addition of an explicit library dependency on gconf would be redundant.
Regarding your proposed variant, I would like to know why such a variant would benefit the userbase at large.
I try to make the ports I maintain depend upon external libraries which are enabled by default (i.e. dependencies with --without-foo or --disable-foo configure flags).
Your suggestion of a variant which does not depend on several free, open-source libraries confuses me.
If you can demonstrate a case in which such a variant would benefit other users I would take no exception to adding your variant to the distributed Portfile.
I look forward to discussing this with you so that we may update the Portfile and close this ticket.
Cheers,
Ryan Stonecipher
Changed 3 years ago by louis-francis.ratte-boulianne@…
- Attachment patch-gst-plugins-good.diff added
Portfile patch
comment:3 Changed 3 years ago by louis-francis.ratte-boulianne@…
- Fisher
The gconf port was added because still needed even after removing libsoup from depends_lib (in the variant). I moved it into the variant section so it only gets added when libsoup is removed.
I have to admit my use case might be specific. I'm currently working on making sure that the whole Telepathy-Farsight-Gstreamer stack is working properly on OSX. Ideally, someone would then be able to build an IM/VOIP application using these elements. The problem is that to distribute that hypothetical application, you need to bundle every components together and a lot of the gstreamers elements are useless in that context. So, to slim down the package a little bit, I trimmed down unnecessary ext dependencies. I would of course prefer if this patch was "upstream".
AMSN is another example of applications that could use a slim gst-plugins-good port (it doesn't ship Gstreamer anymore because video-conference support is broken though)


Please remember to cc the maintainer.