gnu: gobject-introspection: Build with Meson.
authorMarius Bakke <mbakke@fastmail.com>
Fri, 21 Jun 2019 12:08:54 +0000 (14:08 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Fri, 21 Jun 2019 12:54:28 +0000 (14:54 +0200)
The 1.60.x releases are the last ones to support Autotools.

* gnu/packages/glib.scm (gobject-introspection)[build-system]: Change to
MESON-BUILD-SYSTEM.
[arguments]: Remove <#:parallel-build?> and <#:tests?>.
[native-inputs]: Remove AUTOCONF and AUTOMAKE.

gnu/packages/glib.scm

index a4ae7b5..d8d339e 100644 (file)
@@ -28,7 +28,6 @@
 
 (define-module (gnu packages glib)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
@@ -361,15 +360,9 @@ dynamic loading, and an object system.")
                        "gobject-introspection-cc.patch"
                        "gobject-introspection-girepository.patch"
                        "gobject-introspection-absolute-shlib-path.patch"))))
-    (build-system gnu-build-system)
+    (build-system meson-build-system)
     (arguments
-     `(;; The build system has at least one race condition involving Gio-2.0.gir
-       ;; which causes intermittent failures, as of 1.56.0.
-       #:parallel-build? #f
-       ;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
-       ;; some tests to fail.
-       #:tests? #f
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'do-not-use-/usr/bin/env
            (lambda _
@@ -384,9 +377,7 @@ dynamic loading, and an object system.")
        ("python" ,python-wrapper)
        ("zlib" ,zlib)))
     (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("glib" ,glib "bin")
+     `(("glib" ,glib "bin")
        ("pkg-config" ,pkg-config)))
     (propagated-inputs
      `(;; In practice, GIR users will need libffi when using