All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11
@ 2018-06-18 22:49 Gaël PORTAY
  2018-06-18 22:49 ` [Buildroot] [PATCH 1/2] qt5charts: allow to build with qt5.6 Gaël PORTAY
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gaël PORTAY @ 2018-06-18 22:49 UTC (permalink / raw)
  To: buildroot

Hi all,

This patch serie makes the module qt5charts buildable with both version
of Qt5 (i.e. 5.6 and lastest). Currently, it is not buildable with Qt
5.6 and the build is broken with latest (5.11) since 4fbb2d143d (qt5:
bump latest version to 5.11.0).

The first patch removes the restriction that disable the build of
qt5charts when Qt 5.6 is selected; and it updates the hash in its hash
file. This module is available since 5.6.3 under the version 2.1.3.

The second patch fixes the missing bump of its hash file from the
general bump to Qt 5.11.0.

Regards,
Ga?l PORTAY (2):
  qt5charts: allow to build with qt5.6
  qt5chart: bump hash for 5.11.0

 package/qt5/qt5charts/Config.in      | 4 ----
 package/qt5/qt5charts/qt5charts.hash | 7 +++++--
 package/qt5/qt5charts/qt5charts.mk   | 5 +++++
 3 files changed, 10 insertions(+), 6 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] qt5charts: allow to build with qt5.6
  2018-06-18 22:49 [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Gaël PORTAY
@ 2018-06-18 22:49 ` Gaël PORTAY
  2018-06-18 22:49 ` [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0 Gaël PORTAY
  2018-06-25 20:11 ` [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Gaël PORTAY @ 2018-06-18 22:49 UTC (permalink / raw)
  To: buildroot

This module is available for Qt 5.6 since version 5.6.3 under the
version number 2.1.3.

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 package/qt5/qt5charts/Config.in      | 4 ----
 package/qt5/qt5charts/qt5charts.hash | 3 +++
 package/qt5/qt5charts/qt5charts.mk   | 5 +++++
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/qt5/qt5charts/Config.in b/package/qt5/qt5charts/Config.in
index 78f08fe637..db199922db 100644
--- a/package/qt5/qt5charts/Config.in
+++ b/package/qt5/qt5charts/Config.in
@@ -1,9 +1,5 @@
-comment "qt5charts needs at least qt-5.7"
-	depends on !BR2_PACKAGE_QT5_VERSION_LATEST
-
 config BR2_PACKAGE_QT5CHARTS
 	bool "qt5charts"
-	depends on BR2_PACKAGE_QT5_VERSION_LATEST
 	select BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_QT5BASE_GUI
 	select BR2_PACKAGE_QT5BASE_WIDGETS
diff --git a/package/qt5/qt5charts/qt5charts.hash b/package/qt5/qt5charts/qt5charts.hash
index 5a5845ef9f..ce1189d0e1 100644
--- a/package/qt5/qt5charts/qt5charts.hash
+++ b/package/qt5/qt5charts/qt5charts.hash
@@ -1,3 +1,6 @@
+# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtcharts-opensource-src-2.1.3.tar.xz.mirrorlist
+sha256 f636a9b1c255f678f11b36cd73abc807d16dae0c31ecbc75c09524703aae7d2f  qtcharts-opensource-src-2.1.3.tar.xz
+
 # Hash from: https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qtcharts-everywhere-src-5.10.1.tar.xz.mirrorlist
 sha256 4f0d577bf73dd2bbb2765c2cfb493a2d68790fc2c64f42544d31dba806321ec9  qtcharts-everywhere-src-5.10.1.tar.xz
 
diff --git a/package/qt5/qt5charts/qt5charts.mk b/package/qt5/qt5charts/qt5charts.mk
index 123cb658fe..71d0e54027 100644
--- a/package/qt5/qt5charts/qt5charts.mk
+++ b/package/qt5/qt5charts/qt5charts.mk
@@ -4,7 +4,12 @@
 #
 ################################################################################
 
+# Qt5Charts does not follow Qt versionning for 5.6
+ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
 QT5CHARTS_VERSION = $(QT5_VERSION)
+else
+QT5CHARTS_VERSION = 2.1.3
+endif
 QT5CHARTS_SITE = $(QT5_SITE)
 QT5CHARTS_SOURCE = qtcharts-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5CHARTS_VERSION).tar.xz
 QT5CHARTS_DEPENDENCIES = qt5base
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0
  2018-06-18 22:49 [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Gaël PORTAY
  2018-06-18 22:49 ` [Buildroot] [PATCH 1/2] qt5charts: allow to build with qt5.6 Gaël PORTAY
@ 2018-06-18 22:49 ` Gaël PORTAY
  2018-06-25 19:31   ` Peter Seiderer
  2018-06-25 20:11 ` [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Thomas Petazzoni
  2 siblings, 1 reply; 5+ messages in thread
From: Gaël PORTAY @ 2018-06-18 22:49 UTC (permalink / raw)
  To: buildroot

The hash bump was missing commit 4fbb2d143d (qt5: bump latest version to
5.11.0).

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 package/qt5/qt5charts/qt5charts.hash | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/qt5/qt5charts/qt5charts.hash b/package/qt5/qt5charts/qt5charts.hash
index ce1189d0e1..6bd9a9d51b 100644
--- a/package/qt5/qt5charts/qt5charts.hash
+++ b/package/qt5/qt5charts/qt5charts.hash
@@ -1,8 +1,8 @@
 # Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtcharts-opensource-src-2.1.3.tar.xz.mirrorlist
 sha256 f636a9b1c255f678f11b36cd73abc807d16dae0c31ecbc75c09524703aae7d2f  qtcharts-opensource-src-2.1.3.tar.xz
 
-# Hash from: https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qtcharts-everywhere-src-5.10.1.tar.xz.mirrorlist
-sha256 4f0d577bf73dd2bbb2765c2cfb493a2d68790fc2c64f42544d31dba806321ec9  qtcharts-everywhere-src-5.10.1.tar.xz
+# Hash from: https://download.qt.io/official_releases/qt/5.11/5.11.0/submodules/qtcharts-everywhere-src-5.11.0.tar.xz.mirrorlist
+sha256 c46e12beeaabf731ce918c7508d8ab62ae3b675870992faf36878268da4ee351  qtcharts-everywhere-src-5.11.0.tar.xz
 
 # Hashes for license files:
 sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0
  2018-06-18 22:49 ` [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0 Gaël PORTAY
@ 2018-06-25 19:31   ` Peter Seiderer
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Seiderer @ 2018-06-25 19:31 UTC (permalink / raw)
  To: buildroot

Hello Ga?l,

On Mon, 18 Jun 2018 18:49:07 -0400, Ga?l PORTAY <gael.portay@savoirfairelinux.com> wrote:

> The hash bump was missing commit 4fbb2d143d (qt5: bump latest version to
> 5.11.0).
> 
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>

Reviewed-by: Peter Seiderer <ps.report@gmx.net>

Regards,
Peter

> ---
>  package/qt5/qt5charts/qt5charts.hash | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/qt5/qt5charts/qt5charts.hash b/package/qt5/qt5charts/qt5charts.hash
> index ce1189d0e1..6bd9a9d51b 100644
> --- a/package/qt5/qt5charts/qt5charts.hash
> +++ b/package/qt5/qt5charts/qt5charts.hash
> @@ -1,8 +1,8 @@
>  # Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qtcharts-opensource-src-2.1.3.tar.xz.mirrorlist
>  sha256 f636a9b1c255f678f11b36cd73abc807d16dae0c31ecbc75c09524703aae7d2f  qtcharts-opensource-src-2.1.3.tar.xz
>  
> -# Hash from: https://download.qt.io/official_releases/qt/5.10/5.10.1/submodules/qtcharts-everywhere-src-5.10.1.tar.xz.mirrorlist
> -sha256 4f0d577bf73dd2bbb2765c2cfb493a2d68790fc2c64f42544d31dba806321ec9  qtcharts-everywhere-src-5.10.1.tar.xz
> +# Hash from: https://download.qt.io/official_releases/qt/5.11/5.11.0/submodules/qtcharts-everywhere-src-5.11.0.tar.xz.mirrorlist
> +sha256 c46e12beeaabf731ce918c7508d8ab62ae3b675870992faf36878268da4ee351  qtcharts-everywhere-src-5.11.0.tar.xz
>  
>  # Hashes for license files:
>  sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11
  2018-06-18 22:49 [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Gaël PORTAY
  2018-06-18 22:49 ` [Buildroot] [PATCH 1/2] qt5charts: allow to build with qt5.6 Gaël PORTAY
  2018-06-18 22:49 ` [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0 Gaël PORTAY
@ 2018-06-25 20:11 ` Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2018-06-25 20:11 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 18 Jun 2018 18:49:05 -0400, Ga?l PORTAY wrote:

> Ga?l PORTAY (2):
>   qt5charts: allow to build with qt5.6
>   qt5chart: bump hash for 5.11.0

Both applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-25 20:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 22:49 [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Gaël PORTAY
2018-06-18 22:49 ` [Buildroot] [PATCH 1/2] qt5charts: allow to build with qt5.6 Gaël PORTAY
2018-06-18 22:49 ` [Buildroot] [PATCH 2/2] qt5charts: bump hash for 5.11.0 Gaël PORTAY
2018-06-25 19:31   ` Peter Seiderer
2018-06-25 20:11 ` [Buildroot] [PATCH 0/2] qt5charts: build with both Qt 5.6/5.11 Thomas Petazzoni

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.