Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614154 - media-sound/pulseaudio LICENSE metadata and expressing license strictening due to linkage or not
Summary: media-sound/pulseaudio LICENSE metadata and expressing license strictening du...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Licenses team
URL: https://cgit.freedesktop.org/pulseaud...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 14:40 UTC by Mart Raudsepp
Modified: 2022-04-13 00:57 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2017-03-28 14:40:14 UTC
Currently media-sound/pulseaudio has some USE=gdbm conditional license on it, GPL-2 if enabled, LGPL-2.1 otherwise.
The question is if we really need to be expressing this in LICENSE manually, or it could be simply LGPL-2.1+ and any incompatibilities would be implicit.

If not, then I'd have to update it to be actually correct in these terms, which would make it be something like

LICENSE="!gdbm? ( !lirc? ( !equalizer? ( LGPL-2.1+ ) ) ) lirc? ( !gdbm? ( GPL-2+ ) ) equalizer? ( AGPL-3+ !gdbm? ( GPL-2+ ) ) gdbm? ( GPL-3+ )"

instead of simply

LICENSE="LGPL-2.1+ equalizer? ( AGPL-3+ )"


as-is due to gdbm moving away from GPL-2+ to GPL-3+ is wrong too, but I'd rather fix it up as needed fully. gdbm package license is probably wrong too (GPL-3 only right now, but likely GPL-3+ really).

This used to have to be even more convoluted to be correct with linkage considered due to libsamplerate being GPL-2 (possibly not "or later", meaning even incompatibilities), but it got relicensed to 2-clause BSD and I've asked that version to be stabilized now to avoid that mess (and using that 2-clause BSD should simply change it to LGPL or GPL or something).
Comment 1 Igor V. Kovalenko 2022-03-20 05:34:17 UTC
Similar issue was discussed during gstreamer 1.20.0 bump https://github.com/gentoo/gentoo/pull/24183 with outcome that we will not perform explicit license acceptance for affected gstreamer plugins. Most relevant I believe is this part:

- if a user is not willing to accept the license of corresponding (A)GPL dependency, such dependency will not be available and affected gstreamer plugin will not be built

I think the same reasoning can be applied to pulseaudio as well, but I'm really not sure how / if LICENSE= should be amended on pulseaudio packages as a result.
Comment 2 Niklāvs Koļesņikovs 2022-04-12 19:41:02 UTC
Correct me if I'm wrong but isn't the stage3 full of GPL licensed software? Anyone who uses Gentoo should be okay with GPL or they should not be even using anything Linux (a GPL licensed kernel) in the first place.
Comment 3 Matt Turner gentoo-dev 2022-04-13 00:57:19 UTC
(In reply to Mart Raudsepp from comment #0)
> LICENSE="!gdbm? ( !lirc? ( !equalizer? ( LGPL-2.1+ ) ) ) lirc? ( !gdbm? (
> GPL-2+ ) ) equalizer? ( AGPL-3+ !gdbm? ( GPL-2+ ) ) gdbm? ( GPL-3+ )"

Formatting this a bit:

!gdbm? ( 
	!lirc? (
		!equalizer? ( LGPL-2.1+ ) 
	)
)
lirc? (
	!gdbm? ( GPL-2+ )
) 
equalizer? ( 
	AGPL-3+ 
	!gdbm? ( GPL-2+ ) 
)
gdbm? ( GPL-3+ )