jackhill/guix/guix.git
7 years agognu: Add the Hurd.
Manolis Ragkousis [Sat, 8 Apr 2017 13:58:04 +0000 (16:58 +0300)]
gnu: Add the Hurd.

* gnu/packages/hurd.scm (hurd): New variable.
* gnu/packages/patches/hurd-fix-eth-multiplexer-dependency.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agognu: hurd: Add hurd-source-url procedure.
Manolis Ragkousis [Sat, 8 Apr 2017 13:49:09 +0000 (16:49 +0300)]
gnu: hurd: Add hurd-source-url procedure.

* gnu/packages/hurd.scm (hurd-source-url): New procedure.
  (hurd-headers)[source]: Adjust accordingly.

7 years agosystem: Rename operating-system-parameters-file to operating-system-boot-parameters...
Danny Milosavljevic [Fri, 21 Apr 2017 02:21:21 +0000 (04:21 +0200)]
system: Rename operating-system-parameters-file to operating-system-boot-parameters-file.

* gnu/system.scm (operating-system-parameters-file): Rename to ...
(operating-system-boot-parameters-file): ... this.
(operating-system-directory-base-entries): Adapt call site.

7 years agosystem: Rename operating-system-kernel-arguments to operating-system-user-kernel...
Danny Milosavljevic [Fri, 21 Apr 2017 02:21:20 +0000 (04:21 +0200)]
system: Rename operating-system-kernel-arguments to operating-system-user-kernel-arguments.

* gnu/system.scm (operating-system-kernel-arguments): Rename to ...
(operating-system-user-kernel-arguments): ... this.
(<operating-system>): Adapt accordingly.
(operating-system-bootcfg): Adapt accordingly.
(operating-system-parameters-file): Adapt accordingly.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Adapt
accordingly.

7 years agognu: weechat: Update to 1.7.1.
Tobias Geerinckx-Rice [Sat, 22 Apr 2017 18:32:19 +0000 (20:32 +0200)]
gnu: weechat: Update to 1.7.1.

* gnu/packages/irc.scm (weechat): Update to 1.7.1.
[source, home-page]: Use HTTPS.

7 years agognu: weechat: Mention ‘IRC’.
Tobias Geerinckx-Rice [Sat, 22 Apr 2017 18:32:03 +0000 (20:32 +0200)]
gnu: weechat: Mention ‘IRC’.

* gnu/packages/irc.scm (weechat)[description]: Mention the search term
‘IRC’, split into paragraphs, and other small tweaks.

7 years agognu: hyperrogue: Update to 9.4g.
Kei Kebreau [Sat, 22 Apr 2017 17:57:55 +0000 (13:57 -0400)]
gnu: hyperrogue: Update to 9.4g.

* gnu/packages/games.scm (hyperrogue): Update to 9.4g.

7 years agognu: gnuplot: Update to 5.0.6.
Kei Kebreau [Sat, 22 Apr 2017 17:33:09 +0000 (13:33 -0400)]
gnu: gnuplot: Update to 5.0.6.

* gnu/packages/maths.scm (gnuplot): Update to 5.0.6.

7 years agocache: Work around 'time-monotonic' bug in Guile 2.2.2.
Ludovic Courtès [Sat, 22 Apr 2017 12:40:51 +0000 (14:40 +0200)]
cache: Work around 'time-monotonic' bug in Guile 2.2.2.

* guix/cache.scm (time-monotonic) [guile-2.2]: New variable.
* tests/cache.scm (time-monotonic) [guile-2.2]: Likewise.
* guix/build/download.scm (time-monotonic) [guile-2.2]: Adjust comment:
it's a 2.2.2 bug.

7 years agoderivations: Adjust builder encoding test.
Ludovic Courtès [Sat, 22 Apr 2017 12:05:38 +0000 (14:05 +0200)]
derivations: Adjust builder encoding test.

This is a followup to 9231ef12f2a595b8f1e677dbe50cc499555302b6.

* tests/derivations.scm ("build-expression->derivation and builder
encoding"): Set '%default-port-encoding' to "UTF-8".

7 years agognu: xf86-video-nouveau: Update to 1.0.15.
Marius Bakke [Sat, 22 Apr 2017 09:20:42 +0000 (11:20 +0200)]
gnu: xf86-video-nouveau: Update to 1.0.15.

* gnu/packages/xorg.scm (xf86-video-nouveau): Update to 1.0.15.
[home-page]: Use HTTPS.

7 years agognu: emacs: Update to 25.2.
Marius Bakke [Sat, 22 Apr 2017 09:39:47 +0000 (11:39 +0200)]
gnu: emacs: Update to 25.2.

* gnu/packages/emacs.scm (emacs, emacs-minimal, emacs-no-x,
emacs-no-x-toolkit): Update to 25.2.

7 years agognu: xdg-utils: Update to 1.1.1.
Marius Bakke [Sat, 8 Apr 2017 01:46:15 +0000 (03:46 +0200)]
gnu: xdg-utils: Update to 1.1.1.

* gnu/packages/freedesktop.scm (xdg-utils): Update to 1.1.1.
[source]: Adjust file name.
[native-inputs]: Add DOCBOOK-XSL, DOCBOOK-XML-4.1.2, LIBXSLT, W3M and XMLTO.
[arguments]<#:phases>: Add 'patch-hardcoded-paths' and 'locate-catalog-files'
phases. New parameter.
[home-page]: Update to new home.

7 years agognu: linux-libre: Update to 4.10.12.
Mark H Weaver [Sat, 22 Apr 2017 02:06:10 +0000 (22:06 -0400)]
gnu: linux-libre: Update to 4.10.12.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.10.12.
(%linux-libre-hash): Update hash.

7 years agognu: linux-libre@4.9: Update to 4.9.24.
Mark H Weaver [Sat, 22 Apr 2017 02:05:33 +0000 (22:05 -0400)]
gnu: linux-libre@4.9: Update to 4.9.24.

* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.24.

7 years agognu: linux-libre@4.4: Update to 4.4.63.
Mark H Weaver [Sat, 22 Apr 2017 02:04:48 +0000 (22:04 -0400)]
gnu: linux-libre@4.4: Update to 4.4.63.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.63.

7 years agognu: Add guile2.2-ssh.
Ludovic Courtès [Fri, 21 Apr 2017 23:18:07 +0000 (01:18 +0200)]
gnu: Add guile2.2-ssh.

* gnu/packages/ssh.scm (guile2.2-ssh): New variable.

7 years agodownload: Work around Guile 2.2 bug with 'time-monotonic' objects.
Ludovic Courtès [Fri, 21 Apr 2017 23:09:45 +0000 (01:09 +0200)]
download: Work around Guile 2.2 bug with 'time-monotonic' objects.

* guix/build/download.scm (time-monotonic) [guile-2.2]: New variable.

7 years agognu: Add policycoreutils.
Ricardo Wurmus [Fri, 14 Apr 2017 11:52:22 +0000 (13:52 +0200)]
gnu: Add policycoreutils.

* gnu/packages/selinux.scm (policycoreutils): New variable.

7 years agognu: Add python-setools.
Ricardo Wurmus [Wed, 19 Apr 2017 12:43:19 +0000 (14:43 +0200)]
gnu: Add python-setools.

* gnu/packages/selinux.scm (python-setools): New variable.

7 years agognu: Add python-ipy.
Ricardo Wurmus [Wed, 19 Apr 2017 12:42:24 +0000 (14:42 +0200)]
gnu: Add python-ipy.

* gnu/packages/networking.scm (python-ipy): New variable.

7 years agognu: Add python-sepolgen.
Ricardo Wurmus [Fri, 14 Apr 2017 11:48:36 +0000 (13:48 +0200)]
gnu: Add python-sepolgen.

* gnu/packages/selinux.scm (python-sepolgen): New variable.

7 years agognu: Add secilc.
Ricardo Wurmus [Fri, 14 Apr 2017 11:44:00 +0000 (13:44 +0200)]
gnu: Add secilc.

* gnu/packages/selinux.scm (secilc): New variable.

7 years agognu: Add libsemanage.
Ricardo Wurmus [Fri, 14 Apr 2017 11:41:34 +0000 (13:41 +0200)]
gnu: Add libsemanage.

* gnu/packages/selinux.scm (libsemanage): New variable.

7 years agognu: Add libselinux.
Ricardo Wurmus [Fri, 14 Apr 2017 09:47:32 +0000 (11:47 +0200)]
gnu: Add libselinux.

* gnu/packages/selinux.scm (libselinux): New variable.

7 years agognu: Add checkpolicy.
Ricardo Wurmus [Fri, 14 Apr 2017 09:45:15 +0000 (11:45 +0200)]
gnu: Add checkpolicy.

* gnu/packages/selinux.scm (checkpolicy): New variable.

7 years agognu: Add libsepol.
Ricardo Wurmus [Fri, 14 Apr 2017 09:37:58 +0000 (11:37 +0200)]
gnu: Add libsepol.

* gnu/packages/selinux.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

7 years agognu: ibus-libpinyin: Update to 1.9.0.
Ricardo Wurmus [Fri, 21 Apr 2017 22:08:59 +0000 (00:08 +0200)]
gnu: ibus-libpinyin: Update to 1.9.0.

* gnu/packages/ibus.scm (ibus-libpinyin): Update to 1.9.0.

7 years agognu: libpinyin: Adjust indentation.
Ricardo Wurmus [Fri, 21 Apr 2017 22:08:09 +0000 (00:08 +0200)]
gnu: libpinyin: Adjust indentation.

* gnu/packages/ibus.scm (libpinyin)[arguments]: Adjust indentation.

7 years agognu: libpinyin: Update to 2.0.0.
Ricardo Wurmus [Fri, 21 Apr 2017 22:07:46 +0000 (00:07 +0200)]
gnu: libpinyin: Update to 2.0.0.

* gnu/packages/ibus.scm (libpinyin): Update to 2.0.0.

7 years agognu: Remove unused patches.
Leo Famulari [Fri, 21 Apr 2017 22:00:04 +0000 (18:00 -0400)]
gnu: Remove unused patches.

* gnu/packages/patches/gcc-libiberty-printf-decl.patch,
gnu/packages/patches/grub-CVE-2015-8370.patch,
gnu/packages/patches/grub-freetype.patch,
gnu/packages/patches/grub-gets-undeclared.patch,
gnu/packages/patches/guile-arm-fixes.patch,
gnu/packages/patches/mplayer2-theora-fix.patch,
gnu/packages/patches/soprano-find-clucene.patch,
gnu/packages/patches/util-linux-CVE-2017-2616.patch,
gnu/packages/patches/xf86-video-intel-compat-api.patch,
gnu/packages/patches/xf86-video-intel-glibc-2.20.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

7 years agotests: Adjust to the addition of a new Coreutils version.
Ludovic Courtès [Fri, 21 Apr 2017 20:53:59 +0000 (22:53 +0200)]
tests: Adjust to the addition of a new Coreutils version.

* tests/scripts-build.scm ("options->transformation, with-input"): Use
'specification->package' rather than refer to Coreutils by its
variable.  This is a followup to e162050dfc0dee708a7ac5bfcf37d2afd6081604.

7 years agoderivations: Restore UTF-8 encoding of build scripts.
Ludovic Courtès [Fri, 21 Apr 2017 20:43:28 +0000 (22:43 +0200)]
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
2dce88d5bbe7a65e101c0734d1c6db44ecc8c299.
* tests/derivations.scm ("build-expression->derivation and builder
encoding"): New test.

7 years agognu: libsodium: Update to 1.0.12.
Leo Famulari [Fri, 21 Apr 2017 20:13:16 +0000 (16:13 -0400)]
gnu: libsodium: Update to 1.0.12.

* gnu/packages/crypto.scm (libsodium): Update to 1.0.12.

7 years agognu: Add crawl.
nee [Thu, 13 Apr 2017 20:45:18 +0000 (22:45 +0200)]
gnu: Add crawl.

* gnu/packages/games.scm (crawl): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agognu: Add libbson.
Corentin Bocquillon [Fri, 21 Apr 2017 12:05:30 +0000 (14:05 +0200)]
gnu: Add libbson.

* gnu/packages/serialization.scm (libbson): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: mutt: Update to 1.8.2.
Leo Famulari [Fri, 21 Apr 2017 19:23:58 +0000 (15:23 -0400)]
gnu: mutt: Update to 1.8.2.

* gnu/packages/mail.scm (mutt): Update to 1.8.2.

7 years agognu: neomutt: Don't rewrite the source file-name.
Leo Famulari [Fri, 21 Apr 2017 19:20:29 +0000 (15:20 -0400)]
gnu: neomutt: Don't rewrite the source file-name.

* gnu/packages/mail.scm (neomutt)[file-name]: Remove field.

7 years agognu: neomutt: Update to 20170421.
ng0 [Fri, 21 Apr 2017 15:23:38 +0000 (15:23 +0000)]
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>
7 years agognu: icecat: Fix GTK 3 file chooser crash.
Clément Lassieur [Fri, 21 Apr 2017 17:40:10 +0000 (19:40 +0200)]
gnu: icecat: Fix GTK 3 file chooser crash.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add a 'wrap-program' phase to
set XDG_DATA_DIRS.

7 years agognu: Add mcomix.
nee [Fri, 14 Apr 2017 17:09:40 +0000 (19:09 +0200)]
gnu: Add mcomix.

* gnu/packages/image-viewers.scm (mcomix): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
7 years agostore: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'.
Ludovic Courtès [Fri, 21 Apr 2017 17:13:32 +0000 (19:13 +0200)]
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.

7 years agossh: Decompose 'connect-to-remote-daemon'.
Ludovic Courtès [Fri, 21 Apr 2017 17:01:03 +0000 (19:01 +0200)]
ssh: Decompose 'connect-to-remote-daemon'.

* guix/ssh.scm (remote-daemon-channel): New procedure.
(connect-to-remote-daemon): Implement in terms of it.

7 years agossh: Move 'open-ssh-session' to (guix ssh).
Ludovic Courtès [Fri, 21 Apr 2017 16:44:59 +0000 (18:44 +0200)]
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'.

7 years agooffload: Avoid using '_' as a 'match' pattern.
Ludovic Courtès [Fri, 21 Apr 2017 15:18:54 +0000 (17:18 +0200)]
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.

7 years agostore: Add support for remote connections via 'guix://' URIs.
Ludovic Courtès [Fri, 21 Apr 2017 12:57:02 +0000 (14:57 +0200)]
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.

7 years agostore: Add 'system-error-to-connection-error' macro.
Ludovic Courtès [Fri, 21 Apr 2017 09:48:57 +0000 (11:48 +0200)]
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'.

7 years agostore: 'GUIX_DAEMON_SOCKET' can now be a URI.
Ludovic Courtès [Fri, 21 Apr 2017 09:39:49 +0000 (11:39 +0200)]
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.

7 years agognu: guile: Update to 2.2.2.
Andy Wingo [Fri, 21 Apr 2017 14:56:45 +0000 (16:56 +0200)]
gnu: guile: Update to 2.2.2.

* gnu/packages/guile.scm (guile-2.2): Update to 2.2.2.

7 years agognu: imlib2: Update to 1.4.10.
Marius Bakke [Fri, 21 Apr 2017 13:33:29 +0000 (15:33 +0200)]
gnu: imlib2: Update to 1.4.10.

* gnu/packages/image.scm (imlib2): Update to 1.4.10.

7 years agognu: sdl-gfx: Update to 2.0.26.
Marius Bakke [Fri, 21 Apr 2017 13:01:17 +0000 (15:01 +0200)]
gnu: sdl-gfx: Update to 2.0.26.

* gnu/packages/sdl.scm (sdl-gfx): Update to 2.0.26.

7 years agognu: portaudio: Update to 190600.20161030.
Marius Bakke [Fri, 21 Apr 2017 12:44:07 +0000 (14:44 +0200)]
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.

7 years agognu: soxr: Update to 0.1.2.
Marius Bakke [Fri, 21 Apr 2017 12:25:40 +0000 (14:25 +0200)]
gnu: soxr: Update to 0.1.2.

* gnu/packages/audio.scm (soxr): Update to 0.1.2.

7 years agognu: python-pyopenssl: Update to 17.0.0.
Marius Bakke [Fri, 21 Apr 2017 12:25:05 +0000 (14:25 +0200)]
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.

7 years agognu: proteinortho: Update to 5.16.
Ben Woodcroft [Fri, 21 Apr 2017 12:52:26 +0000 (22:52 +1000)]
gnu: proteinortho: Update to 5.16.

* gnu/packages/bioinformatics.scm (proteinortho): Update to 5.16.

7 years agognu: diamond: Update to 0.8.38.
Ben Woodcroft [Fri, 21 Apr 2017 12:40:34 +0000 (22:40 +1000)]
gnu: diamond: Update to 0.8.38.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.38.

7 years agognu: miniupnpc: Use @dfn mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 12:46:49 +0000 (14:46 +0200)]
gnu: miniupnpc: Use @dfn mark-up.

gnu/packages/upnp.scm (miniupnpc)[description]: Use @dfn.

7 years agognu: miniupnpc: Update to 2.0.20170421.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 12:46:15 +0000 (14:46 +0200)]
gnu: miniupnpc: Update to 2.0.20170421.

gnu/packages/upnp.scm (miniupnpc): Update to 2.0.20170421.

7 years agognu: fortify-headers: Use @code mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:27:16 +0000 (12:27 +0200)]
gnu: fortify-headers: Use @code mark-up.

* gnu/packages/suckless.scm (fortify-headers)[description]: Use @code.

7 years agognu: Use HTTPS on 2f30.org.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:16:05 +0000 (12:16 +0200)]
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.

7 years agognu: version-control: Use HTTPS where possible.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 10:25:34 +0000 (12:25 +0200)]
gnu: version-control: Use HTTPS where possible.

* gnu/packages/version-control.scm (git)[home-page]: Use HTTPS.
(cvs)[source, home-page]: Likewise.

7 years agognu: git-crypt: Double-space Texinfo mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:38:36 +0000 (09:38 +0200)]
gnu: git-crypt: Double-space Texinfo mark-up.

* gnu/packages/version-control.scm (git-crypt)[description]: Use two spaces
where one would suffice.

7 years agognu: diffstat: Use @command mark-up.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:32:53 +0000 (09:32 +0200)]
gnu: diffstat: Use @command mark-up.

* gnu/packages/version-control.scm (diffstat)[synopsis, description]:
Use @command.

7 years agognu: diffstat: Update to 1.61.
Tobias Geerinckx-Rice [Fri, 21 Apr 2017 07:31:17 +0000 (09:31 +0200)]
gnu: diffstat: Update to 1.61.

* gnu/packages/version-control.scm (diffstat): Update to 1.61.
[source]: Add http://invisible-mirror.net mirror.

7 years agognu: neon: Use @enumerate mark-up.
Tobias Geerinckx-Rice [Thu, 20 Apr 2017 05:09:46 +0000 (07:09 +0200)]
gnu: neon: Use @enumerate mark-up.

* gnu/packages/version-control.scm (neon)[description]: Use @enumerate.

7 years agognu: neon: Update to 0.30.2.
Tobias Geerinckx-Rice [Thu, 20 Apr 2017 05:08:19 +0000 (07:08 +0200)]
gnu: neon: Update to 0.30.2.

* gnu/packages/version-control.scm (neon): Update to 0.30.2.

7 years agognu: cgit: Update to 1.1.
Vasile Dumitrascu [Thu, 20 Apr 2017 22:34:54 +0000 (00:34 +0200)]
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>
7 years agognu: tmux: Update to 2.4.
Vasile Dumitrascu [Thu, 20 Apr 2017 21:46:46 +0000 (23:46 +0200)]
gnu: tmux: Update to 2.4.

* gnu/packages/tmux.scm (tmux): Update to 2.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: cargo: Simplify unpacking.
Danny Milosavljevic [Thu, 13 Apr 2017 22:04:02 +0000 (00:04 +0200)]
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.

7 years agognu: icecat: Update to 52.0.2-gnu1; add fixes from ESR 52.1.
Mark H Weaver [Thu, 20 Apr 2017 04:41:32 +0000 (00:41 -0400)]
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".

7 years agognu: Add autoconf@2.13.
Mark H Weaver [Thu, 20 Apr 2017 04:42:15 +0000 (00:42 -0400)]
gnu: Add autoconf@2.13.

* gnu/packages/autotools.scm (autoconf-2.13): New variable.

7 years agognu: nss: Disable long b64 tests.
Mark H Weaver [Thu, 20 Apr 2017 21:42:52 +0000 (17:42 -0400)]
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.

7 years agognu: nss: Update to 3.30.2 [fixes CVE-2017-5461].
Mark H Weaver [Thu, 20 Apr 2017 18:55:31 +0000 (14:55 -0400)]
gnu: nss: Update to 3.30.2 [fixes CVE-2017-5461].

* gnu/packages/gnuzilla.scm (nss): Update to 3.30.2.

7 years agognu: graphite2: Add fixes for CVE-2017-5436 and other bugs.
Mark H Weaver [Thu, 20 Apr 2017 19:10:54 +0000 (15:10 -0400)]
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.

7 years agognu: hypre: Delete unused patches.
Eric Bavier [Fri, 21 Apr 2017 03:06:00 +0000 (22:06 -0500)]
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.

7 years agoderivations: Avoid string-to-bytevector conversions.
Ludovic Courtès [Thu, 20 Apr 2017 16:46:38 +0000 (18:46 +0200)]
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.

7 years agognu: ceph: Disable SSE3 instructions.
Marius Bakke [Thu, 20 Apr 2017 16:57:16 +0000 (18:57 +0200)]
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.

7 years agognu: nss-certs: Update to 3.30.2.
Marius Bakke [Thu, 20 Apr 2017 16:08:43 +0000 (18:08 +0200)]
gnu: nss-certs: Update to 3.30.2.

* gnu/packages/certs.scm (nss-certs): Update to 3.30.2.

7 years agognu: gst-plugins-base: Remove dead comment.
Leo Famulari [Thu, 20 Apr 2017 18:22:40 +0000 (14:22 -0400)]
gnu: gst-plugins-base: Remove dead comment.

This is a followup to 1d8e7273578e95f6b5e4293ac34c4f6fe5d5c579.

* gnu/packages/gstreamer.scm (gst-plugins-base): Remove dead comment.

7 years agognu: qemu: Update to 2.9.0 [security fixes].
Leo Famulari [Fri, 7 Apr 2017 13:03:28 +0000 (09:03 -0400)]
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.

7 years agognu: tuxpaint: Disable parallel build.
Marius Bakke [Thu, 20 Apr 2017 17:30:00 +0000 (19:30 +0200)]
gnu: tuxpaint: Disable parallel build.

* gnu/packages/games.scm (tuxpaint)[arguments]<#:parallel-build?>: New parameter.

7 years agognu: xorg-server: Hide the for-test variant.
Ludovic Courtès [Thu, 20 Apr 2017 16:33:15 +0000 (18:33 +0200)]
gnu: xorg-server: Hide the for-test variant.

* gnu/packages/xorg.scm (xorg-server-1.19.2): Wrap in 'hidden-package'
call.

7 years agognu: Add Meson.
Corentin Bocquillon [Wed, 19 Apr 2017 20:30:07 +0000 (22:30 +0200)]
gnu: Add Meson.

* gnu/packages/build-tools.scm (meson): New variables.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: gnurl: Update to 7.54.0 [fixes CVE-2017-7468]
ng0 [Thu, 20 Apr 2017 00:38:25 +0000 (00:38 +0000)]
gnu: gnurl: Update to 7.54.0 [fixes CVE-2017-7468]

* gnu/packages/gnunet.scm (gnurl): Update to 7.54.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: icu4c: Fix CVE-2017-{7867,7868}.
Leo Famulari [Wed, 19 Apr 2017 23:22:50 +0000 (19:22 -0400)]
gnu: icu4c: Fix CVE-2017-{7867,7868}.

* gnu/packages/patches/icu4c-CVE-2017-7867-CVE-2017-7868.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c/fixed)[source]: Use it.

7 years agognu: python-nbxmpp: Update to 0.5.5.
Tobias Geerinckx-Rice [Wed, 19 Apr 2017 22:18:31 +0000 (00:18 +0200)]
gnu: python-nbxmpp: Update to 0.5.5.

* gnu/packages/messaging.scm (python-nbxmpp): Update to 0.5.5.
[source]: Use PYPI-URI.
[home-page]: Use HTTPS.
[description]: Fix up.

7 years agomailmap: Update entries for ng0.
ng0 [Thu, 20 Apr 2017 00:38:26 +0000 (00:38 +0000)]
mailmap: Update entries for ng0.

* .mailmap: Add new address for ng0 and map all existing commits to it.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
7 years agognu: moreutils: Update to 0.60.
Efraim Flashner [Thu, 20 Apr 2017 10:06:46 +0000 (13:06 +0300)]
gnu: moreutils: Update to 0.60.

* gnu/packages/moreutils.scm (moreutils): Update to 0.60.

7 years agognu: ffmpeg: Update to 3.3.
Efraim Flashner [Thu, 20 Apr 2017 08:57:38 +0000 (11:57 +0300)]
gnu: ffmpeg: Update to 3.3.

* gnu/packages/video.scm (ffmpeg): Update to 3.3.
[arguments]: Remove 'enable-x11grab' from #:configure-flags.

7 years agognu: icecat: Label patches that have since been assigned CVEs.
Mark H Weaver [Thu, 20 Apr 2017 00:28:01 +0000 (20:28 -0400)]
gnu: icecat: Label patches that have since been assigned CVEs.

Label patches that address the following CVEs: CVE-2017-5429, CVE-2017-5432,
CVE-2017-5433, CVE-2017-5434, CVE-2017-5435, CVE-2017-5436, CVE-2017-5438,
CVE-2017-5439, CVE-2017-5440, CVE-2017-5441, CVE-2017-5442, CVE-2017-5443,
CVE-2017-5444, CVE-2017-5445, CVE-2017-5446, CVE-2017-5447, CVE-2017-5448,
CVE-2017-5459, CVE-2017-5460, CVE-2017-5464, CVE-2017-5465, and CVE-2017-5469.

* gnu/packages/gnuzilla.scm (icecat)[source][patches]: Add comments indicating
CVE assignments.

7 years agognu: Delete unused patches.
Leo Famulari [Wed, 19 Apr 2017 23:10:53 +0000 (19:10 -0400)]
gnu: Delete unused patches.

* gnu/packages/patches/icu4c-CVE-2014-6585.patch,
gnu/packages/patches/icu4c-CVE-2015-1270.patch,
gnu/packages/patches/icu4c-CVE-2015-4760.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

7 years agognu: curl: Replace with curl@7.54.0 [fixes CVE-2017-7468]
Leo Famulari [Wed, 19 Apr 2017 22:16:22 +0000 (18:16 -0400)]
gnu: curl: Replace with curl@7.54.0 [fixes CVE-2017-7468]

* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl-7.54.0): New variable.

7 years agognu: guile: Update to 2.2.1.
Ludovic Courtès [Wed, 19 Apr 2017 21:43:19 +0000 (23:43 +0200)]
gnu: guile: Update to 2.2.1.

* gnu/packages/guile.scm (guile-2.2): Update to 2.2.1.

7 years agopublish: Add a handler for / and /index.html.
Ludovic Courtès [Wed, 19 Apr 2017 21:39:27 +0000 (23:39 +0200)]
publish: Add a handler for / and /index.html.

Suggested by Quiliro <quiliro@riseup.net>
in <https://bugs.gnu.org/26567>.

* guix/scripts/publish.scm (render-home-page): New procedure.
(make-request-handler): Handle it.

7 years agodoc: Update exim service documentation.
Carlo Zancanaro [Wed, 19 Apr 2017 13:58:24 +0000 (23:58 +1000)]
doc: Update exim service documentation.

* doc/guix.texi (Mail Services): Update exim service documentation to remove
mail-aliases, add mail-aliases-service-type documentation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agotests: mail: Add test for exim
Carlo Zancanaro [Thu, 30 Mar 2017 04:13:56 +0000 (15:13 +1100)]
tests: mail: Add test for exim

* gnu/tests/mail.scm (%exim-os, %test-exim): New variables.
(run-exim-test): New procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: Make exim-service-type use mail-aliases-service-type
Carlo Zancanaro [Thu, 30 Mar 2017 04:28:26 +0000 (15:28 +1100)]
services: Make exim-service-type use mail-aliases-service-type

* gnu/services/mail.scm (exim-configuration)[aliases]: Remove field.
(exim-activation, exim-shepherd-service): Remove alias from matches.
(exim-etc): Remove procedure.
(exim-service-type): Extend mail-aliases-service-type instead of
etc-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agoservices: Add mail-aliases-service-type.
Carlo Zancanaro [Thu, 30 Mar 2017 04:25:58 +0000 (15:25 +1100)]
services: Add mail-aliases-service-type.

* gnu/services/mail.scm (mail-aliases-etc): New procedure.
(mail-aliases-service-type): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: Add workaround for `date` regression in coreutils@8.26.
Marius Bakke [Tue, 18 Apr 2017 18:13:45 +0000 (20:13 +0200)]
gnu: Add workaround for `date` regression in coreutils@8.26.

See <https://bugs.gnu.org/23035> and <https://bugs.gnu.org/26238>.

* gnu/packages/base.scm (coreutils-8.27): New variable.
* gnu/system.scm (%base-packages): Use that instead of COREUTILS.

7 years agognu: emacs-exwm: Let shell wrapper work with arguments.
Feng Shu [Tue, 18 Apr 2017 22:14:44 +0000 (06:14 +0800)]
gnu: emacs-exwm: Let shell wrapper work with arguments.

* gnu/packages/emacs.scm (emacs-exwm): Pass shell wrapper arguments to emacs.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>