Commit Graph

20651 Commits

Author SHA1 Message Date
Ludovic Courtès 850edd77f9
pack: Add unit test.
* guix/scripts/pack.scm (self-contained-tarball): Add #:tar option.
[build](tar-supports-sort?): New variable.  Use it.
* tests/pack.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2017-03-14 23:18:32 +01:00
Ludovic Courtès 36f213fb70
pack: Use maximum compression; use '-n' for gzip.
* guix/scripts/pack.scm (<compressor>)[tar-option]: Remove.
[command]: New field.
(%compressors): Provide complete commands.  Use '-9' or equivalent for
each compressor; use '-n' for gzip.
(self-contained-tarball)[build]: Adjust accordingly.
2017-03-14 23:18:32 +01:00
Marius Bakke 796d2f2d0b
Revert "gnu: nss: Use 'modify-phases' syntax."
This reverts commit 87f1c7efc1.
2017-03-14 22:29:18 +01:00
Marius Bakke 031349075a
Revert "gnu: nss, nss-certs: Update to 3.29.3."
Hydra failed to build this version. See discussion at
https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00408.html.

This reverts commit 4f3dcdd99b.
2017-03-14 22:26:18 +01:00
Julien Lepiller edda7ebec1
gnu: Add ocaml-ppx-typerep-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-typerep-conv): New variable.
2017-03-14 22:09:56 +01:00
Julien Lepiller d2203187fe
gnu: Add ocaml-ppx-let.
* gnu/packages/ocaml.scm (ocaml-ppx-let): New variable.
2017-03-14 22:09:50 +01:00
Julien Lepiller 250ac438e7
gnu: Add ocaml-ppx-enumerate.
* gnu/packages/ocaml.scm (ocaml-ppx-enumerate): New variable.
2017-03-14 22:09:48 +01:00
Julien Lepiller a43160ee6f
gnu: Add ocaml-ppx-assert.
* gnu/packages/ocaml.scm (ocaml-ppx-assert): New variable.
2017-03-14 22:09:46 +01:00
Julien Lepiller 651563bd71
gnu: Add ocaml-ppx-here.
* gnu/packages/ocaml.scm (ocaml-ppx-here): New variable.
2017-03-14 22:09:44 +01:00
Julien Lepiller 14af90cfbd
gnu: Add ocaml-ppx-variants-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-variants-conv): New variable.
2017-03-14 22:09:41 +01:00
Julien Lepiller 334436f051
gnu: Add ocaml-ppx-sexp-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-sexp-conv): New variable.
2017-03-14 22:09:39 +01:00
Julien Lepiller d1d90df63b
gnu: Add ocaml-variantslib.
* gnu/packages/ocaml.scm (ocaml-variantslib): New variable.
2017-03-14 22:09:37 +01:00
Julien Lepiller ef0051b2c5
gnu: Add ocaml-typerep.
* gnu/packages/ocaml.scm (ocaml-typerep): New variable.
2017-03-14 22:09:33 +01:00
Julien Lepiller d19c1b4105
gnu: Add ocaml-sexplib.
* gnu/packages/ocaml.scm (ocaml-sexplib): New variable.
2017-03-14 22:09:14 +01:00
Marius Bakke 77c5d63f4d
gnu: libidn2: Create 'pkg-config' file.
* gnu/packages/libidn.scm (libidn2)[arguments]: Add phase creating libidn2.pc.
2017-03-14 21:29:27 +01:00
Kei Kebreau 9099a45792
gnu: asciidoc: Add XML and XSLT support.
* gnu/packages/documentation.scm (asciidoc)[arguments]: Add
set-xml-binary-paths phase.
[inputs]: Add libxml2 and libxslt.
2017-03-14 15:57:54 -04:00
Efraim Flashner 568004c3c9
gnu: nss: Build for aarch64-linux with 64-bit support.
* gnu/packages/gnuzilla.scm (nss)[arguments]: Set the environmental
variable 'USE_64' on aarch64-linux also.
2017-03-14 20:48:39 +02:00
Efraim Flashner 044006f3d2
gnu: mesa: Enable gallium tests.
* gnu/packages/gl.scm (mesa)[arguments]: Add configure flag to enable
the gallium tests.
2017-03-14 20:48:36 +02:00
Efraim Flashner 2a8b89c27f
gnu: mesa: Customize build flags based on architecture.
* gnu/packages/gl.scm (mesa)[arguments]: On armhf-linux and
aarch64-linux remove the i915 gallium driver and add freedreno and vc4.
2017-03-14 20:48:32 +02:00
Efraim Flashner c5e91014a2
gnu: mesa: Use llvm backend for Intel hardware only.
* gnu/packages/gl.scm (mesa)[inputs]: Only use llvm for i686-linux and
x86_64-linux.
[arguments]: Only pass '--enable-gallium-llvm' to 'configure on
i686-linux and x86_64-linux.
2017-03-14 20:48:27 +02:00
Ludovic Courtès 5895ec8aa2
pack: Add '--symlink'.
* guix/scripts/pack.scm (self-contained-tarball): Add #:symlinks
parameter.
[build](symlink->directives): New procedure
(directives): New variable.
Add call to 'evaluate-populate-directive'.  Pass the directories among
DIRECTIVES to 'tar'.
(%default-options): Add 'symlinks'.
(%options, show-help): Add '--symlink'.
(guix-pack): Honor it.
* gnu/build/install.scm (evaluate-populate-directive): Export.
* doc/guix.texi (Invoking guix pack): Document it.
2017-03-14 17:57:27 +01:00
Ludovic Courtès df12920744
nls: Mark (guix scripts pack) as translatable.
* po/guix/POTFILES.in: Add 'guix/scripts/pack.scm'.
2017-03-14 17:57:27 +01:00
Ludovic Courtès 6b63c43e06
pack: Add '--localstatedir' option.
* guix/scripts/pack.scm (self-contained-tarball): Add #:localstatedir?
parameter and honor it.
(%options, show-help): Add '--localstatedir'.
(guix-pack): Honor it.
* gnu/build/install.scm (populate-single-profile-directory): Add
 #:register? parameter and honor it.
* doc/guix.texi (Binary Installation): Use '--localstatedir' in
example.
(Invoking guix pack): Document it.
2017-03-14 17:57:27 +01:00
Leo Famulari 9b05ccfedd
gnu: linux-libre@4.1: Update to 4.1.39.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.39.
2017-03-14 12:55:20 -04:00
Leo Famulari 962cbb24c5
gnu: windowmaker: Use modify-phases syntax.
* gnu/packages/gnustep.scm (windowmaker)[arguments]: Use modify-phases.
2017-03-14 12:10:16 -04:00
Leo Famulari 8cac5bca12
gnu: windowmaker: Update to 0.95.8.
* gnu/packages/gnustep.scm (windowmaker): Update to 0.95.8.
2017-03-14 12:10:12 -04:00
Efraim Flashner d779305db0
gnu: aria2: Update to 1.31.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.31.0.
2017-03-14 15:05:27 +02:00
Ludovic Courtès 3b2dc9edcd
upstream: Avoid '_' as a pattern variable in 'match'.
* guix/upstream.scm (lookup-updater): Don't use '_' as a pattern
variable.
2017-03-14 11:19:21 +01:00
Ludovic Courtès 28958b646f
gnu: python-parsedatetime: Update to 2.3.
Version 2.1 was apparently time-sensitive and started failing like this:

  ======================================================================
  FAIL: testFloat (tests.TestDelta.test)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 64, in testFloat
      self.cal.parse('1.4 months ago', self.source), months=-1.4)
    File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 37, in assertDelta
      self.assertTrue(diff < 0.05, '%s is not less than 0.05' % diff)
  AssertionError: 0.0666666666667 is not less than 0.05

  ----------------------------------------------------------------------

* gnu/packages/python.scm (python-parsedatetime): Update to 2.3.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-RUNNER.
[propagated-inputs]: New field.
2017-03-14 11:18:16 +01:00
ng0 a4651f6411
gnu: Add dovecot-libsodium-plugin.
* gnu/packages/mail.scm (dovecot-libsodium-plugin): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-14 10:28:57 +01:00
ng0 944a5cdd0d
gnu: Add dovecot-trees.
* gnu/packages/mail.scm (dovecot-trees): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-03-14 10:28:57 +01:00
Ludovic Courtès ae196fa349
build: On 2.2, build package files with almost no optimizations.
* build-aux/compile-all.scm (%default-optimizations)
(%lightweight-optimizations): New variables.
(optimization-options): New procedure.
(compile-file*): Use it.
2017-03-14 10:28:57 +01:00
Leo Famulari 49c2a46e74
gnu: python@2.7: Update to 2.7.13
* gnu/packages/python.scm (python-2.7): Update to 2.7.13.
2017-03-14 02:45:23 -04:00
Leo Famulari dc5cec21f2
gnu: python@2.7: Fix getentropy() calls on kernels < 3.17.
* gnu/packages/patches/python-2.7-getentropy-on-old-kernels.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-2.7)[source]: Use it.
2017-03-14 02:45:23 -04:00
Leo Famulari a70782d37b
gnu: wireless-regdb: Update to 2017.03.07.
* gnu/packages/linux.scm (wireless-regdb): Update to 2017.03.07.
2017-03-14 01:58:35 -04:00
Ludovic Courtès 0f11f64022
gnu: guile-cairo: Honor the Guile effective version.
* gnu/packages/gtk.scm (guile-cairo)[arguments]: Add #:modules.
Get the effective version of Guile and use that in installation
directory names.
2017-03-13 22:26:54 +01:00
Ludovic Courtès b97438650d
gnu: guile-cairo: Use 'modify-phases'.
* gnu/packages/gtk.scm (guile-cairo)[arguments]: Use 'modify-phases'.
2017-03-13 22:18:13 +01:00
Efraim Flashner 3f9543aee1
Merge remote-tracking branch 'origin/master' into core-updates 2017-03-13 23:08:49 +02:00
Ludovic Courtès b111bceecc
download: Export '%x509-certificate-directory'.
* guix/build/download.scm (%x509-certificate-directory): Export, as
expected by (guix scripts pull) since commit
7e81d699de.
2017-03-13 21:52:38 +01:00
Ludovic Courtès 12773de3e7
gnu: Add guile2.2-lib.
* gnu/packages/guile.scm (guile2.2-lib): New variable.
2017-03-13 21:52:38 +01:00
Efraim Flashner 864a9590ad
gnu: luajit: Update to 2.1.0-beta2.
* gnu/packages/lua.scm (luajit): Update to 2.1.0-beta2.
2017-03-13 21:47:30 +02:00
Leo Famulari 7cb68a3cb3
gnu: Remove python-3.4.
* gnu/packages/python.scm (python-3.4): Remove variable.
* gnu/packages/patches/python-3.4-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-03-13 15:33:54 -04:00
humanitiesNerd a71c863834
gnu: Add python-flask-login.
* gnu/packages/python.scm (python-flask-login, python2-flask-login): New
variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-13 19:36:56 +01:00
humanitiesNerd 78c5566365
gnu: Add python-flask-htmlmin.
* gnu/packages/python.scm (python-flask-htmlmin, python2-flask-htmlmin): New
variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-13 19:36:55 +01:00
humanitiesNerd 35db2d3cb7
gnu: Add python-htmlmin.
* gnu/packages/python.scm (python-htmlmin, python2-htmlmin): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-03-13 19:36:54 +01:00
Marius Bakke 1bbbb0b4af
gnu: diffoscope: Update to 78.
* gnu/packages/package-management.scm (diffoscope): Update to 78.
2017-03-13 19:16:19 +01:00
Marius Bakke 8298df96ac
gnu: Add minizip.
* gnu/packages/compression.scm (minizip): New variable.
2017-03-13 19:16:19 +01:00
Marius Bakke dd8ecb386c
gnu: notmuch: Update to 0.24.
* gnu/packages/mail.scm (notmuch, python-notmuch, python2-notmuch): Update to
0.24.
2017-03-13 18:21:23 +01:00
Marius Bakke 17fb6fb105
gnu: xf86-video-intel: Update to 2.99.917-4-7e9e92c.
* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.99.917-4-7e9e92c.
2017-03-13 18:21:23 +01:00
Marius Bakke ca453df7c8
gnu: xf86-video-nouveau: Update to 1.0.14.
* gnu/packages/xorg.scm (xf86-video-nouveau): Update to 1.0.14.
2017-03-13 18:21:22 +01:00