From caf5ed61bfaead8347121aaee424ac35a6300318 Mon Sep 17 00:00:00 2001 From: "(unmatched-parenthesis" Date: Fri, 10 Dec 2021 17:13:25 +0000 Subject: gnu: vlang: Update to 0.2.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/vlang.scm (vlang): Update to 0.2.4. Signed-off-by: Ludovic Courtès --- gnu/packages/vlang.scm | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm index 108e09d450..4741483f12 100644 --- a/gnu/packages/vlang.scm +++ b/gnu/packages/vlang.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2021 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ #:use-module (gnu packages node) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix git-download) @@ -33,7 +35,7 @@ (define-public vlang (package (name "vlang") - (version "0.1.29") + (version "0.2.4") (source (origin (method git-fetch) @@ -42,7 +44,7 @@ (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1rqi7cah5nq8aggrib9xvdpfjxq20li91svv0w9yny6nn1ag7snx")))) + (base32 "17wmjxssmg6kd4j8i6pgib452zzwvkyi3n1znd1jj3xkf2l92fw8")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -53,26 +55,30 @@ "GITFASTCLONE=mkdir -p" "TCCREPO=" "VCREPO=" + (string-append "VFLAGS=-cc " ,(cc-for-target)) "VERBOSE=1") #:phases (modify-phases %standard-phases (delete 'configure) + (add-before 'build 'change-home + (lambda _ + (setenv "HOME" "/tmp") + #t)) (add-before 'build 'patch-makefile (lambda _ (substitute* "Makefile" - (("rm -rf") "true") - (("v self") (string-append "v -cc " ,(cc-for-target) " cmd/v"))) + (("--branch thirdparty-unknown-unknown") "") + (("rm -rf") "true")) #t)) (add-before 'check 'delete-failing-tests ;; XXX As always, these should eventually be fixed and run. (lambda _ (for-each delete-file - '("vlib/v/gen/x64/tests/x64_test.v" + '("vlib/os/notify/notify_test.v" + "vlib/v/doc/doc_private_fn_test.v" + "vlib/v/live/live_test.v" "vlib/v/tests/repl/repl_test.v" - "vlib/v/tests/valgrind/valgrind_test.v" - "vlib/v/tests/valgrind/strings_and_arrays.vv" - "vlib/v/tests/live_test.v" - "vlib/net/websocket/ws_test.v")) + "vlib/v/tests/valgrind/valgrind_test.v")) #t)) (replace 'check (lambda* (#:key tests? #:allow-other-keys) @@ -82,21 +88,23 @@ (mkdir-p bin) (symlink gcc (string-append bin "/cc")) (setenv "PATH" (string-append bin ":" (getenv "PATH"))) - (invoke "./v" "test-fixed"))) + (invoke "./v" "test-self"))) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) + (docs (string-append bin "/cmd/v/help")) (tools (string-append bin "/cmd/tools")) (thirdparty (string-append bin "/thirdparty")) (vlib (string-append bin "/vlib")) (vmod (string-append bin "/v.mod"))) (mkdir-p bin) (copy-file "./v" (string-append bin "/v")) - ;; v requires as of 0.1.27 that these other components are in the + ;; v requires as of 0.2.4 that these other components are in the ;; same directory. In a future release we may be able to move ;; these into other output folders. (copy-recursively "cmd/tools" tools) + (copy-recursively "cmd/v/help" docs) (copy-recursively "thirdparty" thirdparty) (copy-recursively "vlib" vlib) (copy-file "v.mod" vmod)) @@ -107,7 +115,7 @@ `(("vc" ;; Versions are not consistently tagged, but the matching commit will ;; probably have ‘v0.x.y’ in the commit message. - ,(let ((vc-version "b01d0fcda4b55861baa4be82e307cca4834b1641")) + ,(let ((vc-version "5e876c1491db50b136499d3397b57b7c062040e5")) ;; v bootstraps from generated c source code from a dedicated ;; repository. It's readable, as generated source goes, and not at all ;; obfuscated, and it's about 15kb. The original source written in @@ -121,8 +129,8 @@ (commit vc-version))) (file-name (git-file-name "vc" vc-version)) (sha256 - (base32 "052gp5q2k31r3lci3rx4k0vy0vjdjva64xvrbbihn8lgmw63lc9f"))))) - + (base32 "1gxdkgc7aqw5f0fhch1n6nhzgzvgb49p77idx1zj7wcp53lpx5ng"))))) + ("git" ,git-minimal) ;; For the tests. ("libx11" ,libx11) ("node" ,node) -- cgit v1.2.3 span>gnu: Add python-pytaglib....* gnu/packages/mp3.scm (python-pytaglib): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> Martin Becze 2020-11-05gnu: python-audioread: Update to 2.1.9....* gnu/packages/mp3.scm (python-audioread): Update to 2.1.9. Tobias Geerinckx-Rice 2020-09-09gnu: taglib: Fix 'taglib-config --libs' -L flag....* gnu/packages/mp3.scm (taglib): Add "" around the substitution of ZLIB_LIBRARIES_FLAGS and add "/lib". Co-authored-by: Ludovic Courtès <ludo@gnu.org> Michael Rohleder 2020-09-08gnu: taglib: 'taglib-config --libs' shows -L flag for zlib....Fixes compilation of emacs-emms-print-metadata. * gnu/packages/mp3.scm (taglib)[arguments]: Add #:phases. Ludovic Courtès 2020-09-04gnu: taglib: Update to 1.12-beta-1 [security fixes]....This switches to a yet unreleased version of taglib, to make sure long standings issues and CVEs are covered until a proper release is made upstream. Among these, we have: - CVE-2017-12678 - CVE-2018-11439 - https://github.com/taglib/taglib/issues/864 * gnu/packges/mp3.scm (taglib): Update to 1.12-beta-1. [source]: Switch to using git-fetch. Pierre Langlois 2020-07-25gnu: mpg123: Update to 1.26.3....* gnu/packages/mp3.scm (mpg123): Update to 1.26.3. Tobias Geerinckx-Rice 2020-07-21gnu: chromaprint: Update to 1.5.0....* gnu/packages/mp3.scm (chromaprint): Update to 1.5.0. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Michael Rohleder 2020-06-03gnu: mpg123: Update to 1.26.1....* gnu/packages/mp3.scm (mpg123): Update to 1.26.1. Tobias Geerinckx-Rice 2020-05-29gnu: mpg123: Update to 1.26.0....* gnu/packages/mp3.scm (mpg123): Update to 1.26.0. [inputs]: Re-order alphabetically. Nicolas Goaziou ass='msg-avail'>...* gnu/packages/minetest.scm (minetest-mobs): Update to 2021-12-12. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos 2022-01-05gnu: minetest-homedecor-modpack: Update to 2021-12-26....* gnu/packages/minetest.scm (minetest-homedecor-modpack): Update to 2021-12-26. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos 2022-01-05gnu: minetest-basic-materials: Update to 2021-12-26....* gnu/packages/minetest.scm (minetest-basic-materials): Update to 2021-12-26. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-10-16gnu: minetest-basic-materials: Propagate minetest-moreores....* gnu/packages/minetest.scm (minetest-basic-materials) [propagated-inputs]: Add minetest-moreores. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Vivien Kraus 2021-10-16gnu: Add minetest-moreores....* gnu/packages/minetest.scm (minetest-moreores): New variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Vivien Kraus