All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency
@ 2026-05-30 15:57 Bernd Kuhls
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Bernd Kuhls @ 2026-05-30 15:57 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Van Gavere, Roy Kollen Svendsen, Thomas Petazzoni

qt5serialport is only needed when GPS support is enabled:
https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L623

Please note that we disable telescope support by default so only gpsd
enables the usage of qt5serialport.

A backport to the LTS branches should be considered, adding
qt5serialport as dependency without gpsd support causes the unneeded
build of qt5serialport for stellarium. This situation exists for years
and is not caused by recent upstream changes.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
v2: rephrased commit message
    Series passed qt5-based Gitlab pipelines:
    https://gitlab.com/bkuhls/buildroot/-/commits/d4c3a7f6096e3dc48fa33a27c697d76fc3f38d48

 package/stellarium/stellarium.mk | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index 660d518860..48dadfec61 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -32,11 +32,8 @@ else
 STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF
 endif
 
-ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y)
-STELLARIUM_DEPENDENCIES += qt5serialport
-ifeq ($(BR2_PACKAGE_GPSD),y)
-STELLARIUM_DEPENDENCIES += gpsd
-endif
+ifeq ($(BR2_PACKAGE_GPSD)$(BR2_PACKAGE_QT5SERIALPORT),yy)
+STELLARIUM_DEPENDENCIES += gpsd qt5serialport
 STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
 else
 STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads
  2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
@ 2026-05-30 15:57 ` Bernd Kuhls
  2026-05-30 20:36   ` Thomas Petazzoni via buildroot
  2026-06-05 12:49   ` Thomas Perale via buildroot
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1 Bernd Kuhls
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 11+ messages in thread
From: Bernd Kuhls @ 2026-05-30 15:57 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Van Gavere, Roy Kollen Svendsen, Thomas Petazzoni

Building Stellarium includes the download of external tarballs during
configure.

This fails with host-cmake during configure stage:

CMake Error at md4c-subbuild/md4c-populate-prefix/src/md4c-populate-stamp/download-md4c-populate.cmake:163 (message):
  Each download failed!

    error: downloading 'https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz' failed
          status_code: 1
          status_string: "Unsupported protocol"
          log:
          --- LOG BEGIN ---
          Protocol "https" not supported

  closing connection #-1

due to buildroot commit f87138339b17bc2b1d84c59ea176abb941413550 which
disabled SSL support for host-cmake.

This patch uses _EXTRA_DOWNLOADS to provide these tarball to allow
offline builds.

No autobuilder error was recorded, the build error can be reproduced
with this defconfig:

BR2_x86_64=y
BR2_x86_corei7=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
BR2_FORCE_HOST_BUILD=y
BR2_PACKAGE_STELLARIUM=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_XORG7=y

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
v2: rephrased commit message
    Series passed qt5-based Gitlab pipelines:
    https://gitlab.com/bkuhls/buildroot/-/commits/d4c3a7f6096e3dc48fa33a27c697d76fc3f38d48

 package/stellarium/stellarium.hash |  4 ++++
 package/stellarium/stellarium.mk   | 13 +++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash
index 67e053eff7..4298c3dcde 100644
--- a/package/stellarium/stellarium.hash
+++ b/package/stellarium/stellarium.hash
@@ -1,4 +1,8 @@
 # From https://github.com/Stellarium/stellarium/releases
 sha256  e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613  stellarium-25.4.tar.xz
+# From https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L849
+sha256  55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21  release-0.5.2.tar.gz
+# From https://github.com/Stellarium/stellarium/blob/v25.4/plugins/LensDistortionEstimator/src/CMakeLists.txt
+sha256  6e899e297485e457ec1bf84844de29921aeef674f9d5caf60277df45dca6ff76  v2.9.0.tar.gz
 # Locally computed
 sha256  3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259  COPYING
diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index 48dadfec61..de992352a1 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -9,6 +9,19 @@ STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz
 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
 STELLARIUM_LICENSE = GPL-2.0+
 STELLARIUM_LICENSE_FILES = COPYING
+
+STELLARIUM_EXTRA_DOWNLOADS += \
+	https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz \
+	https://github.com/stevengj/nlopt/archive/refs/tags/v2.9.0.tar.gz
+
+define STELLARIUM_COPY_EXTRA_DOWNLOADS
+	mkdir -p $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
+	cp $(STELLARIUM_DL_DIR)/release-0.5.2.tar.gz $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
+	mkdir -p $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
+	cp $(STELLARIUM_DL_DIR)/v2.9.0.tar.gz $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
+endef
+STELLARIUM_POST_EXTRACT_HOOKS = STELLARIUM_COPY_EXTRA_DOWNLOADS
+
 STELLARIUM_DEPENDENCIES = \
 	qt5base \
 	qt5charts \
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1
  2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
@ 2026-05-30 15:57 ` Bernd Kuhls
  2026-05-30 20:46   ` Thomas Petazzoni via buildroot
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package Bernd Kuhls
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2026-05-30 15:57 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Van Gavere, Roy Kollen Svendsen, Thomas Petazzoni

https://stellarium.org/release/2026/04/05/stellarium-26.1.html

Added dependency to qt5svg needed since upstream commit
https://github.com/Stellarium/stellarium/commit/a5c374bfa314a75c19aa65cc758c68517ef608ad
which was added with this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
v2: rebased after the extra-downloads patch was moved before the bump
    Series passed qt5-based Gitlab pipelines:
    https://gitlab.com/bkuhls/buildroot/-/commits/d4c3a7f6096e3dc48fa33a27c697d76fc3f38d48

 package/stellarium/Config.in       | 1 +
 package/stellarium/stellarium.hash | 6 +++---
 package/stellarium/stellarium.mk   | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/stellarium/Config.in b/package/stellarium/Config.in
index 566f8edc83..20f32e747a 100644
--- a/package/stellarium/Config.in
+++ b/package/stellarium/Config.in
@@ -12,6 +12,7 @@ config BR2_PACKAGE_STELLARIUM
 	select BR2_PACKAGE_QT5CHARTS
 	select BR2_PACKAGE_QT5LOCATION
 	select BR2_PACKAGE_QT5MULTIMEDIA
+	select BR2_PACKAGE_QT5SVG
 	select BR2_PACKAGE_ZLIB
 	help
 	  Stellarium is a free open source planetarium for your
diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash
index 4298c3dcde..b3f2a9ec9f 100644
--- a/package/stellarium/stellarium.hash
+++ b/package/stellarium/stellarium.hash
@@ -1,8 +1,8 @@
 # From https://github.com/Stellarium/stellarium/releases
-sha256  e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613  stellarium-25.4.tar.xz
-# From https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L849
+sha256  578bada2531e39146ccefcf6a0d202867e403b559f54239e8db9f9c003e04443  stellarium-26.1.tar.xz
+# From https://github.com/Stellarium/stellarium/blob/v26.1/CMakeLists.txt#L858
 sha256  55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21  release-0.5.2.tar.gz
-# From https://github.com/Stellarium/stellarium/blob/v25.4/plugins/LensDistortionEstimator/src/CMakeLists.txt
+# From https://github.com/Stellarium/stellarium/blob/v26.1/plugins/LensDistortionEstimator/src/CMakeLists.txt#L6
 sha256  6e899e297485e457ec1bf84844de29921aeef674f9d5caf60277df45dca6ff76  v2.9.0.tar.gz
 # Locally computed
 sha256  3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259  COPYING
diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index de992352a1..07d4a775db 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-STELLARIUM_VERSION = 25.4
+STELLARIUM_VERSION = 26.1
 STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz
 STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
 STELLARIUM_LICENSE = GPL-2.0+
@@ -27,6 +27,7 @@ STELLARIUM_DEPENDENCIES = \
 	qt5charts \
 	qt5location \
 	qt5multimedia \
+	qt5svg \
 	zlib
 STELLARIUM_CONF_OPTS = \
 	-DENABLE_MEDIA=ON \
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package
  2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1 Bernd Kuhls
@ 2026-05-30 15:57 ` Bernd Kuhls
  2026-05-30 21:15   ` Thomas Petazzoni via buildroot
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6 Bernd Kuhls
  2026-05-30 20:33 ` [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Thomas Petazzoni via buildroot
  4 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2026-05-30 15:57 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Van Gavere, Roy Kollen Svendsen, Thomas Petazzoni

Needed for GPS support in Stellarium.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
A qt6-based Gitlab pipeline partially passed:
https://gitlab.com/bkuhls/buildroot/-/pipelines/2563735290

The broken defconfigs are build errors in qt6base and unrelated to
Stellarium.

 DEVELOPERS                                    |  1 +
 package/qt6/Config.in                         |  1 +
 package/qt6/qt6positioning/Config.in          |  8 +++++
 .../qt6/qt6positioning/qt6positioning.hash    |  7 +++++
 package/qt6/qt6positioning/qt6positioning.mk  | 31 +++++++++++++++++++
 5 files changed, 48 insertions(+)
 create mode 100644 package/qt6/qt6positioning/Config.in
 create mode 100644 package/qt6/qt6positioning/qt6positioning.hash
 create mode 100644 package/qt6/qt6positioning/qt6positioning.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 877aa56d96..c148da9946 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -514,6 +514,7 @@ F:	package/python-pyicu/
 F:	package/python-pylru/
 F:	package/python-requests-oauthlib/
 F:	package/python-slob/
+F:	package/qt6/qt6positioning/
 F:	package/rrdtool/
 F:	package/rsync/
 F:	package/rtmpdump/
diff --git a/package/qt6/Config.in b/package/qt6/Config.in
index 10594691cf..d0105db28d 100644
--- a/package/qt6/Config.in
+++ b/package/qt6/Config.in
@@ -52,6 +52,7 @@ source "package/qt6/qt6languageserver/Config.in"
 source "package/qt6/qt6mqtt/Config.in"
 source "package/qt6/qt6multimedia/Config.in"
 source "package/qt6/qt6opcua/Config.in"
+source "package/qt6/qt6positioning/Config.in"
 source "package/qt6/qt6quick3d/Config.in"
 source "package/qt6/qt6quicktimeline/Config.in"
 source "package/qt6/qt6scxml/Config.in"
diff --git a/package/qt6/qt6positioning/Config.in b/package/qt6/qt6positioning/Config.in
new file mode 100644
index 0000000000..a083dcffb3
--- /dev/null
+++ b/package/qt6/qt6positioning/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_QT6POSITIONING
+	bool "qt6positioning"
+	select BR2_PACKAGE_QT6BASE_GUI
+	help
+	  This package provides Qt6 Positioning:
+
+	  https://doc.qt.io/qt-6/qtpositioning-index.html
+	  https://code.qt.io/cgit/qt/qtpositioning.git
diff --git a/package/qt6/qt6positioning/qt6positioning.hash b/package/qt6/qt6positioning/qt6positioning.hash
new file mode 100644
index 0000000000..4e610c7e94
--- /dev/null
+++ b/package/qt6/qt6positioning/qt6positioning.hash
@@ -0,0 +1,7 @@
+# From https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/qtpositioning-everywhere-src-6.9.1.tar.xz.sha256
+sha256  7062734b4989248ca3f0e3e4aebb9aa2e7ed2d6bf19e779e520c6ef69706ff26  qtpositioning-everywhere-src-6.9.1.tar.xz
+
+# Hashes for license files
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSES/GPL-2.0-only.txt
+sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSES/GPL-3.0-only.txt
+sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSES/LGPL-3.0-only.txt
diff --git a/package/qt6/qt6positioning/qt6positioning.mk b/package/qt6/qt6positioning/qt6positioning.mk
new file mode 100644
index 0000000000..8ddd047f98
--- /dev/null
+++ b/package/qt6/qt6positioning/qt6positioning.mk
@@ -0,0 +1,31 @@
+################################################################################
+#
+# qt6positioning
+#
+################################################################################
+
+QT6POSITIONING_VERSION = $(QT6_VERSION)
+QT6POSITIONING_SITE = $(QT6_SITE)
+QT6POSITIONING_SOURCE = qtpositioning-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6POSITIONING_VERSION).tar.xz
+QT6POSITIONING_INSTALL_STAGING = YES
+QT6POSITIONING_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6POSITIONING_CMAKE_BACKEND = ninja
+
+QT6POSITIONING_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
+
+QT6POSITIONING_LICENSE_FILES = \
+	LICENSES/GPL-2.0-only.txt \
+	LICENSES/GPL-3.0-only.txt \
+	LICENSES/LGPL-3.0-only.txt
+
+QT6POSITIONING_DEPENDENCIES = qt6base
+
+ifeq ($(BR2_PACKAGE_QT6DECLARATIVE)$(BR2_PACKAGE_QT6DECLARATIVE_QUICK),yy)
+QT6POSITIONING_DEPENDENCIES += qt6declarative
+endif
+
+ifeq ($(BR2_PACKAGE_QT6SERIALPORT),y)
+QT6POSITIONING_DEPENDENCIES += qt6serialport
+endif
+
+$(eval $(cmake-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6
  2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
                   ` (2 preceding siblings ...)
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package Bernd Kuhls
@ 2026-05-30 15:57 ` Bernd Kuhls
  2026-05-30 21:20   ` Thomas Petazzoni via buildroot
  2026-05-30 20:33 ` [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Thomas Petazzoni via buildroot
  4 siblings, 1 reply; 11+ messages in thread
From: Bernd Kuhls @ 2026-05-30 15:57 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Van Gavere, Roy Kollen Svendsen, Thomas Petazzoni

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
A qt6-based Gitlab pipeline partially passed:
https://gitlab.com/bkuhls/buildroot/-/pipelines/2563735290

The broken defconfigs are build errors in qt6base and unrelated to
Stellarium.

 package/stellarium/Config.in     | 38 ++++++++++++++++++++------------
 package/stellarium/stellarium.mk | 34 +++++++++++++++++++++-------
 2 files changed, 50 insertions(+), 22 deletions(-)

diff --git a/package/stellarium/Config.in b/package/stellarium/Config.in
index 20f32e747a..e39454c079 100644
--- a/package/stellarium/Config.in
+++ b/package/stellarium/Config.in
@@ -1,18 +1,28 @@
 config BR2_PACKAGE_STELLARIUM
 	bool "stellarium"
-	depends on BR2_PACKAGE_QT5
-	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
+	depends on BR2_PACKAGE_QT5 || BR2_PACKAGE_QT6
+	depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT6_GL_SUPPORTS
 	depends on BR2_PACKAGE_HAS_LIBGL # does not support OpenGL ES
-	select BR2_PACKAGE_QT5BASE_CONCURRENT
-	select BR2_PACKAGE_QT5BASE_GUI
-	select BR2_PACKAGE_QT5BASE_NETWORK
-	select BR2_PACKAGE_QT5BASE_OPENGL
-	select BR2_PACKAGE_QT5BASE_PRINTSUPPORT
-	select BR2_PACKAGE_QT5BASE_WIDGETS
-	select BR2_PACKAGE_QT5CHARTS
-	select BR2_PACKAGE_QT5LOCATION
-	select BR2_PACKAGE_QT5MULTIMEDIA
-	select BR2_PACKAGE_QT5SVG
+	select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_NETWORK if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_PRINTSUPPORT if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5CHARTS if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5LOCATION if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5MULTIMEDIA if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT6BASE_CONCURRENT if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6BASE_GUI if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6BASE_NETWORK if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6BASE_OPENGL if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6BASE_PRINTSUPPORT if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6BASE_WIDGETS if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6CHARTS if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6MULTIMEDIA if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6POSITIONING if BR2_PACKAGE_QT6
+	select BR2_PACKAGE_QT6SVG if BR2_PACKAGE_QT6
 	select BR2_PACKAGE_ZLIB
 	help
 	  Stellarium is a free open source planetarium for your
@@ -21,5 +31,5 @@ config BR2_PACKAGE_STELLARIUM
 
 	  https://stellarium.org
 
-comment "stellarium needs Qt5 and an OpenGL provider"
-	depends on !BR2_PACKAGE_QT5 || !BR2_PACKAGE_HAS_LIBGL
+comment "stellarium needs Qt5/6 and an OpenGL provider"
+	depends on (!BR2_PACKAGE_QT5 && !BR2_PACKAGE_QT6) || !BR2_PACKAGE_HAS_LIBGL
diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index 07d4a775db..906f434935 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -23,22 +23,35 @@ endef
 STELLARIUM_POST_EXTRACT_HOOKS = STELLARIUM_COPY_EXTRA_DOWNLOADS
 
 STELLARIUM_DEPENDENCIES = \
-	qt5base \
-	qt5charts \
-	qt5location \
-	qt5multimedia \
-	qt5svg \
 	zlib
+
 STELLARIUM_CONF_OPTS = \
 	-DENABLE_MEDIA=ON \
 	-DENABLE_NLS=OFF \
 	-DENABLE_SHOWMYSKY=OFF \
 	-DENABLE_QTWEBENGINE=OFF \
-	-DENABLE_QT6=OFF \
 	-DENABLE_XLSX=OFF \
 	-DUSE_PLUGIN_TELESCOPECONTROL=OFF \
 	-DUSE_SYSTEM_ZLIB=ON
 
+ifeq ($(BR2_PACKAGE_QT5),y)
+STELLARIUM_DEPENDENCIES += \
+	qt5base \
+	qt5charts \
+	qt5location \
+	qt5multimedia \
+	qt5svg
+STELLARIUM_CONF_OPTS += -DENABLE_QT6=OFF
+else
+STELLARIUM_DEPENDENCIES += \
+	qt6base \
+	qt6charts \
+	qt6multimedia \
+	qt6positioning \
+	qt6svg
+STELLARIUM_CONF_OPTS += -DENABLE_QT6=ON
+endif
+
 ifeq ($(BR2_PACKAGE_QT5SCRIPT),y)
 STELLARIUM_DEPENDENCIES += qt5script
 STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=ON
@@ -46,8 +59,13 @@ else
 STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF
 endif
 
-ifeq ($(BR2_PACKAGE_GPSD)$(BR2_PACKAGE_QT5SERIALPORT),yy)
-STELLARIUM_DEPENDENCIES += gpsd qt5serialport
+ifeq ($(BR2_PACKAGE_GPSD)$(BR2_PACKAGE_QT5SERIALPORT)$(BR2_PACKAGE_QT6SERIALPORT),yy)
+STELLARIUM_DEPENDENCIES += gpsd
+ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y)
+STELLARIUM_DEPENDENCIES += qt5serialport
+else
+STELLARIUM_DEPENDENCIES += qt6serialport
+endif
 STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
 else
 STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency
  2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
                   ` (3 preceding siblings ...)
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6 Bernd Kuhls
@ 2026-05-30 20:33 ` Thomas Petazzoni via buildroot
  4 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 20:33 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Jesse Van Gavere, Roy Kollen Svendsen

On Sat, May 30, 2026 at 05:57:14PM +0200, Bernd Kuhls wrote:
> qt5serialport is only needed when GPS support is enabled:
> https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L623
> 
> Please note that we disable telescope support by default so only gpsd
> enables the usage of qt5serialport.
> 
> A backport to the LTS branches should be considered, adding
> qt5serialport as dependency without gpsd support causes the unneeded
> build of qt5serialport for stellarium. This situation exists for years
> and is not caused by recent upstream changes.

This is not correct. qt5serialport would only be pulled as a
dependency of stellarium if BR2_PACKAGE_QT5SERIALPORT=y. So in *any*
case qt5serialport would be part of the build. The only difference is
that it is a build dependency of stellarium for no reason. This is not
that much of a problem and probably doesn't deserve being backported,
so I dropped this paragraph, and applied your patch to master.

Thanks a lot!

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

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

* Re: [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
@ 2026-05-30 20:36   ` Thomas Petazzoni via buildroot
  2026-06-05 12:49   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 20:36 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Jesse Van Gavere, Roy Kollen Svendsen

Hello,

On Sat, May 30, 2026 at 05:57:15PM +0200, Bernd Kuhls wrote:
> Building Stellarium includes the download of external tarballs during
> configure.
> 
> This fails with host-cmake during configure stage:
> 
> CMake Error at md4c-subbuild/md4c-populate-prefix/src/md4c-populate-stamp/download-md4c-populate.cmake:163 (message):
>   Each download failed!
> 
>     error: downloading 'https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz' failed
>           status_code: 1
>           status_string: "Unsupported protocol"
>           log:
>           --- LOG BEGIN ---
>           Protocol "https" not supported
> 
>   closing connection #-1
> 
> due to buildroot commit f87138339b17bc2b1d84c59ea176abb941413550 which
> disabled SSL support for host-cmake.
> 
> This patch uses _EXTRA_DOWNLOADS to provide these tarball to allow
> offline builds.
> 
> No autobuilder error was recorded, the build error can be reproduced
> with this defconfig:
> 
> BR2_x86_64=y
> BR2_x86_corei7=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
> BR2_FORCE_HOST_BUILD=y
> BR2_PACKAGE_STELLARIUM=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
> BR2_PACKAGE_MESA3D_OPENGL_GLX=y
> BR2_PACKAGE_QT5=y
> BR2_PACKAGE_XORG7=y
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, 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

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

* Re: [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1 Bernd Kuhls
@ 2026-05-30 20:46   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 20:46 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Jesse Van Gavere, Roy Kollen Svendsen

On Sat, May 30, 2026 at 05:57:16PM +0200, Bernd Kuhls wrote:
> https://stellarium.org/release/2026/04/05/stellarium-26.1.html
> 
> Added dependency to qt5svg needed since upstream commit
> https://github.com/Stellarium/stellarium/commit/a5c374bfa314a75c19aa65cc758c68517ef608ad
> which was added with this release.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to next, 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

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

* Re: [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package Bernd Kuhls
@ 2026-05-30 21:15   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 21:15 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Jesse Van Gavere, Roy Kollen Svendsen

Hello,

On Sat, May 30, 2026 at 05:57:17PM +0200, Bernd Kuhls wrote:
> diff --git a/package/qt6/qt6positioning/Config.in b/package/qt6/qt6positioning/Config.in
> new file mode 100644
> index 0000000000..a083dcffb3
> --- /dev/null
> +++ b/package/qt6/qt6positioning/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_QT6POSITIONING
> +	bool "qt6positioning"
> +	select BR2_PACKAGE_QT6BASE_GUI

This dependency was not needed, so I dropped it.

Applied to next with this change, 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

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

* Re: [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6 Bernd Kuhls
@ 2026-05-30 21:20   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 21:20 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Jesse Van Gavere, Roy Kollen Svendsen

On Sat, May 30, 2026 at 05:57:18PM +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to next, 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

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

* Re: [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads
  2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
  2026-05-30 20:36   ` Thomas Petazzoni via buildroot
@ 2026-06-05 12:49   ` Thomas Perale via buildroot
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas Perale via buildroot @ 2026-06-05 12:49 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Thomas Perale, buildroot

In reply of:
> Building Stellarium includes the download of external tarballs during
> configure.
> 
> This fails with host-cmake during configure stage:
> 
> CMake Error at md4c-subbuild/md4c-populate-prefix/src/md4c-populate-stamp/download-md4c-populate.cmake:163 (message):
>   Each download failed!
> 
>     error: downloading 'https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz' failed
>           status_code: 1
>           status_string: "Unsupported protocol"
>           log:
>           --- LOG BEGIN ---
>           Protocol "https" not supported
> 
>   closing connection #-1
> 
> due to buildroot commit f87138339b17bc2b1d84c59ea176abb941413550 which
> disabled SSL support for host-cmake.
> 
> This patch uses _EXTRA_DOWNLOADS to provide these tarball to allow
> offline builds.
> 
> No autobuilder error was recorded, the build error can be reproduced
> with this defconfig:
> 
> BR2_x86_64=y
> BR2_x86_corei7=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
> BR2_FORCE_HOST_BUILD=y
> BR2_PACKAGE_STELLARIUM=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
> BR2_PACKAGE_MESA3D_OPENGL_GLX=y
> BR2_PACKAGE_QT5=y
> BR2_PACKAGE_XORG7=y
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2026.02.x. Thanks

> ---
> v2: rephrased commit message
>     Series passed qt5-based Gitlab pipelines:
>     https://gitlab.com/bkuhls/buildroot/-/commits/d4c3a7f6096e3dc48fa33a27c697d76fc3f38d48
> 
>  package/stellarium/stellarium.hash |  4 ++++
>  package/stellarium/stellarium.mk   | 13 +++++++++++++
>  2 files changed, 17 insertions(+)
> 
> diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash
> index 67e053eff7..4298c3dcde 100644
> --- a/package/stellarium/stellarium.hash
> +++ b/package/stellarium/stellarium.hash
> @@ -1,4 +1,8 @@
>  # From https://github.com/Stellarium/stellarium/releases
>  sha256  e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613  stellarium-25.4.tar.xz
> +# From https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L849
> +sha256  55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21  release-0.5.2.tar.gz
> +# From https://github.com/Stellarium/stellarium/blob/v25.4/plugins/LensDistortionEstimator/src/CMakeLists.txt
> +sha256  6e899e297485e457ec1bf84844de29921aeef674f9d5caf60277df45dca6ff76  v2.9.0.tar.gz
>  # Locally computed
>  sha256  3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259  COPYING
> diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
> index 48dadfec61..de992352a1 100644
> --- a/package/stellarium/stellarium.mk
> +++ b/package/stellarium/stellarium.mk
> @@ -9,6 +9,19 @@ STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz
>  STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
>  STELLARIUM_LICENSE = GPL-2.0+
>  STELLARIUM_LICENSE_FILES = COPYING
> +
> +STELLARIUM_EXTRA_DOWNLOADS += \
> +	https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz \
> +	https://github.com/stevengj/nlopt/archive/refs/tags/v2.9.0.tar.gz
> +
> +define STELLARIUM_COPY_EXTRA_DOWNLOADS
> +	mkdir -p $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
> +	cp $(STELLARIUM_DL_DIR)/release-0.5.2.tar.gz $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
> +	mkdir -p $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
> +	cp $(STELLARIUM_DL_DIR)/v2.9.0.tar.gz $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
> +endef
> +STELLARIUM_POST_EXTRACT_HOOKS = STELLARIUM_COPY_EXTRA_DOWNLOADS
> +
>  STELLARIUM_DEPENDENCIES = \
>  	qt5base \
>  	qt5charts \
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-06-05 12:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-30 15:57 [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Bernd Kuhls
2026-05-30 15:57 ` [Buildroot] [PATCH v2 2/5] package/stellarium: add extra downloads Bernd Kuhls
2026-05-30 20:36   ` Thomas Petazzoni via buildroot
2026-06-05 12:49   ` Thomas Perale via buildroot
2026-05-30 15:57 ` [Buildroot] [PATCH v2 3/5] package/stellarium: bump version to 26.1 Bernd Kuhls
2026-05-30 20:46   ` Thomas Petazzoni via buildroot
2026-05-30 15:57 ` [Buildroot] [PATCH v2 4/5] package/qt6/qt6positioning: new package Bernd Kuhls
2026-05-30 21:15   ` Thomas Petazzoni via buildroot
2026-05-30 15:57 ` [Buildroot] [PATCH v2 5/5] package/stellarium: allow build with qt6 Bernd Kuhls
2026-05-30 21:20   ` Thomas Petazzoni via buildroot
2026-05-30 20:33 ` [Buildroot] [PATCH v2 1/5] package/stellarium: fix qt5serialport dependency Thomas Petazzoni via buildroot

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.