* [Buildroot] [PATCH v2 1/1] package/stellarium: bump version to 1.2
@ 2022-12-25 21:55 Bernd Kuhls
2022-12-27 20:39 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2022-12-25 21:55 UTC (permalink / raw)
To: buildroot
Add patch to fix build error.
Removed sha1 hash.
Add configure option to disable searching for qt6 as of now due to
incomplete implementation of qt6 modules, like gui, in buildroot.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: updated patch after upstream comment
.../stellarium/0001-add-missing-include.patch | 32 +++++++++++++++++++
package/stellarium/stellarium.hash | 3 +-
package/stellarium/stellarium.mk | 4 ++-
3 files changed, 36 insertions(+), 3 deletions(-)
create mode 100644 package/stellarium/0001-add-missing-include.patch
diff --git a/package/stellarium/0001-add-missing-include.patch b/package/stellarium/0001-add-missing-include.patch
new file mode 100644
index 0000000000..822fc50367
--- /dev/null
+++ b/package/stellarium/0001-add-missing-include.patch
@@ -0,0 +1,32 @@
+From f36ce55e7a0fbba11fb7e1d4107ef61a79dc95d3 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sun, 25 Dec 2022 20:38:17 +0100
+Subject: [PATCH] add missing include
+
+Fixes build error:
+
+stellarium-1.2/plugins/MeteorShowers/src/MeteorShowersMgr.hpp:331:12:
+ error: field 'm_lastUpdate' has incomplete type 'QDateTime'
+
+Patch sent upstream: https://github.com/Stellarium/stellarium/pull/2933
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ plugins/MeteorShowers/src/MeteorShowersMgr.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/plugins/MeteorShowers/src/MeteorShowersMgr.hpp b/plugins/MeteorShowers/src/MeteorShowersMgr.hpp
+index 8096856b6d..17716a68b0 100644
+--- a/plugins/MeteorShowers/src/MeteorShowersMgr.hpp
++++ b/plugins/MeteorShowers/src/MeteorShowersMgr.hpp
+@@ -20,6 +20,7 @@
+ #ifndef METEORSHOWERSMGR_HPP
+ #define METEORSHOWERSMGR_HPP
+
++#include <QDateTime>
+ #include <QNetworkReply>
+ #include <QNetworkAccessManager>
+
+--
+2.34.1
+
diff --git a/package/stellarium/stellarium.hash b/package/stellarium/stellarium.hash
index f33dd385ca..2488b611a4 100644
--- a/package/stellarium/stellarium.hash
+++ b/package/stellarium/stellarium.hash
@@ -1,5 +1,4 @@
# From https://github.com/Stellarium/stellarium/releases
-sha1 3661b4e8a94e7a520873fa22ddc79f39904eb1c4 stellarium-0.22.2.tar.gz
-sha256 31e965d32cafc0fbad212c7ef4efbeac988f909206013554e1fe35123ebb9376 stellarium-0.22.2.tar.gz
+sha256 802a0e8231cae41ec04f697f70105c291d9719aa6e7fd8cbe1f15068c3324e09 stellarium-1.2.tar.xz
# Locally computed
sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING
diff --git a/package/stellarium/stellarium.mk b/package/stellarium/stellarium.mk
index 769e7049c1..a62488907f 100644
--- a/package/stellarium/stellarium.mk
+++ b/package/stellarium/stellarium.mk
@@ -4,7 +4,8 @@
#
################################################################################
-STELLARIUM_VERSION = 0.22.2
+STELLARIUM_VERSION = 1.2
+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
@@ -18,6 +19,7 @@ STELLARIUM_CONF_OPTS = \
-DENABLE_MEDIA=ON \
-DENABLE_NLS=OFF \
-DENABLE_QTWEBENGINE=OFF \
+ -DENABLE_QT6=OFF \
-DUSE_SYSTEM_ZLIB=ON
ifeq ($(BR2_PACKAGE_QT5SCRIPT),y)
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-27 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-25 21:55 [Buildroot] [PATCH v2 1/1] package/stellarium: bump version to 1.2 Bernd Kuhls
2022-12-27 20:39 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox