Bug 848662

Summary: antlr: non-free elements included
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: antlrAssignee: Milos Jakubicek <xjakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: tcallawa, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: antlr-2.7.7-23.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-18 14:31:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Update licenses on two Oracle example files to match upstream none

Description Mikolaj Izdebski 2012-08-16 07:17:08 UTC
Description of problem:
fop includes non-free elements. Quoting from
./antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java:

> Copyright (c) 1995-1998 Sun Microsystems, Inc. All Rights Reserved.
>
> Permission to use, copy, modify, and distribute this software
> and its documentation for NON-COMMERCIAL purposes and without
> fee is hereby granted provided that this copyright notice
> appears in all copies. Please refer to the file "copyright.html"
> for further important copyright and licensing information.

This license is non-free because it doesn't allow commercial use.
Please remove non-free parts from Fedora.

This bug affects all supported or developed Fedora releases, from F16 to F19.

Comment 1 Tom "spot" Callaway 2012-08-16 14:15:03 UTC
These two files (ShowString.java) and (StreamConverter.java) were relicensed under the BSD license by Oracle in 2008 (or earlier):

http://docs.oracle.com/javase/tutorial/displayCode.html?code=http://docs.oracle.com/javase/tutorial/i18n/text/examples/ShowString.java

http://docs.oracle.com/javase/tutorial/displayCode.html?code=http://docs.oracle.com/javase/tutorial/i18n/text/examples/StreamConverter.java

Thus, these files are actually now Free, even if their license header is out of date. I will make a patch to correct it, apply it in rawhide, and send it upstream.

Comment 2 Milos Jakubicek 2012-08-16 14:18:33 UTC
Tom, thanks, I was about to remove that example. Not sure about sending it upstream, antlr2 has been obsoleted for quite some years, but, well, you can give it a try.

Comment 3 Tom "spot" Callaway 2012-08-16 14:22:55 UTC
Yeah, I just noticed the same thing. I'll just attach the patch here for you to apply to rawhide. :)

Comment 4 Tom "spot" Callaway 2012-08-16 14:23:52 UTC
Created attachment 604954 [details]
Update licenses on two Oracle example files to match upstream

Comment 5 Tom "spot" Callaway 2012-08-16 14:24:43 UTC
Lifting FE-Legal, as this is not a blocker, just something we should fix in rawhide.