Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364723 - dcraw license should be GPL-2 + public-domain
Summary: dcraw license should be GPL-2 + public-domain
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 22:30 UTC by Hanno Böck
Modified: 2011-04-25 06:54 UTC (History)
2 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 Hanno Böck gentoo-dev 2011-04-24 22:30:19 UTC
dcraw currently has freedist as the license.

Reading dcraw.c:
   No license is required to download and use dcraw.c.  However,
   to lawfully redistribute dcraw, you must either (a) offer, at
   no extra charge, full source code* for all executable files
   containing RESTRICTED functions, (b) distribute this code under
   the GPL Version 2 or later, (c) remove all RESTRICTED functions,
   re-implement them, or copy them from an earlier, unrestricted
   Revision of dcraw.c, or (d) purchase a license from the author.

   The functions that process Foveon images have been RESTRICTED
   since Revision 1.237.  All other code remains free for all uses.

This sounds to me: Most of the code is public domain, some parts are GPL-2. So the correct license variable would be:
LICENSE="public-domain GPL-2"
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-04-25 05:17:16 UTC
Hm, yea, this is not GPL at all. But I'm not sure this is public domain, since we have author and copyright (1997-2010 by Dave Coffin).

@license: any ideas? If not I'd better created dcraw license file...
Comment 2 Ulrich Müller gentoo-dev 2011-04-25 06:28:45 UTC
(In reply to comment #1)
> Hm, yea, this is not GPL at all. But I'm not sure this is public domain, since
> we have author and copyright (1997-2010 by Dave Coffin).
> 
> @license: any ideas? If not I'd better created dcraw license file...

I'm not sure about the "most of the code is public" part, but what seems to be clear is that we can choose option (b) and distribute the package under GPL-2.

BTW, the Debian folks have discussed it too, see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431883>, especially message #65.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-04-25 06:54:44 UTC
Thank you Ulrich. Then current license works for me.