jackhill/guix/guix.git
8 years agognu: cups: Update to 2.1.0.
宋文武 [Sat, 12 Sep 2015 09:33:39 +0000 (17:33 +0800)]
gnu: cups: Update to 2.1.0.

* gnu/packages/cups.scm (cups, cups-minimal): Update to 2.1.0.

8 years agognu: cups-filters: Update to 1.0.75.
宋文武 [Sat, 12 Sep 2015 09:32:31 +0000 (17:32 +0800)]
gnu: cups-filters: Update to 1.0.75.

* gnu/packages/cups.scm (cups-filters): Update to 1.0.75.

8 years agognu: qpdf: Update to 5.1.3.
宋文武 [Sat, 12 Sep 2015 09:05:20 +0000 (17:05 +0800)]
gnu: qpdf: Update to 5.1.3.

* gnu/packages/pdf.scm (qpdf): Update to 5.1.3.

8 years agognu: python-setuptools: Update to 18.3.1.
宋文武 [Sat, 12 Sep 2015 09:01:05 +0000 (17:01 +0800)]
gnu: python-setuptools: Update to 18.3.1.

* gnu/packages/python.scm (python-setuptools): Update to 18.3.1.

8 years agognu: openldap: Update to 2.4.42.
宋文武 [Sat, 12 Sep 2015 08:22:44 +0000 (16:22 +0800)]
gnu: openldap: Update to 2.4.42.

* gnu/packages/openldap.scm (openldap): Update to 2.4.42.

8 years agognu: tk: Update to 8.6.4.
宋文武 [Sat, 12 Sep 2015 07:34:27 +0000 (15:34 +0800)]
gnu: tk: Update to 8.6.4.

* gnu/packages/tcl.scm (tk): Update to 8.6.4.

8 years agognu: tcl: Update to 8.6.4.
宋文武 [Sat, 12 Sep 2015 07:25:13 +0000 (15:25 +0800)]
gnu: tcl: Update to 8.6.4.

* gnu/packages/tcl.scm (tcl): Update to 8.6.4.

8 years agognu: lzo: Update to 2.09.
宋文武 [Sat, 12 Sep 2015 06:18:09 +0000 (14:18 +0800)]
gnu: lzo: Update to 2.09.

* gnu/packages/compression.scm (lzo): Update to 2.09.

8 years agognu: libtasn1: Update to 4.6.
宋文武 [Sat, 12 Sep 2015 06:02:36 +0000 (14:02 +0800)]
gnu: libtasn1: Update to 4.6.

* gnu/packages/tls.scm (libtasn1): Update to 4.6.

8 years agognu: glib: Update to 2.44.1.
宋文武 [Sat, 12 Sep 2015 05:34:04 +0000 (13:34 +0800)]
gnu: glib: Update to 2.44.1.

* gnu/packages/glib.scm (glib): Update to 2.44.1.

8 years agognu: sqlite: Update to 3.8.11.1.
宋文武 [Sat, 12 Sep 2015 03:48:17 +0000 (11:48 +0800)]
gnu: sqlite: Update to 3.8.11.1.

* gnu/packages/databases.scm (sqlite): Update to 3.8.11.1.
  [source](uri): Add 'http://distfiles.gentoo.org'.

8 years agognu: coreutils: Skip racy 'tail' tests.
Ludovic Courtès [Fri, 11 Sep 2015 21:15:11 +0000 (23:15 +0200)]
gnu: coreutils: Skip racy 'tail' tests.

This works around <http://bugs.gnu.org/21460>.

* gnu/packages/patches/coreutils-racy-tail-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (coreutils): Use it.

8 years agognu: bdb: Add configure flag to fix C++ header file.
Andreas Enge [Fri, 11 Sep 2015 20:32:32 +0000 (22:32 +0200)]
gnu: bdb: Add configure flag to fix C++ header file.

* gnu/packages/databases.scm (bdb): Build with "--enable-cxx", which causes
  HAVE_CXX_STDHEADERS to be defined in db_cxx.h in the output.

8 years agognu: bdb: Fix indentation.
Andreas Enge [Fri, 11 Sep 2015 20:23:29 +0000 (22:23 +0200)]
gnu: bdb: Fix indentation.

* gnu/packages/databases.scm (bdb): Fix indentation.

8 years agognu: perl-xml-parser: Update to 2.44.
宋文武 [Fri, 11 Sep 2015 13:31:01 +0000 (21:31 +0800)]
gnu: perl-xml-parser: Update to 2.44.

* gnu/packages/xml.scm (perl-xml-parser): Update to 2.44.
  [homepage]: Adjust accordingly.

8 years agognu: linux-pam: Update to 1.2.1.
宋文武 [Fri, 11 Sep 2015 13:00:43 +0000 (21:00 +0800)]
gnu: linux-pam: Update to 1.2.1.

* gnu/packages/linux.scm (linux-pam): Update to 1.2.1.

8 years agognu: gtk+: Update to 3.16.6.
宋文武 [Fri, 11 Sep 2015 12:31:10 +0000 (20:31 +0800)]
gnu: gtk+: Update to 3.16.6.

* gnu/packages/gtk.scm (gtk+): Update to 3.16.6.

8 years agognu: poppler: Update 0.36.0.
宋文武 [Fri, 11 Sep 2015 12:28:02 +0000 (20:28 +0800)]
gnu: poppler: Update 0.36.0.

* gnu/packages/pdf.scm (poppler): Update to 0.36.0.

8 years agobuild-system/glib-or-gtk: Don't generate 'icon-theme.cache'.
宋文武 [Fri, 11 Sep 2015 12:09:40 +0000 (20:09 +0800)]
build-system/glib-or-gtk: Don't generate 'icon-theme.cache'.

* guix/build-system/glib-or-gtk.scm (default-gtk+): Remove.
  (lower): Adjust accordingly.
* guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Remove.
  (%standard-phases): Remove 'glib-or-gtk-icon-cache' phase.

8 years agognu: libxt: Add "doc" output.
Ludovic Courtès [Fri, 11 Sep 2015 07:40:29 +0000 (09:40 +0200)]
gnu: libxt: Add "doc" output.

* gnu/packages/xorg.scm (libxt)[outputs, arguments]: New fields.

8 years agognu: libx11: Add "doc" output.
Ludovic Courtès [Fri, 11 Sep 2015 07:36:49 +0000 (09:36 +0200)]
gnu: libx11: Add "doc" output.

* gnu/packages/xorg.scm (libx11)[outputs, arguments]: New fields.

8 years agognu: perl: Fix autosplitting of 0-time source.
Eric Bavier [Thu, 10 Sep 2015 08:40:34 +0000 (03:40 -0500)]
gnu: perl: Fix autosplitting of 0-time source.

* gnu/packages/patches/perl-autosplit-default-time.patch: New patch.
* gnu/packages/perl.scm (perl): Use it.
* gnu-system.am (dist_patch_DATA): Add it.

8 years agognu: curl: Move man3 pages to "doc" output.
Ludovic Courtès [Wed, 9 Sep 2015 20:55:33 +0000 (22:55 +0200)]
gnu: curl: Move man3 pages to "doc" output.

* gnu/packages/curl.scm (curl)[outputs]: New field.
  [arguments]: Add 'move-man3-pages' phase.

8 years agognu: curl: Use 'modify-phases'.
Ludovic Courtès [Wed, 9 Sep 2015 20:43:36 +0000 (22:43 +0200)]
gnu: curl: Use 'modify-phases'.

* gnu/packages/curl.scm (curl)[arguments]: Use 'modify-phases'.

8 years agohydra: Remove cross-builds from armhf-linux to mips64el-linux-gnuabi64.
Mark H Weaver [Wed, 9 Sep 2015 20:31:42 +0000 (16:31 -0400)]
hydra: Remove cross-builds from armhf-linux to mips64el-linux-gnuabi64.

* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Modify
  'from-32-to-64?' to include 'armhf-linux' in the set of 32-bit systems.

8 years agognu: openssl: Remove run-time dependency on Perl.
Ludovic Courtès [Wed, 9 Sep 2015 17:01:48 +0000 (19:01 +0200)]
gnu: openssl: Remove run-time dependency on Perl.

This shrinks the closure of OpenSSL from 154 MiB to 73 MiB.

* gnu/packages/patches/openssl-c-rehash.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (openssl)[source]: Use it.
  [arguments]: Add 'remove-miscellany' phase.
* gnu/packages/certs.scm (nss-certs)[native-inputs]: Add PERL.

8 years agognu: openssl: Allow shared objects to be stripped.
Ludovic Courtès [Wed, 9 Sep 2015 16:30:34 +0000 (18:30 +0200)]
gnu: openssl: Allow shared objects to be stripped.

* gnu/packages/tls.scm (openssl)[arguments]: Add
  'make-libraries-writable' phase.

8 years agognu: openssl: Install data and documentation to PREFIX/share.
Ludovic Courtès [Wed, 9 Sep 2015 16:17:38 +0000 (18:17 +0200)]
gnu: openssl: Install data and documentation to PREFIX/share.

* gnu/packages/tls.scm (openssl)[arguments]: Add 'fix-man-dir' phase.
  Pass --openssldir=PREFIX/share/openssl-VERSION to ./config.

8 years agognu: openssl: Use 'modify-phases'.
Ludovic Courtès [Wed, 9 Sep 2015 13:31:23 +0000 (15:31 +0200)]
gnu: openssl: Use 'modify-phases'.

* gnu/packages/tls.scm (openssl)[arguments]: Use 'modify-phases'.

8 years agognu: libtiff: Add "doc" output.
Ludovic Courtès [Wed, 9 Sep 2015 13:25:05 +0000 (15:25 +0200)]
gnu: libtiff: Add "doc" output.

* gnu/packages/image.scm (libtiff)[outputs, arguments]: New fields.

8 years agognu: glibc: Patch 'openat64', which was buggy on 32-bit platforms.
Ludovic Courtès [Tue, 8 Sep 2015 13:53:05 +0000 (15:53 +0200)]
gnu: glibc: Patch 'openat64', which was buggy on 32-bit platforms.

* gnu/packages/patches/glibc-o-largefile.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Add it to 'patches'.
* gnu-system.am (dist_patch_DATA): Add it.

8 years agopackages: Build tarballs in sorted order even if tar doesn't support it.
Mark H Weaver [Sun, 6 Sep 2015 16:26:55 +0000 (12:26 -0400)]
packages: Build tarballs in sorted order even if tar doesn't support it.

This is a followup to commit 92226a470ddc980e54863632e5b179bf40444bd7.

* guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the
  "--sort=name" option using a run-time test.  If not supported, generate the
  sorted file list with 'find-files' and pass it to tar using "--files-from".

8 years agoutils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.
Mark H Weaver [Sun, 6 Sep 2015 16:24:08 +0000 (12:24 -0400)]
utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.

* guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR?
  keyword arguments.

8 years agognu: poppler: Update to 0.35.0.
宋文武 [Sat, 22 Aug 2015 03:37:31 +0000 (11:37 +0800)]
gnu: poppler: Update to 0.35.0.

* gnu/packages/pdf.scm (poppler): Update to 0.35.0.

8 years agognu: harfbuzz: Update to 1.0.3.
宋文武 [Sat, 22 Aug 2015 03:36:04 +0000 (11:36 +0800)]
gnu: harfbuzz: Update to 1.0.3.

* gnu/packages/gtk.scm (harfbuzz): Update to 1.0.3.

8 years agognu: graphite2: Update to 1.3.1.
宋文武 [Sat, 22 Aug 2015 03:33:35 +0000 (11:33 +0800)]
gnu: graphite2: Update to 1.3.1.

* gnu/packages/fontutils.scm (graphite2): Update to 1.3.1.  Remove
  unused PERL from inputs.
  [native-inputs]: New field.

8 years agognu: Add python-fonttools.
宋文武 [Sat, 22 Aug 2015 03:32:30 +0000 (11:32 +0800)]
gnu: Add python-fonttools.

* gnu/packages/python.scm (python-fonttools, python2-fonttools): New
  variables.

8 years agognu: fontconfig: Update to 2.11.94.
宋文武 [Mon, 17 Aug 2015 08:16:04 +0000 (16:16 +0800)]
gnu: fontconfig: Update to 2.11.94.

* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.94.
  [arguments]: Pass '--with-cache-dir=/var/cache/fontconfig' to configure.
  Add #:phases.

8 years agognu: coreutils-light: Rename to coreutils-minimal.
Alex Kost [Fri, 4 Sep 2015 12:50:11 +0000 (15:50 +0300)]
gnu: coreutils-light: Rename to coreutils-minimal.

* gnu/packages/base.scm (coreutils-light): Rename to ...
  (coreutils-minimal): ...this.
* gnu/packages/commencement.scm (%boot5-inputs): Use it.

8 years agognu: bash-light: Rename to bash-minimal.
Alex Kost [Thu, 3 Sep 2015 08:12:28 +0000 (11:12 +0300)]
gnu: bash-light: Rename to bash-minimal.

* gnu/packages/bash.scm (bash-light): Rename to ...
  (bash-minimal): ...this.
  (static-bash): Use it.
* gnu/packages/make-bootstrap.scm (%bash-static): Use it.

8 years agognu: libtiff: Build with the current libjpeg instead of libjpeg-8.
Andreas Enge [Fri, 4 Sep 2015 19:43:40 +0000 (21:43 +0200)]
gnu: libtiff: Build with the current libjpeg instead of libjpeg-8.

* gnu/packages/image.scm (libtiff)[inputs]: Use libjpeg instead of libjpeg-9.
  [arguments]: Drop the now unneeded field.

8 years agognu: libtiff: Update to 4.0.5.
Andreas Enge [Fri, 4 Sep 2015 19:39:59 +0000 (21:39 +0200)]
gnu: libtiff: Update to 4.0.5.

* gnu/packages/patches/libtiff-CVE-2012-4564.patch,
  gnu/packages/patches/libtiff-CVE-2013-1960.patch,
  gnu/packages/patches/libtiff-CVE-2013-1961.patch,
  gnu/packages/patches/libtiff-CVE-2013-4231.patch,
  gnu/packages/patches/libtiff-CVE-2013-4232.patch,
  gnu/packages/patches/libtiff-CVE-2013-4243.patch,
  gnu/packages/patches/libtiff-CVE-2013-4244.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8127-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt1.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt2.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt3.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt4.patch,
  gnu/packages/patches/libtiff-CVE-2014-8128-pt5.patch,
  gnu/packages/patches/libtiff-CVE-2014-8129.patch,
  gnu/packages/patches/libtiff-CVE-2014-9330.patch,
  gnu/packages/patches/libtiff-CVE-2014-9655.patch: Delete files.
* gnu-system.am (dist_patch_DATA): Unregister the patches.
* gnu/packages/image.scm (libtiff): Update to 4.0.5 and drop the patches.

8 years agognu: base: Add glibc-hurd and hurd-minimal.
Manolis Ragkousis [Sat, 27 Sep 2014 17:07:19 +0000 (20:07 +0300)]
gnu: base: Add glibc-hurd and hurd-minimal.

* gnu/packages/base.scm (glibc/hurd, glibc/hurd-headers): New variables.
* gnu/packages/hurd.scm (hurd-minimal): New variable.
* gnu/packages/patches/glibc-hurd-extern-inline.patch: New file.
* gnu/packages/patches/libpthread-glibc-preparation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Mark H Weaver <mhw@netris.org>
8 years agopackages: Define '%hurd-systems'.
Ludovic Courtès [Fri, 4 Sep 2015 11:40:55 +0000 (13:40 +0200)]
packages: Define '%hurd-systems'.

* guix/packages.scm (%hurd-systems): New variable.

8 years agognu: make-bootstrap: Remove unneeded configure flag from %gcc-static.
Manolis Ragkousis [Mon, 8 Jun 2015 22:14:03 +0000 (01:14 +0300)]
gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static.

With this commit "guix build bootstrap-tarballs --target=i686-pc-gnu" works.

* gnu/packages/make-bootstrap.scm (%gcc-static): Remove unneeded
  --disable-decimal-float.

8 years agognu: hurd: Add flex as an input to mig.
Manolis Ragkousis [Tue, 12 May 2015 17:59:32 +0000 (20:59 +0300)]
gnu: hurd: Add flex as an input to mig.

* gnu/packages/hurd (mig): Add flex as an input.

8 years agognu: acl: Fix i686-gnu build.
Manolis Ragkousis [Sat, 25 Apr 2015 15:18:53 +0000 (18:18 +0300)]
gnu: acl: Fix i686-gnu build.

* gnu/packages/patches/acl-hurd-path-max.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

8 years agognu: gcc: Also substitute the dynamic linker name for GNU/Hurd.
Marek Benc [Thu, 5 Feb 2015 16:12:54 +0000 (17:12 +0100)]
gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.

* gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
  for GNU (ie. Hurd) systems.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: bootstrap: Add the location of ld.so on GNU/Hurd.
Marek Benc [Fri, 4 Sep 2015 11:22:17 +0000 (13:22 +0200)]
gnu: bootstrap: Add the location of ld.so on GNU/Hurd.

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add the dynamic
  linker for i686-gnu and i585-gnu.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
8 years agognu: acl: Remove explicit 'sed' dependency.
Ludovic Courtès [Fri, 4 Sep 2015 09:58:37 +0000 (11:58 +0200)]
gnu: acl: Remove explicit 'sed' dependency.

* gnu/packages/acl.scm (acl)[native-inputs]: Remove SED, which is
  implicit.

8 years agognu: coreutils: Drop dependency on libcap when cross-compiling.
Ludovic Courtès [Fri, 4 Sep 2015 09:56:51 +0000 (11:56 +0200)]
gnu: coreutils: Drop dependency on libcap when cross-compiling.

* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP
  when (%current-target-system) is true.

8 years agoBuild tarballs with deterministic file ordering.
Mark H Weaver [Thu, 3 Sep 2015 16:51:47 +0000 (12:51 -0400)]
Build tarballs with deterministic file ordering.

* guix/packages.scm (patch-and-repack)[build],
  gnu/system/install.scm (self-contained-tarball)[build],
  gnu/packages/make-bootstrap.scm (tarball-package),
  gnu/packages/admin.scm (isc-dhcp),
  gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'.

8 years agopackages: Add 'armhf-linux' to '%hydra-supported-systems'.
Mark H Weaver [Wed, 2 Sep 2015 23:59:12 +0000 (19:59 -0400)]
packages: Add 'armhf-linux' to '%hydra-supported-systems'.

* guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux'
  from it.  It is now equal to '%supported-systems'.

8 years agogexp: Remove duplicate 'mkdir-p' definition.
Ludovic Courtès [Sun, 30 Aug 2015 20:52:49 +0000 (22:52 +0200)]
gexp: Remove duplicate 'mkdir-p' definition.

* guix/gexp.scm (%mkdir-p-definition): Remove.
  (%utils-module): New variable.
  (imported-files, compiled-modules): Have gexp load %UTILS-MODULE
  instead of using %MKDIR-P-DEFINITION.

8 years agognu: coreutils: Add dependency on libcap.
Ludovic Courtès [Wed, 2 Sep 2015 09:20:48 +0000 (11:20 +0200)]
gnu: coreutils: Add dependency on libcap.

* gnu/packages/base.scm (coreutils)[inputs]: Add LIBCAP.

8 years agognu: libcap: Update to 2.24.
Ludovic Courtès [Wed, 2 Sep 2015 09:12:11 +0000 (11:12 +0200)]
gnu: libcap: Update to 2.24.

* gnu/packages/linux.scm (libcap): Update to 2.24.  Fetch the source
  from mirror://kernel.org.

8 years agognu: glibc: Upgrade to 2.22.
Ludovic Courtès [Wed, 19 Aug 2015 12:16:39 +0000 (14:16 +0200)]
gnu: glibc: Upgrade to 2.22.

* gnu/packages/base.scm (glibc): Upgrade to 2.22.
  (coreutils-light): New variable.
* gnu/packages/commencement.scm (locale-proof-package): New procedure.
  (%boot5-inputs): Add LD-WRAPPER, BINUTILS-FINAL, BASH-FINAL, GNU-MAKE,
  DIFFUTILS, FINDUTILS, COREUTILS-LIGHT (pass through
  'new-libc-package'), and %BOOTSTRAP-COREUTILS&CO (passed through
  'locale-proof-package'.)

8 years agoutils: Move 'package-name->name+version' to (guix build utils).
Ludovic Courtès [Sun, 30 Aug 2015 12:59:31 +0000 (14:59 +0200)]
utils: Move 'package-name->name+version' to (guix build utils).

* guix/utils.scm (package-name->name+version): Move to...
* guix/build/utils.scm (package-name->name+version): ... here.  New
  procedure.
* guix/build/emacs-build-system.scm (package-name->name+version):
  Remove.

8 years agoutils: Add 'strip-store-file-name'.
Ludovic Courtès [Sun, 30 Aug 2015 12:38:10 +0000 (14:38 +0200)]
utils: Add 'strip-store-file-name'.

* guix/build/utils.scm (strip-store-file-name): New procedure.
* guix/build/emacs-build-system.scm (store-directory->name-version):
  Remove.  Update callers to use 'strip-store-file-name'.
* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use
  'strip-store-file-name' instead of 'string-drop'.

8 years agognu: glibc: _PATH_BSHELL refers to our static bash.
Ludovic Courtès [Sun, 30 Aug 2015 12:20:08 +0000 (14:20 +0200)]
gnu: glibc: _PATH_BSHELL refers to our static bash.

* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in
  paths.h to refer to STATIC-BASH.

8 years agognu: glibc: Use 'modify-phases'.
Ludovic Courtès [Sun, 30 Aug 2015 12:12:57 +0000 (14:12 +0200)]
gnu: glibc: Use 'modify-phases'.

* gnu/packages/base.scm (glibc)[arguments]: Use 'modify-phases' instead
  of 'alist-cons-before'.

8 years agobuild-system/gnu: Use monotic time to measure elapsed time.
Ludovic Courtès [Sun, 30 Aug 2015 12:08:44 +0000 (14:08 +0200)]
build-system/gnu: Use monotic time to measure elapsed time.

* guix/build/gnu-build-system.scm (gnu-build)[elapsed-time]: New
  procedure.
  Use it, and use (current-time time-monotonic) instead
  of (gettimeofday).  Show one digit after the comma for the elapsed
  time.

8 years agognu: ncurses: Really install headers to OUT/include.
Ludovic Courtès [Sun, 30 Aug 2015 11:53:43 +0000 (13:53 +0200)]
gnu: ncurses: Really install headers to OUT/include.

* gnu/packages/ncurses.scm (ncurses)[arguments]: Pass --enable-overwrite.

8 years agognu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
Ludovic Courtès [Fri, 28 Aug 2015 20:22:22 +0000 (22:22 +0200)]
gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.

* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools,
  plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'.
* gnu/packages/check.scm (catch-framework): Likewise.
* gnu/packages/code.scm (global): Likewise.
* gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools):
  Likewise.
* gnu/packages/engineering.scm (fastcap, fasthenry): Likewise.
* gnu/packages/gnuzilla.scm (nss): Likewise.
* gnu/packages/guile.scm (guile-minikanren): Likewise.
* gnu/packages/java.scm (swt): Likewise.
* gnu/packages/make-bootstrap.scm (%static-binaries): Likewise.
* gnu/packages/maths.scm (lpsolve): Likewise.
* gnu/packages/mp3.scm (mpc123): Likewise.
* gnu/packages/ninja.scm (ninja): Likewise.
* gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise.
* gnu/packages/screen.scm (dtach): Likewise.
* gnu/packages/synergy.scm (synergy): Likewise.
* gnu/packages/textutils.scm (utf8proc): Likewise.
* gnu/packages/version-control.scm (git-test-sequence): Likewise.
* gnu/packages/wicd.scm (wicd): Likewise.

8 years agoutils: Add 'install-file'.
Ludovic Courtès [Fri, 28 Aug 2015 20:07:05 +0000 (22:07 +0200)]
utils: Add 'install-file'.

* guix/build/utils.scm (install-file): New procedure.

8 years agognu: glibc: Do not copy static Bash binary to bin/.
Ludovic Courtès [Wed, 19 Aug 2015 22:13:25 +0000 (00:13 +0200)]
gnu: glibc: Do not copy static Bash binary to bin/.

This avoids problems when installing 'glibc' in a profile, where glibc's
limited 'bash' would take precedence over the valid 'bash'.

* gnu/packages/base.scm (glibc)[arguments]: Do not copy STATIC-BASH to
  OUT/bin.  Instead, simply refer to it directly.
  [inputs]: Use STATIC-BASH instead of BASH-LIGHT.
* gnu/packages/commencement.scm (static-bash-for-glibc): Likewise.
  (glibc-final)[arguments]: Add STATIC-BASH-FOR-GLIBC to
  #:allowed-references.
  (gcc-final)[arguments]: Likewise.
  [native-inputs]: Add "static-bash".

8 years agognu: ncurses: Remove obsolete hack.
Ludovic Courtès [Wed, 19 Aug 2015 20:45:54 +0000 (22:45 +0200)]
gnu: ncurses: Remove obsolete hack.

* gnu/packages/ncurses.scm (ncurses)[arguments]: Remove obsolete Solaris
  hack.

8 years agognu: ncurses: Rework trick to avoid reference to the bootstrap bash.
Ludovic Courtès [Wed, 19 Aug 2015 20:43:15 +0000 (22:43 +0200)]
gnu: ncurses: Rework trick to avoid reference to the bootstrap bash.

This removes reliance on the availability of 'bin/sh' in glibc.

* gnu/packages/ncurses.scm (ncurses): Remove 'configure-phase'.  Add
  'remove-shebang-phase'.
  [arguments]: Remove distinction between cross builds and native builds.  Use
  'modify-phases'.  Add 'remove-unneeded-shebang' phase.

8 years agognu: ncurses: Upgrade to 6.0.
Ludovic Courtès [Wed, 19 Aug 2015 20:52:09 +0000 (22:52 +0200)]
gnu: ncurses: Upgrade to 6.0.

* gnu/packages/ncurses.scm (ncurses): Upgrade to 6.0.  Change library names to
  '.so.6'.

8 years agognu: binutils: Upgrade to 2.25.1.
Ludovic Courtès [Wed, 19 Aug 2015 12:16:09 +0000 (14:16 +0200)]
gnu: binutils: Upgrade to 2.25.1.

* gnu/packages/base.scm (binutils): Upgrade to 2.25.1.

8 years agognu: Add 'bash-static'.
Ludovic Courtès [Wed, 19 Aug 2015 12:40:59 +0000 (14:40 +0200)]
gnu: Add 'bash-static'.

* gnu/packages/bash.scm (static-bash): New variable.

8 years agodownload: Keep only 2 store items for all the downloads.
Ludovic Courtès [Fri, 28 Aug 2015 22:48:35 +0000 (00:48 +0200)]
download: Keep only 2 store items for all the downloads.

This significantly reduces churn in the store.  It also reduces run time
of 'guix build inkscape -Sd' by ~10%.

* guix/download.scm (url-fetch)[mirror-file]: New variable.
  [builder]: Get URL from the "guix download url" env. var.  Get the mirrors
  from MIRROR-FILE.  Pass #:script-name and #:env-vars to 'gexp->derivation'.

8 years agogexp: Add #:script-name parameter to 'gexp->derivation'.
Ludovic Courtès [Fri, 28 Aug 2015 22:32:31 +0000 (00:32 +0200)]
gexp: Add #:script-name parameter to 'gexp->derivation'.

* guix/gexp.scm (gexp->derivation): Add #:script-name parameter.
* doc/guix.texi (G-Expressions): Document it.

8 years agomonads: Inline the procedure returned by liftN.
Ludovic Courtès [Fri, 28 Aug 2015 13:17:20 +0000 (15:17 +0200)]
monads: Inline the procedure returned by liftN.

* guix/monads.scm (define-lift): Turn into a macro that open-codes the result
  of its lift.

8 years agognu: shadow: Update to 4.2.1.
宋文武 [Sat, 22 Aug 2015 13:40:48 +0000 (21:40 +0800)]
gnu: shadow: Update to 4.2.1.

* gnu/packages/admin.scm (shadow): Update to 4.2.1.
  [source]: Use the release tarball.

8 years agognu: Add abduco.
Leo Famulari [Tue, 25 Aug 2015 23:45:47 +0000 (19:45 -0400)]
gnu: Add abduco.

* gnu/packages/abduco.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: Add cabal-install.
Siniša Biđin [Tue, 18 Aug 2015 14:19:11 +0000 (16:19 +0200)]
gnu: Add cabal-install.

* gnu/packages/haskell.scm (cabal-install): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: conky: Fix license.
Ludovic Courtès [Fri, 28 Aug 2015 07:36:18 +0000 (09:36 +0200)]
gnu: conky: Fix license.

* gnu/packages/conky.scm (conky)[license]: Set to LICENSE:GPL3+.

8 years agognu: services: Add nginx-service.
David Thompson [Mon, 3 Aug 2015 03:29:53 +0000 (23:29 -0400)]
gnu: services: Add nginx-service.

* gnu/services/web.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* guix.texi ("Web Services"): New section.

8 years agoimport: Add Ruby gem importer.
David Thompson [Mon, 17 Aug 2015 01:15:45 +0000 (21:15 -0400)]
import: Add Ruby gem importer.

* gnu/scripts/import.scm (importers): Add "gem".
* gnu/import/gem.scm: New file.
* gnu/scripts/import/gem.scm: New file.
* Makefile.am (MODULES): Add them.
* guix.texi ("invoking guix import"): Document it.

8 years agoimport: pypi: Move generally useful procedures to utils module.
David Thompson [Mon, 17 Aug 2015 01:09:19 +0000 (21:09 -0400)]
import: pypi: Move generally useful procedures to utils module.

* guix/import/pypi.scm (make-pypi-sexp): Factorize license to symbol
  conversion code.
  (string->license, snake-case, guix-hash-url): Move from here...
* guix/import/utils.scm: ... to here.
  (license->symbol): New procedure.

8 years agognu: Add ruby-arel.
David Thompson [Mon, 17 Aug 2015 01:58:12 +0000 (21:58 -0400)]
gnu: Add ruby-arel.

* gnu/packages/ruby.scm (ruby-arel): New variable.

8 years agognu: Add conky.
Siniša Biđin [Fri, 21 Aug 2015 16:20:46 +0000 (18:20 +0200)]
gnu: Add conky.

* gnu/packages/conky.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: lua: Add patch to generate pkg-config file.
Siniša Biđin [Thu, 27 Aug 2015 21:13:30 +0000 (23:13 +0200)]
gnu: lua: Add patch to generate pkg-config file.

* gnu/packages/patches/lua-pkgconfig.patch: New file.
* gnu/packages/lua.scm (lua)[source]: Add patch.
* gnu-system.am (dist_patch_DATA): Register patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agoThank Eric Hanchrow.
Ludovic Courtès [Thu, 27 Aug 2015 09:26:01 +0000 (11:26 +0200)]
Thank Eric Hanchrow.

8 years agoemacs: Add completions for 'guix graph'.
Alex Kost [Thu, 27 Aug 2015 14:50:01 +0000 (17:50 +0300)]
emacs: Add completions for 'guix graph'.

* emacs/guix-pcomplete.el (guix-pcomplete-parse-linter-regexp): Improve
  and rename to ...
  (guix-pcomplete-parse-list-regexp): ...this.  New variable.
  (guix-pcomplete-lint-checkers): Use it.
  (guix-pcomplete-graph-types): New function.
  (guix-pcomplete-complete-command-arg): Complete package names for
  'guix graph' command.
  (guix-pcomplete-complete-option-arg): Complete '-t/--type' option.

8 years agognu: git-modes: Update to 1.2.0.
Alex Kost [Wed, 19 Aug 2015 20:06:12 +0000 (23:06 +0300)]
gnu: git-modes: Update to 1.2.0.

* gnu/packages/emacs.scm (git-modes): Update to 1.2.0.
  [arguments]: Disable tests.

8 years agognu: magit-svn: Update to 2.1.0.
Alex Kost [Wed, 19 Aug 2015 19:57:08 +0000 (22:57 +0300)]
gnu: magit-svn: Update to 2.1.0.

* gnu/packages/emacs.scm: Use (gnu packages base) module.  Remove
  duplicated (gnu packages guile) and (gnu packages linux) modules.
  (magit-svn): Update to 2.1.0.
  [source]: Use 'url-fetch' method.
  [inputs]: Remove.  Move "emacs" to 'native-inputs', move "magit" to
  'propagated-inputs'.
  [native-inputs]: Add "tar" and "gzip".
  [propagated-inputs]: Add "dash".
  [arguments]: Adjust builder for the new inputs and unpacking the source.

8 years agognu: magit: Update to 2.2.1.
Alex Kost [Mon, 17 Aug 2015 18:44:40 +0000 (21:44 +0300)]
gnu: magit: Update to 2.2.1.

* gnu/packages/emacs.scm (magit): Update to 2.2.1.
  [inputs]: Remove 'git:gui'.
  [propagated-inputs]: Add 'dash', remove 'git-modes'.
  [arguments]: Add PREFIX and DASH_DIR to 'make-flags'.  Remove
  'configure', 'augment-load-path' and 'post-install' phases.

8 years agodaemon: Require a signature for imports made by root.
Ludovic Courtès [Thu, 27 Aug 2015 08:58:31 +0000 (10:58 +0200)]
daemon: Require a signature for imports made by root.

This reinstates commit aa0f8409, which was inadvertently undone in commit
322eeb87.

Running 'guix archive --import' as root would have let corrupt or unauthentic
store items through.

Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
at <http://bugs.gnu.org/21354>.

* nix/nix-daemon/nix-daemon.cc (performOp) <wopImportPaths>: Pass true as the
  first argument to 'importPaths'.

8 years agotests: Skip 'set-network-interface-address' test when running as root.
Ludovic Courtès [Thu, 27 Aug 2015 08:52:11 +0000 (10:52 +0200)]
tests: Skip 'set-network-interface-address' test when running as root.

Reported by Eric Hanchrow <eric.hanchrow@gmail.com>
in <http://bugs.gnu.org/21354>.

* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
  returns zero.

8 years agoAdd graph.scm to 'POTFILES'.
Ludovic Courtès [Thu, 27 Aug 2015 07:13:39 +0000 (09:13 +0200)]
Add graph.scm to 'POTFILES'.

* po/guix/POTFILES.in: Add guix/scripts/graph.scm.

8 years agoAdd 'guix graph'.
Ludovic Courtès [Wed, 26 Aug 2015 22:36:41 +0000 (00:36 +0200)]
Add 'guix graph'.

* guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
  doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
  files.
* Makefile.am (MODULES): Add guix/scripts/graph.scm.
  (SH_TESTS): Add tests/guix-graph.sh.
  (SCM_TESTS): Add tests/graph.scm.
* doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
  (EXTRA_DIST): Use them.
  (dist_infoimage_DATA): Use $(DOT_FILES).
  (pdf-local, info-local, ps-local): Likewise.
* doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
  graph'.
  (Invoking guix gc): Likewise.
  (Invoking guix graph): New section.

8 years agobuild: Do not build (guix build syscalls) if 'mount' is missing from libc.
Ludovic Courtès [Wed, 26 Aug 2015 12:07:31 +0000 (14:07 +0200)]
build: Do not build (guix build syscalls) if 'mount' is missing from libc.

This disables compilation of this module on GNU/Hurd.
Reported by Manolis Ragkousis <manolis837@gmail.com>.

* m4/guix.m4 (GUIX_CHECK_LIBC_MOUNT): New variable.
* configure.ac: Use it.  Define 'BUILD_SYSCALLS_MODULE' conditional.
* Makefile.am (MODULES, EXTRA_DIST): Make 'guix/build/syscalls.scm'
  conditional on BUILD_SYSCALLS_MODULE.

8 years agogexp: Add 'lower-object'.
Ludovic Courtès [Wed, 26 Aug 2015 09:28:23 +0000 (11:28 +0200)]
gexp: Add 'lower-object'.

* guix/gexp.scm (lower-object): New procedure.
  (lower-inputs, lower-references, gexp->sexp): Use it.
* tests/gexp.scm ("lower-object"): New test.
* doc/guix.texi (G-Expressions): Document it.

8 years agognu: Add BioPerl.
Ricardo Wurmus [Wed, 3 Jun 2015 15:44:20 +0000 (17:44 +0200)]
gnu: Add BioPerl.

* gnu/packages/bioinformatics.scm (bioperl-minimal): New variable.

8 years agognu: pius: Adjust to the new libpius.
Ludovic Courtès [Tue, 25 Aug 2015 22:41:07 +0000 (00:41 +0200)]
gnu: pius: Adjust to the new libpius.

Prior to this commit the libpius modules would not be found and the default
GnuPG file name would be /usr/bin/gpg.

* gnu/packages/gnupg.scm (pius)[inputs]: Remove PYTHON-2.
  [build-system]: Switch to PYTHON-BUILD-SYSTEM.
  [arguments]: Add #:python.  Change to add a single phase,
  'set-gpg-file-name'.

8 years agotests: Work around Btrfs handling of nlink for empty directories.
Ludovic Courtès [Tue, 25 Aug 2015 20:44:10 +0000 (22:44 +0200)]
tests: Work around Btrfs handling of nlink for empty directories.

Fixes <http://bugs.gnu.org/21280>.
Reported by Leo Famulari <leo@famulari.name>.

* tests/nar.scm (file-tree-equal?): Use #t as the initial result.  Btrfs would
  set nlink to 1 instead of 2 for an empty directory, thereby leading
  'file-tree-equal?' to return #f.

8 years agognu: ratpoison: Clean definition.
Mathieu Lirzin [Thu, 6 Aug 2015 16:02:59 +0000 (18:02 +0200)]
gnu: ratpoison: Clean definition.

* gnu/packages/ratpoison.scm (ratpoison)[arguments]: Use modify-phases.
  [inputs]: Sort alphabetically.  Move ratpoison.desktop to ...
  [native-inputs]: ... here.

8 years agognu: Add Pure Data.
Ricardo Wurmus [Thu, 6 Aug 2015 17:18:54 +0000 (19:18 +0200)]
gnu: Add Pure Data.

* gnu/packages/music.scm (pd): New variable.