[{"id":4916,"web_url":"https://patchwork.libcamera.org/comment/4916/","msgid":"<01e8260a8ffd64936ca9106c374f017a480259c2.camel@ndufresne.ca>","date":"2020-05-28T00:24:13","subject":"Re: [libcamera-devel] [PATCH] v4l2: Relicense V4L2 compatibility\n\tlayer under LGPL","submitter":{"id":30,"url":"https://patchwork.libcamera.org/api/people/30/","name":"Nicolas Dufresne","email":"nicolas@ndufresne.ca"},"content":"Le vendredi 22 mai 2020 à 17:54 +0300, Laurent Pinchart a écrit :\n> The V4L2 compatibility layer is licensed under the GPL. It is compiled\n> as a binary separate from libcamera.so, and is loaded into the address\n> space of processes through LD_PRELOAD to intercept calls to the C\n> library.\n> \n> It is our understanding and intent that the GPL license doesn't\n> propagate to the binaries whose calls are intercepted, considering those\n> binaries are not derivative work of the V4L2 compatibility layer and are\n> not designed to be linked to the V4L2 compatibility layer. There is\n> however a possibly grey area if binaries are packaged with a shell\n> script wrapper that loads the V4L2 compatibility layer. This could lead\n> to license-related issues if such packaging is performed by Linux\n> distributions or system integrators.\n> \n> To clarify the intent and lift the doubts, relicense the V4L2\n> compatibility layer under the LGPL. The V4L2 compatibility layer code\n> itself still benefits from the license protection, while its usage with\n> third-party binaries is clearly allowed as intended.\n> \n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nAcked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n\n> ---\n>  src/v4l2/v4l2_camera.cpp         | 2 +-\n>  src/v4l2/v4l2_camera.h           | 2 +-\n>  src/v4l2/v4l2_camera_proxy.cpp   | 2 +-\n>  src/v4l2/v4l2_camera_proxy.h     | 2 +-\n>  src/v4l2/v4l2_compat.cpp         | 2 +-\n>  src/v4l2/v4l2_compat_manager.cpp | 2 +-\n>  src/v4l2/v4l2_compat_manager.h   | 2 +-\n>  7 files changed, 7 insertions(+), 7 deletions(-)\n> \n> diff --git a/src/v4l2/v4l2_camera.cpp b/src/v4l2/v4l2_camera.cpp\n> index 50a4121cc93f..4da01a450dca 100644\n> --- a/src/v4l2/v4l2_camera.cpp\n> +++ b/src/v4l2/v4l2_camera.cpp\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_camera.h b/src/v4l2/v4l2_camera.h\n> index c969130fb37d..303eda44ca1d 100644\n> --- a/src/v4l2/v4l2_camera.h\n> +++ b/src/v4l2/v4l2_camera.h\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp\n> index 19e8f6d3b98d..3df4d42b59ea 100644\n> --- a/src/v4l2/v4l2_camera_proxy.cpp\n> +++ b/src/v4l2/v4l2_camera_proxy.cpp\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h\n> index e15b230d5f23..af9f9bbe83d5 100644\n> --- a/src/v4l2/v4l2_camera_proxy.h\n> +++ b/src/v4l2/v4l2_camera_proxy.h\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_compat.cpp b/src/v4l2/v4l2_compat.cpp\n> index a162037f6dc7..2a9a17629106 100644\n> --- a/src/v4l2/v4l2_compat.cpp\n> +++ b/src/v4l2/v4l2_compat.cpp\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_compat_manager.cpp\n> b/src/v4l2/v4l2_compat_manager.cpp\n> index cd8ac0b8e819..2338a0ee1dd2 100644\n> --- a/src/v4l2/v4l2_compat_manager.cpp\n> +++ b/src/v4l2/v4l2_compat_manager.cpp\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *\n> diff --git a/src/v4l2/v4l2_compat_manager.h b/src/v4l2/v4l2_compat_manager.h\n> index 872c7c3b10e8..14338a59deca 100644\n> --- a/src/v4l2/v4l2_compat_manager.h\n> +++ b/src/v4l2/v4l2_compat_manager.h\n> @@ -1,4 +1,4 @@\n> -/* SPDX-License-Identifier: GPL-2.0-or-later */\n> +/* SPDX-License-Identifier: LGPL-2.1-or-later */\n>  /*\n>   * Copyright (C) 2019, Google Inc.\n>   *","headers":{"Return-Path":"<nicolas@ndufresne.ca>","Received":["from mail-qk1-x741.google.com (mail-qk1-x741.google.com\n\t[IPv6:2607:f8b0:4864:20::741])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0503361075\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 28 May 2020 02:24:16 +0200 (CEST)","by mail-qk1-x741.google.com with SMTP id q8so1504657qkm.12\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 27 May 2020 17:24:16 -0700 (PDT)","from nicolas-tpx395 ([192.222.193.21])\n\tby smtp.gmail.com with ESMTPSA id\n\tw204sm3803453qka.41.2020.05.27.17.24.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 27 May 2020 17:24:14 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=ndufresne-ca.20150623.gappssmtp.com\n\theader.i=@ndufresne-ca.20150623.gappssmtp.com header.b=\"df4RLaj6\"; \n\tdkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=ndufresne-ca.20150623.gappssmtp.com; s=20150623;\n\th=message-id:subject:from:to:date:in-reply-to:references:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=oi8bhkb++NaI09yqGIqmYy5/maYZHGRFoX2qealPJ5U=;\n\tb=df4RLaj640br7+fBeCYZiQDVh4zEbe4ODOWoKberyg7Oe5/ev+s8xWXEJ4zsnfxBgH\n\tWOliyUGdK3JPCPOyZw5XR4jcdFNOU0WM6TDVFnB0EWQXi7RITbv0UfmXW9/TJLJQj1cD\n\tsvSRMmB3tA/wk6GUSE/O2Gv/ARixc7jeGaR5Ok3MPHbFtrCOrTGPAhoA1qTNYIbYxHD4\n\tael6vhlrhfZFi/9LUoUPOjyKLwwiOEo2lPVf1PgT9ak47d790MyP7piw2sHQRCWiluE3\n\t7Ae4RRSSBX9xst5Yx0ni2qG2H6l5HObVMsKaGp1mVwItNhgNgpGhnqQLeUYURvZdxiZD\n\tDpEw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:message-id:subject:from:to:date:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=oi8bhkb++NaI09yqGIqmYy5/maYZHGRFoX2qealPJ5U=;\n\tb=pruJaWwVdkk6mZoFgsMN2UR37EzzwK8hDapJUL+dUeP03JIrEYDpBWs7l3JBnZAzwe\n\tDttbkL2PORZgII7TWmqkuViSBGYZvXF64Vq10bSgPjoRbwa8llBHQdehZUb0gasSg5Oi\n\tQ7jwCGazI2JWEQEdW+ew6Z/WGh45/6JMrlr6Aq9cWvFxLibmLMTEkkKQlJZfm6jVH/vR\n\tT1FBNsW0RfXmWbmi2K3XONbehaJtHM75tOgpNX1s9tPUd3G8ITEt+aiICd/EFG/Sq3kn\n\tkjQrRGcMzGLZhmE03t/jPEtzkBE49/Nw7e/7Itd3PjG/bJLfQrdujl5NMhPvSuZzMSwt\n\t0SlA==","X-Gm-Message-State":"AOAM531nvfkQY9UcwDE88PiGbOKc85MzgwUIPUPYL0jtqyWqnjuSyYGy\n\t7+w9L+/BKCbrv45ZuzKVHeoRV3jSlcupvQ==","X-Google-Smtp-Source":"ABdhPJwHiL95Osvq/V/oGFNFvrVC96L1fNpt4n/5Wjk4sJzYKLT/KTVzaFFOVPyK7SPX808AG+BRDw==","X-Received":"by 2002:a05:620a:c87:: with SMTP id\n\tq7mr462504qki.31.1590625455712; \n\tWed, 27 May 2020 17:24:15 -0700 (PDT)","Message-ID":"<01e8260a8ffd64936ca9106c374f017a480259c2.camel@ndufresne.ca>","From":"Nicolas Dufresne <nicolas@ndufresne.ca>","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>, \n\tlibcamera-devel@lists.libcamera.org","Date":"Wed, 27 May 2020 20:24:13 -0400","In-Reply-To":"<20200522145459.16836-3-laurent.pinchart@ideasonboard.com>","References":"<20200522145459.16836-1-laurent.pinchart@ideasonboard.com>\n\t<20200522145459.16836-3-laurent.pinchart@ideasonboard.com>","Content-Type":"text/plain; charset=\"UTF-8\"","User-Agent":"Evolution 3.36.2 (3.36.2-1.fc32) ","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"Re: [libcamera-devel] [PATCH] v4l2: Relicense V4L2 compatibility\n\tlayer under LGPL","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 28 May 2020 00:24:17 -0000"}}]