gnu: Remove obsolete bootstrap workaround phases.

* gnu/packages/admin.scm (igt-gpu-tools)[arguments]: Don't set
NOCONFIGURE environment variable.
* gnu/packages/algebra.scm (givaro, fflas-ffpack, linbox),
* gnu/packages/arcan.scm (xarcan),
* gnu/packages/audio.scm (rtmidi),
* gnu/packages/cinnamon.scm (cinnamon-desktop),
* gnu/packages/gnome.scm (dia, libxklavier, byzanz),
* gnu/packages/image-viewers.scm (geeqie),
* gnu/packages/libusb.scm (libplist),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/networking.scm (aircrack-ng),
* gnu/packages/terminals.scm (tilda, kmscon),
* gnu/packages/xorg.scm (xf86-video-intel, xcompmgr) [arguments]: Same.
This commit is contained in:
Efraim Flashner 2020-02-16 09:06:53 +02:00
parent 481a0f1a7c
commit 778d6b522a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
12 changed files with 9 additions and 121 deletions

View file

@ -2802,14 +2802,7 @@ (define-public igt-gpu-tools
(base32 "1gpdjs5aj6vsnzwcjvw5bb120lgffvvshi4202phr0bzw3b92ky8")))) (base32 "1gpdjs5aj6vsnzwcjvw5bb120lgffvvshi4202phr0bzw3b92ky8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; many of the tests try to load kernel modules `(#:tests? #f)) ; many of the tests try to load kernel modules
#:phases
(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
;; Don't run configure in this phase.
(setenv "NOCONFIGURE" "1")
(invoke "sh" "autogen.sh"))))))
(inputs (inputs
`(("cairo" ,cairo) `(("cairo" ,cairo)
("elfutils" ,elfutils) ; libdw ("elfutils" ,elfutils) ; libdw

View file

@ -1217,15 +1217,6 @@ (define-public givaro
("libtool" ,libtool))) ("libtool" ,libtool)))
(propagated-inputs (propagated-inputs
`(("gmp" ,gmp))) ; gmp++.h includes gmpxx.h `(("gmp" ,gmp))) ; gmp++.h includes gmpxx.h
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'setenv
;; Prevent the autogen.sh script to carry out the configure
;; script, which has not yet been patched to replace /bin/sh.
(lambda _
(setenv "NOCONFIGURE" "yes")
#t)))))
(synopsis "Algebraic computations with exact rings and fields") (synopsis "Algebraic computations with exact rings and fields")
(description (description
"Givaro is a C++ library implementing the basic arithmetic of various "Givaro is a C++ library implementing the basic arithmetic of various
@ -1264,15 +1255,7 @@ (define-public fflas-ffpack
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-blas-libs=" (list (string-append "--with-blas-libs="
(assoc-ref %build-inputs "openblas") (assoc-ref %build-inputs "openblas")
"/lib/libopenblas.so")) "/lib/libopenblas.so"))))
#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'setenv
;; Prevent the autogen.sh script to carry out the configure
;; script, which has not yet been patched to replace /bin/sh.
(lambda _
(setenv "NOCONFIGURE" "yes")
#t)))))
(synopsis "C++ library for linear algebra over finite fields") (synopsis "C++ library for linear algebra over finite fields")
(description (description
"FFLAS-FFPACK is a C++ template library for basic linear algebra "FFLAS-FFPACK is a C++ template library for basic linear algebra
@ -1308,15 +1291,6 @@ (define-public linbox
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("fflas-ffpack" ,fflas-ffpack))) `(("fflas-ffpack" ,fflas-ffpack)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'setenv
;; Prevent the autogen.sh script to carry out the configure
;; script, which has not yet been patched to replace /bin/sh.
(lambda _
(setenv "NOCONFIGURE" "yes")
#t)))))
(synopsis "C++ library for linear algebra over exact rings") (synopsis "C++ library for linear algebra over exact rings")
(description (description
"LinBox is a C++ template library for exact linear algebra computation "LinBox is a C++ template library for exact linear algebra computation

View file

@ -216,13 +216,7 @@ (define-public xarcan
(assoc-ref %build-inputs "xkbcomp") (assoc-ref %build-inputs "xkbcomp")
"/bin") "/bin")
,(string-append "--with-xkb-output=" ,(string-append "--with-xkb-output="
"/tmp")) ; FIXME: Copied from xorg "/tmp")))) ; FIXME: Copied from xorg
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'noconfigure
(lambda _
(setenv "NOCONFIGURE" "true")
#t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("autoconf" ,autoconf) ("autoconf" ,autoconf)

View file

@ -2444,13 +2444,6 @@ (define-public rtmidi
(base32 (base32
"1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p")))) "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'noconfigure
(lambda _
(setenv "NOCONFIGURE" "yes")
#t)))))
(inputs (inputs
`(("jack" ,jack-1) `(("jack" ,jack-1)
("alsa-lib" ,alsa-lib))) ("alsa-lib" ,alsa-lib)))

View file

@ -51,13 +51,6 @@ (define-public cinnamon-desktop
(base32 (base32
"18mjy80ly9361npjhxpm3n0pkmrwviaqr2kixjb7hyxa6kzzh5xw")))) "18mjy80ly9361npjhxpm3n0pkmrwviaqr2kixjb7hyxa6kzzh5xw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'skip-premature-configure
(lambda _
(setenv "NOCONFIGURE" "set")
#t)))))
;; TODO: package 'libgsystem'. ;; TODO: package 'libgsystem'.
(inputs (inputs
`(("accountsservice" ,accountsservice) `(("accountsservice" ,accountsservice)

View file

@ -911,13 +911,6 @@ (define-public dia
("perl" ,perl) ("perl" ,perl)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper))) ("python-wrapper" ,python-wrapper)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'dont-configure-during-bootstrap
(lambda _
(setenv "NOCONFIGURE" "true")
#t)))))
(home-page "https://wiki.gnome.org/Apps/Dia") (home-page "https://wiki.gnome.org/Apps/Dia")
(synopsis "Diagram creation for GNOME") (synopsis "Diagram creation for GNOME")
(description "Dia can be used to draw different types of diagrams, and (description "Dia can be used to draw different types of diagrams, and
@ -3505,13 +3498,7 @@ (define-public libxklavier
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:configure-flags
(modify-phases %standard-phases
(add-after 'unpack 'no-configure
(lambda* _
(setenv "NOCONFIGURE" "1")
#t)))
#:configure-flags
(list (string-append "--with-xkb-base=" (list (string-append "--with-xkb-base="
(assoc-ref %build-inputs "xkeyboard-config") (assoc-ref %build-inputs "xkeyboard-config")
"/share/X11/xkb") "/share/X11/xkb")
@ -7924,7 +7911,7 @@ (define-public byzanz
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'bootstrap (add-before 'bootstrap 'build-without-Werror
(lambda _ (lambda _
;; The build system cleverly detects that we're not building from ;; The build system cleverly detects that we're not building from
;; a release tarball and turns on -Werror for GCC. ;; a release tarball and turns on -Werror for GCC.
@ -7932,11 +7919,7 @@ (define-public byzanz
;; causes the build to fail unnecessarily, so we remove the flag. ;; causes the build to fail unnecessarily, so we remove the flag.
(substitute* '("configure.ac") (substitute* '("configure.ac")
(("-Werror") "")) (("-Werror") ""))
;; The autogen.sh script in gnome-common will run ./configure #t)))))
;; by default, which is problematic because source shebangs
;; have not yet been patched.
(setenv "NOCONFIGURE" "t")
(zero? (system* "sh" "autogen.sh")))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)

View file

@ -155,7 +155,6 @@ (define (write-dummy-changelog port)
write-dummy-changelog) write-dummy-changelog)
(call-with-output-file "ChangeLog.html" (call-with-output-file "ChangeLog.html"
write-dummy-changelog) write-dummy-changelog)
(setenv "NOCONFIGURE" "true")
;; Don't try to run 'git' for the version number. ;; Don't try to run 'git' for the version number.
(substitute* "configure.ac" (substitute* "configure.ac"

View file

@ -318,14 +318,7 @@ (define-public libplist
(base32 "02vraf4j46bp746s0gz7vga2gv2dy3zd1v1bsy9x8algg9fpcb7n")))) (base32 "02vraf4j46bp746s0gz7vga2gv2dy3zd1v1bsy9x8algg9fpcb7n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(;; Tests fail randomly when run in parallel because several of them write
(modify-phases %standard-phases
(add-before 'bootstrap 'configure-later
;; Don't run ./configure during bootstrap.
(lambda _
(setenv "NOCONFIGURE" "set")
#t)))
;; Tests fail randomly when run in parallel because several of them write
;; and read to/from the same file--e.g., "4.plist" is accessed by ;; and read to/from the same file--e.g., "4.plist" is accessed by
;; 'large.test' and 'largecmp.test'. ;; 'large.test' and 'largecmp.test'.
#:parallel-tests? #f)) #:parallel-tests? #f))

View file

@ -1133,13 +1133,7 @@ (define-public libetpan
("expat" ,expat) ("expat" ,expat)
("zlib" ,zlib))) ("zlib" ,zlib)))
(arguments (arguments
'(#:phases '(#:configure-flags
(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(setenv "NOCONFIGURE" "true")
(invoke "sh" "autogen.sh"))))
#:configure-flags
'("--disable-static" "--disable-db"))) '("--disable-static" "--disable-db")))
(home-page "https://www.etpan.org/libetpan.html") (home-page "https://www.etpan.org/libetpan.html")
(synopsis "Portable middleware for email access") (synopsis "Portable middleware for email access")

View file

@ -934,12 +934,6 @@ (define-public aircrack-ng
(("/bin/sh") (("/bin/sh")
(which "sh"))) (which "sh")))
#t)) #t))
(replace 'bootstrap
(lambda _
;; Patch shebangs in generated files before running
;; ./configure.
(setenv "NOCONFIGURE" "please")
(invoke "bash" "./autogen.sh")))
(add-after 'build 'absolutize-tools (add-after 'build 'absolutize-tools
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((ethtool (string-append (assoc-ref inputs "ethtool") (let ((ethtool (string-append (assoc-ref inputs "ethtool")

View file

@ -96,12 +96,6 @@ (define-public tilda
(base32 (base32
"154rsldqjv2m1bddisb930qicb0y35kx7bxq392n2hn68jr2pxkj")))) "154rsldqjv2m1bddisb930qicb0y35kx7bxq392n2hn68jr2pxkj"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(setenv "NOCONFIGURE" "true")
(invoke "sh" "autogen.sh"))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)
@ -276,10 +270,6 @@ (define-public kmscon
#:disallowed-references (,mesa) #:disallowed-references (,mesa)
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(setenv "NOCONFIGURE" "indeed")
(invoke "sh" "autogen.sh")))
;; Use elogind instead of systemd. ;; Use elogind instead of systemd.
(add-before 'configure 'remove-systemd (add-before 'configure 'remove-systemd
(lambda _ (lambda _

View file

@ -2980,13 +2980,7 @@ (define-public xf86-video-intel
(string-prefix? "x86_64-" system))) (string-prefix? "x86_64-" system)))
%supported-systems)) %supported-systems))
(arguments (arguments
'(#:configure-flags '("--with-default-accel=uxa") '(#:configure-flags '("--with-default-accel=uxa")))
#:phases (modify-phases %standard-phases
(add-before 'bootstrap 'pre-bootstrap
(lambda _
;; Inhibit autogen.sh from running configure.
(setenv "NOCONFIGURE" "1")
#t)))))
(home-page "https://www.x.org/wiki/") (home-page "https://www.x.org/wiki/")
(synopsis "Intel video driver for X server") (synopsis "Intel video driver for X server")
(description (description
@ -6079,12 +6073,6 @@ (define-public xcompmgr
(base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2")) (base32 "11i7vyk3pynw8q8aczpy56qncm84y0cmhlvyja3sj8dgy60g03q2"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'autogen
(lambda _
(setenv "NOCONFIGURE" "t")
(invoke "sh" "autogen.sh"))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("autoconf" ,autoconf) ("autoconf" ,autoconf)