Commit Graph

20279 Commits

Author SHA1 Message Date
Ludovic Courtès 9231ef12f2
derivations: Restore UTF-8 encoding of build scripts.
Reported by Mark H Weaver <mhw@netris.org>
at <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00457.html>.

* guix/derivations.scm (build-expression->derivation): Use a string
output port for the expression.  This reverts part of
2dce88d5bb.
* tests/derivations.scm ("build-expression->derivation and builder
encoding"): New test.
2017-04-21 22:45:29 +02:00
Leo Famulari 0a3bed8819
gnu: libsodium: Update to 1.0.12.
* gnu/packages/crypto.scm (libsodium): Update to 1.0.12.
2017-04-21 16:37:37 -04:00
nee dd37a545f6
gnu: Add crawl.
* gnu/packages/games.scm (crawl): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-22 01:47:46 +05:30
Corentin Bocquillon 9d62551216
gnu: Add libbson.
* gnu/packages/serialization.scm (libbson): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-21 15:57:52 -04:00
Leo Famulari eeaea41236
gnu: mutt: Update to 1.8.2.
* gnu/packages/mail.scm (mutt): Update to 1.8.2.
2017-04-21 15:24:11 -04:00
Leo Famulari 324faf82c4
gnu: neomutt: Don't rewrite the source file-name.
* gnu/packages/mail.scm (neomutt)[file-name]: Remove field.
2017-04-21 15:21:27 -04:00
ng0 aa20b004d5
gnu: neomutt: Update to 20170421.
* gnu/packages/mail.scm (neomutt): Update to 20170421.
[native-inputs]: Add 'gettext-minimal'.
[description]: Clarify the state of neomutt as it is now a microfork of mutt.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-21 15:21:26 -04:00
Clément Lassieur 6e75740f89
gnu: icecat: Fix GTK 3 file chooser crash.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add a 'wrap-program' phase to
set XDG_DATA_DIRS.
2017-04-21 21:05:28 +02:00
nee 4ee81d3794
gnu: Add mcomix.
* gnu/packages/image-viewers.scm (mcomix): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-21 23:21:48 +05:30
Ludovic Courtès 285f63e805
store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'.
This allows 'guix' commands to talk to a remote store over SSH.

* guix/store.scm (connect-to-daemon)[connect]: Call 'resolve-interface'
for unknown URI schemes.
* guix/store/ssh.scm: New file.
* Makefile.am (MODULES): Add it.
* doc/guix.texi (The Store): Document it.  Mark remote access as
experimental.
2017-04-21 19:17:36 +02:00
Ludovic Courtès e537833726
ssh: Decompose 'connect-to-remote-daemon'.
* guix/ssh.scm (remote-daemon-channel): New procedure.
(connect-to-remote-daemon): Implement in terms of it.
2017-04-21 19:17:36 +02:00
Ludovic Courtès 615c5298f7
ssh: Move 'open-ssh-session' to (guix ssh).
* guix/scripts/copy.scm (%compression, open-ssh-session): Move to...
* guix/ssh.scm: ... here.  Use '&message' conditions instead of calling
'leave'.
2017-04-21 19:17:34 +02:00
Ludovic Courtès ba97e454bf
offload: Avoid using '_' as a 'match' pattern.
* guix/scripts/offload.scm (host-key->type+key, machine-load)
(process-request, guix-offload): Do not use '_' as a 'match' pattern.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 3dff90ce34
store: Add support for remote connections via 'guix://' URIs.
* guix/store.scm (open-inet-socket): New procedure.
(connect-to-daemon): Support the 'guix' URI scheme.
* doc/guix.texi (The Store): Document it.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 3b5cd17a97
store: Add 'system-error-to-connection-error' macro.
* guix/store.scm (system-error-to-connection-error): New macro.
(open-unix-domain-socket): Use it instead of 'catch'.
2017-04-21 17:23:37 +02:00
Ludovic Courtès 1397b422e2
store: 'GUIX_DAEMON_SOCKET' can now be a URI.
* guix/store.scm (%daemon-socket-file): Rename to...
(%daemon-socket-uri): ... this.
(connect-to-daemon): New procedure.
(open-connection): Rename 'file' to 'uri'.  Use 'connect-to-daemon'
instead of 'open-unix-domain-socket'.
* guix/tests.scm (open-connection-for-tests): Rename 'file' to 'uri'.
* tests/guix-build.sh: Add tests.
* tests/store.scm ("open-connection with file:// URI"): New tests.
2017-04-21 17:23:37 +02:00
Andy Wingo 031e6087c4
gnu: guile: Update to 2.2.2.
* gnu/packages/guile.scm (guile-2.2): Update to 2.2.2.
2017-04-21 16:58:13 +02:00
Marius Bakke 1aa78816f9
gnu: imlib2: Update to 1.4.10.
* gnu/packages/image.scm (imlib2): Update to 1.4.10.
2017-04-21 15:36:37 +02:00
Marius Bakke b5ceea9f0d
gnu: sdl-gfx: Update to 2.0.26.
* gnu/packages/sdl.scm (sdl-gfx): Update to 2.0.26.
2017-04-21 15:36:37 +02:00
Marius Bakke 80420acb5e
gnu: portaudio: Update to 190600.20161030.
* gnu/packages/audio.scm (portaudio): Update to 190600.20161030.
* gnu/packages/patches/portaudio-audacity-compat.patch: Adjust line endings.
2017-04-21 15:36:37 +02:00
Marius Bakke eb3574fb7d
gnu: soxr: Update to 0.1.2.
* gnu/packages/audio.scm (soxr): Update to 0.1.2.
2017-04-21 15:36:37 +02:00
Marius Bakke 833df99d62
gnu: python-pyopenssl: Update to 17.0.0.
* gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl): Update to 17.0.0.
[native-inputs]: Change PYTHON-PYTEST to PYTHON-PYTEST-3.0.
* gnu/packages/patches/python-pyopenssl-skip-network-test.patch: Adjust.
2017-04-21 15:36:36 +02:00
Ben Woodcroft a7d12a9e71
gnu: proteinortho: Update to 5.16.
* gnu/packages/bioinformatics.scm (proteinortho): Update to 5.16.
2017-04-21 23:03:56 +10:00
Ben Woodcroft 37199768e8
gnu: diamond: Update to 0.8.38.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.38.
2017-04-21 23:03:55 +10:00
Tobias Geerinckx-Rice 8a6f168c48
gnu: miniupnpc: Use @dfn mark-up.
gnu/packages/upnp.scm (miniupnpc)[description]: Use @dfn.
2017-04-21 14:46:49 +02:00
Tobias Geerinckx-Rice 05b1feb92a
gnu: miniupnpc: Update to 2.0.20170421.
gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20170421.
2017-04-21 14:46:15 +02:00
Tobias Geerinckx-Rice ef27b4345f
gnu: fortify-headers: Use @code mark-up.
* gnu/packages/suckless.scm (fortify-headers)[description]: Use @code.
2017-04-21 12:32:54 +02:00
Tobias Geerinckx-Rice fea8b72989
gnu: Use HTTPS on 2f30.org.
* gnu/packages/suckless.scm (spoon, xbattmon, wificurse, skroll, sbm)
(prout, noice, fortify-headers, colors)[source, home-page]: Use HTTPS.
(human)[home-page]: Likewise.
* gnu/packages/version-control.scm (stagit)[source, home-page]: Likewise.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 9006f8bc59
gnu: version-control: Use HTTPS where possible.
* gnu/packages/version-control.scm (git)[home-page]: Use HTTPS.
(cvs)[source, home-page]: Likewise.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 79990ce31f
gnu: git-crypt: Double-space Texinfo mark-up.
* gnu/packages/version-control.scm (git-crypt)[description]: Use two spaces
where one would suffice.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 0aea268ae1
gnu: diffstat: Use @command mark-up.
* gnu/packages/version-control.scm (diffstat)[synopsis, description]:
Use @command.
2017-04-21 12:32:53 +02:00
Tobias Geerinckx-Rice 86bc52f9ba
gnu: diffstat: Update to 1.61.
* gnu/packages/version-control.scm (diffstat): Update to 1.61.
[source]: Add http://invisible-mirror.net mirror.
2017-04-21 12:32:52 +02:00
Tobias Geerinckx-Rice 35ad6b2e95
gnu: neon: Use @enumerate mark-up.
* gnu/packages/version-control.scm (neon)[description]: Use @enumerate.
2017-04-21 12:32:52 +02:00
Tobias Geerinckx-Rice 51eb4df69a
gnu: neon: Update to 0.30.2.
* gnu/packages/version-control.scm (neon): Update to 0.30.2.
2017-04-21 12:32:24 +02:00
Vasile Dumitrascu 136968fbde
gnu: cgit: Update to 1.1.
* gnu/packages/version-control.scm (cgit): Update to 1.1.
(git@2.9): Rename to...
(git@2.10): ... this.  Update to 2.10.
(cgit)[inputs]: Replace git@2.9 with git@2.10.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-21 10:54:23 +02:00
Vasile Dumitrascu 9b323c25d0
gnu: tmux: Update to 2.4.
* gnu/packages/tmux.scm (tmux): Update to 2.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-21 10:53:07 +02:00
Danny Milosavljevic f0eb0a4bb1
gnu: cargo: Simplify unpacking.
Fixes <http://bugs.gnu.org/26166>.

* gnu/packages/rust.scm (cargo)
[arguments]<:modules>: Add (srfi srfi-1).
[arguments]<:phases>: Adapt 'unpack-submodule-sources' phase to more clearly
seperate the tasks it does.  Add helper procedures 'unpack', 'touch',
'install-rust-library'.
[arguments]<:phases>: Rename 'set-cargo-home' to 'set-environment-up' and
make it use official cargo directories.
[arguments]<:phases>: Remove 'configure' phase.
2017-04-21 10:18:23 +02:00
Mark H Weaver 002c3e6dd6
gnu: icecat: Update to 52.0.2-gnu1; add fixes from ESR 52.1.
* gnu/packages/gnuzilla.scm (icecat): Update to 52.0.2-gnu1.
[source]: Remove all patches except "icecat-avoid-bundled-libraries.patch".
Add selected fixes from the upstream mozilla-esr52 repository, up to 52.1.
Remove "dom/devicestorage" in the snippet.
[inputs]: Remove gstreamer and gst-plugins-base.  Add ffmpeg and gtk+3.  Move
yasm to native-inputs.
[native-inputs]: Add autoconf-2.13 and yasm.
[arguments]: In configure-flags, remove the following switches which are no
longer accepted: --enable-{pango,svg,canvas,mathml,gstreamer=1.0} and
"--disable-gnomevfs".  Use "--enable-default-toolkit=cairo-gtk3" to switch to
Gtk+3.  Remove the 'remove-h264parse-from-blacklist' phase.  Adapt the
'arrange-to-link-libxul-with-libraries-it-might-dlopen' phase as needed.  In
the 'configure' phase, set the AUTOCONF environment variable.
(mozilla-patch): Update the URL pattern to fetch from the mozilla-esr52
repository.
* gnu/packages/patches/icecat-avoid-bundled-libraries.patch: Adapt to mozilla-esr52.
* gnu/packages/patches/icecat-binutils.patch: Remove file.
* gnu/packages/patches/icecat-bug-1299500-pt10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Remove "icecat-binutils.patch".
Add "icecat-bug-1299500-pt10.patch".
2017-04-21 00:04:45 -04:00
Mark H Weaver fe18e2571c
gnu: Add autoconf@2.13.
* gnu/packages/autotools.scm (autoconf-2.13): New variable.
2017-04-21 00:04:43 -04:00
Mark H Weaver 6be43d95b5
gnu: nss: Disable long b64 tests.
Suggested by Marius Bakke <mbakke@fastmail.com> in
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00440.html>.

* gnu/packages/patches/nss-disable-long-b64-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss)[source]: Add patch.
2017-04-21 00:04:42 -04:00
Mark H Weaver 1aa9e42214
gnu: nss: Update to 3.30.2 [fixes CVE-2017-5461].
* gnu/packages/gnuzilla.scm (nss): Update to 3.30.2.
2017-04-21 00:04:40 -04:00
Mark H Weaver bab9a8ba0f
gnu: graphite2: Add fixes for CVE-2017-5436 and other bugs.
* gnu/packages/fontutils.scm (graphite2)[replacement]: New field.
(graphite2/fixed): New variable.
* gnu/packages/patches/graphite2-CVE-2017-5436.patch,
gnu/packages/patches/graphite2-check-code-point-limit.patch,
gnu/packages/patches/graphite2-fix-32-bit-wrap-arounds.patch,
gnu/packages/patches/graphite2-non-linear-classes-even-number.patch:
New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2017-04-21 00:04:34 -04:00
Eric Bavier f920e79426
gnu: hypre: Delete unused patches.
* gnu/packages/patches/hypre-doc-tables.patch,
gnu/packages/patches/hypre-ldflags.patch: Delete.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-04-20 22:06:00 -05:00
Ludovic Courtès 2dce88d5bb
derivations: Avoid string-to-bytevector conversions.
On Guile 2.2.1, this yields a 5% speedup on:

  guix build libreoffice xmonad certbot -n --no-substitutes --no-build-hook

* guix/derivations.scm (derivation->string): Rename to...
(derivation->bytevector): ... this.  Use 'open-bytevector-output-port'
instead of 'call-with-output-string'.
(derivation-hash): Remove string-to-bytevector conversion before
'sha256' call.
(build-expression->derivation): Use 'add-data-to-store' and an
bytevector port instead of a string port for the expression.
2017-04-20 23:35:55 +02:00
Marius Bakke 358b10b22b
gnu: ceph: Disable SSE3 instructions.
Some early 64-bit AMD processors do not support this instruction set.

* gnu/packages/patches/ceph-disable-cpu-optimizations.patch: Disable SSE3.
2017-04-20 20:28:15 +02:00
Marius Bakke daaec43120
gnu: nss-certs: Update to 3.30.2.
* gnu/packages/certs.scm (nss-certs): Update to 3.30.2.
2017-04-20 20:28:15 +02:00
Leo Famulari 45636d08eb
gnu: gst-plugins-base: Remove dead comment.
This is a followup to 1d8e727357.

* gnu/packages/gstreamer.scm (gst-plugins-base): Remove dead comment.
2017-04-20 14:23:35 -04:00
Leo Famulari dfa663c963
gnu: qemu: Update to 2.9.0 [security fixes].
Fixes CVE-2017-{5857,5973,5987,6058,6505,7377,7471,7718}.

* gnu/packages/qemu.scm (qemu): Update to 2.9.0.
[source]: Remove obsolete patches.
* gnu/packages/patches/qemu-CVE-2016-10155.patch,
gnu/packages/patches/qemu-CVE-2017-5525.patch,
gnu/packages/patches/qemu-CVE-2017-5526.patch,
gnu/packages/patches/qemu-CVE-2017-5552.patch,
gnu/packages/patches/qemu-CVE-2017-5578.patch,
gnu/packages/patches/qemu-CVE-2017-5579.patch,
gnu/packages/patches/qemu-CVE-2017-5856.patch,
gnu/packages/patches/qemu-CVE-2017-5898.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2017-04-20 14:21:31 -04:00
Marius Bakke 7252964244
gnu: tuxpaint: Disable parallel build.
* gnu/packages/games.scm (tuxpaint)[arguments]<#:parallel-build?>: New parameter.
2017-04-20 19:31:45 +02:00
Ludovic Courtès 1f49cd546e
gnu: xorg-server: Hide the for-test variant.
* gnu/packages/xorg.scm (xorg-server-1.19.2): Wrap in 'hidden-package'
call.
2017-04-20 18:37:00 +02:00