guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 923ff4730f83aeb1e804861a6cb148f620ce4c0f
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Aug 14 16:32:56 2025 +0100

    gnu: stellarium: Update to 25.2, build with Qt6.
    
    * gnu/packages/astronomy.scm (stellarium): Update to 25.2.
    [arguments] <configure-flags>: Enable Qt6 build (it's default), adjust
    search for qtserialport and qtpositioning.
    [inputs]: Remove calcmysky-qt5, qtbase-5, qtcharts-5, qtlocation-5,
    qtmultimedia-5, qtscript-5, qtserialport-5, qtwayland-5, qtwebengine-5,
    and qxlsx-qt5; add calcmysky, eigen, glm, qtbase, qtcharts, qtlocation,
    qtmultimedia, qtserialport, qtwayland, qtwebengine, and qxlsx.
    [native-inputs]: Remove qttools-5; add qttools.
    
    Change-Id: Ic37a06fd4d15872bf18a0f75901359f2021cac2f
---
 gnu/packages/astronomy.scm | 46 +++++++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2efc0608f8..b052f65bce 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9642,23 +9642,18 @@ deconvolution).  Such post-processing is not performed 
by Stackistry.")
     (license license:gpl3+)))
 
 (define-public stellarium
-  ;; XXX: 25.1 does not provide option to build with system MD4C, see
-  ;; <https://github.com/Stellarium/stellarium/issues/4267>, using the latest
-  ;; commit.
-  (let ((commit "045915b9dca754f6eec1bdc311428eb3e98d1002")
-        (revision "2"))
-    (package
+  (package
     (name "stellarium")
-    (version (git-version "25.1" revision commit))
+    (version "25.2")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/Stellarium/stellarium";)
-             (commit commit)))
+              (url "https://github.com/Stellarium/stellarium";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1nrjfa1aq0inrbr66w8n8lqjkn0nsssjfl0dfrc4maynjp63gqkq"))))
+        (base32 "0fxdvybdcnlkjkyx1kqc7gg7p55qd4h1ri0mmn1xj2g5fxsbs0nr"))))
     (build-system qt-build-system)
     ;; TODO: Complete documentation build and split into dedicated outputs.
     (arguments
@@ -9667,11 +9662,11 @@ deconvolution).  Such post-processing is not performed 
by Stackistry.")
       #:tests? #f
       #:configure-flags
       #~(list "-DENABLE_GPS=1"
-              ;; TODO: Enable when all of the dependencies are available for 
Qt6.
-              "-DENABLE_QT6=0"
               "-DENABLE_TESTING=0"
               (string-append "-DCMAKE_CXX_FLAGS=-isystem "
-                             #$(this-package-input "qtserialport") 
"/include/qt5"))
+                             #$(this-package-input "qtpositioning") 
"/include/qt6"
+                             " -isystem "
+                             #$(this-package-input "qtserialport") 
"/include/qt6"))
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'check 'set-offscreen-display
@@ -9679,24 +9674,25 @@ deconvolution).  Such post-processing is not performed 
by Stackistry.")
               (setenv "QT_QPA_PLATFORM" "offscreen")
               (setenv "HOME" "/tmp"))))))
     (inputs
-     (list calcmysky-qt5
+     (list calcmysky
+           eigen
+           glm
            gpsd
            indi
            libnova
            md4c
            nlopt
            openssl
-           qtbase-5
-           qtcharts-5
-           qtlocation-5
-           qtmultimedia-5
+           qtbase
+           qtcharts
+           qtlocation
+           qtmultimedia
            qtpositioning
-           qtscript-5
-           qtserialport-5
+           qtserialport
            qttranslations
-           qtwayland-5
-           qtwebengine-5
-           qxlsx-qt5
+           qtwayland
+           qtwebengine
+           qxlsx
            zlib))
     (native-inputs
      (list doxygen
@@ -9705,7 +9701,7 @@ deconvolution).  Such post-processing is not performed by 
Stackistry.")
            mesa
            perl
            python-wrapper
-           qttools-5))
+           qttools))
     (home-page "https://stellarium.org/";)
     (synopsis "3D sky viewer")
     (description
@@ -9713,7 +9709,7 @@ deconvolution).  Such post-processing is not performed by 
Stackistry.")
 3D, just like what you see with the naked eye, binoculars, or a telescope.  It
 can be used to control telescopes over a serial port for tracking celestial
 objects.")
-    (license license:gpl2+))))
+    (license license:gpl2+)))
 
 (define-public stuff
   ;; XXX: No version tag available in GitHub.

Reply via email to