Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaël PORTAY" <gael.portay@savoirfairelinux.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] qt5webengine: update chromium license file names
Date: Sat, 1 Sep 2018 04:02:23 -0400	[thread overview]
Message-ID: <20180901080223.vzr47rcedmledhee@archlinux> (raw)
In-Reply-To: <20180829223242.31c40388@windsurf>

Thomas, Laurent,

On Wed, Aug 29, 2018 at 10:32:42PM +0200, Thomas Petazzoni wrote:
> Hello Laurent,
> 
> On Wed, 29 Aug 2018 12:51:24 +0200, Laurent Hartanerot wrote:
> > From: Laurent Hartanerot <laurent.hartanerot@atos.net>
> > 
> > Add license file name for qt5webengine-5.6
> > 
> > Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
> 

Laurent: I am glad you take care of licenses in QtWebEngine. It was in
my todo list for the last couple of month. I forgot to maintain it
through the bumps of Qt :/ and I am sorry about that.

> Thanks for this new iteration. Unfortunately, I still see a number of
> problems, some of them dating back from the origin of the qt5webengine
> package (so Ga?l if you're around, your feedback/help would be nice).
> 

Thomas: If I remember well, I was told to include all QtWebEngine
licenses (in v4?) and I simply run a dummy script of my own to find all
files that have some license information inside.

Then, I looked if the module was compiled and I added it into the list.
But it is hard to know in advance if the module is going to be build or
not.

Note: QtWebKit does not include the WebKit license.

> > +CHROMIUM_LICENSE_FILES = \
> 
> Another problem is the name of this variable: if we ever have a package
> called "chromium" (which is not unlikely, as it was submitted in
> https://patchwork.ozlabs.org/patch/942284/), then this
> CHROMIUM_LICENSE_FILES variable internal to qt5webengine will clash
> with the CHROMIUM_LICENSE_FILES of the legitimate chromium package.
> 
> So the naming of this variable should be changed to
> QT5WEBENGINE_CHROMIUM_LICENSE_FILES or something like this.
> 

Right, I was not aware about variable name clashing when I submitted the
patch.

Good catch.

> > +ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
> >  include package/qt5/qt5webengine/chromium.inc
> 
> Perhaps this file should be renamed chromium-latest.inc
> 
> > +else
> > +include package/qt5/qt5webengine/chromium.5.6.inc
> 
> and this one chromium-lts.inc ?
> 
> Could you send a couple of separate patches to fix those issues ?
> 

This is a good idea to split file into versions.

I tested the v3 and it works fine.

But, if you do not mind, I would name the file using the Qt version
number variable $(QT5_VERSION_MAJOR).

	include package/qt5/qt5webengine/chromium-$(QT5_VERSION_MAJOR).inc

	1. We make sure to update the license file through the bumps of
	major version of Qt (5.11 to 5.12...). Otherwise, we will have
	an issue telling that the file is missing and make cannot
	include it.

	2. Qt version 5.9 and upcoming version 5.12 are also LTS which
	is confusing a bit (even if they are the latest supported in
	buildroot).

> Thanks!
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

Regards,
Gael

  parent reply	other threads:[~2018-09-01  8:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29  6:30 [Buildroot] [PATCH 1/1] qt5webengine: update chromium license file names Laurent Hartanerot
2018-08-29  8:24 ` Thomas Petazzoni
2018-08-29 10:45   ` Laurent Hartanerot
2018-08-29 10:51 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
2018-08-29 20:32   ` Thomas Petazzoni
2018-08-30  6:13     ` Laurent Hartanerot
2018-09-01  8:02     ` Gaël PORTAY [this message]
2018-08-30 10:05 ` [Buildroot] [PATCH v3 1/3] qt5webengine: update chromium license file names for qt-lts Laurent Hartanerot
2018-09-01 12:46   ` Thomas Petazzoni
2018-09-27 21:12   ` Peter Korsgaard
2018-08-30 10:06 ` [Buildroot] [PATCH v3 2/3] qt5webengine: update chromium license file names for qt-latest Laurent Hartanerot
2018-09-01 12:46   ` Thomas Petazzoni
2018-08-30 10:07 ` [Buildroot] [PATCH v3 3/3] qt5webengine: Rename internal variable to qt5webengine Laurent Hartanerot
2018-09-01 12:47   ` Thomas Petazzoni

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=20180901080223.vzr47rcedmledhee@archlinux \
    --to=gael.portay@savoirfairelinux.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox