[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64287] [PATCH 9/9] gnu: celestia-gtk: Fix build.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64287] [PATCH 9/9] gnu: celestia-gtk: Fix build. |
Date: |
Sun, 25 Jun 2023 22:28:21 +0100 |
* gnu/packages/astronomy.scm (celestia-gtk): Fix build.
Use (package/inherit ...) over (inherit ...), see
https://issues.guix.gnu.org/issue/61674/raw/11.
[arguments]: Use G-expressions.
[inputs]: Swap to (modify-inputs ...) procedure. Add cairo, libxmu,
libtheora, pango-1.42.
---
gnu/packages/astronomy.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index af75d493f6..ca32ad8950 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1182,18 +1182,21 @@ (define-public celestia
accurately in real time at any rate desired.")
(license license:gpl2+)))
-
(define-public celestia-gtk
- (package
- (inherit celestia)
+ (package/inherit celestia
(name "celestia-gtk")
- (inputs
- (append (alist-delete "freeglut" (package-inputs celestia))
- `(("gtk2" ,gtk+-2)
- ("gtkglext" ,gtkglext))))
(arguments
- `(#:configure-flags '("-DENABLE_GTK=ON" "-DENABLE_QT=OFF")
- #:tests? #f))))
+ (list
+ #:configure-flags
+ #~(list "--enable-cairo"
+ "--enable-theora"
+ "--with-gtk"
+ (string-append "--with-lua=" #$(this-package-input "lua")))))
+ (inputs
+ (modify-inputs (package-inputs celestia)
+ (replace "freeglut" gtk+-2)
+ (prepend cairo gtkglext libxmu libtheora pango-1.42)))
+ (synopsis "GTK+ build for the Celestia package.")))
(define-public python-astropy
(package
--
2.40.1
- [bug#64287] [PATCH 0/9]: gnu: Monthly astronomy packages update II., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 4/9] gnu: missfits: Fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 6/9] gnu: stuff: Update to 1.26.0-0.9008dc0, fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 9/9] gnu: celestia-gtk: Fix build.,
Sharlatan Hellseher <=
- [bug#64287] [PATCH 3/9] gnu: eye: Fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 5/9] gnu: skymaker: Update to 3.10.5-0.1a69c47, fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 8/9] gnu: celestia: Update to 1.6.3., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 1/9] gnu: weightwatcher: Fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 2/9] gnu: swarp: Update to 2.41.2, fix build., Sharlatan Hellseher, 2023/06/25
- [bug#64287] [PATCH 7/9] gnu: xplanet: Use G-expressions., Sharlatan Hellseher, 2023/06/25