2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-12-31 23:55:24 +00:00
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
2014-04-15 07:36:32 +00:00
|
|
|
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
2016-02-16 17:13:08 +00:00
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2014-12-05 12:59:00 +00:00
|
|
|
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
|
2014-09-27 17:07:19 +00:00
|
|
|
;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2016-01-04 14:59:13 +00:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2016-05-03 16:48:40 +00:00
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2012-06-27 23:24:34 +00:00
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; This file is part of GNU Guix.
|
2012-06-27 23:24:34 +00:00
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-06-27 23:24:34 +00:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-06-27 23:24:34 +00:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 23:47:50 +00:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-06-27 23:24:34 +00:00
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
(define-module (gnu packages base)
|
2013-04-20 15:47:59 +00:00
|
|
|
#:use-module ((guix licenses)
|
2016-05-03 16:48:40 +00:00
|
|
|
#:select (gpl3+ lgpl2.0+ lgpl3+ public-domain))
|
2013-01-18 00:06:47 +00:00
|
|
|
#:use-module (gnu packages)
|
2013-01-18 00:06:24 +00:00
|
|
|
#:use-module (gnu packages acl)
|
|
|
|
#:use-module (gnu packages bash)
|
2014-08-28 19:34:17 +00:00
|
|
|
#:use-module (gnu packages ed)
|
2013-01-18 00:06:24 +00:00
|
|
|
#:use-module (gnu packages guile)
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2015-02-25 12:58:15 +00:00
|
|
|
#:use-module (gnu packages compression)
|
2013-01-18 00:06:24 +00:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages linux)
|
2014-01-07 17:08:51 +00:00
|
|
|
#:use-module (gnu packages texinfo)
|
2014-09-27 17:07:19 +00:00
|
|
|
#:use-module (gnu packages hurd)
|
2014-01-07 17:10:01 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-04-23 01:48:20 +00:00
|
|
|
#:use-module (gnu packages gettext)
|
2015-02-11 10:19:29 +00:00
|
|
|
#:use-module (guix utils)
|
2012-06-27 23:24:34 +00:00
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
#:use-module (guix download)
|
2014-09-27 17:07:19 +00:00
|
|
|
#:use-module (guix git-download)
|
2015-02-25 12:58:15 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2016-06-06 14:21:51 +00:00
|
|
|
#:use-module (guix build-system trivial)
|
|
|
|
#:use-module (ice-9 match)
|
2016-05-03 16:49:33 +00:00
|
|
|
#:export (glibc
|
|
|
|
libiconv-if-needed))
|
2012-06-27 23:24:34 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;;;
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
;;; Base packages of the Guix-based GNU user-land software distribution.
|
2012-06-27 23:24:34 +00:00
|
|
|
;;;
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
(define-public hello
|
|
|
|
(package
|
2015-09-13 20:26:37 +00:00
|
|
|
(name "hello")
|
|
|
|
(version "2.10")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/hello/hello-" version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(synopsis "Hello, GNU world: An example GNU package")
|
|
|
|
(description
|
|
|
|
"GNU Hello prints the message \"Hello, world!\" and then exits. It
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
serves as an example of standard GNU coding practices. As such, it supports
|
|
|
|
command-line arguments, multiple languages, and so on.")
|
2015-09-13 20:26:37 +00:00
|
|
|
(home-page "http://www.gnu.org/software/hello/")
|
|
|
|
(license gpl3+)))
|
2012-07-05 22:55:07 +00:00
|
|
|
|
2012-08-22 13:22:38 +00:00
|
|
|
(define-public grep
|
|
|
|
(package
|
|
|
|
(name "grep")
|
2016-04-24 20:53:03 +00:00
|
|
|
(version "2.25")
|
2012-08-22 13:22:38 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/grep/grep-"
|
2012-08-22 13:22:38 +00:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-04-24 20:53:03 +00:00
|
|
|
"0c38b67cnwchwzv4wq2gpz6smkhdxrac2hhssv8f0l04qnx867p2"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "grep-timing-sensitive-test.patch"))))
|
2012-08-22 13:22:38 +00:00
|
|
|
(build-system gnu-build-system)
|
2015-12-15 17:03:29 +00:00
|
|
|
(native-inputs `(("perl" ,perl))) ;some of the tests require it
|
2016-08-21 01:40:59 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'fix-egrep-and-fgrep
|
|
|
|
;; Patch 'egrep' and 'fgrep' to execute 'grep' via its
|
|
|
|
;; absolute file name instead of searching for it in $PATH.
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(substitute* (list (string-append bin "/egrep")
|
|
|
|
(string-append bin "/fgrep"))
|
|
|
|
(("^exec grep")
|
|
|
|
(string-append "exec " bin "/grep")))
|
|
|
|
#t))))))
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Print lines matching a pattern")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
2014-11-05 22:23:38 +00:00
|
|
|
"grep is a tool for finding text inside files. Text is found by
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
matching a pattern provided by the user in one or many files. The pattern
|
2013-12-01 21:33:23 +00:00
|
|
|
may be provided as a basic or extended regular expression, or as fixed
|
|
|
|
strings. By default, the matching text is simply printed to the screen,
|
|
|
|
however the output can be greatly customized to include, for example, line
|
|
|
|
numbers. GNU grep offers many extensions over the standard utility,
|
|
|
|
including, for example, recursive directory searching.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 13:22:38 +00:00
|
|
|
(home-page "http://www.gnu.org/software/grep/")))
|
|
|
|
|
2012-08-22 13:11:12 +00:00
|
|
|
(define-public sed
|
|
|
|
(package
|
|
|
|
(name "sed")
|
2013-03-15 17:38:47 +00:00
|
|
|
(version "4.2.2")
|
2012-08-22 13:11:12 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/sed/sed-" version
|
2012-08-22 13:11:12 +00:00
|
|
|
".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-06-08 13:04:07 +00:00
|
|
|
"1myvrmh99jsvk7v3d7crm0gcrq51hmmm1r2kjyyci152in1x2j7h"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "sed-hurd-path-max.patch"))))
|
2012-08-22 13:11:12 +00:00
|
|
|
(build-system gnu-build-system)
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Stream editor")
|
2013-01-02 00:01:58 +00:00
|
|
|
(arguments
|
2013-05-25 14:26:16 +00:00
|
|
|
(if (%current-target-system)
|
|
|
|
'()
|
|
|
|
`(#:phases (alist-cons-before
|
|
|
|
'patch-source-shebangs 'patch-test-suite
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
(patch-makefile-SHELL "testsuite/Makefile.tests")
|
|
|
|
(substitute* '("testsuite/bsd.sh"
|
|
|
|
"testsuite/bug-regex9.c")
|
|
|
|
(("/bin/sh")
|
|
|
|
(string-append bash "/bin/bash")))))
|
|
|
|
%standard-phases))))
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"Sed is a non-interactive, text stream editor. It receives a text
|
|
|
|
input from a file or from standard input and it then applies a series of text
|
|
|
|
editing commands to the stream and prints its output to standard output. It
|
2013-12-01 21:33:23 +00:00
|
|
|
is often used for substituting text patterns in a stream. The GNU
|
|
|
|
implementation offers several extensions over the standard utility.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 13:11:12 +00:00
|
|
|
(home-page "http://www.gnu.org/software/sed/")))
|
|
|
|
|
2012-08-22 13:21:50 +00:00
|
|
|
(define-public tar
|
|
|
|
(package
|
|
|
|
(name "tar")
|
2016-05-17 08:46:26 +00:00
|
|
|
(version "1.29")
|
2012-08-22 13:21:50 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/tar/tar-"
|
2014-08-04 00:05:55 +00:00
|
|
|
version ".tar.xz"))
|
2012-08-22 13:21:50 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-05-17 08:46:26 +00:00
|
|
|
"097hx7sbzp8qirl4m930lw84kn0wmxhmq7v1qpra3mrg0b8cyba0"))
|
|
|
|
(patches (search-patches "tar-skip-unreliable-tests.patch"))))
|
2012-08-22 13:21:50 +00:00
|
|
|
(build-system gnu-build-system)
|
2016-05-17 08:46:26 +00:00
|
|
|
;; Note: test suite requires ~1GiB of disk space.
|
|
|
|
(arguments
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'build 'set-shell-file-name
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
;; Do not use "/bin/sh" to run programs.
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
(substitute* "src/system.c"
|
|
|
|
(("/bin/sh")
|
|
|
|
(string-append bash "/bin/sh")))
|
|
|
|
#t))))))
|
2016-06-10 09:25:09 +00:00
|
|
|
|
|
|
|
;; When cross-compiling, the 'set-shell-file-name' phase needs to be able
|
|
|
|
;; to refer to the target Bash.
|
|
|
|
(inputs (if (%current-target-system)
|
|
|
|
`(("bash" ,bash))
|
|
|
|
'()))
|
|
|
|
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Managing tar archives")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"Tar provides the ability to create tar archives, as well as the
|
|
|
|
ability to extract, update or list files in an existing archive. It is
|
|
|
|
useful for combining many files into one larger file, while maintaining
|
|
|
|
directory structure and file information such as permissions and
|
2013-12-01 21:33:23 +00:00
|
|
|
creation/modification dates. GNU tar offers many extensions over the
|
|
|
|
standard utility.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 13:21:50 +00:00
|
|
|
(home-page "http://www.gnu.org/software/tar/")))
|
|
|
|
|
2012-08-22 15:24:38 +00:00
|
|
|
(define-public patch
|
|
|
|
(package
|
|
|
|
(name "patch")
|
2015-03-07 23:11:15 +00:00
|
|
|
(version "2.7.5")
|
2015-02-11 10:23:46 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/patch/patch-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-06-08 13:19:58 +00:00
|
|
|
"16d2r9kpivaak948mxzc0bai45mqfw73m113wrkmbffnalv1b5gx"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "patch-hurd-path-max.patch"))))
|
2012-08-22 15:24:38 +00:00
|
|
|
(build-system gnu-build-system)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 13:37:28 +00:00
|
|
|
(native-inputs `(("ed" ,ed)))
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Apply differences to originals, with optional backups")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"Patch is a program that applies changes to files based on differences
|
2013-12-01 21:33:23 +00:00
|
|
|
laid out as by the program \"diff\". The changes may be applied to one or more
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
files depending on the contents of the diff file. It accepts several
|
|
|
|
different diff formats. It may also be used to revert previously applied
|
|
|
|
differences.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 15:24:38 +00:00
|
|
|
(home-page "http://savannah.gnu.org/projects/patch/")))
|
|
|
|
|
2012-08-22 15:24:38 +00:00
|
|
|
(define-public diffutils
|
|
|
|
(package
|
|
|
|
(name "diffutils")
|
2016-08-21 10:24:38 +00:00
|
|
|
(version "3.5")
|
2012-08-22 15:24:38 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/diffutils/diffutils-"
|
2012-08-22 15:24:38 +00:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-08-21 10:24:38 +00:00
|
|
|
"0csmqfz8ks23kdjsq0v2ll1acqiz8lva06dj19mwmymrsp69ilys"))))
|
2012-08-22 15:24:38 +00:00
|
|
|
(build-system gnu-build-system)
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Comparing and merging files")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
2013-12-01 21:33:23 +00:00
|
|
|
"GNU Diffutils is a package containing tools for finding the
|
|
|
|
differences between files. The \"diff\" command is used to show how two files
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
differ, while \"cmp\" shows the offsets and line numbers where they differ.
|
2013-12-01 21:33:23 +00:00
|
|
|
\"diff3\" allows you to compare three files. Finally, \"sdiff\" offers an
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
interactive means to merge two files.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 15:24:38 +00:00
|
|
|
(home-page "http://www.gnu.org/software/diffutils/")))
|
|
|
|
|
2012-08-22 13:51:17 +00:00
|
|
|
(define-public findutils
|
|
|
|
(package
|
|
|
|
(name "findutils")
|
2015-12-31 23:55:24 +00:00
|
|
|
(version "4.6.0")
|
2012-08-22 13:51:17 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/findutils/findutils-"
|
2012-08-22 13:51:17 +00:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-12-31 23:55:24 +00:00
|
|
|
"178nn4dl7wbcw499czikirnkniwnx36argdnqgz4ik9i6zvwkm6y"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "findutils-localstatedir.patch"
|
|
|
|
"findutils-test-xargs.patch"))))
|
2012-08-22 13:51:17 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2015-06-04 10:49:43 +00:00
|
|
|
`(#:configure-flags (list
|
|
|
|
;; Tell 'updatedb' to write to /var.
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
|
|
|
;; Work around cross-compilation failure. See
|
|
|
|
;; <http://savannah.gnu.org/bugs/?27299#comment1>.
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
'("gl_cv_func_wcwidth_works=yes")
|
|
|
|
'()))))
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Operating on files matching given criteria")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"Findutils supplies the basic file directory searching utilities of the
|
|
|
|
GNU system. It consists of two primary searching utilities: \"find\"
|
|
|
|
recursively searches for files in a directory according to given criteria and
|
|
|
|
\"locate\" lists files in a database that match a query. Two auxiliary tools
|
2013-12-01 21:33:23 +00:00
|
|
|
are included: \"updatedb\" updates the file name database and \"xargs\" may be
|
|
|
|
used to apply commands with arbitrarily long arguments.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 13:51:17 +00:00
|
|
|
(home-page "http://www.gnu.org/software/findutils/")))
|
2012-08-22 15:24:38 +00:00
|
|
|
|
|
|
|
(define-public coreutils
|
|
|
|
(package
|
|
|
|
(name "coreutils")
|
2016-02-17 21:28:16 +00:00
|
|
|
(version "8.25")
|
2012-08-22 15:24:38 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/coreutils/coreutils-"
|
2012-08-22 15:24:38 +00:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-02-17 21:28:16 +00:00
|
|
|
"11yfrnb94xzmvi4lhclkcmkqsbhww64wf234ya1aacjvg82prrii"))))
|
2012-08-22 15:24:38 +00:00
|
|
|
(build-system gnu-build-system)
|
2013-05-25 14:24:21 +00:00
|
|
|
(inputs `(("acl" ,acl) ; TODO: add SELinux
|
2015-09-02 09:20:48 +00:00
|
|
|
("gmp" ,gmp) ;bignums in 'expr', yay!
|
2015-09-04 09:56:51 +00:00
|
|
|
|
|
|
|
;; Drop the dependency on libcap when cross-compiling since it's
|
|
|
|
;; not quite cross-compilable.
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
'()
|
|
|
|
`(("libcap" ,libcap))))) ;capability support is 'ls', etc.
|
2014-02-06 11:17:16 +00:00
|
|
|
(native-inputs
|
|
|
|
;; Perl is needed to run tests in native builds, and to run the bundled
|
2014-02-10 17:27:42 +00:00
|
|
|
;; copy of help2man. However, don't pass it when cross-compiling since
|
|
|
|
;; that would lead it to try to run programs to get their '--help' output
|
|
|
|
;; for help2man.
|
|
|
|
(if (%current-target-system)
|
|
|
|
'()
|
|
|
|
`(("perl" ,perl))))
|
2013-07-03 21:55:04 +00:00
|
|
|
(outputs '("out" "debug"))
|
2012-08-22 15:24:38 +00:00
|
|
|
(arguments
|
2013-01-02 21:44:58 +00:00
|
|
|
`(#:parallel-build? #f ; help2man may be called too early
|
|
|
|
#:phases (alist-cons-before
|
|
|
|
'build 'patch-shell-references
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
2014-06-09 10:22:05 +00:00
|
|
|
;; 'split' uses either $SHELL or /bin/sh. Set $SHELL so
|
|
|
|
;; that tests pass, since /bin/sh isn't in the chroot.
|
|
|
|
(setenv "SHELL" (which "sh"))
|
|
|
|
|
|
|
|
(substitute* (find-files "gnulib-tests" "\\.c$")
|
2013-01-02 21:44:58 +00:00
|
|
|
(("/bin/sh")
|
|
|
|
(format #f "~a/bin/sh" bash)))
|
|
|
|
(substitute* (find-files "tests" "\\.sh$")
|
|
|
|
(("#!/bin/sh")
|
2014-06-09 10:22:05 +00:00
|
|
|
(format #f "#!~a/bin/sh" bash)))))
|
build-system/gnu: Unify with (guix build-system gnu-cross-build).
* guix/build/gnu-build-system.scm (set-paths): Add `native-inputs' and
`native-search-paths' keyword parameters. Honor them.
(configure): Add `target' and `native-inputs' keyword parameters.
Look for Bash in NATIVE-INPUTS or INPUTS. Pass `--host' when TARGET
is true.
(strip): Add `strip-command' keyword parameter. Use it.
* guix/build/gnu-cross-build.scm: Remove.
* Makefile.am (MODULES): Adjust accordingly.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/base.scm,
gnu/packages/bash.scm, gnu/packages/gawk.scm,
gnu/packages/gettext.scm, gnu/packages/guile.scm,
gnu/packages/libffi.scm, gnu/packages/libsigsegv.scm,
gnu/packages/linux.scm, gnu/packages/ncurses.scm,
gnu/packages/readline.scm, guix/build-system/gnu.scm: Replace
`%standard-cross-phases' by `%standard-phases'. Remove references
to (guix build gnu-cross-build).
2013-06-20 22:25:54 +00:00
|
|
|
%standard-phases)))
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Core GNU utilities (file, text, shell)")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
2013-12-01 21:33:23 +00:00
|
|
|
"GNU Coreutils includes all of the basic command-line tools that are
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
expected in a POSIX system. These provide the basic file, shell and text
|
|
|
|
manipulation functions of the GNU system. Most of these tools offer extended
|
|
|
|
functionality beyond that which is outlined in the POSIX standard.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-22 15:24:38 +00:00
|
|
|
(home-page "http://www.gnu.org/software/coreutils/")))
|
2012-08-22 13:51:17 +00:00
|
|
|
|
2015-09-04 12:50:11 +00:00
|
|
|
(define-public coreutils-minimal
|
2015-08-19 12:16:39 +00:00
|
|
|
;; Coreutils without its optional dependencies.
|
|
|
|
(package
|
|
|
|
(inherit coreutils)
|
2015-09-04 12:50:11 +00:00
|
|
|
(name "coreutils-minimal")
|
2015-08-19 12:16:39 +00:00
|
|
|
(outputs '("out"))
|
|
|
|
(inputs '())))
|
|
|
|
|
2012-08-21 16:14:57 +00:00
|
|
|
(define-public gnu-make
|
|
|
|
(package
|
|
|
|
(name "make")
|
2016-08-14 06:45:47 +00:00
|
|
|
(version "4.2.1")
|
2012-08-21 16:14:57 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/make/make-" version
|
2012-08-21 16:14:57 +00:00
|
|
|
".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-08-14 06:45:47 +00:00
|
|
|
"12f5zzyq2w56g95nni65hc0g5p7154033y2f3qmjvd016szn5qnn"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "make-impure-dirs.patch"))))
|
2012-08-21 16:14:57 +00:00
|
|
|
(build-system gnu-build-system)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 13:37:28 +00:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config))) ; to detect Guile
|
2013-10-16 14:27:45 +00:00
|
|
|
(inputs `(("guile" ,guile-2.0)))
|
2013-07-03 21:55:04 +00:00
|
|
|
(outputs '("out" "debug"))
|
2012-12-19 11:34:53 +00:00
|
|
|
(arguments
|
2016-08-14 06:47:28 +00:00
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'set-default-shell
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
;; Change the default shell from /bin/sh.
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
(substitute* "job.c"
|
|
|
|
(("default_shell =.*$")
|
|
|
|
(format #f "default_shell = \"~a/bin/bash\";\n"
|
|
|
|
bash)))))))))
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Remake files automatically")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"Make is a program that is used to control the production of
|
|
|
|
executables or other files from their source files. The process is
|
|
|
|
controlled from a Makefile, in which the developer specifies how each file is
|
|
|
|
generated from its source. It has powerful dependency resolution and the
|
|
|
|
ability to determine when files have to be regenerated after their sources
|
2013-12-01 21:33:23 +00:00
|
|
|
change. GNU make offers many powerful extensions over the standard utility.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-21 16:14:57 +00:00
|
|
|
(home-page "http://www.gnu.org/software/make/")))
|
|
|
|
|
2012-08-25 11:11:13 +00:00
|
|
|
(define-public binutils
|
|
|
|
(package
|
|
|
|
(name "binutils")
|
2016-08-14 06:50:08 +00:00
|
|
|
(version "2.27")
|
2012-08-25 11:11:13 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/binutils/binutils-"
|
2012-08-25 11:11:13 +00:00
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-08-14 06:50:08 +00:00
|
|
|
"125clslv17xh1sab74343fg6v31msavpmaa1c1394zsqa773g5rn"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "binutils-ld-new-dtags.patch"
|
2016-09-28 20:32:44 +00:00
|
|
|
"binutils-loongson-workaround.patch"
|
|
|
|
"binutils-mips-bash-bug.patch"))))
|
2012-08-25 11:11:13 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
|
|
;; TODO: Add dependency on zlib + those for Gold.
|
|
|
|
(arguments
|
2013-10-10 21:05:28 +00:00
|
|
|
`(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
|
2012-11-15 23:23:06 +00:00
|
|
|
;; on GCC when bootstrapping.
|
|
|
|
"LDFLAGS=-static-libgcc"
|
2012-08-25 11:11:13 +00:00
|
|
|
|
2012-11-15 23:23:06 +00:00
|
|
|
;; Don't search under /usr/lib & co.
|
2013-03-15 17:37:40 +00:00
|
|
|
"--with-lib-path=/no-ld-lib-path"
|
|
|
|
|
|
|
|
;; Glibc 2.17 has a "comparison of unsigned
|
|
|
|
;; expression >= 0 is always true" in wchar.h.
|
2014-01-08 21:30:33 +00:00
|
|
|
"--disable-werror"
|
|
|
|
|
|
|
|
;; Install BFD. It ends up in a hidden directory,
|
|
|
|
;; but it's here.
|
2014-02-06 13:06:28 +00:00
|
|
|
"--enable-install-libbfd"
|
|
|
|
|
|
|
|
;; Make sure 'ar' and 'ranlib' produce archives in a
|
|
|
|
;; deterministic fashion.
|
|
|
|
"--enable-deterministic-archives")))
|
2012-08-25 11:11:13 +00:00
|
|
|
|
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.
2013-04-17 16:04:25 +00:00
|
|
|
(synopsis "Binary utilities: bfd gas gprof ld")
|
2012-11-04 12:41:34 +00:00
|
|
|
(description
|
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.
2013-10-09 14:14:23 +00:00
|
|
|
"GNU Binutils is a collection of tools for working with binary files.
|
2014-09-13 13:31:31 +00:00
|
|
|
Perhaps the most notable are \"ld\", a linker, and \"as\", an assembler.
|
|
|
|
Other tools include programs to display binary profiling information, list
|
|
|
|
the strings in a binary file, and utilities for working with archives. The
|
|
|
|
\"bfd\" library for working with executable and object formats is also
|
|
|
|
included.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license gpl3+)
|
2012-08-25 11:11:13 +00:00
|
|
|
(home-page "http://www.gnu.org/software/binutils/")))
|
|
|
|
|
2016-10-31 14:41:14 +00:00
|
|
|
(define* (make-ld-wrapper name #:key
|
|
|
|
(target (const #f))
|
|
|
|
binutils
|
2015-04-03 19:26:24 +00:00
|
|
|
(guile (canonical-package guile-2.0))
|
2016-10-31 14:41:14 +00:00
|
|
|
(bash (canonical-package bash))
|
2015-04-03 09:54:01 +00:00
|
|
|
(guile-for-build guile))
|
|
|
|
"Return a package called NAME that contains a wrapper for the 'ld' program
|
2016-10-31 14:41:14 +00:00
|
|
|
of BINUTILS, which adds '-rpath' flags to the actual 'ld' command line. The
|
|
|
|
wrapper uses GUILE and BASH.
|
|
|
|
|
|
|
|
TARGET must be a one-argument procedure that, given a system type, returns a
|
|
|
|
cross-compilation target triplet or #f. When the result is not #f, make a
|
|
|
|
wrapper for the cross-linker for that target, called 'TARGET-ld'."
|
|
|
|
;; Note: #:system->target-triplet is a procedure so that the evaluation of
|
|
|
|
;; its result can be delayed until the 'arguments' field is evaluated, thus
|
|
|
|
;; in a context where '%current-system' is accurate.
|
2015-04-03 09:54:01 +00:00
|
|
|
(package
|
|
|
|
(name name)
|
|
|
|
(version "0")
|
|
|
|
(source #f)
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
(inputs `(("binutils" ,binutils)
|
|
|
|
("guile" ,guile)
|
|
|
|
("bash" ,bash)
|
|
|
|
("wrapper" ,(search-path %load-path
|
2015-04-07 19:36:04 +00:00
|
|
|
"gnu/packages/ld-wrapper.in"))))
|
2015-04-03 09:54:01 +00:00
|
|
|
(arguments
|
2016-10-31 14:41:14 +00:00
|
|
|
(let ((target (target (%current-system))))
|
|
|
|
`(#:guile ,guile-for-build
|
|
|
|
#:modules ((guix build utils))
|
|
|
|
#:builder (begin
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
(system base compile))
|
2015-04-03 09:54:01 +00:00
|
|
|
|
2016-10-31 14:41:14 +00:00
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(ld ,(if target
|
|
|
|
`(string-append bin "/" ,target "-ld")
|
|
|
|
'(string-append bin "/ld")))
|
|
|
|
(go (string-append ld ".go")))
|
2015-04-03 09:54:01 +00:00
|
|
|
|
2016-10-31 14:41:14 +00:00
|
|
|
(setvbuf (current-output-port) _IOLBF)
|
|
|
|
(format #t "building ~s/bin/ld wrapper in ~s~%"
|
|
|
|
(assoc-ref %build-inputs "binutils")
|
|
|
|
out)
|
2015-04-03 09:54:01 +00:00
|
|
|
|
2016-10-31 14:41:14 +00:00
|
|
|
(mkdir-p bin)
|
|
|
|
(copy-file (assoc-ref %build-inputs "wrapper") ld)
|
|
|
|
(substitute* ld
|
|
|
|
(("@SELF@")
|
|
|
|
ld)
|
|
|
|
(("@GUILE@")
|
|
|
|
(string-append (assoc-ref %build-inputs "guile")
|
|
|
|
"/bin/guile"))
|
|
|
|
(("@BASH@")
|
|
|
|
(string-append (assoc-ref %build-inputs "bash")
|
|
|
|
"/bin/bash"))
|
|
|
|
(("@LD@")
|
|
|
|
(string-append (assoc-ref %build-inputs "binutils")
|
|
|
|
,(if target
|
|
|
|
(string-append "/bin/"
|
|
|
|
target "-ld")
|
|
|
|
"/bin/ld"))))
|
|
|
|
(chmod ld #o555)
|
|
|
|
(compile-file ld #:output-file go))))))
|
2015-04-03 09:54:01 +00:00
|
|
|
(synopsis "The linker wrapper")
|
|
|
|
(description
|
|
|
|
"The linker wrapper (or 'ld-wrapper') wraps the linker to add any
|
|
|
|
missing '-rpath' flags, and to detect any misuse of libraries outside of the
|
|
|
|
store.")
|
|
|
|
(home-page "http://www.gnu.org/software/guix/")
|
|
|
|
(license gpl3+)))
|
|
|
|
|
|
|
|
(export make-ld-wrapper)
|
|
|
|
|
2016-06-06 14:21:51 +00:00
|
|
|
(define-public glibc/linux
|
2012-08-28 21:15:13 +00:00
|
|
|
(package
|
|
|
|
(name "glibc")
|
2016-09-02 11:30:58 +00:00
|
|
|
(version "2.24")
|
2012-08-28 21:15:13 +00:00
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
(uri (string-append "mirror://gnu/glibc/glibc-"
|
2012-08-28 21:15:13 +00:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-09-02 11:30:58 +00:00
|
|
|
"1lxmprg9gm73gvafxd503x70z32phwjzcy74i0adfi6ixzla7m4r"))
|
2013-11-16 22:14:28 +00:00
|
|
|
(snippet
|
|
|
|
;; Disable 'ldconfig' and /etc/ld.so.cache. The latter is
|
|
|
|
;; required on LFS distros to avoid loading the distro's libc.so
|
|
|
|
;; instead of ours.
|
|
|
|
'(substitute* "sysdeps/unix/sysv/linux/configure"
|
|
|
|
(("use_ldconfig=yes")
|
|
|
|
"use_ldconfig=no")))
|
2014-02-28 11:22:14 +00:00
|
|
|
(modules '((guix build utils)))
|
2016-05-02 15:53:40 +00:00
|
|
|
(patches (search-patches "glibc-ldd-x86_64.patch"
|
|
|
|
"glibc-versioned-locpath.patch"
|
|
|
|
"glibc-o-largefile.patch"))))
|
2012-08-28 21:15:13 +00:00
|
|
|
(build-system gnu-build-system)
|
2012-09-01 17:21:06 +00:00
|
|
|
|
|
|
|
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
|
|
|
|
;; users should automatically pull Linux headers as well.
|
2016-04-10 18:20:51 +00:00
|
|
|
(propagated-inputs `(("kernel-headers" ,linux-libre-headers)))
|
2012-09-01 17:21:06 +00:00
|
|
|
|
2014-11-26 10:16:05 +00:00
|
|
|
(outputs '("out" "debug"))
|
2013-03-05 17:38:05 +00:00
|
|
|
|
2012-08-28 21:15:13 +00:00
|
|
|
(arguments
|
2012-09-01 17:21:06 +00:00
|
|
|
`(#:out-of-source? #t
|
2015-03-05 22:41:29 +00:00
|
|
|
|
|
|
|
;; In version 2.21, there a race in the 'elf' directory, see
|
|
|
|
;; <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00709.html>.
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
2015-04-01 14:47:49 +00:00
|
|
|
;; The libraries have an empty RUNPATH, but some, such as the versioned
|
2016-09-02 11:30:58 +00:00
|
|
|
;; libraries (libdl-2.24.so, etc.) have ld.so marked as NEEDED. Since
|
2015-04-01 14:47:49 +00:00
|
|
|
;; these libraries are always going to be found anyway, just skip
|
|
|
|
;; RUNPATH checks.
|
|
|
|
#:validate-runpath? #f
|
|
|
|
|
2012-08-28 21:15:13 +00:00
|
|
|
#:configure-flags
|
|
|
|
(list "--enable-add-ons"
|
|
|
|
"--sysconfdir=/etc"
|
2013-03-05 17:38:05 +00:00
|
|
|
|
2014-11-26 10:16:05 +00:00
|
|
|
;; Installing a locale archive with all the locales is to
|
|
|
|
;; expensive (~100 MiB), so we rely on users to install the
|
|
|
|
;; locales they really want.
|
|
|
|
;;
|
|
|
|
;; Set the default locale path. In practice, $LOCPATH may be
|
|
|
|
;; defined to point whatever locales users want. However, setuid
|
|
|
|
;; binaries don't honor $LOCPATH, so they'll instead look into
|
2016-08-03 02:24:02 +00:00
|
|
|
;; $libc_cv_complocaledir; we choose /run/current-system/locale/X.Y,
|
2015-09-30 15:06:40 +00:00
|
|
|
;; with the idea that it is going to be populated by the sysadmin.
|
|
|
|
;; The "X.Y" sub-directory is because locale data formats are
|
|
|
|
;; incompatible across libc versions; see
|
|
|
|
;; <https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00737.html>.
|
2014-11-26 10:16:05 +00:00
|
|
|
;;
|
2013-03-05 17:38:05 +00:00
|
|
|
;; `--localedir' is not honored, so work around it.
|
|
|
|
;; See <http://sourceware.org/ml/libc-alpha/2013-03/msg00093.html>.
|
2016-08-03 02:24:02 +00:00
|
|
|
(string-append "libc_cv_complocaledir=/run/current-system/locale/"
|
2015-09-30 15:06:40 +00:00
|
|
|
,version)
|
2013-03-05 17:38:05 +00:00
|
|
|
|
2012-08-28 21:15:13 +00:00
|
|
|
(string-append "--with-headers="
|
2016-05-29 21:15:14 +00:00
|
|
|
(assoc-ref ,(if (%current-target-system)
|
|
|
|
'%build-target-inputs
|
|
|
|
'%build-inputs)
|
2016-06-07 09:54:03 +00:00
|
|
|
"kernel-headers")
|
2012-08-28 21:15:13 +00:00
|
|
|
"/include")
|
2012-09-05 22:00:34 +00:00
|
|
|
|
2015-02-11 13:11:14 +00:00
|
|
|
;; This is the default for most architectures as of GNU libc 2.21,
|
2014-09-08 15:05:45 +00:00
|
|
|
;; but we specify it explicitly for clarity and consistency. See
|
|
|
|
;; "kernel-features.h" in the GNU libc for details.
|
|
|
|
"--enable-kernel=2.6.32"
|
2012-09-05 22:00:34 +00:00
|
|
|
|
2012-12-19 23:49:06 +00:00
|
|
|
;; Use our Bash instead of /bin/sh.
|
2013-01-01 22:50:52 +00:00
|
|
|
(string-append "BASH_SHELL="
|
2012-12-19 23:49:06 +00:00
|
|
|
(assoc-ref %build-inputs "bash")
|
2013-01-01 22:50:52 +00:00
|
|
|
"/bin/bash")
|
|
|
|
|
|
|
|
;; XXX: Work around "undefined reference to `__stack_chk_guard'".
|
2016-04-06 20:20:49 +00:00
|
|
|
"libc_cv_ssp=no" "libc_cv_ssp_strong=no")
|
2012-12-19 23:49:06 +00:00
|
|
|
|
2012-08-28 21:15:13 +00:00
|
|
|
#:tests? #f ; XXX
|
2015-08-30 12:12:57 +00:00
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-before
|
|
|
|
'configure 'pre-configure
|
|
|
|
(lambda* (#:key inputs native-inputs outputs
|
|
|
|
#:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
;; FIXME: Normally we would look it up only in INPUTS
|
|
|
|
;; but cross-base uses it as a native input.
|
|
|
|
(bash (or (assoc-ref inputs "static-bash")
|
|
|
|
(assoc-ref native-inputs "static-bash"))))
|
|
|
|
;; Install the rpc data base file under `$out/etc/rpc'.
|
|
|
|
;; FIXME: Use installFlags = [ "sysconfdir=$(out)/etc" ];
|
|
|
|
(substitute* "sunrpc/Makefile"
|
|
|
|
(("^\\$\\(inst_sysconfdir\\)/rpc(.*)$" _ suffix)
|
|
|
|
(string-append out "/etc/rpc" suffix "\n"))
|
|
|
|
(("^install-others =.*$")
|
|
|
|
(string-append "install-others = " out "/etc/rpc\n")))
|
|
|
|
|
|
|
|
(substitute* "Makeconfig"
|
|
|
|
;; According to
|
|
|
|
;; <http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html>,
|
|
|
|
;; linking against libgcc_s is not needed with GCC
|
|
|
|
;; 4.7.1.
|
|
|
|
((" -lgcc_s") ""))
|
|
|
|
|
|
|
|
;; Have `system' use that Bash.
|
|
|
|
(substitute* "sysdeps/posix/system.c"
|
|
|
|
(("#define[[:blank:]]+SHELL_PATH.*$")
|
|
|
|
(format #f "#define SHELL_PATH \"~a/bin/bash\"\n"
|
|
|
|
bash)))
|
|
|
|
|
|
|
|
;; Same for `popen'.
|
|
|
|
(substitute* "libio/iopopen.c"
|
|
|
|
(("/bin/sh")
|
|
|
|
(string-append bash "/bin/bash")))
|
|
|
|
|
2015-08-30 12:20:08 +00:00
|
|
|
;; Same for the shell used by the 'exec' functions for
|
|
|
|
;; scripts that lack a shebang.
|
|
|
|
(substitute* (find-files "." "^paths\\.h$")
|
|
|
|
(("#define[[:blank:]]+_PATH_BSHELL[[:blank:]].*$")
|
|
|
|
(string-append "#define _PATH_BSHELL \""
|
|
|
|
bash "/bin/bash\"\n")))
|
|
|
|
|
2015-12-16 21:05:30 +00:00
|
|
|
;; Nscd uses __DATE__ and __TIME__ to create a string to
|
|
|
|
;; make sure the client and server come from the same
|
|
|
|
;; libc. Use something deterministic instead.
|
|
|
|
(substitute* "nscd/nscd_stat.c"
|
|
|
|
(("static const char compilation\\[21\\] =.*$")
|
|
|
|
(string-append
|
|
|
|
"static const char compilation[21] = \""
|
|
|
|
(string-take (basename out) 20) "\";\n")))
|
|
|
|
|
2015-08-30 12:12:57 +00:00
|
|
|
;; Make sure we don't retain a reference to the
|
|
|
|
;; bootstrap Perl.
|
|
|
|
(substitute* "malloc/mtrace.pl"
|
|
|
|
(("^#!.*")
|
|
|
|
;; The shebang can be omitted, because there's the
|
|
|
|
;; "bilingual" eval/exec magic at the top of the file.
|
|
|
|
"")
|
|
|
|
(("exec @PERL@")
|
|
|
|
"exec perl"))))))))
|
2013-03-05 17:38:05 +00:00
|
|
|
|
2015-08-19 22:13:25 +00:00
|
|
|
(inputs `(("static-bash" ,static-bash)))
|
2014-01-07 17:08:51 +00:00
|
|
|
|
2015-04-21 20:53:09 +00:00
|
|
|
;; To build the manual, we need Texinfo and Perl. Gettext is needed to
|
|
|
|
;; install the message catalogs, with 'msgfmt'.
|
2014-01-07 17:08:51 +00:00
|
|
|
(native-inputs `(("texinfo" ,texinfo)
|
2015-04-21 20:53:09 +00:00
|
|
|
("perl" ,perl)
|
2016-09-25 07:33:02 +00:00
|
|
|
("gettext" ,gettext-minimal)))
|
2014-01-07 17:08:51 +00:00
|
|
|
|
2015-02-11 13:16:29 +00:00
|
|
|
(native-search-paths
|
|
|
|
;; Search path for packages that provide locale data. This is useful
|
2015-10-01 19:32:50 +00:00
|
|
|
;; primarily in build environments. Use 'GUIX_LOCPATH' rather than
|
|
|
|
;; 'LOCPATH' to avoid interference with the host system's libc on foreign
|
|
|
|
;; distros.
|
2015-02-11 13:16:29 +00:00
|
|
|
(list (search-path-specification
|
2015-10-01 19:32:50 +00:00
|
|
|
(variable "GUIX_LOCPATH")
|
2015-10-05 20:27:23 +00:00
|
|
|
(files '("lib/locale")))))
|
2015-02-11 13:16:29 +00:00
|
|
|
|
2012-11-04 12:41:34 +00:00
|
|
|
(synopsis "The GNU C Library")
|
|
|
|
(description
|
2012-08-28 21:15:13 +00:00
|
|
|
"Any Unix-like operating system needs a C library: the library which
|
|
|
|
defines the \"system calls\" and other basic facilities such as open, malloc,
|
|
|
|
printf, exit...
|
|
|
|
|
|
|
|
The GNU C library is used as the C library in the GNU system and most systems
|
|
|
|
with the Linux kernel.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 15:14:04 +00:00
|
|
|
(license lgpl2.0+)
|
2012-08-28 21:15:13 +00:00
|
|
|
(home-page "http://www.gnu.org/software/libc/")))
|
|
|
|
|
2016-06-06 14:21:51 +00:00
|
|
|
(define-public glibc/hurd
|
|
|
|
;; The Hurd's libc variant.
|
|
|
|
(package (inherit glibc/linux)
|
|
|
|
(name "glibc-hurd")
|
2016-12-28 00:51:19 +00:00
|
|
|
(version "2.23")
|
2016-06-06 14:21:51 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://alpha.gnu.org/gnu/hurd/glibc-"
|
2016-12-28 00:51:19 +00:00
|
|
|
version "-hurd+libpthread-20161218" ".tar.gz"))
|
2016-06-06 14:21:51 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-12-28 00:51:19 +00:00
|
|
|
"0vpdv05j6j3ria5bw8gp468i64gij94cslxkxj9xkfgi6p615b8p"))))
|
2016-06-06 14:21:51 +00:00
|
|
|
|
|
|
|
;; Libc provides <hurd.h>, which includes a bunch of Hurd and Mach headers,
|
|
|
|
;; so both should be propagated.
|
|
|
|
(propagated-inputs `(("hurd-core-headers" ,hurd-core-headers)))
|
|
|
|
(native-inputs
|
|
|
|
`(,@(package-native-inputs glibc/linux)
|
|
|
|
("mig" ,mig)
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments glibc/linux)
|
|
|
|
((#:phases original-phases)
|
|
|
|
;; Add libmachuser.so and libhurduser.so to libc.so's search path.
|
|
|
|
;; See <http://lists.gnu.org/archive/html/bug-hurd/2015-07/msg00051.html>.
|
|
|
|
`(alist-cons-after
|
|
|
|
'install 'augment-libc.so
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
(substitute* (string-append out "/lib/libc.so")
|
|
|
|
(("/[^ ]+/lib/libc.so.0.3")
|
|
|
|
(string-append out "/lib/libc.so.0.3" " libmachuser.so" " libhurduser.so"))))
|
|
|
|
#t)
|
|
|
|
(alist-cons-after
|
|
|
|
'pre-configure 'pre-configure-set-pwd
|
|
|
|
(lambda _
|
|
|
|
;; Use the right 'pwd'.
|
|
|
|
(substitute* "configure"
|
|
|
|
(("/bin/pwd") "pwd")))
|
|
|
|
,original-phases)))
|
|
|
|
((#:configure-flags original-configure-flags)
|
|
|
|
`(append (list "--host=i586-pc-gnu"
|
|
|
|
|
|
|
|
;; We need this to get a working openpty() function.
|
|
|
|
"--enable-pt_chown"
|
|
|
|
|
2017-01-02 13:32:07 +00:00
|
|
|
;; <https://lists.gnu.org/archive/html/bug-hurd/2016-10/msg00033.html>
|
|
|
|
"--disable-werror"
|
|
|
|
|
2016-06-06 14:21:51 +00:00
|
|
|
;; nscd fails to build for GNU/Hurd:
|
|
|
|
;; <https://lists.gnu.org/archive/html/bug-hurd/2014-07/msg00006.html>.
|
|
|
|
;; Disable it.
|
|
|
|
"--disable-nscd")
|
|
|
|
(filter (lambda (flag)
|
|
|
|
(not (string-prefix? "--enable-kernel=" flag)))
|
|
|
|
,original-configure-flags)))))
|
|
|
|
(synopsis "The GNU C Library (GNU Hurd variant)")
|
|
|
|
(supported-systems %hurd-systems)))
|
|
|
|
|
|
|
|
(define* (glibc-for-target #:optional
|
|
|
|
(target (or (%current-target-system)
|
|
|
|
(%current-system))))
|
|
|
|
"Return the glibc for TARGET, GLIBC/LINUX for a Linux host or
|
|
|
|
GLIBC/HURD for a Hurd host"
|
|
|
|
(match target
|
|
|
|
((or "i586-pc-gnu" "i586-gnu") glibc/hurd)
|
|
|
|
(_ glibc/linux)))
|
|
|
|
|
|
|
|
(define-syntax glibc
|
|
|
|
(identifier-syntax (glibc-for-target)))
|
|
|
|
|
2016-11-06 23:44:56 +00:00
|
|
|
;; Below are old libc versions, which we use mostly to build locale data in
|
|
|
|
;; the old format (which the new libc cannot cope with.)
|
|
|
|
|
|
|
|
(define-public glibc-2.23
|
|
|
|
(package
|
|
|
|
(inherit glibc)
|
|
|
|
(version "2.23")
|
|
|
|
(source (origin
|
|
|
|
(inherit (package-source glibc))
|
|
|
|
(uri (string-append "mirror://gnu/glibc/glibc-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1s8krs3y2n6pzav7ic59dz41alqalphv7vww4138ag30wh0fpvwl"))))))
|
|
|
|
|
2016-07-30 11:14:36 +00:00
|
|
|
(define-public glibc-2.22
|
2016-08-01 21:30:52 +00:00
|
|
|
(package
|
2016-08-04 12:16:38 +00:00
|
|
|
(inherit glibc)
|
2016-07-30 11:14:36 +00:00
|
|
|
(version "2.22")
|
2015-09-24 14:21:45 +00:00
|
|
|
(source (origin
|
|
|
|
(inherit (package-source glibc))
|
|
|
|
(uri (string-append "mirror://gnu/glibc/glibc-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-07-30 11:14:36 +00:00
|
|
|
"0j49682pm2nh4qbdw35bas82p1pgfnz4d2l7iwfyzvrvj0318wzb"))
|
2016-07-11 07:23:08 +00:00
|
|
|
(patches (search-patches "glibc-ldd-x86_64.patch"))))
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments glibc)
|
|
|
|
((#:phases phases)
|
|
|
|
`(modify-phases ,phases
|
|
|
|
(add-before 'configure 'fix-pwd
|
|
|
|
(lambda _
|
|
|
|
;; Use `pwd' instead of `/bin/pwd' for glibc-2.21
|
|
|
|
(substitute* "configure"
|
|
|
|
(("/bin/pwd") "pwd"))))))))))
|
2015-09-24 14:21:45 +00:00
|
|
|
|
2016-07-30 11:14:36 +00:00
|
|
|
(define-public glibc-2.21
|
|
|
|
(package
|
|
|
|
(inherit glibc-2.22)
|
2015-09-24 14:21:45 +00:00
|
|
|
(version "2.21")
|
|
|
|
(source (origin
|
|
|
|
(inherit (package-source glibc))
|
|
|
|
(uri (string-append "mirror://gnu/glibc/glibc-"
|
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1f135546j34s9bfkydmx2nhh9vwxlx60jldi80zmsnln6wj3dsxf"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "glibc-ldd-x86_64.patch"))))))
|
2015-09-24 14:21:45 +00:00
|
|
|
|
2015-02-11 10:19:29 +00:00
|
|
|
(define-public glibc-locales
|
|
|
|
(package
|
|
|
|
(inherit glibc)
|
|
|
|
(name "glibc-locales")
|
|
|
|
(source (origin (inherit (package-source glibc))
|
|
|
|
(patches (cons (search-patch "glibc-locales.patch")
|
|
|
|
(origin-patches (package-source glibc))))))
|
|
|
|
(synopsis "All the locales supported by the GNU C Library")
|
|
|
|
(description
|
|
|
|
"This package provides all the locales supported by the GNU C Library,
|
|
|
|
more than 400 in total. To use them set the 'LOCPATH' environment variable to
|
|
|
|
the 'share/locale' sub-directory of this package.")
|
|
|
|
(outputs '("out")) ;110+ MiB
|
2015-02-11 21:27:05 +00:00
|
|
|
(native-search-paths '())
|
2015-02-11 10:19:29 +00:00
|
|
|
(arguments
|
|
|
|
(let ((args `(#:tests? #f #:strip-binaries? #f
|
|
|
|
,@(package-arguments glibc))))
|
|
|
|
(substitute-keyword-arguments args
|
|
|
|
((#:phases phases)
|
|
|
|
`(alist-replace
|
|
|
|
'build
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(zero? (system* "make" "localedata/install-locales"
|
|
|
|
"-j" (number->string (parallel-job-count)))))
|
|
|
|
(alist-delete 'install ,phases)))
|
|
|
|
((#:configure-flags flags)
|
|
|
|
`(append ,flags
|
2015-10-01 19:32:50 +00:00
|
|
|
;; Use $(libdir)/locale/X.Y as is the case by default.
|
2016-07-31 02:42:47 +00:00
|
|
|
(list (string-append "libc_cv_complocaledir="
|
2015-02-11 10:19:29 +00:00
|
|
|
(assoc-ref %outputs "out")
|
2015-10-03 16:02:30 +00:00
|
|
|
"/lib/locale/"
|
|
|
|
,(package-version glibc))))))))))
|
2015-02-11 10:19:29 +00:00
|
|
|
|
2015-02-25 12:58:15 +00:00
|
|
|
(define-public glibc-utf8-locales
|
|
|
|
(package
|
|
|
|
(name "glibc-utf8-locales")
|
|
|
|
(version (package-version glibc))
|
|
|
|
(source #f)
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
(arguments
|
2015-10-03 16:02:30 +00:00
|
|
|
`(#:modules ((guix build utils))
|
2015-02-25 12:58:15 +00:00
|
|
|
#:builder (begin
|
|
|
|
(use-modules (srfi srfi-1)
|
|
|
|
(guix build utils))
|
|
|
|
|
|
|
|
(let* ((libc (assoc-ref %build-inputs "glibc"))
|
|
|
|
(gzip (assoc-ref %build-inputs "gzip"))
|
|
|
|
(out (assoc-ref %outputs "out"))
|
2015-10-03 16:02:30 +00:00
|
|
|
(localedir (string-append out "/lib/locale/"
|
|
|
|
,version)))
|
2015-02-25 12:58:15 +00:00
|
|
|
;; 'localedef' needs 'gzip'.
|
|
|
|
(setenv "PATH" (string-append libc "/bin:" gzip "/bin"))
|
|
|
|
|
|
|
|
(mkdir-p localedir)
|
|
|
|
(every (lambda (locale)
|
2015-10-03 18:06:24 +00:00
|
|
|
(define file
|
|
|
|
;; Use the "normalized codeset" by
|
|
|
|
;; default--e.g., "en_US.utf8".
|
|
|
|
(string-append localedir "/" locale ".utf8"))
|
|
|
|
|
|
|
|
(and (zero? (system* "localedef" "--no-archive"
|
|
|
|
"--prefix" localedir
|
|
|
|
"-i" locale
|
|
|
|
"-f" "UTF-8" file))
|
|
|
|
(begin
|
|
|
|
;; For backward compatibility with Guix
|
|
|
|
;; <= 0.8.3, add "xx_YY.UTF-8".
|
|
|
|
(symlink (string-append locale ".utf8")
|
2015-02-25 12:58:15 +00:00
|
|
|
(string-append localedir "/"
|
2015-10-03 18:06:24 +00:00
|
|
|
locale ".UTF-8"))
|
|
|
|
#t)))
|
2015-02-25 12:58:15 +00:00
|
|
|
|
|
|
|
;; These are the locales commonly used for
|
|
|
|
;; tests---e.g., in Guile's i18n tests.
|
|
|
|
'("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR"))))))
|
|
|
|
(inputs `(("glibc" ,glibc)
|
|
|
|
("gzip" ,gzip)))
|
|
|
|
(synopsis "Small sample of UTF-8 locales")
|
|
|
|
(description
|
|
|
|
"This package provides a small sample of UTF-8 locales mostly useful in
|
|
|
|
test environments.")
|
|
|
|
(home-page (package-home-page glibc))
|
|
|
|
(license (package-license glibc))))
|
2015-02-11 10:19:29 +00:00
|
|
|
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
(define-public which
|
|
|
|
(package
|
|
|
|
(name "which")
|
2015-06-10 21:39:08 +00:00
|
|
|
(version "2.21")
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/which/which-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-06-10 21:39:08 +00:00
|
|
|
"1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl"))))
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "https://gnu.org/software/which/")
|
|
|
|
(synopsis "Find full path of shell commands")
|
|
|
|
(description
|
|
|
|
"The which program finds the location of executables in PATH, with a
|
|
|
|
variety of options. It is an alternative to the shell \"type\" built-in
|
|
|
|
command.")
|
|
|
|
(license gpl3+))) ; some files are under GPLv2+
|
|
|
|
|
2014-09-27 17:07:19 +00:00
|
|
|
(define-public glibc/hurd-headers
|
|
|
|
(package (inherit glibc/hurd)
|
|
|
|
(name "glibc-hurd-headers")
|
|
|
|
(outputs '("out"))
|
|
|
|
(propagated-inputs `(("gnumach-headers" ,gnumach-headers)
|
|
|
|
("hurd-headers" ,hurd-headers)))
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments glibc/hurd)
|
|
|
|
;; We just pass the flags really needed to build the headers.
|
|
|
|
((#:configure-flags _)
|
|
|
|
`(list "--enable-add-ons"
|
2016-06-02 09:49:30 +00:00
|
|
|
"--host=i586-pc-gnu"
|
2014-09-27 17:07:19 +00:00
|
|
|
"--enable-obsolete-rpc"))
|
|
|
|
((#:phases _)
|
|
|
|
'(alist-replace
|
|
|
|
'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(and (zero? (system* "make" "install-headers"))
|
|
|
|
|
|
|
|
;; Make an empty stubs.h to work around not being able to
|
|
|
|
;; produce a valid stubs.h and causing the build to fail. See
|
|
|
|
;; <http://lists.gnu.org/archive/html/guix-devel/2014-04/msg00233.html>.
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(close-port
|
|
|
|
(open-output-file
|
|
|
|
(string-append out "/include/gnu/stubs.h"))))))
|
|
|
|
|
|
|
|
;; Nothing to build.
|
|
|
|
(alist-delete
|
|
|
|
'build
|
|
|
|
|
|
|
|
(alist-cons-before
|
|
|
|
'configure 'pre-configure
|
|
|
|
(lambda _
|
|
|
|
;; Use the right 'pwd'.
|
|
|
|
(substitute* "configure"
|
|
|
|
(("/bin/pwd") "pwd")))
|
|
|
|
%standard-phases))))))))
|
|
|
|
|
2013-05-08 20:44:21 +00:00
|
|
|
(define-public tzdata
|
|
|
|
(package
|
|
|
|
(name "tzdata")
|
2016-12-02 08:48:03 +00:00
|
|
|
(version "2016j")
|
2013-05-08 20:44:21 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-12-02 08:48:03 +00:00
|
|
|
"https://www.iana.org/time-zones/repository/releases/tzdata"
|
2013-05-08 20:44:21 +00:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-12-02 08:48:03 +00:00
|
|
|
"1j4xycpwhs57qnkcxwh3np8wnf3km69n3cf4w6p2yv2z247lxvpm"))))
|
2013-05-08 20:44:21 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out"))
|
|
|
|
(tmp (getenv "TMPDIR")))
|
|
|
|
(list (string-append "TOPDIR=" out)
|
|
|
|
(string-append "TZDIR=" out "/share/zoneinfo")
|
|
|
|
|
|
|
|
;; Discard zic, dump, and tzselect, already
|
|
|
|
;; provided by glibc.
|
|
|
|
(string-append "ETCDIR=" tmp "/etc")
|
|
|
|
|
|
|
|
;; Likewise for the C library routines.
|
|
|
|
(string-append "LIBDIR=" tmp "/lib")
|
|
|
|
(string-append "MANDIR=" tmp "/man")
|
|
|
|
|
|
|
|
"AWK=awk"
|
|
|
|
"CC=gcc"))
|
|
|
|
#:modules ((guix build utils)
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
(srfi srfi-1))
|
|
|
|
#:phases
|
2016-10-06 18:14:03 +00:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'unpack
|
|
|
|
(lambda* (#:key source inputs #:allow-other-keys)
|
|
|
|
(and (zero? (system* "tar" "xvf" source))
|
|
|
|
(zero? (system* "tar" "xvf" (assoc-ref inputs "tzcode"))))))
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Move data in the right place.
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(symlink (string-append out "/share/zoneinfo")
|
|
|
|
(string-append out "/share/zoneinfo/posix"))
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append out "/share/zoneinfo-posix"))
|
|
|
|
(copy-recursively (string-append out "/share/zoneinfo-leaps")
|
|
|
|
(string-append out "/share/zoneinfo/right"))
|
|
|
|
(delete-file-recursively
|
|
|
|
(string-append out "/share/zoneinfo-leaps")))))
|
|
|
|
(delete 'configure))))
|
2013-05-08 20:44:21 +00:00
|
|
|
(inputs `(("tzcode" ,(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://www.iana.org/time-zones/repository/releases/tzcode"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-12-02 08:48:03 +00:00
|
|
|
"1dxhrk4z0n2di8p0yd6q00pa6bwyz5xqbrfbasiz8785ni7zrvxr"))))))
|
|
|
|
(home-page "https://www.iana.org/time-zones")
|
2013-05-08 20:44:21 +00:00
|
|
|
(synopsis "Database of current and historical time zones")
|
|
|
|
(description "The Time Zone Database (often called tz or zoneinfo)
|
|
|
|
contains code and data that represent the history of local time for many
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
representative locations around the globe. It is updated periodically to
|
2013-05-08 20:44:21 +00:00
|
|
|
reflect changes made by political bodies to time zone boundaries, UTC offsets,
|
|
|
|
and daylight-saving rules.")
|
|
|
|
(license public-domain)))
|
|
|
|
|
2016-05-03 16:48:40 +00:00
|
|
|
(define-public libiconv
|
|
|
|
(package
|
|
|
|
(name "libiconv")
|
|
|
|
(version "1.14")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/libiconv/libiconv-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04q6lgl3kglmmhw59igq1n7v3rp1rpkypl366cy1k1yn2znlvckj"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Work around "declared gets" error on glibc systems (fixed by
|
|
|
|
;; Gnulib commit 66712c23388e93e5c518ebc8515140fa0c807348.)
|
|
|
|
'(substitute* "srclib/stdio.in.h"
|
|
|
|
(("^#undef gets") "")
|
|
|
|
(("^_GL_WARN_ON_USE \\(gets.*") "")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(synopsis "Character set conversion library")
|
|
|
|
(description
|
|
|
|
"libiconv provides an implementation of the iconv function for systems
|
|
|
|
that lack it. iconv is used to convert between character encodings in a
|
|
|
|
program. It supports a wide variety of different encodings.")
|
|
|
|
(home-page "http://www.gnu.org/software/libiconv/")
|
|
|
|
(license lgpl3+)))
|
|
|
|
|
2016-05-03 16:49:33 +00:00
|
|
|
(define* (libiconv-if-needed #:optional (target (%current-target-system)))
|
|
|
|
"Return either a libiconv package specification to include in a dependency
|
|
|
|
list for platforms that have an incomplete libc, or the empty list. If a
|
|
|
|
package needs iconv ,@(libiconv-if-needed) should be added."
|
|
|
|
;; POSIX C libraries provide iconv. Platforms with an incomplete libc
|
|
|
|
;; without iconv, such as MinGW, must return the then clause.
|
|
|
|
(if (target-mingw? target)
|
|
|
|
`(("libiconv" ,libiconv))
|
|
|
|
'()))
|
|
|
|
|
gnu: Split (gnu packages base), adding (gnu packages commencement).
* gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0,
findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet,
binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0,
texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash,
cross-gcc-wrapper, static-bash-for-glibc, glibc-final,
gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++,
gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs,
guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final,
%boot5-inputs, %final-inputs, canonical-package, gcc-toolchain,
gcc-toolchain-4.8, gcc-toolchain-4.9): Move to...
* gnu/packages/commencement.scm: ... here. New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* build-aux/check-final-inputs-self-contained.scm: Adjust accordingly.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/make-bootstrap.scm: Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/gnu.scm (standard-packages, gnu-build,
gnu-cross-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Likewise.
* guix/download.scm (url-fetch): Likewise.
* guix/gexp.scm (default-guile): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/monads.scm (run-with-store): Likewise.
* guix/packages.scm (default-guile): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
* tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths):
Likewise.
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/guix-package.sh: Likewise.
* gnu/services/base.scm: Use 'canonical-package' instead of xxx-final.
* gnu/services/xorg.scm: Likewise.
* gnu/system/vm.scm: Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
2014-08-26 22:25:17 +00:00
|
|
|
(define-public (canonical-package package)
|
|
|
|
;; Avoid circular dependency by lazily resolving 'commencement'.
|
|
|
|
(let* ((iface (resolve-interface '(gnu packages commencement)))
|
|
|
|
(proc (module-ref iface 'canonical-package)))
|
|
|
|
(proc package)))
|
2014-04-22 15:44:45 +00:00
|
|
|
|
2016-11-04 14:16:11 +00:00
|
|
|
(define-public (%final-inputs)
|
|
|
|
"Return the list of \"final inputs\"."
|
|
|
|
;; Avoid circular dependency by lazily resolving 'commencement'.
|
|
|
|
(let ((iface (resolve-interface '(gnu packages commencement))))
|
|
|
|
(module-ref iface '%final-inputs)))
|
|
|
|
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
;;; base.scm ends here
|