Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889030 - media-gfx/povray has incorrect LICENSE
Summary: media-gfx/povray has incorrect LICENSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-31 04:57 UTC by ganooslashlinus
Modified: 2024-08-27 00:44 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 ganooslashlinus 2022-12-31 04:57:38 UTC
LICENSE="AGPL-3"

https://www.povray.org/download/
>Starting with version 3.7, POV-Ray is released under the AGPL3 (or later) license and thus is Free Software according to the FSF definition.


README.md:
License
--------------------------------------

The source for POV-Ray v3.7 is licensed under the AGPL3. The documentation is under the
Creative Commons Attribution-Noncommercial-ShareAlike 2.5 license, and support files such
as SDL includes, macros, sample scenes and so forth are under the Creative Commons Attribution-ShareAlike
3.0 Unported License (see each file header for the specific one).
...
Documentation
--------------------------------------

When built and installed via the means provided in the source tree, all versions
of POV-Ray come with documentation. For the Unix build, this is in the form of a
manpage giving basic usage, and full HTML-based documentation. For the Windows
version, there is a HtmlHelp (.CHM) file provided.
...


scancode-toolkit doesn't find anything actually AGPLv3-only and so it's all AGPLv3-or-later (output file is too large to attach).


As for the documentation, I can't find the mentioned "Unix" documentation man pages, but the windows documentation is under: distribution/platform-specific/windows/Help/povray37.chm

As far as I can tell, that file is under the proprietary "Creative Commons Attribution-Noncommercial-ShareAlike 2.5" license.


Therefore, it should be: LICENSE="AGPL-3+ CC-BY-SA-3.0 CC-BY-NC-SA-2.5"
Comment 1 Larry the Git Cow gentoo-dev 2024-07-20 11:18:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43f8a0ae56cb1736cf301910571603f2e3da18f

commit a43f8a0ae56cb1736cf301910571603f2e3da18f
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-07-20 11:15:58 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-07-20 11:15:58 +0000

    media-gfx/povray: EAPI=8, fix LICENSE
    
    Closes: https://bugs.gentoo.org/889030
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 ...-3.7.0.0-r4.ebuild => povray-3.7.0.0-r5.ebuild} | 60 +++++++++++-----------
 1 file changed, 30 insertions(+), 30 deletions(-)
Comment 2 Eli Schwartz gentoo-dev 2024-08-27 00:33:47 UTC
With regard to the HTML documentation that is under the Noncommercial-ShareAlike variant license, upstream says:

> When built and installed via the means provided in the source tree

(In reply to ganooslashlinus from comment #0)
> As for the documentation, I can't find the mentioned "Unix" documentation
> man pages,


https://github.com/POV-Ray/povray/blob/v3.7.0.0/unix/povray.1


(In reply to ganooslashlinus from comment #0)
> but the windows documentation is under:
> distribution/platform-specific/windows/Help/povray37.chm
> 
> As far as I can tell, that file is under the proprietary "Creative Commons
> Attribution-Noncommercial-ShareAlike 2.5" license.
> 
> 
> Therefore, it should be: LICENSE="AGPL-3+ CC-BY-SA-3.0 CC-BY-NC-SA-2.5"

We don't install the chm (it is only installed via the NSIS windows installer) so we don't have to describe it in the license.

We also don't ask prebuild.sh to produce HTML documentation -- but if we did, then it looks like it actually fails because of:

Generate docs
Cleanup ../doc
Create ./docs_2024-08-26
Create ./docs_2024-08-26/distribution
Copy distribution
Create ./docs_2024-08-26/documentation
Copy documentation
cp: cannot stat '../documentation/*': No such file or directory
Run makedocs
sh: 0: cannot open makedocs.script: No such file
Process unixhelp HTML files
find: ‘./docs_2024-08-26/documentation/output/final/unixhelp/’: No such file or directory
mv: cannot stat './docs_2024-08-26/documentation/output/final/unixhelp/idx.html': No such file or directory


etc. It looks like they failed to actually include the parts of this that make it work? So I think we don't need the Noncommercial-ShareAlike license here at all.

I was considering to add a USE=doc which selected whether or not to install this! But that seems unnecessary.
Comment 3 Larry the Git Cow gentoo-dev 2024-08-27 00:44:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e1e0b5cb2c61cfc1d724a9a398178dd86f9b802

commit 2e1e0b5cb2c61cfc1d724a9a398178dd86f9b802
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-08-27 00:36:23 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-08-27 00:41:54 +0000

    media-gfx/povray: relax license a bit and return to `@FREE`
    
    Due to documentation, povray is, per its README, partially licensed
    under CC-BY-NC-SA-2.5 which is *not* a free license.
    
    However, it turns out we don't install that documentation anyway:
    
    - part of it actually isn't even in the sources at all, though upstream
      clearly intended it to be as the build scripts try to create it but
      log failures due to the files being missing (and then don't actually
      exit with a failure status!!!)
    
    - and the other part isn't used by the build at all except when using
      the Windows NSIS installer, which we don't run
    
    Hence we don't need that license.
    
    Closes: https://bugs.gentoo.org/889030
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 .../povray/{povray-3.7.0.0-r5.ebuild => povray-3.7.0.0-r6.ebuild}     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)