Package Details: stellarium 25.1-2

Git Clone URL: https://aur.archlinux.org/stellarium.git (read-only, click to copy)
Package Base: stellarium
Description: Software which renders realistic skies in real time with OpenGL
Upstream URL: https://stellarium.org
Licenses: GPL-2.0-or-later
Submitter: arojas
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 75
Popularity: 0.40
First Submitted: 2022-04-01 18:43 (UTC)
Last Updated: 2025-03-30 14:51 (UTC)

Pinned Comments

carlosal1015 commented on 2022-11-01 05:22 (UTC)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

carlosal1015 commented on 2022-04-02 19:14 (UTC) (edited on 2022-07-07 16:46 (UTC) by carlosal1015)

Important note: Is recommended to receive the following key before to install:

$ gpg --recv-keys BF38D4D02A328DFF

Also is possible skip the verification, adding the flag for (e.g makepkg, yay) --skippgpcheck, --nopgpfetch, respectively.

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

CaliforniaCoach commented on 2025-04-16 10:46 (UTC)

It works like this, thank you!

When will those changes go into this repository's master, so it compiles successfully "out of the box" again without additional changes?

BTW, I love stellarium, such a beautiful application, thank you very much indeed for providing it as an AUR package!

drinkcat commented on 2025-04-16 09:59 (UTC) (edited on 2025-04-16 10:00 (UTC) by drinkcat)

As highlighted by oldherl, there are 2 patches that should be backported:

wget https://github.com/Stellarium/stellarium/commit/bbcd60ae52b6f1395ef2390a2d2ba9d0f98db548.patch -O fix-qt69.patch
wget https://github.com/Stellarium/stellarium/commit/972c6ba72f575964fbf2049a22d51b4d1fd3983c.patch -O use-system-md4c.patch

And then this PKGBUILD change:

diff --git a/PKGBUILD b/PKGBUILD
index 0f17d45d9944..d366867b8420 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
 pkgname=stellarium
 pkgver=25.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Software which renders realistic skies in real time with OpenGL"
 arch=(x86_64)
 url="https://${pkgname}.org"
@@ -13,12 +13,25 @@ depends=(nlopt libpng libglvnd freetype2 openssl gpsd calcmysky qt6-charts
   qt6-serialport qt6-multimedia qt6-positioning qt6-webengine qxlsx libindi)
 makedepends=(cmake ninja mesa qt6-tools) # doxygen graphviz
 optdepends=('man-db: manual pages for stellarium')
-source=(https://github.com/Stellarium/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+source=(https://github.com/Stellarium/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc}
+fix-qt69.patch
+use-system-md4c.patch
+)
 validpgpkeys=('79151C2E6351E7278DA1A730BF38D4D02A328DFF') # Alexander Wolf <alex.v.wolf@gmail.com>
 md5sums=('f6810be6ca9db848fe9168b214eca670'
-  'SKIP')
+         'SKIP'
+         '001b9bfad02ee8e0cc5e8a1be8b8bb8d'
+         '2008cf8c269914a55d1eccb9b9f1cac1')
 sha256sums=('2ecbc90f0bc7f1355e4d6497db2adc9119000d88eb18a3b4257ce249c4bea2f0'
-  'SKIP')
+            'SKIP'
+            'f43030c8b8b91debe6b29afbbb5697886017c50f6854e8c73dca86352e2d3aff'
+            'd0a2046c399e40d9f8b2b04af7769c7c34c4af7396d6dd031790d443d78c62d6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 < ../fix-qt69.patch
+  patch -p1 < ../use-system-md4c.patch
+}

 build() {
   PATH="/usr/bin/core_perl/:$PATH"

CaliforniaCoach commented on 2025-04-14 19:48 (UTC) (edited on 2025-04-14 19:50 (UTC) by CaliforniaCoach)

When trying to build stellarium 25.1-2, commit 5dbd25ad4596, I am getting following error (this is only an excerpt, the full error message is quite lengthy, if desired, I can still post it). Got calcmysky 0.3.4-1, qxlsx 1.5.0-2 installed (anything else relevant?). Anyone else facing this issue?

[...]
[1074/1114] Building CXX object src/CMakeFiles/stelMain.dir/gui/AngleSpinBox.cpp.o
FAILED: src/CMakeFiles/stelMain.dir/gui/AngleSpinBox.cpp.o 
/usr/bin/g++ -DCOPYRIGHT_YEARS=\"2000-2025\" -DENABLE_GPS -DENABLE_INDI -DENABLE_LIBGPS -DENABLE_MEDIA -DENABLE_NLS -DENABLE_SCRIPTING -DENABLE_SCRIPT_CONSOLE -DENABLE_SCRIPT_QML -DENABLE_SHOWMYSKY -DENABLE_XLSX -DEXV_LOCALEDIR=\"../share/locale\"
[...] many more compiler options
/home/bernd/aur_packages/stellarium/src/stellarium-25.1/src/gui/AngleSpinBox.cpp: In member function ‘virtual QSize AngleSpinBox::minimumSizeHint() const’:
/home/bernd/aur_packages/stellarium/src/stellarium-25.1/src/gui/AngleSpinBox.cpp:513:71: error: no matching function for call to ‘QString::arg(int, int, char, const int&, char)’
  512 |                                 refText = QString("%1%2d %3m %4s").arg(signPlaceholder).arg(359).arg(59)
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  513 |                                                                   .arg(0, 0, 'f', decimalPlaces, ' ');
      |                                                                   ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

oldherl commented on 2025-04-07 06:37 (UTC)

You may want to backport the patch for qt 6.9 and for using system md4c. I have an updated PKGBUILD in [archlinuxcn] here:

https://github.com/archlinuxcn/repo/blob/master/archlinuxcn/stellarium/PKGBUILD

df8oe commented on 2025-03-30 13:08 (UTC)

Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
to PKGBUILD section build() right above the first occurance of -DCMAKE... directive and compile using makepkg

unphysicalix commented on 2025-03-29 18:35 (UTC)

build for version stellarium-25.1-1

-- Using system-provided QXlsx 1.5.0
-- CPM: Adding package md4c@0.4.8 (0.4.8)
CMake Error at /home/archie/data/yay-cache/stellarium/src/build/_deps/md4c-src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

what can I do?

FMB commented on 2025-03-06 08:58 (UTC)

Indeed! Thanks.

mpy commented on 2025-03-05 21:00 (UTC) (edited on 2025-03-05 21:00 (UTC) by mpy)

@FMB After recompilation stellarium should work fine, also with libnlopt.so.1.

jfaulknercourt commented on 2025-03-01 18:41 (UTC)

@FMB I had the same error and I got it working on Manjaro by creating a symbolic link from libnlopt.so.0 to libnlopt.so.1

FMB commented on 2025-02-28 18:23 (UTC)

I get this error when I launch stellarium : stellarium: error while loading shared libraries: libnlopt.so.0: cannot open shared object file: No such file or directory

The version of nlopt installed on my system is 2.10.0-2. These are the installed versions of libnlopt:

/usr/lib/libnlopt.so /usr/lib/libnlopt.so.1 /usr/lib/libnlopt.so.1.0.0