New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26150 (assigned enhancement)

Opened 3 years ago

Last modified 22 months ago

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

patch-gst-plugins-good.diff (2.2 KB) - added by louis-francis.ratte-boulianne@… 3 years ago.
Portfile patch

Change History

comment:1 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to rmsfisher@…
  • Version 1.9.1 deleted

Please remember to cc the maintainer.

comment:2 Changed 3 years ago by rmsfisher@…

  1. 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@…

Portfile patch

comment:3 Changed 3 years ago by louis-francis.ratte-boulianne@…

  1. 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)

comment:4 Changed 3 years ago by rmsfisher@…

  • Owner changed from rmsfisher@… to rmstonecipher@…

comment:5 Changed 3 years ago by rmstonecipher@…

  • Status changed from new to assigned

comment:6 Changed 3 years ago by rmstonecipher@…

  • Description modified (diff)
  • Summary changed from gst-plugins-good-0.10.24 Update to gst-plugins-good dependency-limiting variant

I have revised the ticket title because 0.10.25 is the current stable, ported version of gst-plugins-good.

comment:7 Changed 22 months ago by jmr@…

  • Type changed from update to enhancement
Note: See TracTickets for help on using tickets.