summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 11:01:35 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 11:05:39 +0100
commitdfa312a95e7db01f56e7fbc50173cf5ad446d0c1 (patch)
tree7c97c75b78805e8740da4f5a4a6ba5f2db036fa6
parentd2df04d4166c9a38e6783e85e30e3f5885c364b9 (diff)
gnu: siril: Fix build with meson@1.9.0.
This is to do with the wrap-mode for meson changing on mesa-updates. See: <https://codeberg.org/guix/guix/issues/2987#issuecomment-7450927> * gnu/packages/astronomy.scm (siril)[source] <snippet>: Remove bundled libraries explicitly. [arguments] <configure-flags>: Add "--wrap-mode=nodownload" option to fix build with recent Meson. [inputs]: Add healpix-cxx. Change-Id: I6b3afcb95ffc10b42453794fc3dafad03d049d01
-rw-r--r--gnu/packages/astronomy.scm24
1 files changed, 22 insertions, 2 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ff891311ec..6973b0e417 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -9905,11 +9905,30 @@ It can be used to calculate the trajectory of satellites.")
(commit version)))
(sha256
(base32 "1frvi6879zh4bzm5smdy0scpjmj5pg2i81wb2wa4ikq1dq227x8k"))
- (file-name (git-file-name name version))))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Remove bundled libraries.
+ (for-each delete-file-recursively
+ (list "subprojects/healpix_cxx"
+ ;; TODO: Package htmesh, it's included in KSarts
+ ;; - URL: <https://invent.kde.org/education/kstars>
+ ;; - File: <kstars/htmesh>
+ ;; "subprojects/htmesh"
+ ;;
+ ;; TODO: Package kplot - Cairo plotting library
+ ;; <https://github.com/kristapsdz/kplot>.
+ ;; "subprojects/kplot"
+ "subprojects/wcslib"
+ "subprojects/librtprocess"
+ "subprojects/yyjson"))))))
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
+ #:configure-flags
+ #~(list "--wrap-mode=nodownload")
#:imported-modules `(,@%meson-build-system-modules
(guix build glib-or-gtk-build-system))
#:modules '((guix build meson-build-system)
@@ -9943,9 +9962,10 @@ It can be used to calculate the trajectory of satellites.")
ffms2
fftwf
gdk-pixbuf
- gtksourceview-4
gsl
gtk+
+ gtksourceview-4
+ healpix-cxx
json-glib
lcms-next