guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: gdl: Don't use custom bootstrap phase.


From: guix-commits
Subject: 01/02: gnu: gdl: Don't use custom bootstrap phase.
Date: Mon, 1 Jun 2020 02:18:21 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 70cf011390d92e44877502bc5765a3c87834dac2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 1 08:44:21 2020 +0300

    gnu: gdl: Don't use custom bootstrap phase.
    
    * gnu/packages/gnome.scm (gdl)[arguments]: Remove custom boostrap phase.
    (gdl-minimal)[arguments]: Don't inherit arguments from gdl.
---
 gnu/packages/gnome.scm | 35 ++++++++++++-----------------------
 1 file changed, 12 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index da69f1b..2be117d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1518,16 +1518,6 @@ GNOME Desktop.")
                (base32
                 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))
     (build-system gnu-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'bootstrap
-           (lambda _
-             ;; The autogen.sh script in gnome-common will run ./configure
-             ;; by default, which is problematic because source shebangs
-             ;; have not yet been patched.
-             (setenv "NOCONFIGURE" "t")
-             (invoke "sh" "autogen.sh"))))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
@@ -1554,19 +1544,18 @@ GNOME Desktop.")
     (inherit gdl)
     (name "gdl-minimal")
     (arguments
-     (substitute-keyword-arguments (package-arguments gdl)
-       ((#:phases phases)
-        `(modify-phases ,phases
-           (add-after 'unpack 'disable-doc-generation
-             ;; XXX: There is no easy way to disable generating the
-             ;; documentation.
-             (lambda _
-               (substitute* "configure.in"
-                 (("GTK_DOC_CHECK.*") "")
-                 (("docs/.*") ""))
-               (substitute* "Makefile.am"
-                 (("gdl docs po") "gdl po"))
-               #t))))))
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-doc-generation
+           ;; XXX: There is no easy way to disable generating the
+           ;; documentation.
+           (lambda _
+             (substitute* "configure.in"
+               (("GTK_DOC_CHECK.*") "")
+               (("docs/.*") ""))
+             (substitute* "Makefile.am"
+               (("gdl docs po") "gdl po"))
+             #t)))))
     (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
 
 (define-public libgnome-keyring



reply via email to

[Prev in Thread] Current Thread [Next in Thread]