All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v5] package/dlib: new package
Date: Sun, 15 Sep 2024 11:32:51 +0200	[thread overview]
Message-ID: <20240915113251.7bb25ab7@windsurf> (raw)
In-Reply-To: <20240915045455.1567220-1-roykollensvendsen@gmail.com>

On Sun, 15 Sep 2024 06:54:53 +0200
Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:

> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
> ---
> Changes v4 -> v5:
>   - drop all sub-options, and instead rely on automatic dependencies  (suggested by Thomas)
>   - sort the ifeq's
>   - add entry in the DEVELOPERS file as part of the patch adding the package  (suggested by Thomas)
>   - convert 'OR' to lowercase in DLIB_LICENSES
>   - use the most common patterns for comments in hash-files

Thanks for this v5 that we have applied. I just have one comment below.

> +DLIB_LICENSE = \
> +	BSD-3-Clause (kissfft, pybind11) \
> +	BSL-1.0 (dlib, tools) \
> +	CC0-1.0 (examples) \
> +	libpng-2.0 (libpng) \
> +	MIT or CC0-1.0 (JoinPaths.cmake)

Since some of us are grouped in a Buildroot Hackathon this week-end, we
had a discussion about licenses. Two different aspects were discussed:

- Should we list all licenses, or only the licenses of things that
  really go into the target? For example above you list libpng-2.0 in
  fact we never use the bundled libpng code. You list MIT or CC0-1.0
  for JoinPaths.cmake but that never goes to the target. Or the
  pybind11 code under BSD-3-Clause is most likely never built with your
  current packaging of dlib.

  It looks like the consensus was that <pkg>_LICENSE should only list
  the licenses of things that really go into the target. But that
  semantic should be discussed and clarified in our documentation.

  An issue that was raised was about licensing of the SDK, if the SDK
  is distributed, but it looks like the consensus was that this is less
  "relevant" than what goes on the target, and for the SDK, sharing the
  full source code of everything ensures that all license texts are
  provided.

- Should we list all the licenses of "integrated code" or only the
  main, final license. For example here there's some BSD-3-Clause code
  that's integrated, but the final license chosen by the dlib
  maintainers is BSL-1.0.

  It looks like the consensus was that <pkg>_LICENSE should probably
  only list licenses the "main" license, for example BSL-1.0 in this
  case.

I'm not really sure how to move forward with these topics though.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-09-15  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-15  4:54 [Buildroot] [PATCH v5] package/dlib: new package Roy Kollen Svendsen
2024-09-15  9:32 ` Thomas Petazzoni via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240915113251.7bb25ab7@windsurf \
    --to=buildroot@buildroot.org \
    --cc=roykollensvendsen@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.