xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Please pass Debian's licensecheck #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ licensecheck -r third_party/angle/ | grep UNKNOWN
third_party/angle/include/KHR/khrplatform.h: UNKNOWN
third_party/angle/include/GLES2/gl2platform.h: *No copyright* UNKNOWN
third_party/angle/include/GLES2/gl2.h: *No copyright* UNKNOWN
third_party/angle/include/GLES2/gl2ext.h: *No copyright* UNKNOWN
third_party/angle/include/EGL/eglext.h: UNKNOWN
third_party/angle/include/EGL/eglplatform.h: UNKNOWN
third_party/angle/include/EGL/egl.h: UNKNOWN
third_party/angle/include/GLSLANG/ShaderLang.h: UNKNOWN
third_party/angle/src/libEGL/main.cpp: UNKNOWN
third_party/angle/src/libEGL/main.h: UNKNOWN
third_party/angle/src/libEGL/Display.cpp: UNKNOWN
third_party/angle/src/libEGL/Surface.cpp: UNKNOWN
third_party/angle/src/libEGL/Config.cpp: UNKNOWN
third_party/angle/src/libEGL/Config.h: UNKNOWN
third_party/angle/src/libEGL/resource.h: *No copyright* UNKNOWN
third_party/angle/src/libEGL/Display.h: UNKNOWN
third_party/angle/src/libEGL/libEGL.cpp: UNKNOWN
third_party/angle/src/libEGL/Surface.h: UNKNOWN
third_party/angle/src/compiler/VariableInfo.cpp: UNKNOWN
third_party/angle/src/compiler/InitializeGlobals.h: UNKNOWN
third_party/angle/src/compiler/ShaderLang.cpp: UNKNOWN
third_party/angle/src/compiler/ValidateLimitations.h: UNKNOWN
third_party/angle/src/compiler/SymbolTable.h: UNKNOWN
third_party/angle/src/compiler/ForLoopUnroll.cpp: UNKNOWN
third_party/angle/src/compiler/generate_parser.sh: UNKNOWN
third_party/angle/src/compiler/Types.h: UNKNOWN
third_party/angle/src/compiler/localintermediate.h: UNKNOWN
third_party/angle/src/compiler/OutputHLSL.h: UNKNOWN
third_party/angle/src/compiler/InfoSink.h: UNKNOWN
third_party/angle/src/compiler/BuiltInFunctionEmulator.cpp: UNKNOWN
third_party/angle/src/compiler/TranslatorGLSL.cpp: UNKNOWN
third_party/angle/src/compiler/Intermediate.cpp: UNKNOWN
third_party/angle/src/compiler/OutputGLSL.h: UNKNOWN
third_party/angle/src/compiler/debug.h: UNKNOWN
third_party/angle/src/compiler/InitializeDll.h: UNKNOWN
third_party/angle/src/compiler/QualifierAlive.h: UNKNOWN
third_party/angle/src/compiler/RemoveTree.cpp: UNKNOWN
third_party/angle/src/compiler/SearchSymbol.cpp: UNKNOWN
third_party/angle/src/compiler/ExtensionBehavior.h: UNKNOWN
third_party/angle/src/compiler/OutputESSL.cpp: UNKNOWN
third_party/angle/src/compiler/ParseHelper.cpp: UNKNOWN
third_party/angle/src/compiler/ShHandle.h: UNKNOWN
third_party/angle/src/compiler/intermediate.h: UNKNOWN
third_party/angle/src/compiler/UnfoldSelect.cpp: UNKNOWN
third_party/angle/src/compiler/VersionGLSL.cpp: UNKNOWN
third_party/angle/src/compiler/MMap.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/preprocess.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/scanner.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/scanner.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/parser.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/cppstruct.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/compile.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/cpp.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/memory.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/memory.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/slglobals.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/symbols.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/tokens.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/tokens.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/atom.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/atom.c: UNKNOWN
third_party/angle/src/compiler/preprocessor/cpp.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/symbols.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/generate_parser.sh: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Input.cpp: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Context.cpp: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Input.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Preprocessor.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Preprocessor.cpp: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Token.cpp: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Macro.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Macro.cpp: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/stl_utils.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Token.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/Context.h: UNKNOWN
third_party/angle/src/compiler/preprocessor/new/token_type.h: UNKNOWN
third_party/angle/src/compiler/IntermTraverse.cpp: UNKNOWN
third_party/angle/src/compiler/TranslatorESSL.h: UNKNOWN
third_party/angle/src/compiler/RemoveTree.h: UNKNOWN
third_party/angle/src/compiler/TranslatorGLSL.h: UNKNOWN
third_party/angle/src/compiler/ossource_nspr.cpp: UNKNOWN
third_party/angle/src/compiler/ParseHelper.h: UNKNOWN
third_party/angle/src/compiler/VersionGLSL.h: UNKNOWN
third_party/angle/src/compiler/MapLongVariableNames.cpp: UNKNOWN
third_party/angle/src/compiler/InitializeDll.cpp: UNKNOWN
third_party/angle/src/compiler/intermOut.cpp: UNKNOWN
third_party/angle/src/compiler/ForLoopUnroll.h: UNKNOWN
third_party/angle/src/compiler/BuiltInFunctionEmulator.h: UNKNOWN
third_party/angle/src/compiler/QualifierAlive.cpp: UNKNOWN
third_party/angle/src/compiler/PoolAlloc.cpp: UNKNOWN
third_party/angle/src/compiler/OutputGLSLBase.h: UNKNOWN
third_party/angle/src/compiler/osinclude.h: UNKNOWN
third_party/angle/src/compiler/Initialize.h: UNKNOWN
third_party/angle/src/compiler/SearchSymbol.h: UNKNOWN
third_party/angle/src/compiler/TranslatorHLSL.h: UNKNOWN
third_party/angle/src/compiler/Initialize.cpp: UNKNOWN
third_party/angle/src/compiler/OutputHLSL.cpp: UNKNOWN
third_party/angle/src/compiler/parseConst.cpp: UNKNOWN
third_party/angle/src/compiler/glslang.h: UNKNOWN
third_party/angle/src/compiler/CodeGenGLSL.cpp: UNKNOWN
third_party/angle/src/compiler/BaseTypes.h: UNKNOWN
third_party/angle/src/compiler/debug.cpp: UNKNOWN
third_party/angle/src/compiler/Compiler.cpp: UNKNOWN
third_party/angle/src/compiler/DetectRecursion.cpp: UNKNOWN
third_party/angle/src/compiler/ValidateLimitations.cpp: UNKNOWN
third_party/angle/src/compiler/TranslatorESSL.cpp: UNKNOWN
third_party/angle/src/compiler/util.cpp: UNKNOWN
third_party/angle/src/compiler/Common.h: UNKNOWN
third_party/angle/src/compiler/OutputGLSL.cpp: UNKNOWN
third_party/angle/src/compiler/VariableInfo.h: UNKNOWN
third_party/angle/src/compiler/ossource_posix.cpp: UNKNOWN
third_party/angle/src/compiler/DetectRecursion.h: UNKNOWN
third_party/angle/src/compiler/MapLongVariableNames.h: UNKNOWN
third_party/angle/src/compiler/InfoSink.cpp: UNKNOWN
third_party/angle/src/compiler/OutputESSL.h: UNKNOWN
third_party/angle/src/compiler/TranslatorHLSL.cpp: UNKNOWN
third_party/angle/src/compiler/CodeGenHLSL.cpp: UNKNOWN
third_party/angle/src/compiler/OutputGLSLBase.cpp: UNKNOWN
third_party/angle/src/compiler/SymbolTable.cpp: UNKNOWN
third_party/angle/src/compiler/InitializeParseContext.h: UNKNOWN
third_party/angle/src/compiler/util.h: UNKNOWN
third_party/angle/src/compiler/ossource_win.cpp: UNKNOWN
third_party/angle/src/compiler/ConstantUnion.h: UNKNOWN
third_party/angle/src/compiler/PoolAlloc.h: UNKNOWN
third_party/angle/src/compiler/UnfoldSelect.h: UNKNOWN
third_party/angle/src/libGLESv2/VertexDataManager.h: UNKNOWN
third_party/angle/src/libGLESv2/IndexDataManager.cpp: UNKNOWN
third_party/angle/src/libGLESv2/main.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Blit.cpp: UNKNOWN
third_party/angle/src/libGLESv2/main.h: UNKNOWN
third_party/angle/src/libGLESv2/Texture.h: UNKNOWN
third_party/angle/src/libGLESv2/Texture.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Context.cpp: UNKNOWN
third_party/angle/src/libGLESv2/RefCountObject.cpp: UNKNOWN
third_party/angle/src/libGLESv2/libGLESv2.cpp: UNKNOWN
third_party/angle/src/libGLESv2/utilities.cpp: UNKNOWN
third_party/angle/src/libGLESv2/VertexDataManager.cpp: UNKNOWN
third_party/angle/src/libGLESv2/IndexDataManager.h: UNKNOWN
third_party/angle/src/libGLESv2/ResourceManager.h: UNKNOWN
third_party/angle/src/libGLESv2/mathutil.h: UNKNOWN
third_party/angle/src/libGLESv2/utilities.h: UNKNOWN
third_party/angle/src/libGLESv2/Renderbuffer.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Shader.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Buffer.h: UNKNOWN
third_party/angle/src/libGLESv2/Program.h: UNKNOWN
third_party/angle/src/libGLESv2/Renderbuffer.h: UNKNOWN
third_party/angle/src/libGLESv2/ResourceManager.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Program.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Framebuffer.cpp: UNKNOWN
third_party/angle/src/libGLESv2/resource.h: *No copyright* UNKNOWN
third_party/angle/src/libGLESv2/HandleAllocator.h: UNKNOWN
third_party/angle/src/libGLESv2/HandleAllocator.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Fence.h: UNKNOWN
third_party/angle/src/libGLESv2/RefCountObject.h: UNKNOWN
third_party/angle/src/libGLESv2/Context.h: UNKNOWN
third_party/angle/src/libGLESv2/Framebuffer.h: UNKNOWN
third_party/angle/src/libGLESv2/Blit.h: UNKNOWN
third_party/angle/src/libGLESv2/Shader.h: UNKNOWN
third_party/angle/src/libGLESv2/vertexconversion.h: UNKNOWN
third_party/angle/src/libGLESv2/Fence.cpp: UNKNOWN
third_party/angle/src/libGLESv2/Buffer.cpp: UNKNOWN
third_party/angle/src/common/debug.h: UNKNOWN
third_party/angle/src/common/version.h: *No copyright* UNKNOWN
third_party/angle/src/common/angleutils.h: UNKNOWN
third_party/angle/src/common/debug.cpp: UNKNOWN
third_party/angle/samples/gles2_book/MultiTexture/MultiTexture.c: *No 
copyright* UNKNOWN
third_party/angle/samples/gles2_book/Simple_Texture2D/Simple_Texture2D.c: *No 
copyright* UNKNOWN
third_party/angle/samples/gles2_book/Simple_VertexShader/Simple_VertexShader.c: 
*No copyright* UNKNOWN
third_party/angle/samples/gles2_book/MipMap2D/MipMap2D.c: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/TextureWrap/TextureWrap.c: *No copyright* 
UNKNOWN
third_party/angle/samples/gles2_book/Common/esUtil.h: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/Common/Win32/esUtil_TGA.c: *No copyright* 
UNKNOWN
third_party/angle/samples/gles2_book/Common/Win32/esUtil_win32.c: *No 
copyright* UNKNOWN
third_party/angle/samples/gles2_book/Common/esShapes.c: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/Common/esUtil.c: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/Common/esTransform.c: *No copyright* 
UNKNOWN
third_party/angle/samples/gles2_book/Common/esUtil_win.h: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/Common/esShader.c: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/ParticleSystem/ParticleSystem.c: *No 
copyright* UNKNOWN
third_party/angle/samples/gles2_book/Stencil_Test/Stencil_Test.c: *No 
copyright* UNKNOWN
third_party/angle/samples/gles2_book/Simple_TextureCubemap/Simple_TextureCubemap
.c: *No copyright* UNKNOWN
third_party/angle/samples/gles2_book/Hello_Triangle/Hello_Triangle.c: *No 
copyright* UNKNOWN
third_party/angle/samples/translator/translator.cpp: UNKNOWN

Original issue reported on code.google.com by phajdan.jr@chromium.org on 26 Sep 2011 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by phajdan.jr@chromium.org on 26 Sep 2011 at 10:43

GoogleCodeExporter commented 9 years ago
Can you please be more specific what the problem is?  All the files clearly 
have a license specified in them:

//
// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

Original comment by dan...@transgaming.com on 26 Sep 2011 at 11:12

GoogleCodeExporter commented 9 years ago
The files may have license headers, but they're not always recognized by 
Debian's licensecheck tool.

For example, compiler/preprocessor/tokens.c has an NVIDIA license header that 
is not recognized by licensecheck tool.

Moreover, the above ANGLE license header is not recognized by vanilla 
licensecheck, but is recognized by Chromium's modified licensecheck, so those 
are sort of fine. Others would need a more detailed look and probably 
modifications to the licensecheck tool.

If you'd like to run the Chromium version of the tool from the Chromium 
checkout, you can do it like this:

tools/checklicenses/checklicenses.py --ignore-suppressions third_party/angle

Original comment by phajdan.jr@chromium.org on 26 Sep 2011 at 11:25

GoogleCodeExporter commented 9 years ago
IMHO the tool needs to be improved and I don't see how this is an ANGLE issue.  
The include/ headers and compiler/preprocessor files are from external sources 
and I've no intention of modifying the licenses on them.  The ANGLE license 
header is essentially the same as the chromium license.

Original comment by dan...@transgaming.com on 30 Sep 2011 at 2:56

GoogleCodeExporter commented 9 years ago
Yeah, some of the files have license headers that are not recognized by the 
tools, so it needs to be improved.

Some files are also missing license headers, like 
third_party/angle/samples/gles2_book/Hello_Triangle/Hello_Triangle.c and 
possibly other samples too.

I've filed Chromium bug 
http://code.google.com/p/chromium/issues/detail?id=98698 to deal with this as 
advised by Kenneth Russel. Feel free to close this bug.

Original comment by phajdan.jr@chromium.org on 30 Sep 2011 at 6:56

GoogleCodeExporter commented 9 years ago
The samples/gles2_book code is from a book..  and is also available online at: 
http://code.google.com/p/opengles-book-samples/  It is MIT-licensed over there, 
but has identical headers on the code: 

//
// Book:      OpenGL(R) ES 2.0 Programming Guide
// Authors:   Aaftab Munshi, Dan Ginsburg, Dave Shreiner
// ISBN-10:   0321502795
// ISBN-13:   9780321502797
// Publisher: Addison-Wesley Professional
// URLs:      http://safari.informit.com/9780321563835
//            http://www.opengles-book.com
//

It doesn't explicitly say "copyright" but it seems to be obvious where it comes 
from.

Closing as requested.

Original comment by dan...@transgaming.com on 30 Sep 2011 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by phajdan.jr@chromium.org on 16 Oct 2012 at 9:33