-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spdx tags: Use PSDX tags for this project #7
base: master
Are you sure you want to change the base?
Changes from all commits
21afc62
2f3fcaf
e832243
4a0a95e
b4a5d80
0250d25
3b6fdbf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# SPDX-License-Identifier: (LGPL-2.1-only OR BSD-3-Clause) | ||
|
||
LOCAL_PATH:= $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,5 @@ | ||
tinycompress is provided under a dual BSD/LGPLv2.1 license. When using or | ||
redistributing tinycompress, you may do so under either license. | ||
tinycompress is provided under: | ||
SPDX-License-Identifier: LGPL-2.1-only OR BSD-3-Clause | ||
|
||
BSD LICENSE | ||
|
||
tinycompress library for compress audio offload in alsa | ||
Copyright (c) 2011-2012, Intel Corporation | ||
All rights reserved. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @vinodkoul you cannot remove the Intel Copyright. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @plbossart If you look closely, the copyright is retained in src file where IMO it is apt. Here in COPYING file it feels a copy paste mistake, hence removal. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some of these COPYING files only provide the license, others combine license and copyright. I don't know what the rule is and I am not a lawyer, so when in doubt I am asking you to please keep the copyright as is. It may be a mistake but that's not for me to approve. |
||
|
||
Author: Vinod Koul <vinod.koul@linux.intel.com> | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
Neither the name of Intel Corporation nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | ||
THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
LGPL LICENSE | ||
|
||
tinycompress library for compress audio offload in alsa | ||
Copyright (c) 2011-2012, Intel Corporation. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, please keep the copyright for Intel. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
|
||
|
||
This program is free software; you can redistribute it and/or modify it | ||
under the terms and conditions of the GNU Lesser General Public License, | ||
version 2.1, as published by the Free Software Foundation. | ||
|
||
This program is distributed in the hope it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program; if not, write to | ||
the Free Software Foundation, Inc., | ||
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
All contributions to the tinycompress project are subject to this COPYING | ||
file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,6 @@ | ||
/* | ||
* This file is provided under a dual BSD/LGPLv2.1 license. When using or | ||
* redistributing this file, you may do so under either license. | ||
* | ||
* BSD LICENSE | ||
* | ||
* tinycompress library for compress audio offload in alsa | ||
* Copyright (c) 2011-2012, Intel Corporation | ||
* All rights reserved. | ||
* | ||
* Author: Vinod Koul <vkoul@kernel.org> | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are met: | ||
* | ||
* Redistributions of source code must retain the above copyright notice, | ||
* this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
* this list of conditions and the following disclaimer in the documentation | ||
* and/or other materials provided with the distribution. | ||
* Neither the name of Intel Corporation nor the names of its contributors | ||
* may be used to endorse or promote products derived from this software | ||
* without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | ||
* THE POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
* LGPL LICENSE | ||
* | ||
* tinycompress library for compress audio offload in alsa | ||
* Copyright (c) 2011-2012, Intel Corporation. | ||
* | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms and conditions of the GNU Lesser General Public License, | ||
* version 2.1, as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
* License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with this program; if not, write to | ||
* the Free Software Foundation, Inc., | ||
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | ||
/* SPDX-License-Identifier: (LGPL-2.1-only OR BSD-3-Clause) */ | ||
/* Copyright (c) 2011-2012, Intel Corporation */ | ||
/* Author: Vinod Koul <vkoul@kernel.org> */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not the kernel-style // SPDX-License-Identifier: (LGPL-2.1-only OR BSD-3-Clause) -> I don't know what the official policy is but you did this work as an Intel employee. Your email no longer reflect that fact. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I felt that we can be simpler and use two styles, /* SPDX */ for code files. The email refers to author of file and that persons updated email address, has nothing to do we who I was employed with (it was actually modified after I left Intel) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't care about style, but you created your own style here. why change? |
||
|
||
#include <stdio.h> | ||
#include <stdlib.h> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
tinycompress util-lgpl folder is provided under: | ||
SPDX-License-Identifier: LGPL-2.1-only | ||
|
||
All contributions to this section of the tinycompress project are subject to | ||
this COPYING file. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# SPDX-License-Identifier: LGPL-2.1-only | ||
|
||
bin_PROGRAMS = fcplay | ||
|
||
fcplay_SOURCES = fcplay.c | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
//SPDX-License-Identifier: LGPL-2.1-only | ||
/* SPDX-License-Identifier: LGPL-2.1-only */ | ||
|
||
//Copyright (c) 2011-2012, Intel Corporation | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not really confused as to whether this is indeed an Intel contribution. I don't think we added anything with LGPL-only, did we? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was derived from cplay.c (lots of code copy) hence the original copyright was retained by me and new one added There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. In that case, you should make it clearer. e.g. Derived from cplay.c Copyright (c) 2011-2012, Intel Corporation |
||
//Copyright (c) 2018-2019, Linaro Ltd | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why change this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Code style change |
||
/* Copyright (c) 2011-2012, Intel Corporation */ | ||
/* Copyright (c) 2018-2019, Linaro Ltd */ | ||
|
||
#include <stdint.h> | ||
#include <linux/types.h> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# SPDX-License-Identifier: (LGPL-2.1-only OR BSD-3-Clause) | ||
|
||
bin_PROGRAMS = cplay crecord | ||
|
||
cplay_SOURCES = cplay.c | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use the same notation as in the rest of the files
SPDX-License-Identifier: (LGPL-2.1-only OR BSD-3-Clause)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should, thanks for pointing