Commit Graph

19078 Commits

Author SHA1 Message Date
Ludovic Courtès 608e42e7c9
build: Prefer Guile 2.2 over 2.0.
* configure.ac: In 'GUILE_PKG', prefer 2.2 over 2.0.  Remove warning
about 2.2 not being fully supported.
* doc/guix.texi (Requirements): Mention Guile 2.2.x.
2017-03-15 15:19:54 +01:00
Ludovic Courtès 13159c68ef
tests: Expect less accurate location info in 2.2.0.
* tests/guix-system.sh: Work around inaccurate location info in 2.2.0.
2017-03-15 15:19:54 +01:00
Ludovic Courtès a9a0227c01
store: Adjust UTF-8 test to Guile 2.2.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"): On
Guile 2.2, expect REPLACEMENT CHARACTER instead of '?'.
2017-03-15 15:19:53 +01:00
Ludovic Courtès 70dfdd501a
syscalls: Adjust 'clone' to Guile 2.2.
Before that, something like:

  (call-with-container
    (lambda ()
      (match (primitive-fork)
        …)))

would hang in 'primitive-fork' as the child process (the one started in
the container) would try to pthread_join the finalization thread in
'stop_finalization_thread' in libguile, not knowing that this thread is
nonexistent.

* guix/build/syscalls.scm (%set-automatic-finalization-enabled?!): New
procedure.
(without-automatic-finalization): New macro.
(clone): Wrap PROC call in 'without-automatic-finalization'.
2017-03-15 15:19:53 +01:00
Ludovic Courtès 81a0f1cdf1
zlib: Don't rely on EBADF being ignored by 'fport_close'.
In 2.2, 'fport_close' no longer swallows EBADF and instead raises a
'system-error' for this.  This commit adjusts for 2.2.

* guix/zlib.scm (close-procedure): Remove.
(make-gzip-input-port): Use 'port->fdes' instead of 'fileno'.
Use 'gzclose' instead of 'close-procedure'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Don't check whether
PARENT is closed using 'port-closed?'.  Instead, use 'seek' on the
underlying FD and check for EBADF.
2017-03-15 15:19:53 +01:00
Ludovic Courtès bc551cf32b
maint: Mention guix-patches@gnu.org in 'HACKING'.
Fixes <http://bugs.gnu.org/25899>.

* HACKING: Mention guix-patches@gnu.org.
2017-03-15 15:19:53 +01:00
Marius Bakke bd102157a1
gnu: mariadb: Update to 10.1.22 [fixes CVE-2017-3302 and CVE-2017-3313].
* gnu/packages/databases.scm (mariadb): Update to 10.1.22.
2017-03-15 15:08:31 +01:00
Efraim Flashner 27bf00e691
gnu: python-waf: Update to 1.9.8.
* gnu/packages/python.scm (python-waf, python2-waf): Update to 1.9.8.
[home-page]: Use https.
2017-03-15 13:08:56 +02:00
Tobias Geerinckx-Rice 283234a309
gnu: direnv: Update to 2.11.3.
* gnu/packages/shellutils.scm (direnv): Update to 2.11.3.
2017-03-15 03:45:57 +01:00
Tobias Geerinckx-Rice 68c10f31f9
gnu: conky: Update to 1.10.6.
* gnu/packages/conky.scm (conky): Update to 1.10.6.
2017-03-15 03:45:56 +01:00
Tobias Geerinckx-Rice 708e76287c
gnu: obs: Update to 18.0.1.
* gnu/packages/video.scm (obs): Update to 18.0.1.
2017-03-15 03:45:56 +01:00
Tobias Geerinckx-Rice 17753e6edb
gnu: youtube-dl: Update to 2017.03.15.
* gnu/packages/video.scm (youtube-dl): Update to 2017.03.15.
2017-03-15 03:45:55 +01:00
Tobias Geerinckx-Rice a988cbb766
gnu: stress-make: Fix description.
* gnu/packages/debug.scm (stress-make)[description]: Fix typo.
Avoid ambiguous use of ‘in order’.
2017-03-15 03:45:55 +01:00
Tobias Geerinckx-Rice d540156c69
gnu: znc: Update to 1.6.5.
* gnu/packages/messaging.scm (znc): Update to 1.6.5.
2017-03-15 03:43:21 +01:00
Tobias Geerinckx-Rice 6d57723ac8
gnu: grue-hunter: Correctly install documentation.
* gnu/packages/games.scm (grue-hunter)[arguments]: Install and populate
‘/share/doc/grue-hunter’ as a directory, not a plain file.
2017-03-15 01:10:31 +01:00
Tobias Geerinckx-Rice b2d748edff
gnu: samtools: End installation phases with truth.
* gnu/packages/bioinformatics.scm (samtools, samtools-0.1)[arguments]:
Return #T instead of the undefined results of COPY-FILE or INSTALL-FILE.
2017-03-15 01:10:30 +01:00
Leo Famulari 35dcfed370
gnu: w3m: Update to 0.5.3+git20170102 [security fixes].
See 'NEWS' and 'ChangeLog' in the source distribution for more
information about the security-related bug fixes.

* gnu/packages/w3m.scm (w3m): Update to 0.5.3+git20170102.
2017-03-14 18:26:28 -04:00
Leo Famulari 2eab5db300
Revert "gnu: gitolite: Fix shebangs in hooks."
This change embedded store references in the shebangs of scripts that
were meant to be copied out of the store. Those scripts would break when
the interpreters expected by the shebangs were garbage collected.

<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25966#28>

This reverts commit d0c16adb19.
2017-03-14 18:26:28 -04:00
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
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
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 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
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