Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333143 - media-libs/mesa has wrong LICENSE
Summary: media-libs/mesa has wrong LICENSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://mesa3d.sourceforge.net/license...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 12:36 UTC by Matija "hook" Šuklje
Modified: 2011-09-16 19:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kilgard license (Kilgard,1.00 KB, text/plain)
2010-08-27 10:35 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2010-08-17 12:36:09 UTC
In Portage media-libs/mesa has LICENSE="LGPL-2", while in reality the licensing situation of Mesa is a bit more difficult.

Here's a copy-paste from http://mesa3d.sourceforge.net/license.html

--8<--------------
Component         Location               Primary Author      License
----------------------------------------------------------------------------
Main Mesa code    src/mesa/              Brian Paul          Mesa (MIT)

Device drivers    src/mesa/drivers/*     See drivers         See drivers

Ext headers       include/GL/glext.h     SGI                 SGI Free B
                  include/GL/glxext.h

GLUT              src/glut/              Mark Kilgard        Mark's copyright

Mesa GLU library  src/glu/mesa/          Brian Paul          GNU-LGPL

SGI GLU library   src/glu/sgi/           SGI                 SGI Free B

demo programs     progs/demos/           various             see source files

X demos           progs/xdemos/          Brian Paul          see source files

SGI demos         progs/samples/         SGI                 SGI copyright

RedBook demos     progs/redbook/         SGI                 SGI copyright
-------------->8--

The major problem here of course GLUT and Debian and gNewSense are already trying to solve that problem:
https://savannah.nongnu.org/bugs/index.php?28528
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131997

In Message #71 of the second linked bug Kilgard agrees that his copyright notice / license allows everybody to use, copy, modify and distribute all modifications of libglut.

So we'd have to:
1) add the rest of the licenses listed here to LICENSE=""
2) figure out how to handle Kilgard's GLUT.

Problem no. 1 has a pretty obvious solution.
My suggestion for no. 2 would be to create a new license (e.g. Kilgard) and add a USE flag to trigger media-libs/freeglut (e.g. USE="freeglut"), if that flag was disabled, if would pull in default Kilgard's glut and with it the Kilgard license.
Comment 1 Matija "hook" Šuklje 2010-08-17 12:38:03 UTC
Please assign this to licenses@

P.S. it would be a lot nicer and easier if the Licenses team would be an option in "Assigned To" and "Component"
Comment 2 Ulrich Müller gentoo-dev 2010-08-17 12:43:55 UTC
Assigning to maintainer, keeping licenses team in CC.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-27 09:26:04 UTC
Eee what should I as maintainer do?
I have no idea about licensing stuff? :)
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-27 10:18:23 UTC
The maintainer is responsible for setting the LICENSE variable in the ebuild correctly.
Comment 5 Ulrich Müller gentoo-dev 2010-08-27 10:35:02 UTC
Created attachment 244903 [details]
Kilgard license

(In reply to comment #0)
> Problem no. 1 has a pretty obvious solution.

Right. Can you provide a list of equivalent Gentoo license names?

> My suggestion for no. 2 would be to create a new license
> (e.g. Kilgard)

How about attached file?

> and add a USE flag to trigger media-libs/freeglut (e.g.
> USE="freeglut"), if that flag was disabled, if would pull in default
> Kilgard's glut and with it the Kilgard license.

Why should we be jumping through such hoops? Mark Kilgard has made it quite clear that he intends this to be free software, with a license basically equivalent to "MIT" or "as-is".

(In reply to comment #3)
> Eee what should I as maintainer do?
> I have no idea about licensing stuff? :)

That's why licenses@ is in CC. :-)
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-27 19:18:44 UTC
This part of the debian bug clarifies the entire issue fine:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131997#71

I've added that as the "kilgard" license, also in the @MISC-FREE license group.
And adjust the ebuilds to include it.

Everybody happy now?
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 23:02:20 UTC
LICENSE also updated in the x11 overlay.

Closing, thanks all :)
Comment 8 Matt Turner gentoo-dev 2011-09-16 19:00:33 UTC
We don't even ship the bundled glut in Mesa. This kilgard license should have never been added. Further, the bundled glut has recently been removed from mesa.

I'm going to kill the kilgard license and remove it from mesa's LICENSES.

A lot of the other licenses listed in the original report should probably be added though.
Comment 9 Hanno Böck gentoo-dev 2011-09-16 19:11:32 UTC
I don't see a strong need to add further licenses. As far as I can see, it is a mix of LGPL and a bunch of MIT/X11-style licenses. All of them are LGPL-compatible, so setting LICENSE to lgpl should be pretty okay for everything.
Comment 10 Matt Turner gentoo-dev 2011-09-16 19:35:02 UTC
I've corrected the LICENSE variable to

LICENSE="MIT LGPL-3 SGI-B-2.0"

and I'll remove the kilgard license from the tree once I figure out what to do with emul-linux-x86-opengl.

Fixed.