GStreamer Ports - Upgrade to Version 1.x, Add Fallback/Legacy Version 0.10.x

Jeremy Huddleston Sequoia jeremyhu at macports.org
Mon Jan 28 11:03:20 PST 2013


On Jan 28, 2013, at 10:33 AM, Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Jan 28, 2013, at 12:19, Jeremy Huddleston Sequoia wrote:
> 
>> I'd prefer names like:
>> gstreamer-1.0 and gstreamer-0.10
> 
>> Should we have a policy of 1.0 by default, 0.10 by variant?
> 
> The problem with "-X.Y" suffixes (instead of our traditional "XY" suffixes) is that they cannot be used verbatim as variant names ("-" is not a valid character in variant names). We've seen this problem already in regard to the clang-X.Y ports when ports offer variants to use these compilers. But in the case of gstreamer I think it's ok, because I don't see any reason why a port should offer a variant for any version of gstreamer. Shouldn't each port just use the best version it can, and not offer a choice? Why should the user be made to care about the version of a dependency?

Yes, but the limitation on variant names should not impact what we name ports.  If we want to offer variants for gst versions, we can use +gst010 or +gst0_10 vs +gst10 or +gst1_0 (I prefer the second method of s/./_/)





More information about the macports-dev mailing list