[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64287] [PATCH 7/9] gnu: xplanet: Use G-expressions.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64287] [PATCH 7/9] gnu: xplanet: Use G-expressions. |
Date: |
Sun, 25 Jun 2023 22:28:19 +0100 |
* gnu/packages/astronomy.scm (xplanet): Use G-expressions, improve
package style.
[inputs]: Remove labels.
---
gnu/packages/astronomy.scm | 39 +++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 310a6340f5..b212f4614f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2720,28 +2720,29 @@ (define-public xplanet
"xplanet-1.3.1-libimage_gif.c.patch"
"xplanet-1.3.1-xpUtil-Add2017LeapSecond.cpp.patch"))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list
+ ;; no nasa jpl cspice support
+ "--without-cspice"
+ ;; Give correct path for pnm.h header to configure script
+ (string-append
+ "CPPFLAGS=-I" #$(this-package-input "netpbm") "/include/netpbm"))))
(native-inputs
(list pkg-config))
(inputs
- `(("libx11" ,libx11)
- ("libxscrnsaver" ,libxscrnsaver)
- ("libice" ,libice)
- ("freetype" ,freetype)
- ("pango" ,pango)
- ("giflib" ,giflib)
- ("libjpeg" ,libjpeg-turbo)
- ("libpng" ,libpng)
- ("libtiff" ,libtiff)
- ("netpbm" ,netpbm)
- ("zlib" ,zlib)))
- (arguments
- `(#:configure-flags
- (let ((netpbm (assoc-ref %build-inputs "netpbm")))
- (append (list
- ;; Give correct path for pnm.h header to configure script
- (string-append "CPPFLAGS=-I" netpbm "/include/netpbm")
- ;; no nasa jpl cspice support
- "--without-cspice" )))))
+ (list libx11
+ freetype
+ giflib
+ libice
+ libjpeg-turbo
+ libpng
+ libtiff
+ libxscrnsaver
+ netpbm
+ pango
+ zlib))
(home-page "https://xplanet.sourceforge.net/")
(synopsis "Planetary body renderer")
(description
--
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, 2023/06/25
- [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 <=