[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: xnec2c: Update to 4.2.
From: |
guix-commits |
Subject: |
07/09: gnu: xnec2c: Update to 4.2. |
Date: |
Fri, 17 Dec 2021 09:21:11 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit a53617391121cb8dc8484ede73a37623e198432b
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Dec 17 14:44:03 2021 +0100
gnu: xnec2c: Update to 4.2.
* gnu/packages/radio.scm (xnec2c): Update to 4.2.
[arguments]: Remove 'fix-makefile' and 'fix-paths' phases.
---
gnu/packages/radio.scm | 27 ++-------------------------
1 file changed, 2 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2ff7147..4a9a6f6 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -1272,42 +1272,19 @@ operators.")
(define-public xnec2c
(package
(name "xnec2c")
- (version "4.1.1")
+ (version "4.2")
(source
(origin
(method url-fetch)
(uri (string-append "http://www.5b4az.org/pkg/nec2/xnec2c/xnec2c-"
version ".tar.bz2"))
(sha256
- (base32 "1myvlkfybb2ha8l0h96ca3iz206zzy9z5iizm0sbab2zzp78n1r9"))))
+ (base32 "0jprahww6jvwq616lkq80sac166ffy0fp83gr5kvjc9k4pcls00n"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
(inputs
(list gtk+))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-makefile
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* '("Makefile.am" "Makefile.in")
- ;; The DESTDIR variable does not get replaced the prefix
- ;; in the final Makefile, so let's do here.
- (("\\$\\(DESTDIR\\)/usr")
- (assoc-ref outputs "out")))
- #t))
- (add-after 'fix-makefile 'fix-paths
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Increase the max length of the path to the glade file,
- ;; so that the '/gnu/store/...' path can fit in.
- (substitute* '("src/shared.c" "src/shared.h")
- (("char xnec2c_glade\\[64\\];")
- "char xnec2c_glade[256];"))
- ;; Fix hard coded references to '/usr/...'.
- (substitute* '("src/geom_edit.c" "src/main.c")
- (("\"/usr")
- (string-append "\"" (assoc-ref outputs "out"))))
- #t)))))
(synopsis "Antenna modeling software")
(description
"Xnec2c is a GTK3-based graphical version of nec2c, a translation to the
- branch master updated (47bc8a5 -> 6718fe7), guix-commits, 2021/12/17
- 03/09: gnu: dream: Update to 2.2., guix-commits, 2021/12/17
- 07/09: gnu: xnec2c: Update to 4.2.,
guix-commits <=
- 02/09: gnu: wfview: Update to 1.2d., guix-commits, 2021/12/17
- 01/09: gnu: sdrangel: Update to 6.17.5., guix-commits, 2021/12/17
- 04/09: gnu: qsstv: Update to 9.5.8., guix-commits, 2021/12/17
- 05/09: gnu: rtl-433: Update to 21.12., guix-commits, 2021/12/17
- 09/09: gnu: js8call: Remove workaround., guix-commits, 2021/12/17
- 06/09: gnu: dump1090: Update to 6.1., guix-commits, 2021/12/17
- 08/09: gnu: wsjtx: Update to 2.5.2., guix-commits, 2021/12/17