Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Cc: Zoltan Gyarmati <zgyarmati@zgyarmati.de>,
	Jesse Van Gavere <jesseevg@gmail.com>,
	Samuel Martin <s.martin49@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v9 12/14] package/qt6/qt6tools: new package
Date: Fri, 12 Jul 2024 12:24:05 +0200	[thread overview]
Message-ID: <20240712122405.00aa70a7@windsurf> (raw)
In-Reply-To: <20240625211847.1419944-12-roykollensvendsen@gmail.com>

Hello Roy,

On Tue, 25 Jun 2024 23:18:36 +0200
Roy Kollen Svendsen <roykollensvendsen@gmail.com> wrote:

> The Network module is explicitly required by qt6tools:
> 
>   Failed to find required Qt component "Network".
> 
> We need host-qt6base with Sql support for host-qt6tools to build the
> qhelpgenerator host tool. qt6tools will fail to build if qhelpgenerator
> is not available:
> 
>   Failed to find the host tool "Qt6::qhelpgenerator".  It is part of the
>   Qt6ToolsTools package, but the package did not contain the tool.  Make sure
>   that the host module Tools was built with all features enabled (no
>   explicitly disabled tools).
> 
> Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>

Thanks, I've applied, with a number of changes. See below.


> diff --git a/package/qt6/qt6tools/Config.in b/package/qt6/qt6tools/Config.in
> new file mode 100644
> index 0000000000..2e0484af2e
> --- /dev/null
> +++ b/package/qt6/qt6tools/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_QT6TOOLS
> +	bool "qt6tools"
> +	select BR2_PACKAGE_QT6BASE_NETWORK
> +	select BR2_PACKAGE_HOST_QT6BASE_NETWORK
> +	select BR2_PACKAGE_HOST_QT6BASE_SQL if BR2_PACKAGE_QT6BASE_SQL

I've added comments above those two selects:

+       # qt6tools needs host-qt6tools, and host-qt6tools needs
+       # network support in qt6base. In addition, we also need
+       # host-qt6base with Sql support to build the qhelpgenerator
+       # tool, if target support for Sql is present

> +	help
> +	  Qt is a cross-platform application and UI framework for
> +	  developers using C++.
> +
> +	  Qt Tools provides tools facilitate the development
> +	  and design of applications.
> +
> +	  https://doc.qt.io/qt-6/qtmodules.html#qt-tools

This link anchor doesn't exist, so I've instead used:

	https://github.com/qt/qttools



> diff --git a/package/qt6/qt6tools/qt6tools.hash b/package/qt6/qt6tools/qt6tools.hash
> new file mode 100644
> index 0000000000..9437e57d25
> --- /dev/null
> +++ b/package/qt6/qt6tools/qt6tools.hash
> @@ -0,0 +1,11 @@
> +# Hash from: https://download.qt.io/official_releases/qt/6.7/6.7.2/submodules/qttools-everywhere-src-6.7.2.tar.xz.sha256
> +sha256  58e855ad1b2533094726c8a425766b63a04a0eede2ed85086860e54593aa4b2a  qttools-everywhere-src-6.7.2.tar.xz
> +
> +# Hashes for license files:
> +sha256  9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce  LICENSES/BSD-3-Clause.txt

LICENSES/BSL-1.0.txt was missing here.

> +sha256  110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4  LICENSES/GFDL-1.3-no-invariants-only.txt
> +sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSES/GPL-2.0-only.txt
> +sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
> +sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSES/LGPL-3.0-only.txt
> +sha256  9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700  LICENSES/LicenseRef-Qt-Commercial.txt
> +sha256  40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2  LICENSES/Qt-GPL-exception-1.0.txt
> diff --git a/package/qt6/qt6tools/qt6tools.mk b/package/qt6/qt6tools/qt6tools.mk
> new file mode 100644
> index 0000000000..2dd6670dff
> --- /dev/null
> +++ b/package/qt6/qt6tools/qt6tools.mk
> @@ -0,0 +1,40 @@
> +################################################################################
> +#
> +# qt6tools
> +#
> +################################################################################
> +
> +QT6TOOLS_VERSION = $(QT6_VERSION)
> +QT6TOOLS_SITE = $(QT6_SITE)
> +QT6TOOLS_SOURCE = qttools-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6TOOLS_VERSION).tar.xz
> +QT6TOOLS_INSTALL_STAGING = YES
> +QT6TOOLS_SUPPORTS_IN_SOURCE_BUILD = NO
> +
> +QT6TOOLS_CMAKE_BACKEND = ninja
> +
> +QT6TOOLS_LICENSE = \
> +	GPL-2.0+ or LGPL-3.0, \
> +	GPL-3.0, GFDL-1.3 no invariants (docs)
> +
> +QT6TOOLS_LICENSE_FILES = \
> +	LICENSES/GPL-2.0-only.txt \
> +	LICENSES/GPL-3.0-only.txt \
> +	LICENSES/LGPL-3.0-only.txt \
> +	LICENSES/GFDL-1.3-no-invariants-only.txt

Changed to:

QT6TOOLS_LICENSE = \
	BSD-3-Clause (examples), \
	BSD-3-Clause (corecon), \
	BSL-1.0 (catch), \
	LGPL-3.0 or GPL-3.0 or GPL-2.0, \
	GPL-3.0 WITH Qt-GPL-exception-1.0

QT6TOOLS_LICENSE_FILES = \
	LICENSES/BSD-3-Clause.txt \
	LICENSES/BSL-1.0.txt \
	LICENSES/GPL-2.0-only.txt \
	LICENSES/GPL-3.0-only.txt \
	LICENSES/LGPL-3.0-only.txt \
	LICENSES/Qt-GPL-exception-1.0.txt

which I believe is more accurate.

Thanks!

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-07-12 10:24 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1934329>
2024-05-13 22:03 ` [Buildroot] [PATCH v4 01/14] package/qt6: bump version to 6.7.0 Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 10/14] package/qt6/qt6websockets: " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-05-13 22:03   ` [Buildroot] [PATCH v4 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen
2024-05-13 22:13   ` [Buildroot] [PATCH v4 01/14] package/qt6: bump version to 6.7.0 Jesse Van Gavere
2024-05-31 15:13   ` [Buildroot] [PATCH v5 01/14] package/qt6: bump version to 6.7.1 Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-06-01 17:10       ` Yann E. MORIN
2024-06-01 22:48         ` Roy Kollen Svendsen
2024-06-02  8:24           ` Yann E. MORIN
2024-06-03 12:24             ` Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-06-01 17:15       ` Yann E. MORIN
2024-06-02  8:03         ` Roy Kollen Svendsen
2024-06-03  9:24           ` Roy Kollen Svendsen
2024-06-03  9:59             ` Roy Kollen Svendsen
2024-06-03 11:51       ` [Buildroot] [PATCH v6 01/14] package/qt6: bump version to 6.7.1 Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-06-13 22:01           ` Hannah Kiekens via buildroot
2024-06-16  6:55             ` Roy Kollen Svendsen
2024-06-18 13:18           ` [Buildroot] [PATCH v7 01/14] package/qt6: bump version to 6.7.1 Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-06-18 21:26               ` [Buildroot] [PATCH v8 01/14] package/qt6: bump version to 6.7.1 Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 10/14] package/qt6/qt6websockets: " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-06-18 21:26                 ` [Buildroot] [PATCH v8 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen
2024-06-25 21:18                 ` [Buildroot] [PATCH v9 01/14] package/qt6: bump version to 6.7.2 Roy Kollen Svendsen
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 02/14] package/qt6/qt6base: add blind option to enable GUI support on host Roy Kollen Svendsen
2024-07-12  8:47                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 03/14] package/qt6/qt6base: add blind option to enable Network " Roy Kollen Svendsen
2024-07-12  8:47                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 04/14] package/qt6/qt6base: add blind option to enable Test " Roy Kollen Svendsen
2024-07-12  8:47                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 05/14] package/qt6/qt6base: add blind option to enable Sql " Roy Kollen Svendsen
2024-07-12  8:47                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 06/14] package/qt6/qt6shadertools: new package Roy Kollen Svendsen
2024-07-12  8:51                     ` Thomas Petazzoni via buildroot
2024-07-14  8:33                       ` Roy Kollen Svendsen
2024-08-28 11:14                         ` Roy Kollen Svendsen
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 07/14] package/qt6/qt6svg: allow building for host Roy Kollen Svendsen
2024-07-12  8:51                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 08/14] package/qt6/qt6languageserver: new package Roy Kollen Svendsen
2024-07-12  8:59                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 09/14] package/qt6/qt6declarative: " Roy Kollen Svendsen
2024-07-12 10:02                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 10/14] package/qt6/qt6websockets: " Roy Kollen Svendsen
2024-07-12 10:03                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-07-12 10:05                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-07-12 10:24                     ` Thomas Petazzoni via buildroot [this message]
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-07-12 10:43                     ` Thomas Petazzoni via buildroot
2024-06-25 21:18                   ` [Buildroot] [PATCH v9 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen
2024-07-12 10:54                     ` Thomas Petazzoni via buildroot
2024-07-12  8:45                   ` [Buildroot] [PATCH v9 01/14] package/qt6: bump version to 6.7.2 Thomas Petazzoni via buildroot
2024-07-12  9:20                   ` Thomas Petazzoni via buildroot
2024-07-14  9:08                     ` Roy Kollen Svendsen
2024-07-14 12:46                       ` Thomas Petazzoni via buildroot
2024-06-18 13:18             ` [Buildroot] [PATCH v7 10/14] package/qt6/qt6websockets: new package Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-06-18 13:18             ` [Buildroot] [PATCH v7 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 10/14] package/qt6/qt6websockets: " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-06-03 11:51         ` [Buildroot] [PATCH v6 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 10/14] package/qt6/qt6websockets: " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 11/14] package/qt6/qt6wayland: " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 12/14] package/qt6/qt6tools: " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 13/14] package/qt6/qt6virtualkeyboard: " Roy Kollen Svendsen
2024-05-31 15:13     ` [Buildroot] [PATCH v5 14/14] package/qt6/qt6mqtt: " Roy Kollen Svendsen

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=20240712122405.00aa70a7@windsurf \
    --to=buildroot@buildroot.org \
    --cc=jesseevg@gmail.com \
    --cc=roykollensvendsen@gmail.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=zgyarmati@zgyarmati.de \
    /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