You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

449 lines
18 KiB

Correct name and email address for ng0. * .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2 years ago
gnu: Use synopses from the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
8 years ago
Synchronize package descriptions with the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/freeipmi.scm, gnu/packages/gawk.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/gdb.scm, gnu/packages/gdbm.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/global.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/gv.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/lightning.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/ocrad.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/plotutils.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/rush.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm, gnu/packages/xnee.scm, gnu/packages/zile.scm: Change value of the 'description' field to that of the Womb.
8 years ago
gnu: Use synopses from the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
8 years ago
gnu: packages: Use 'search-patches' everywhere. * gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field. * gnu/packages/acl.scm: Likewise. * gnu/packages/admin.scm: Likewise. * gnu/packages/algebra.scm: Likewise. * gnu/packages/animation.scm: Likewise. * gnu/packages/apr.scm: Likewise. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/autotools.scm: Likewise. * gnu/packages/avahi.scm: Likewise. * gnu/packages/backup.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bash.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/ci.scm: Likewise. * gnu/packages/cmake.scm: Likewise. * gnu/packages/cpio.scm: Likewise. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/dico.scm: Likewise. * gnu/packages/doxygen.scm: Likewise. * gnu/packages/ebook.scm: Likewise. * gnu/packages/elf.scm: Likewise. * gnu/packages/emacs.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fltk.scm: Likewise. * gnu/packages/ftp.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gawk.scm: Likewise. * gnu/packages/gcc.scm: Likewise. * gnu/packages/gd.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/glib.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/gnunet.scm: Likewise. * gnu/packages/gnupg.scm: Likewise. * gnu/packages/gnuzilla.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/grub.scm: Likewise. * gnu/packages/gtk.scm: Likewise. * gnu/packages/guile.scm: Likewise. * gnu/packages/icu4c.scm: Likewise. * gnu/packages/idutils.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/imagemagick.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/ldc.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libevent.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libunwind.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/llvm.scm: Likewise. * gnu/packages/lsh.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/lxqt.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/mit-krb5.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/multiprecision.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/ninja.scm: Likewise. * gnu/packages/nvi.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/orpheus.scm: Likewise. * gnu/packages/ots.scm: Likewise. * gnu/packages/parallel.scm: Likewise. * gnu/packages/patchutils.scm: Likewise. * gnu/packages/pcre.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/plotutils.scm: Likewise. * gnu/packages/polkit.scm: Likewise. * gnu/packages/pulseaudio.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/qemu.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/rdf.scm: Likewise. * gnu/packages/readline.scm: Likewise. * gnu/packages/rush.scm: Likewise. * gnu/packages/scheme.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/slim.scm: Likewise. * gnu/packages/ssh.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/tcsh.scm: Likewise. * gnu/packages/texinfo.scm: Likewise. * gnu/packages/tls.scm: Likewise. * gnu/packages/tor.scm: Likewise. * gnu/packages/tv.scm: Likewise. * gnu/packages/valgrind.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/vpn.scm: Likewise. * gnu/packages/vtk.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wicd.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xfce.scm: Likewise. * gnu/packages/xiph.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/packages/zip.scm: Likewise.
5 years ago
gnu: Use synopses from the Womb. * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
8 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
  4. ;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
  5. ;;; Copyright © 2014 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
  6. ;;; Copyright © 2015, 2017, 2018 Mark H Weaver <mhw@netris.org>
  7. ;;; Copyright © 2016 David Thompson <davet@gnu.org>
  8. ;;; Copyright © 2017 ng0 <ng0@n0.is>
  9. ;;; Copyright © 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
  10. ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
  11. ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
  12. ;;;
  13. ;;; This file is part of GNU Guix.
  14. ;;;
  15. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  16. ;;; under the terms of the GNU General Public License as published by
  17. ;;; the Free Software Foundation; either version 3 of the License, or (at
  18. ;;; your option) any later version.
  19. ;;;
  20. ;;; GNU Guix is distributed in the hope that it will be useful, but
  21. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  22. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. ;;; GNU General Public License for more details.
  24. ;;;
  25. ;;; You should have received a copy of the GNU General Public License
  26. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  27. (define-module (gnu packages autotools)
  28. #:use-module (guix licenses)
  29. #:use-module (gnu packages)
  30. #:use-module (gnu packages perl)
  31. #:use-module (gnu packages python)
  32. #:use-module (gnu packages m4)
  33. #:use-module (gnu packages man)
  34. #:use-module (gnu packages bash)
  35. #:use-module (guix utils)
  36. #:use-module (guix packages)
  37. #:use-module (guix download)
  38. #:use-module (guix build-system gnu)
  39. #:use-module (guix build-system trivial)
  40. #:use-module (ice-9 match)
  41. #:export (autoconf-wrapper))
  42. (define-public autoconf
  43. (package
  44. (name "autoconf")
  45. (version "2.69")
  46. (source
  47. (origin
  48. (method url-fetch)
  49. (uri (string-append "mirror://gnu/autoconf/autoconf-"
  50. version ".tar.xz"))
  51. (sha256
  52. (base32
  53. "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4"))))
  54. (build-system gnu-build-system)
  55. (native-inputs
  56. `(("perl" ,perl)
  57. ("m4" ,m4)))
  58. ;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It
  59. ;; should use our own "cpp" instead of "/lib/cpp".
  60. (arguments `(#:tests? #f))
  61. (home-page "https://www.gnu.org/software/autoconf/")
  62. (synopsis "Create source code configuration scripts")
  63. (description
  64. "Autoconf offers the developer a robust set of M4 macros which expand
  65. into shell code to test the features of Unix-like systems and to adapt
  66. automatically their software package to these systems. The resulting shell
  67. scripts are self-contained and portable, freeing the user from needing to
  68. know anything about Autoconf or M4.")
  69. (license gpl3+))) ; some files are under GPLv2+
  70. (define-public autoconf-2.68
  71. (package (inherit autoconf)
  72. (version "2.68")
  73. (source
  74. (origin
  75. (method url-fetch)
  76. (uri (string-append "mirror://gnu/autoconf/autoconf-"
  77. version ".tar.xz"))
  78. (sha256
  79. (base32
  80. "1fjm21k2na07f3vasf288a0zx66lbv0hd3l9bvv3q8p62s3pg569"))))))
  81. (define-public autoconf-2.64
  82. ;; As of GDB 7.8, GDB is still developed using this version of Autoconf.
  83. (package (inherit autoconf)
  84. (version "2.64")
  85. (source
  86. (origin
  87. (method url-fetch)
  88. (uri (string-append "mirror://gnu/autoconf/autoconf-"
  89. version ".tar.xz"))
  90. (sha256
  91. (base32
  92. "0j3jdjpf5ly39dlp0bg70h72nzqr059k0x8iqxvaxf106chpgn9j"))))))
  93. (define-public autoconf-2.13
  94. ;; GNU IceCat 52.x requires autoconf-2.13 to build!
  95. (package (inherit autoconf)
  96. (version "2.13")
  97. (source
  98. (origin
  99. (method url-fetch)
  100. (uri (string-append "mirror://gnu/autoconf/autoconf-"
  101. version ".tar.gz"))
  102. (sha256
  103. (base32
  104. "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh"))))
  105. (arguments
  106. `(#:tests? #f
  107. #:phases
  108. ;; The 'configure' script in autoconf-2.13 can't cope with "SHELL=" and
  109. ;; "CONFIG_SHELL=" arguments, so we set them as environment variables
  110. ;; and pass a simplified set of arguments.
  111. (modify-phases %standard-phases
  112. (replace 'configure
  113. (lambda* (#:key build inputs outputs #:allow-other-keys)
  114. (let ((bash (which "bash"))
  115. (out (assoc-ref outputs "out")))
  116. (setenv "CONFIG_SHELL" bash)
  117. (setenv "SHELL" bash)
  118. (invoke bash "./configure"
  119. (string-append "--prefix=" out)
  120. (string-append "--build=" build))))))))))
  121. (define (make-autoconf-wrapper autoconf)
  122. "Return a wrapper around AUTOCONF that generates `configure' scripts that
  123. use our own Bash instead of /bin/sh in shebangs. For that reason, it should
  124. only be used internally---users should not end up distributing `configure'
  125. files with a system-specific shebang."
  126. (package (inherit autoconf)
  127. (name (string-append (package-name autoconf) "-wrapper"))
  128. (build-system trivial-build-system)
  129. (inputs `(("guile"
  130. ;; XXX: Kludge to hide the circular dependency.
  131. ,(module-ref (resolve-interface '(gnu packages guile))
  132. 'guile-2.0))
  133. ("autoconf" ,autoconf)
  134. ("bash" ,bash)))
  135. (arguments
  136. '(#:modules ((guix build utils))
  137. #:builder
  138. (begin
  139. (use-modules (guix build utils))
  140. (let* ((out (assoc-ref %outputs "out"))
  141. (bin (string-append out "/bin"))
  142. (autoconf (string-append
  143. (assoc-ref %build-inputs "autoconf")
  144. "/bin/autoconf"))
  145. (guile (string-append
  146. (assoc-ref %build-inputs "guile")
  147. "/bin/guile"))
  148. (sh (string-append
  149. (assoc-ref %build-inputs "bash")
  150. "/bin/sh"))
  151. (modules ((compose dirname dirname dirname)
  152. (search-path %load-path
  153. "guix/build/utils.scm"))))
  154. (mkdir-p bin)
  155. ;; Symlink all the binaries but `autoconf'.
  156. (with-directory-excursion bin
  157. (for-each (lambda (file)
  158. (unless (string=? (basename file) "autoconf")
  159. (symlink file (basename file))))
  160. (find-files (dirname autoconf) ".*")))
  161. ;; Add an `autoconf' binary that wraps the real one.
  162. (call-with-output-file (string-append bin "/autoconf")
  163. (lambda (port)
  164. ;; Shamefully, Guile can be used in shebangs only if a
  165. ;; single argument is passed (-ds); otherwise it gets
  166. ;; them all as a single argument and fails to parse them.
  167. (format port "#!~a
  168. export GUILE_LOAD_PATH=\"~a\"
  169. export GUILE_LOAD_COMPILED_PATH=\"~a\"
  170. exec ~a --no-auto-compile \"$0\" \"$@\"
  171. !#~%"
  172. sh modules modules guile)
  173. (write
  174. `(begin
  175. (use-modules (guix build utils))
  176. (let ((result (apply system* ,autoconf
  177. (cdr (command-line)))))
  178. (when (and (file-exists? "configure")
  179. (not (file-exists? "/bin/sh")))
  180. ;; Patch regardless of RESULT, because `autoconf
  181. ;; -Werror' can both create a `configure' file and
  182. ;; return a non-zero exit code.
  183. (patch-shebang "configure"))
  184. (exit (status:exit-val result))))
  185. port)))
  186. (chmod (string-append bin "/autoconf") #o555)
  187. #t))))
  188. ;; Do not show it in the UI since it's meant for internal use.
  189. (properties '((hidden? . #t)))))
  190. (define-public autoconf-wrapper
  191. (make-autoconf-wrapper autoconf))
  192. (define-public autoconf-archive
  193. (package
  194. (name "autoconf-archive")
  195. (version "2019.01.06")
  196. (source
  197. (origin
  198. (method url-fetch)
  199. (uri (string-append "mirror://gnu/autoconf-archive/autoconf-archive-"
  200. version ".tar.xz"))
  201. (sha256
  202. (base32
  203. "0gqya7nf4j5k98dkky0c3bnr0paciya91vkqazg7knlq621mq68p"))))
  204. (build-system gnu-build-system)
  205. (home-page "https://www.gnu.org/software/autoconf-archive/")
  206. (synopsis "Collection of freely reusable Autoconf macros")
  207. (description
  208. "Autoconf Archive is a collection of over 450 new macros for Autoconf,
  209. greatly expanding the domain of its functionality. These macros have been
  210. contributed as free software by the community.")
  211. (license gpl3+)))
  212. (define-public autobuild
  213. (package
  214. (name "autobuild")
  215. (version "5.3")
  216. (source (origin
  217. (method url-fetch)
  218. (uri (string-append "mirror://savannah/autobuild/autobuild-"
  219. version ".tar.gz"))
  220. (sha256
  221. (base32
  222. "0gv7g61ja9q9zg1m30k4snqwwy1kq7b4df6sb7d2qra7kbdq8af1"))))
  223. (build-system gnu-build-system)
  224. (inputs `(("perl" ,perl)))
  225. (synopsis "Process generated build logs")
  226. (description "Autobuild is a package that processes build logs generated
  227. when building software. Autobuild is primarily focused on packages using
  228. Autoconf and Automake, but can be used with other build systems too.
  229. Autobuild generates an HTML summary file, containing links to each build log.
  230. The summary includes project name, version, build hostname, host type (cross
  231. compile aware), date of build, and indication of success or failure. The
  232. output is indexed in many ways to simplify browsing.")
  233. (home-page "http://josefsson.org/autobuild/")
  234. (license gpl3+)))
  235. (define-public automake
  236. (package
  237. (name "automake")
  238. (version "1.16.1")
  239. (source (origin
  240. (method url-fetch)
  241. (uri (string-append "mirror://gnu/automake/automake-"
  242. version ".tar.xz"))
  243. (sha256
  244. (base32
  245. "08g979ficj18i1w6w5219bgmns7czr03iadf20mk3lrzl8wbn1ax"))
  246. (patches
  247. (search-patches "automake-skip-amhello-tests.patch"))))
  248. (build-system gnu-build-system)
  249. (native-inputs
  250. `(("autoconf" ,autoconf-wrapper)
  251. ("perl" ,perl)))
  252. (native-search-paths
  253. (list (search-path-specification
  254. (variable "ACLOCAL_PATH")
  255. (files '("share/aclocal")))))
  256. (arguments
  257. '(#:modules ((guix build gnu-build-system)
  258. (guix build utils)
  259. (srfi srfi-1)
  260. (srfi srfi-26)
  261. (rnrs io ports))
  262. #:phases
  263. (modify-phases %standard-phases
  264. (add-before 'patch-source-shebangs 'patch-tests-shebangs
  265. (lambda _
  266. (let ((sh (which "sh")))
  267. (substitute* (find-files "t" "\\.(sh|tap)$")
  268. (("#![[:blank:]]?/bin/sh")
  269. (string-append "#!" sh)))
  270. ;; Set these variables for all the `configure' runs
  271. ;; that occur during the test suite.
  272. (setenv "SHELL" sh)
  273. (setenv "CONFIG_SHELL" sh)
  274. #t)))
  275. ;; Files like `install-sh', `mdate.sh', etc. must use
  276. ;; #!/bin/sh, otherwise users could leak erroneous shebangs
  277. ;; in the wild. See <http://bugs.gnu.org/14201> for an
  278. ;; example.
  279. (add-after 'install 'unpatch-shebangs
  280. (lambda* (#:key outputs #:allow-other-keys)
  281. (let* ((out (assoc-ref outputs "out"))
  282. (dir (string-append out "/share")))
  283. (define (starts-with-shebang? file)
  284. (equal? (call-with-input-file file
  285. (lambda (p)
  286. (list (get-u8 p) (get-u8 p))))
  287. (map char->integer '(#\# #\!))))
  288. (for-each (lambda (file)
  289. (when (and (starts-with-shebang? file)
  290. (executable-file? file))
  291. (format #t "restoring shebang on `~a'~%"
  292. file)
  293. (substitute* file
  294. (("^#!.*/bin/sh")
  295. "#!/bin/sh")
  296. (("^#!.*/bin/env(.*)$" _ args)
  297. (string-append "#!/usr/bin/env"
  298. args)))))
  299. (find-files dir ".*"))
  300. #t))))))
  301. (home-page "https://www.gnu.org/software/automake/")
  302. (synopsis "Making GNU standards-compliant Makefiles")
  303. (description
  304. "Automake the part of the GNU build system for producing
  305. standards-compliant Makefiles. Build requirements are entered in an
  306. intuitive format and then Automake works with Autoconf to produce a robust
  307. Makefile, simplifying the entire process for the developer.")
  308. (license gpl2+))) ; some files are under GPLv3+
  309. (define-public libtool
  310. (package
  311. (name "libtool")
  312. (version "2.4.6")
  313. (source (origin
  314. (method url-fetch)
  315. (uri (string-append "mirror://gnu/libtool/libtool-"
  316. version ".tar.xz"))
  317. (sha256
  318. (base32
  319. "0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw"))
  320. (patches (search-patches "libtool-skip-tests2.patch"))))
  321. (build-system gnu-build-system)
  322. (propagated-inputs `(("m4" ,m4)))
  323. (native-inputs `(("m4" ,m4)
  324. ("perl" ,perl)
  325. ;; XXX: this shouldn't be necessary, but without it test
  326. ;; 102 fails because it cannot find ltdl/libltdl.la.
  327. ("libltdl" ,libltdl)
  328. ("help2man" ,help2man) ;because we modify ltmain.sh
  329. ("automake" ,automake) ;some tests rely on 'aclocal'
  330. ("autoconf" ,autoconf-wrapper))) ;others on 'autom4te'
  331. (arguments
  332. `(;; Libltdl is provided as a separate package, so don't install it here.
  333. #:configure-flags '("--disable-ltdl-install")
  334. ;; XXX: There are test failures on mips64el-linux starting from 2.4.4:
  335. ;; <http://hydra.gnu.org/build/181662>.
  336. #:tests? ,(not (string-prefix? "mips64"
  337. (or (%current-target-system)
  338. (%current-system))))
  339. #:phases
  340. (modify-phases %standard-phases
  341. (add-before 'check 'pre-check
  342. (lambda* (#:key inputs #:allow-other-keys)
  343. ;; Run the test suite in parallel, if possible.
  344. (setenv "TESTSUITEFLAGS"
  345. (string-append
  346. "-j"
  347. (number->string (parallel-job-count))))
  348. ;; Patch references to /bin/sh.
  349. (let ((bash (assoc-ref inputs "bash")))
  350. (substitute* "tests/testsuite"
  351. (("/bin/sh")
  352. (string-append bash "/bin/sh")))
  353. #t)))
  354. (add-after 'patch-source-shebangs 'restore-ltmain-shebang
  355. (lambda* (#:key inputs #:allow-other-keys)
  356. (substitute* "build-aux/ltmain.in"
  357. (("^#!.*/bin/sh$") "#!/bin/sh"))
  358. #t)))))
  359. (synopsis "Generic shared library support tools")
  360. (description
  361. "GNU Libtool helps in the creation and use of shared libraries, by
  362. presenting a single consistent, portable interface that hides the usual
  363. complexity of working with shared libraries across platforms.")
  364. (license gpl3+)
  365. (home-page "https://www.gnu.org/software/libtool/")))
  366. (define-public libltdl
  367. ;; This is a libltdl package separate from the libtool package. This is
  368. ;; useful because, unlike libtool, it has zero extra dependencies (making it
  369. ;; readily usable during bootstrap), and it builds very quickly since
  370. ;; Libtool's extensive test suite isn't run.
  371. (package
  372. (name "libltdl")
  373. (version "2.4.6")
  374. (source (origin
  375. (method url-fetch)
  376. (uri (string-append "mirror://gnu/libtool/libtool-"
  377. version ".tar.xz"))
  378. (sha256
  379. (base32
  380. "0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw"))))
  381. (build-system gnu-build-system)
  382. (arguments
  383. '(#:configure-flags '("--enable-ltdl-install") ;really install it
  384. #:phases (modify-phases %standard-phases
  385. (add-before 'configure 'change-directory
  386. (lambda _ (chdir "libltdl") #t)))))
  387. (synopsis "System-independent dlopen wrapper of GNU libtool")
  388. (description (package-description libtool))
  389. (home-page (package-home-page libtool))
  390. (license lgpl2.1+)))
  391. (define-public pyconfigure
  392. (package
  393. (name "pyconfigure")
  394. (version "0.2.3")
  395. (source (origin
  396. (method url-fetch)
  397. (uri (string-append "mirror://gnu/pyconfigure/pyconfigure-"
  398. version ".tar.gz"))
  399. (sha256
  400. (base32
  401. "0kxi9bg7l6ric39vbz9ykz4a21xlihhh2zcc3297db8amvhqwhrp"))))
  402. (build-system gnu-build-system)
  403. (arguments
  404. `(#:phases
  405. (modify-phases %standard-phases
  406. (add-before 'configure 'patch-python
  407. (lambda _
  408. (substitute* "pyconf.in"
  409. (("/usr/bin/env python") (which "python3")))
  410. #t)))))
  411. (inputs
  412. `(("python" ,python-3)))
  413. (synopsis "@command{configure} interface for Python-based packages")
  414. (description
  415. "GNU pyconfigure provides template files for easily implementing
  416. standards-compliant configure scripts and Makefiles for Python-based packages.
  417. It is designed to work alongside existing Python setup scripts, making it easy
  418. to integrate into existing projects. Powerful and flexible Autoconf macros
  419. are available, allowing you to easily make adjustments to the installation
  420. procedure based on the capabilities of the target computer.")
  421. (home-page "https://www.gnu.org/software/pyconfigure/manual/")
  422. (license
  423. (fsf-free
  424. "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"))))