[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/145: gnu: meson: Update to 0.60.2 and absorb meson-wrapped.
From: |
guix-commits |
Subject: |
09/145: gnu: meson: Update to 0.60.2 and absorb meson-wrapped. |
Date: |
Mon, 10 Jan 2022 11:44:00 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 5829616bfe90c3e6513042d0499c2e0d27aa3401
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Dec 17 12:34:02 2021 -0500
gnu: meson: Update to 0.60.2 and absorb meson-wrapped.
* gnu/packages/build-tools.scm (meson): Update to 0.60.2, and integrate
fixes
made in 'meson-wrapped':
[phases]{wrap}: Replace phase.
[inputs]: Add python-wrapper.
[propagated-inputs]: Delete field.
[properties]: Likewise.
(meson-wrapped): Delete variable.
---
gnu/packages/build-tools.scm | 48 ++++++++++++--------------------------------
1 file changed, 13 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 9d3fd5171e..50bdeb86aa 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -264,7 +264,7 @@ files and generates build instructions for the Ninja build
system.")
(define-public meson
(package
(name "meson")
- (version "0.60.0")
+ (version "0.60.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mesonbuild/meson/"
@@ -272,42 +272,10 @@ files and generates build instructions for the Ninja
build system.")
version ".tar.gz"))
(sha256
(base32
- "0irdn7hx5a182jbvq2kmdwd1v7mljzh5fm27pg4xk879hnv6h388"))
+ "08g9ag8cbrki5srggawsm96f3fggaj0wmmpryi9826xzcn2rdrk4"))
(patches (search-patches
"meson-allow-dirs-outside-of-prefix.patch"))))
(build-system python-build-system)
- (arguments
- `(;; FIXME: Tests require many additional inputs and patching many
- ;; hard-coded file system locations in "run_unittests.py".
- #:tests? #f
- #:phases (modify-phases %standard-phases
- ;; Meson calls the various executables in out/bin through the
- ;; Python interpreter, so we cannot use the shell wrapper.
- (delete 'wrap))))
- (inputs (list ninja))
-
- ;; XXX: Python is propagated just to 'GUIX_PYTHONPATH' is set (!).
- ;; MESON-WRAPPED below fixes that by wrapping the 'meson' executable.
- ;; TODO: Make MESON-WRAPPED the new MESON on the next core update cycle.
- (propagated-inputs (list python))
-
- (home-page "https://mesonbuild.com/")
- (properties '((hidden? . #t)))
- (synopsis "Build system designed to be fast and user-friendly")
- (description
- "The Meson build system is focused on user-friendliness and speed.
-It can compile code written in C, C++, Fortran, Java, Rust, and other
-languages. Meson provides features comparable to those of the
-Autoconf/Automake/make combo. Build specifications, also known as @dfn{Meson
-files}, are written in a custom domain-specific language (@dfn{DSL}) that
-resembles Python.")
- (license license:asl2.0)))
-
-(define-public meson-wrapped
- (package/inherit meson
- (propagated-inputs '()) ;don't propagate Python
- (inputs (modify-inputs (package-inputs meson)
- (prepend python-wrapper)))
(arguments
`(;; FIXME: Tests require many additional inputs and patching many
;; hard-coded file system locations in "run_unittests.py".
@@ -327,7 +295,17 @@ import sys
sys.path.insert(0, '~a/lib/python~a/site-packages')
# EASY-INSTALL-ENTRY-SCRIPT"
output python-version)))))))))
- (properties '())))
+ (inputs (list python-wrapper ninja))
+ (home-page "https://mesonbuild.com/")
+ (synopsis "Build system designed to be fast and user-friendly")
+ (description
+ "The Meson build system is focused on user-friendliness and speed.
+It can compile code written in C, C++, Fortran, Java, Rust, and other
+languages. Meson provides features comparable to those of the
+Autoconf/Automake/make combo. Build specifications, also known as @dfn{Meson
+files}, are written in a custom domain-specific language (@dfn{DSL}) that
+resembles Python.")
+ (license license:asl2.0)))
;;; This older Meson variant is kept for now for gtkmm and others that may
;;; have problems with 0.60.
- 12/145: gnu: python-3.9: Update to 3.9.9., (continued)
- 12/145: gnu: python-3.9: Update to 3.9.9., guix-commits, 2022/01/10
- 19/145: gnu: gobject-introspection: Unconditionally use flex and bison., guix-commits, 2022/01/10
- 22/145: gnu: cairo: Use bash-minimal unconditionally., guix-commits, 2022/01/10
- 26/145: gnu: glib: Fix cross-compilation., guix-commits, 2022/01/10
- 31/145: gnu: glibmm-2.64: Fix libsigc++ propagation., guix-commits, 2022/01/10
- 24/145: gnu: libcap: Use #$output unconditionally., guix-commits, 2022/01/10
- 41/145: gnu: gsettings-desktop-schemas: Add python to native inputs., guix-commits, 2022/01/10
- 35/145: gnu: cmake-bootstrap: Update to 3.21.4., guix-commits, 2022/01/10
- 10/145: gnu: Remove meson-0.59 workarounds., guix-commits, 2022/01/10
- 06/145: gnu: python-pyparsing: Update to 3.0.6., guix-commits, 2022/01/10
- 09/145: gnu: meson: Update to 0.60.2 and absorb meson-wrapped.,
guix-commits <=
- 16/145: gnu: binutils: Absorb binutils-next., guix-commits, 2022/01/10
- 18/145: gnu: rust-bitflags-1: Absorb rust-bitflags-1.3., guix-commits, 2022/01/10
- 29/145: gnu: pciutils: Fix the conditional for the kmod input., guix-commits, 2022/01/10
- 30/145: gnu: glibmm: Remove trailing #t., guix-commits, 2022/01/10
- 32/145: gnu: gnupg: Update to 2.2.32., guix-commits, 2022/01/10
- 20/145: gnu: mozjs-60: Use quasiquote, addressing TODO., guix-commits, 2022/01/10
- 33/145: gnu: util-linux: Update to 2.37.2., guix-commits, 2022/01/10
- 34/145: gnu: eudev: Update to 3.2.11., guix-commits, 2022/01/10
- 36/145: gnu: libpcap: Update to 2.62., guix-commits, 2022/01/10
- 39/145: gnu: rust-1.39: Update mrustc to commit c70665., guix-commits, 2022/01/10