Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907995 - media-libs/tiff[jbig] has wrong license: libtiff instead of GPLv2+
Summary: media-libs/tiff[jbig] has wrong license: libtiff instead of GPLv2+
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 10:09 UTC by Andrew Savchenko
Modified: 2023-06-07 10:12 UTC (History)
1 user (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 Andrew Savchenko gentoo-dev 2023-06-07 10:09:58 UTC
Hi,

Curret media-libs/tiff has:
jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )

But jbigkit license is strict GPLv2+, not LGPL:
https://www.cl.cam.ac.uk/~mgk25/jbigkit/
(URL itself mentions GPL without version, but one may see GPLv2+ in the code headers).
So when libtiff is linked with libjbig, it must be GPLv2+ as well.

Considering large number of tiff reverse dependencies, their license must be updated as well for tiff[jbig] dependency when necessary and possible, otherwise such dependency must be forbidden (e.g. GPL-incompatible packages must link with tiff[-jbig]).

Jbigkit also allows dual licensing under commercial license, but I suppose we don't have such case in the tree.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-07 10:12:31 UTC
> Considering large number of tiff reverse dependencies, their license must be
> updated as well for tiff[jbig] dependency when necessary and possible,
> otherwise such dependency must be forbidden (e.g. GPL-incompatible packages
> must link with tiff[-jbig]).
> 

Well, there's only one, and it's not a library (hylafaxplus).