Why not ask the original author to relicense?<br><br><div class="gmail_quote">2011/8/12 Marek Olšák <span dir="ltr"><<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/8/12 Christian König <<a href="mailto:deathsimple@vodafone.de">deathsimple@vodafone.de</a>>:<br>
> Am Freitag, den 12.08.2011, 10:49 -0400 schrieb Younes Manton:<br>
>> Sorry, by incompatible I didn't mean that you couldn't use them<br>
>> together, but that one is more restrictive than the other. Like the<br>
>> discussion you quoted states, if you combine MIT and GPL you have to<br>
>> satisfy both of them, which means you have to satisfy the GPL. I<br>
>> personally don't care that much, but unfortunately with the way<br>
>> gallium is built it affects more than just VDPAU.<br>
>><br>
>> Every driver in lib/gallium includes that code, including swrast_dri<br>
>> (softpipe), r600_dri, etc, and libGL loads those drivers. If you build<br>
>> with the swrast config instead of DRI I believe galllium libGL<br>
>> statically links with softpipe, so basically my understanding is that<br>
>> anyone linking with gallium libGL (both swrast and DRI configs) has to<br>
>> satisfy the GPL now.<br>
> A crap, your right. I've forgotten that GPL has even a problem when code<br>
> is just linked in, compared to being used.<br>
><br>
>> Maybe someone else who is more familiar with these sorts of things can<br>
>> comment and confirm that this is accurate and whether or not it's a<br>
>> problem.<br>
> I already asked around in my AMD team, and the general answer was: Oh<br>
> fuck I've no idea, please don't give me a headache. I could asked around<br>
> a bit more, but I don't think we get a definitive answer before xmas.<br>
><br>
> As a short term solution we could compile that code conditionally, and<br>
> only enable it when the VDPAU state tracker is enabled. But as the long<br>
> term solution the code just needs a rewrite, beside having a license<br>
> problem, it is just not very optimal. The original code is something<br>
> like a decade old, and is using a whole bunch of quirks which are not<br>
> useful by today’s standards (not including the sign in mv tables for<br>
> example). ffmpegs/libavs implementation for example is something like<br>
> halve the size and even faster, but uses more memory for table lookups.<br>
> But that code is also dual licensed under the GPL/LGPL.<br>
><br>
> Using LGPL code instead could also be a solution, because very important<br>
> parts of Mesa (the GLSL parser for example) is already licensed under<br>
> that, but I'm also not an expert with that also.<br>
<br>
Even though the GLSL parser is licensed under LGPL (because Bison is),<br>
there is a special exception that we may license it under whatever<br>
licence we want if we don't make software that does exactly what Bison<br>
does. So the whole GLSL compiler is actually licensed under the MIT<br>
license. There was one LGPL dependency (talloc), but Intel has paid<br>
special attention to get rid of that. My recollection is nobody wanted<br>
LGPL or GPL code in Mesa.<br>
<br>
Marek<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br>