linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vicodec: change codec license to LGPL
@ 2018-09-02 10:37 Hans Verkuil
  2018-09-03  1:17 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2018-09-02 10:37 UTC (permalink / raw)
  To: Linux Media Mailing List, Tom aan de Wiel; +Cc: Nicolas Dufresne

The FWHT codec can also be used by userspace utilities and libraries, but
since the current license is GPL and not LGPL it is not possible to include
it in e.g. gstreamer, since LGPL is required for that.

Change the license of these four files to LGPL.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
---
Tom, if you agree to this, can you give your 'Signed-off-by' line? I cannot
make this change for the codec-fwht.c/h files without it. I think this change
makes sense.

Regards,

	Hans
---
diff --git a/drivers/media/platform/vicodec/codec-fwht.c b/drivers/media/platform/vicodec/codec-fwht.c
index 47939160560e..36656031b295 100644
--- a/drivers/media/platform/vicodec/codec-fwht.c
+++ b/drivers/media/platform/vicodec/codec-fwht.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: LGPL-2.1+
 /*
  * Copyright 2016 Tom aan de Wiel
  * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
diff --git a/drivers/media/platform/vicodec/codec-fwht.h b/drivers/media/platform/vicodec/codec-fwht.h
index 1f9e47331197..3e9391fec5fe 100644
--- a/drivers/media/platform/vicodec/codec-fwht.h
+++ b/drivers/media/platform/vicodec/codec-fwht.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /*
  * Copyright 2016 Tom aan de Wiel
  * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.c b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
index cfcf84b8574d..6b06aa382cbb 100644
--- a/drivers/media/platform/vicodec/codec-v4l2-fwht.c
+++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: LGPL-2.1
 /*
  * A V4L2 frontend for the FWHT codec
  *
diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.h b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
index 7794c186d905..95d1756556db 100644
--- a/drivers/media/platform/vicodec/codec-v4l2-fwht.h
+++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: LGPL-2.1 */
 /*
  * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
  */

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] vicodec: change codec license to LGPL
  2018-09-02 10:37 [PATCH] vicodec: change codec license to LGPL Hans Verkuil
@ 2018-09-03  1:17 ` Mauro Carvalho Chehab
  2018-09-03  7:32   ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2018-09-03  1:17 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Linux Media Mailing List, Tom aan de Wiel, Nicolas Dufresne

Em Sun, 2 Sep 2018 12:37:04 +0200
Hans Verkuil <hverkuil@xs4all.nl> escreveu:

> The FWHT codec can also be used by userspace utilities and libraries, but
> since the current license is GPL and not LGPL it is not possible to include
> it in e.g. gstreamer, since LGPL is required for that.
> 
> Change the license of these four files to LGPL.
> 
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> ---
> Tom, if you agree to this, can you give your 'Signed-off-by' line? I cannot
> make this change for the codec-fwht.c/h files without it. I think this change
> makes sense.
> 
> Regards,
> 
> 	Hans
> ---
> diff --git a/drivers/media/platform/vicodec/codec-fwht.c b/drivers/media/platform/vicodec/codec-fwht.c
> index 47939160560e..36656031b295 100644
> --- a/drivers/media/platform/vicodec/codec-fwht.c
> +++ b/drivers/media/platform/vicodec/codec-fwht.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: LGPL-2.1+

There aren't much C files under LGPL at the Kernel. Yeah, I know it
is compatible with GPL-2.0+, but I would prefer it the tag would
be, instead:

// SPDX-License-Identifier: GPL-2.0+ OR LGPL-2.1+

as this makes easier if one uses some software to parse the Kernel
tree.

(same applies to the other files).

Regards,
Mauro

>  /*
>   * Copyright 2016 Tom aan de Wiel
>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
> diff --git a/drivers/media/platform/vicodec/codec-fwht.h b/drivers/media/platform/vicodec/codec-fwht.h
> index 1f9e47331197..3e9391fec5fe 100644
> --- a/drivers/media/platform/vicodec/codec-fwht.h
> +++ b/drivers/media/platform/vicodec/codec-fwht.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: LGPL-2.1+ */
>  /*
>   * Copyright 2016 Tom aan de Wiel
>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
> diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.c b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
> index cfcf84b8574d..6b06aa382cbb 100644
> --- a/drivers/media/platform/vicodec/codec-v4l2-fwht.c
> +++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: LGPL-2.1
>  /*
>   * A V4L2 frontend for the FWHT codec
>   *
> diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.h b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
> index 7794c186d905..95d1756556db 100644
> --- a/drivers/media/platform/vicodec/codec-v4l2-fwht.h
> +++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: LGPL-2.1 */
>  /*
>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
>   */



Thanks,
Mauro

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] vicodec: change codec license to LGPL
  2018-09-03  1:17 ` Mauro Carvalho Chehab
@ 2018-09-03  7:32   ` Hans Verkuil
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Verkuil @ 2018-09-03  7:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Linux Media Mailing List, Tom aan de Wiel, Nicolas Dufresne

On 09/03/2018 03:17 AM, Mauro Carvalho Chehab wrote:
> Em Sun, 2 Sep 2018 12:37:04 +0200
> Hans Verkuil <hverkuil@xs4all.nl> escreveu:
> 
>> The FWHT codec can also be used by userspace utilities and libraries, but
>> since the current license is GPL and not LGPL it is not possible to include
>> it in e.g. gstreamer, since LGPL is required for that.
>>
>> Change the license of these four files to LGPL.
>>
>> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>> ---
>> Tom, if you agree to this, can you give your 'Signed-off-by' line? I cannot
>> make this change for the codec-fwht.c/h files without it. I think this change
>> makes sense.
>>
>> Regards,
>>
>> 	Hans
>> ---
>> diff --git a/drivers/media/platform/vicodec/codec-fwht.c b/drivers/media/platform/vicodec/codec-fwht.c
>> index 47939160560e..36656031b295 100644
>> --- a/drivers/media/platform/vicodec/codec-fwht.c
>> +++ b/drivers/media/platform/vicodec/codec-fwht.c
>> @@ -1,4 +1,4 @@
>> -// SPDX-License-Identifier: GPL-2.0+
>> +// SPDX-License-Identifier: LGPL-2.1+
> 
> There aren't much C files under LGPL at the Kernel. Yeah, I know it
> is compatible with GPL-2.0+, but I would prefer it the tag would
> be, instead:
> 
> // SPDX-License-Identifier: GPL-2.0+ OR LGPL-2.1+
> 
> as this makes easier if one uses some software to parse the Kernel
> tree.
> 
> (same applies to the other files).

I don't see the point. Grepping for this shows nobody else doing that.
LGPL is one of the preferred licenses (LICENSES/preferred/), so I don't
see what you gain by supporting both.

I don't see why this would make it easier parsing the kernel, since
that's what the SPDX tag is for.

Regards,

	Hans

> 
> Regards,
> Mauro
> 
>>  /*
>>   * Copyright 2016 Tom aan de Wiel
>>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
>> diff --git a/drivers/media/platform/vicodec/codec-fwht.h b/drivers/media/platform/vicodec/codec-fwht.h
>> index 1f9e47331197..3e9391fec5fe 100644
>> --- a/drivers/media/platform/vicodec/codec-fwht.h
>> +++ b/drivers/media/platform/vicodec/codec-fwht.h
>> @@ -1,4 +1,4 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> +/* SPDX-License-Identifier: LGPL-2.1+ */
>>  /*
>>   * Copyright 2016 Tom aan de Wiel
>>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
>> diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.c b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
>> index cfcf84b8574d..6b06aa382cbb 100644
>> --- a/drivers/media/platform/vicodec/codec-v4l2-fwht.c
>> +++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.c
>> @@ -1,4 +1,4 @@
>> -// SPDX-License-Identifier: GPL-2.0
>> +// SPDX-License-Identifier: LGPL-2.1
>>  /*
>>   * A V4L2 frontend for the FWHT codec
>>   *
>> diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.h b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
>> index 7794c186d905..95d1756556db 100644
>> --- a/drivers/media/platform/vicodec/codec-v4l2-fwht.h
>> +++ b/drivers/media/platform/vicodec/codec-v4l2-fwht.h
>> @@ -1,4 +1,4 @@
>> -/* SPDX-License-Identifier: GPL-2.0 */
>> +/* SPDX-License-Identifier: LGPL-2.1 */
>>  /*
>>   * Copyright 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
>>   */
> 
> 
> 
> Thanks,
> Mauro
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-03 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-02 10:37 [PATCH] vicodec: change codec license to LGPL Hans Verkuil
2018-09-03  1:17 ` Mauro Carvalho Chehab
2018-09-03  7:32   ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).