From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 2/5] package/qt5/qt5webengine: generate chromium-latest.inc automatically
Date: Sun, 17 Feb 2019 15:12:06 +0100 [thread overview]
Message-ID: <20190217141209.22182-3-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20190217141209.22182-1-thomas.petazzoni@bootlin.com>
As a preparation to the bump of qt5webengine, this commit changes to a
mechanism where it is generated automatically. We use a fairly
convoluted 'find' expression to retrieve almost the same list of files
as the exist ones.
Two files are removed that are not really license files:
- src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/license.py
- src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/NonCopyingSort.h
Three files are added, which are license files:
- src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY
- src/3rdparty/chromium/third_party/libxml/src/Copyright
- src/3rdparty/chromium/third_party/libxslt/src/Copyright
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/qt5/qt5webengine/chromium-latest.inc | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/qt5/qt5webengine/chromium-latest.inc b/package/qt5/qt5webengine/chromium-latest.inc
index 4fc1ae5ecf..9e4b7d6356 100644
--- a/package/qt5/qt5webengine/chromium-latest.inc
+++ b/package/qt5/qt5webengine/chromium-latest.inc
@@ -1,3 +1,8 @@
+# (echo "QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \\" ; \
+# find src/3rdparty/ -type f \
+# \( -iname 'license*' -o -iname 'copying*' -o -name 'APPLE_LICENSE' -o -name 'Copyright' -o -path '*/license_texts/*' -o -path '*/licenses/*' \) \
+# -a -not -name '*.cc' -not -name '*.py' -not -name '*.h' -not -name 'LICENSE.sha1' -not -name 'licensecheck.pl*' -not -name 'license.after' -not -name 'license.before' | \
+# sort | sed 's%^\(.*\)$%\t\1 \\%') > package/qt5/qt5webengine/chromium-latest.inc
QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/base/third_party/dmg_fp/LICENSE \
src/3rdparty/chromium/base/third_party/dynamic_annotations/LICENSE \
@@ -268,8 +273,10 @@ QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/third_party/libwebm/source/LICENSE.TXT \
src/3rdparty/chromium/third_party/libwebp/LICENSE \
src/3rdparty/chromium/third_party/libxml/src/COPYING \
+ src/3rdparty/chromium/third_party/libxml/src/Copyright \
src/3rdparty/chromium/third_party/libXNVCtrl/LICENSE \
src/3rdparty/chromium/third_party/libxslt/linux/COPYING \
+ src/3rdparty/chromium/third_party/libxslt/src/Copyright \
src/3rdparty/chromium/third_party/libyuv/LICENSE \
src/3rdparty/chromium/third_party/libyuv/LICENSE_THIRD_PARTY \
src/3rdparty/chromium/third_party/lzma_sdk/LICENSE \
@@ -380,7 +387,6 @@ QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/third_party/webdriver/COPYING \
src/3rdparty/chromium/third_party/webdriver/LICENSE \
src/3rdparty/chromium/third_party/WebKit/LICENSE_FOR_ABOUT_CREDITS \
- src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/license.py \
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-APPLE \
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2 \
src/3rdparty/chromium/third_party/WebKit/Source/core/LICENSE-LGPL-2.1 \
@@ -395,7 +401,6 @@ QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/third_party/WebKit/Source/devtools/scripts/closure/COPYING \
src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/dtoa/COPYING \
src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/dtoa/LICENSE \
- src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/NonCopyingSort.h \
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING \
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/LICENSE.md \
src/3rdparty/chromium/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/tools/html5lib/LICENSE \
@@ -406,6 +411,7 @@ QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/third_party/webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/LICENSE \
src/3rdparty/chromium/third_party/webrtc/LICENSE \
src/3rdparty/chromium/third_party/webrtc/license_template.txt \
+ src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY \
src/3rdparty/chromium/third_party/woff2/LICENSE \
src/3rdparty/chromium/third_party/xdg-utils/LICENSE \
src/3rdparty/chromium/third_party/xstream/LICENSE \
--
2.20.1
next prev parent reply other threads:[~2019-02-17 14:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-17 14:12 [Buildroot] [PATCH v3 0/5] Update Qt5 to 5.12.1 Thomas Petazzoni
2019-02-17 14:12 ` [Buildroot] [PATCH v3 1/5] package/qt5/qt5webengine: sort chromium-{latest, lts}.inc files Thomas Petazzoni
2019-02-23 12:29 ` Peter Seiderer
2019-02-17 14:12 ` Thomas Petazzoni [this message]
2019-02-23 12:30 ` [Buildroot] [PATCH v3 2/5] package/qt5/qt5webengine: generate chromium-latest.inc automatically Peter Seiderer
2019-02-17 14:12 ` [Buildroot] [PATCH v3 3/5] package/qt5/qt5webengine: generate chromium-lts.inc automatically Thomas Petazzoni
2019-02-23 12:30 ` Peter Seiderer
2019-02-17 14:12 ` [Buildroot] [PATCH v3 4/5] package/qt5: bump latest version to 5.12.1 Thomas Petazzoni
2019-02-23 12:32 ` Peter Seiderer
2019-02-17 14:12 ` [Buildroot] [PATCH v3 5/5] package/qt5/qt5webengine: add hashes for license files Thomas Petazzoni
2019-02-23 12:32 ` Peter Seiderer
2019-02-23 16:03 ` [Buildroot] [PATCH v3 0/5] Update Qt5 to 5.12.1 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=20190217141209.22182-3-thomas.petazzoni@bootlin.com \
--to=thomas.petazzoni@bootlin.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