Commit graph

4628 commits

Author SHA1 Message Date
Ludovic Courtès
2a8d44015f gnu: libxml2: Add search path specification.
* gnu/packages/xml.scm (libxml2)[native-search-paths, search-paths]: New
  fields.
* gnu/packages/gnome.scm (gnome-doc-utils)[arguments]: Remove.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Remove settings for
  'XML_CATALOG_FILES' from 'configure' phase.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
2014-12-27 23:54:23 +01:00
Ludovic Courtès
cc9a5c1454 guix package: Use 'search-path-as-list' instead of custom code.
This will handle the new 'file-type' and 'file-pattern' fields correctly.

* guix/scripts/package.scm (search-path-environment-variables)[search-path-definition]:
  Rewrite in terms of 'search-path-as-list'.
2014-12-27 23:46:10 +01:00
Ludovic Courtès
bd2fc4d813 utils: Export 'search-path-as-list'.
* guix/build/utils.scm (search-path-as-list): Make public.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2014-12-27 23:24:35 +01:00
Ludovic Courtès
7b21fe5385 packages: Add 'file-pattern' field to 'search-path-specification'.
* guix/packages.scm (<search-path-specification>)[file-pattern]: New
  field.
  (search-path-specification->sexp): Honor it.
2014-12-27 23:22:55 +01:00
Ludovic Courtès
7ec02d374d build-support/gnu: Add support for file patterns in search paths.
* guix/build/utils.scm (search-path-as-list): Add #:pattern parameter
  and honor it.
  (set-path-environment-variable): Likewise, and pass it to
  'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add PATTERN slot.
* guix/build/gnu-build-system.scm (set-paths): Adjust accordingly.
2014-12-27 23:22:55 +01:00
Ludovic Courtès
af07095516 packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.

* guix/packages.scm (<search-path-specification>): Rename 'directories'
  field to 'files'.  Add 'file-type'.
  (search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
  gnu/packages/cross-base.scm, gnu/packages/games.scm,
  gnu/packages/gcc.scm, gnu/packages/glib.scm,
  gnu/packages/guile.scm, gnu/packages/man.scm,
  gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
  gnu/packages/python.scm, gnu/packages/ruby.scm,
  gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
  'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:49 +01:00
Ludovic Courtès
856ae5e6c7 build-system/gnu: Strip with '--strip-all' instead of '--strip-debug'.
This saves 19% on the 'bin' directory of Coreutils, and certainly
helpful for things like Git's 'libexec' directory.

* guix/build-system/gnu.scm (gnu-build): Change default value for
  #:strip-flags to '("--strip-all").
* guix/build/gnu-build-system.scm (strip): Ditto.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add #:strip-flags.
2014-12-27 19:20:18 +01:00
Mark H Weaver
9a224ac2e3 gnu: Use patch --force instead of --batch.
* gnu/packages/linux.scm (linux-libre, net-tools): Pass "--force" to patch,
  instead of "--batch".
* gnu/packages/mit-krb5.scm (mit-krb5): Ditto.
2014-12-27 08:45:17 -05:00
Ludovic Courtès
6aa47e3883 build-system/gnu: Add support for non-directory search paths.
Partly fixes <http://bugs.gnu.org/18033>.

* guix/build/utils.scm (search-path-as-list): Rename 'sub-directories'
  parameter to 'files'.  Add #:type parameter and honor it.
  (set-path-environment-variable): Likewise.  Pass #:type to
  'search-path-as-list'.
* guix/packages.scm (search-path-specification->sexp): Add 'directory as
  the last item of the tuple.
* guix/build/gnu-build-system.scm (set-paths): Add 'type' to search-path
  pattern.  Pass #:type to 'set-path-environment-variable'.
2014-12-27 12:25:31 +01:00
Ludovic Courtès
8c89f514bf gnu: gettext: Update to 0.19.4.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.4.
2014-12-27 12:25:31 +01:00
Ludovic Courtès
84c84ce7bf gnu: binutils: Update to 2.25.
* gnu/packages/base.scm (binutils): Update to 2.25.
2014-12-27 12:25:31 +01:00
Mark H Weaver
6ac8aa3d75 gnu: m4: Remove already-applied patch.
* gnu/packages/patches/m4-readlink-EINVAL.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/m4.scm (m4): Remove patch.
2014-12-26 20:26:10 -05:00
Ludovic Courtès
0d12bc744e gnu: gcc-4.8: Update to 4.8.4.
* gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.4.  Remove patch.
* gnu/packages/patches/gcc-fix-pr61801.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-12-27 00:17:43 +01:00
Ludovic Courtès
763a401ed1 Merge branch 'master' into core-updates 2014-12-26 23:31:04 +01:00
Ludovic Courtès
9426440781 packages: Apply patches with "patch --force".
Fixes <http://bugs.gnu.org/19402>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/packages.scm (patch-and-repack): Change "--batch" to "--force".
2014-12-26 23:30:29 +01:00
Ludovic Courtès
bf7688fe4d nls: Add French translation for packages. 2014-12-26 23:28:13 +01:00
Ricardo Wurmus
be7134bf75 gnu: Add pysam.
* gnu/packages/python.scm (python-pysam, python2-pysam): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26 23:28:13 +01:00
Ricardo Wurmus
ee97be9fb4 gnu: Add fastjar.
* gnu/packages/compression.scm (fastjar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-26 23:28:13 +01:00
Mark H Weaver
fb916f4dd6 gnu: qemu: Update to 2.2.0.
* gnu/packages/qemu.scm (qemu): Update to 2.2.0.
2014-12-26 09:01:15 -05:00
Mark H Weaver
53a427cf20 gnu: ntp: Update to 4.2.8.
* gnu/packages/ntp.scm (ntp): Update to 4.2.8.  Add openssl to inputs.
  Add pkg-config to native-inputs.  Change source URI to archive.ntp.org.
2014-12-25 00:19:36 -05:00
Ludovic Courtès
764c077b30 Revert "gnu: matplotlib: Comment out python2-matplotlib."
This reverts commit afc720d34c.
2014-12-23 19:17:17 +01:00
Ludovic Courtès
78a2745370 build-system/python: Fix 'package-with-explicit-python'.
Reported by Federico Beffa <beffa@ieee.org>
and Eric Bavier <ericbavier@gmail.com>.

* guix/build-system/python.scm (package-with-explicit-python): Do
  nothing when P's build system is not PYTHON-BUILD-SYSTEM.
2014-12-23 19:14:52 +01:00
Federico Beffa
afc720d34c gnu: matplotlib: Comment out python2-matplotlib.
* gnu/packages/python.scm (python2-matplotlib, python2-scipy, python2-numpy):
  Comment out python2-matplotlib and the packages making use of it as the
  generation of the derivation of these packages takes very long.
2014-12-23 17:56:48 +01:00
Mark H Weaver
a193b8248b Optimize package-transitive-supported-systems.
* guix/packages.scm (first-value): Remove.
  (define-memoized/v): New macro.
  (package-transitive-supported-systems): Rewrite.
2014-12-21 20:12:18 -05:00
Ludovic Courtès
d95523fb8b packages: Sort Scheme file lists used by 'fold-packages'.
* gnu/packages.scm (scheme-files): Call 'sort' on result.
2014-12-21 12:29:14 +01:00
Mark H Weaver
ce44657aab Really remove the 'nix-upstream' submodule.
* nix-upstream: Remove subproject.
2014-12-20 15:02:26 -05:00
宋文武
eea3e54c59 gnu: Add xfce4-terminal.
* gnu/packages/xfce.scm (xfce4-terminal): New variable.
2014-12-20 13:06:01 +08:00
宋文武
ea57378f24 gnu: Add vte.
* gnu/packages/gnome.scm (vte, vte/gtk+-2): New variables.
2014-12-20 13:01:47 +08:00
宋文武
24d56899a1 services: xorg: Make SLiM sessions configurable.
* gnu/services/xorg.scm (%default-xsessions): New variable.
  (xsessions-directory): New procedure.
  (slim-service): Add #:sessions and #:auto-login-session parameters.
  [slim.cfg]: Honor #:sessions.
  (xinitrc): Adjust accordingly.
2014-12-20 11:12:00 +08:00
Ludovic Courtès
9ac97e83e9 Remove 'nix-upstream' submodule.
* nix/sync-with-upstream: Remove.
* bootstrap: Remove uses of 'git submodule' and 'sync-with-usptream'.
* .gitmodules: Remove.
2014-12-19 23:18:49 +01:00
Ludovic Courtès
36457566f9 Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
Ricardo Wurmus
2c7ee16720 gnu: Add bowtie
* gnu/packages/bioinformatics.scm (bowtie): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-19 18:50:28 +01:00
Ludovic Courtès
7f5c2a9cc1 services: static-networking-service: Switch to (guix build syscalls).
* gnu/services/networking.scm (static-networking-service): Remove
  #:inetutils parameter.  Rewrite using 'configure-network-interface'
  and 'set-network-interface-flags'.
2014-12-19 17:15:53 +01:00
Ludovic Courtès
c9bf64d6d7 syscalls: Add more procedures for network interfaces.
* guix/build/syscalls.scm (sizeof*, type-size, write-type, write-types,
  read-type, read-types, define-c-struct): New macros.
  (SIOCSIFFLAGS, SIOCGIFADDR, SIOCSIFADDR): New variables.
  (sockaddr-in, sockaddr-in6): New C structs.
  (write-socket-address!, read-socket-address,
  set-network-interface-flags, set-network-interface-address,
  network-interface-address, configure-network-interface): New
  procedures.
2014-12-19 17:15:53 +01:00
Ricardo Wurmus
cdae969ae5 gnu: Add Clone.
* gnu/packages/perl.scm (perl-clone): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-19 17:15:53 +01:00
Federico Beffa
9e0997230c gnu: cairocffi: Move to python module.
* gnu/packages/gtk.scm, gnu/packages/python.scm (python-cairocffi,
  python2-cairocffi): Move variables from gtk to python module to avoid
  circular dependency.

Reported by Mark H Weaver <mhw@netris.org>
2014-12-18 22:00:19 +01:00
Federico Beffa
25f9a068f2 gnu: matplotlib: Add gtk3 backends and optional dependency. Adjust inputs.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Add gtk3
  backends with the necessary inputs and a 'configure-environment' phase.  Add
  the optional 'python-pillow' dependency.  Move 'python-pyparsing' from
  'inputs' to 'propagated-inputs' as it is required at run time.
2014-12-18 17:58:10 +01:00
Federico Beffa
63cd6e5a95 gnu: Add cairocffi.
* gnu/packages/gtk.scm (python-cairocffi, python2-cairocffi): New variables.
2014-12-18 17:58:10 +01:00
Federico Beffa
6fa144692c gnu: Add xcffib
* gnu/packages/python.scm (python-xcffib, python2-xcffib): New variables.
2014-12-18 17:58:10 +01:00
Federico Beffa
6f8fe4b29e build/python-build-system: Fix easy-install.pth collisions.
* guix/build/python-build-system.scm (rename-pth-file): New rename-pth-file
  phase and corresponding function.
2014-12-18 17:58:10 +01:00
Ludovic Courtès
46a3e00b5b gnu: icecat: Build with PulseAudio support.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
  --enable-pulseaudio.
2014-12-17 14:06:59 +01:00
Jason Self
80db9915a0 gnu: linux-libre: Update to 3.18.1
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.1.
2014-12-17 04:30:52 -08:00
Ricardo Wurmus
7576cbd6da gnu: Add Test::Simple.
* gnu/packages/perl.scm (perl-test-simple): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus
0ad3969fcd gnu: Add Test::Deep.
* gnu/packages/perl.scm (perl-test-deep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus
9dc8a1577f gnu: Add Test::NoWarnings.
* gnu/packages/perl.scm (perl-test-nowarnings): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:28 +01:00
Ricardo Wurmus
ea0a52d7d6 gnu: Add Test::Tester.
* gnu/packages/perl.scm (perl-test-tester): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-17 00:11:27 +01:00
Federico Beffa
6a84316848 Revert "gnu: python-numpy-bootstrap: Reduce matrix size in failing test."
This reverts commit 31557440c2 as it did not
provide the desired effect.  The test is still failing.
2014-12-16 18:37:13 +01:00
Ricardo Wurmus
81de56479a gnu: Add bedtools
* gnu/packages/bioinformatics.scm (bedtools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00
Tomáš Čech
b336da21e9 gnu: tmux: Update to 1.9a.
* gnu/packages/tmux.scm (tmux): Update to 1.9a

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00
Ricardo Wurmus
f3cd952b45 gnu: samtools: disable tests for non-64-bit systems
* gnu/packages/bioinformatics.scm (samtools): disable tests for all non-64-bit
  systems because of an upstream bug in the test data.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-12-16 18:17:15 +01:00