jackhill/guix/guix.git
7 years agoMerge branch 'version-0.13.0'
Marius Bakke [Mon, 22 May 2017 16:25:01 +0000 (18:25 +0200)]
Merge branch 'version-0.13.0'

7 years agoUpdate NEWS.
Ludovic Courtès [Mon, 22 May 2017 15:25:08 +0000 (17:25 +0200)]
Update NEWS.

7 years agognu: vte-ng: Update to 0.48.3.a.
Marius Bakke [Mon, 22 May 2017 13:28:59 +0000 (15:28 +0200)]
gnu: vte-ng: Update to 0.48.3.a.

* gnu/packages/gnome.scm (vte-ng): Update to 0.48.3.a.

7 years agognu: gexiv2: Update to 0.10.6.
Marius Bakke [Mon, 22 May 2017 13:11:19 +0000 (13:11 +0000)]
gnu: gexiv2: Update to 0.10.6.

* gnu/packages/gnome.scm (gexiv2): Update to 0.10.6.

7 years agognu: dconf-editor: Update to 3.22.3.
Marius Bakke [Mon, 22 May 2017 13:10:11 +0000 (13:10 +0000)]
gnu: dconf-editor: Update to 3.22.3.

* gnu/packages/gnome.scm (dconf-editor): Update to 3.22.3.

7 years agognu: aisleriot: Update to 3.22.2.
Marius Bakke [Mon, 22 May 2017 13:08:40 +0000 (13:08 +0000)]
gnu: aisleriot: Update to 3.22.2.

* gnu/packages/gnome.scm (aisleriot): Update to 3.22.2.

7 years agognu: vte: Update to 0.48.3.
Marius Bakke [Mon, 22 May 2017 13:06:16 +0000 (13:06 +0000)]
gnu: vte: Update to 0.48.3.

* gnu/packages/gnome.scm (vte): Update to 0.48.3.

7 years agognu: fraggenescan: Update to 1.30.
Ben Woodcroft [Sun, 21 May 2017 21:33:05 +0000 (22:33 +0100)]
gnu: fraggenescan: Update to 1.30.

* gnu/packages/bioinformatics.scm (fraggenescan): Update to 1.30.
[arguments]: Update patching of paths, install procedure.  Add new test
case.

7 years agognu: roary: Update to 3.8.2.
Ben Woodcroft [Sun, 21 May 2017 21:25:54 +0000 (22:25 +0100)]
gnu: roary: Update to 3.8.2.

* gnu/packages/bioinformatics.scm (roary): Update to 3.8.2.

7 years agognu: taxtastic: Update to 0.6.4.
Ben Woodcroft [Sun, 21 May 2017 21:06:51 +0000 (22:06 +0100)]
gnu: taxtastic: Update to 0.6.4.

* gnu/packages/bioinformatics.scm (taxtastic): Update to 0.6.4.
[source]: Use PyPI URI.

7 years agognu: r-mutationalpatterns: Update to 1.2.1.
Roel Janssen [Mon, 22 May 2017 07:43:18 +0000 (09:43 +0200)]
gnu: r-mutationalpatterns: Update to 1.2.1.

* gnu/packages/bioinformatics.scm (r-mutationalpatterns): Update to 1.2.1.

7 years agobootloader: extlinux: Add a warning message on top of generated conf file.
Mathieu Othacehe [Sun, 21 May 2017 16:56:03 +0000 (18:56 +0200)]
bootloader: extlinux: Add a warning message on top of generated conf file.

* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Warn users about
  the fact that the configuration file is automatically generated.

7 years agognu: v4l-utils: Update to 1.12.5.
Marius Bakke [Sun, 21 May 2017 15:04:59 +0000 (17:04 +0200)]
gnu: v4l-utils: Update to 1.12.5.

* gnu/packages/video.scm (v4l-utils): Update to 1.12.5.

7 years agognu: x265: Update to 2.4.
Marius Bakke [Sun, 21 May 2017 15:04:41 +0000 (17:04 +0200)]
gnu: x265: Update to 2.4.

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

7 years agognu: vlc: Update to 2.2.5.1.
Marius Bakke [Sun, 21 May 2017 14:51:45 +0000 (16:51 +0200)]
gnu: vlc: Update to 2.2.5.1.

* gnu/packages/video.scm (vlc): Update to 2.2.5.1.
[source]: Remove obsolete snippet.

7 years agognu: libaacs: Update to 0.9.0.
Marius Bakke [Sun, 21 May 2017 14:48:55 +0000 (16:48 +0200)]
gnu: libaacs: Update to 0.9.0.

* gnu/packages/video.scm (libaacs): Update to 0.9.0.

7 years agognu: diamond: Update to 0.9.0.
Ben Woodcroft [Sun, 21 May 2017 15:07:04 +0000 (16:07 +0100)]
gnu: diamond: Update to 0.9.0.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.9.0.
[license]: Change to AGPL3+.

7 years agognu: guix: Update to a6d728b.
Ludovic Courtès [Sun, 21 May 2017 14:59:04 +0000 (16:59 +0200)]
gnu: guix: Update to a6d728b.

7 years agognu: guix: Update to 0.13.0.
Ludovic Courtès [Sun, 21 May 2017 14:58:53 +0000 (16:58 +0200)]
gnu: guix: Update to 0.13.0.

7 years agognu: fasttree: Update to 2.1.10.
Ben Woodcroft [Sun, 21 May 2017 14:38:34 +0000 (15:38 +0100)]
gnu: fasttree: Update to 2.1.10.

* gnu/packages/bioinformatics.scm (fasttree): Update to 2.1.10.

7 years agognu: python-biom-format: Update to 2.1.6.
Ben Woodcroft [Sat, 20 May 2017 06:56:23 +0000 (08:56 +0200)]
gnu: python-biom-format: Update to 2.1.6.

* gnu/packages/bioinformatics.scm (python-biom-format): Update to 2.1.6.
[propagated-inputs]: Add python-pandas.

7 years agognu: python-future: Update to 0.16.0.
Ben Woodcroft [Sun, 21 May 2017 07:55:07 +0000 (08:55 +0100)]
gnu: python-future: Update to 0.16.0.

* gnu/packages/python.scm (python-future): Update to 0.16.0.

7 years agognu: ccid: Update to 1.4.27.
Marius Bakke [Sun, 21 May 2017 14:37:54 +0000 (16:37 +0200)]
gnu: ccid: Update to 1.4.27.

* gnu/packages/security-token.scm (ccid): Update to 1.4.27.

7 years agognu: fio: Update to 2.20.
Marius Bakke [Sun, 21 May 2017 14:28:25 +0000 (16:28 +0200)]
gnu: fio: Update to 2.20.

* gnu/packages/benchmark.scm (fio): Update to 2.20.
[arguments]<#:phases>: Drop removed script from 'move-outputs' phase.

7 years agognu: nano: Update to 2.8.4.
Marius Bakke [Sun, 21 May 2017 14:17:01 +0000 (16:17 +0200)]
gnu: nano: Update to 2.8.4.

* gnu/packages/nano.scm (nano): Update to 2.8.4.

7 years agognu: vim: Update to 8.0.0600.
Marius Bakke [Sun, 21 May 2017 12:20:45 +0000 (14:20 +0200)]
gnu: vim: Update to 8.0.0600.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0600.

7 years agognu: vim-full: Disable failing test.
Marius Bakke [Sun, 21 May 2017 12:34:38 +0000 (14:34 +0200)]
gnu: vim-full: Disable failing test.

* gnu/packages/vim.scm (vim-full)[arguments]<#:phases>: Add substitution.

7 years agodoc: Replace fingerprint of OpenPGP signing key.
Ludovic Courtès [Sun, 21 May 2017 11:46:35 +0000 (13:46 +0200)]
doc: Replace fingerprint of OpenPGP signing key.

* doc/guix.texi (OPENPGP-SIGNING-KEY-ID): Change to Ludo's key.

7 years agoUpdate NEWS.
Ludovic Courtès [Sun, 21 May 2017 09:58:35 +0000 (11:58 +0200)]
Update NEWS.

7 years agotests: ssh: Use 'guile2.0-ssh'.
Ludovic Courtès [Sun, 21 May 2017 09:56:29 +0000 (11:56 +0200)]
tests: ssh: Use 'guile2.0-ssh'.

Fixes a regression introduced in 4d8806c3d662c74e6d48d0f0d6ce423fce9a3a08.

* gnu/tests/ssh.scm (run-ssh-test): Use GUILE2.0-SSH instead of GUILE-SSH.

7 years agoguix system: Don't warn about old distros for "guix system init".
Ludovic Courtès [Sun, 21 May 2017 09:49:07 +0000 (11:49 +0200)]
guix system: Don't warn about old distros for "guix system init".

* guix/scripts/system.scm (process-action): Don't call
'warn-about-old-distro' when ACTION is 'init' or 'build'.

7 years agognu: linux-libre: Update to 4.11.2.
Mark H Weaver [Sun, 21 May 2017 06:03:32 +0000 (02:03 -0400)]
gnu: linux-libre: Update to 4.11.2.

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

7 years agognu: linux-libre: Remove CONFIG_SMC from x86 kernel configurations.
Mark H Weaver [Sun, 21 May 2017 05:47:09 +0000 (01:47 -0400)]
gnu: linux-libre: Remove CONFIG_SMC from x86 kernel configurations.

This removes support for the "shared memory communications over RDMA" (SMC-R)
networking protocol, which was added in 4.11 without the knowledge of the RDMA
maintainers, and which is thought to contain significant security flaws.  For
details, see <https://lwn.net/Articles/723081> and
<https://lwn.net/Articles/723070>.

* gnu/packages/aux-files/linux-libre/4.11-x86_64.conf,
gnu/packages/aux-files/linux-libre/4.11-i686.conf: Disable CONFIG_SMC.

723# 0001-gnu-libevent-2.0-Add-fix-from-upstream.patch

7 years agognu: linux-libre@4.9: Update to 4.9.29.
Mark H Weaver [Sun, 21 May 2017 05:45:21 +0000 (01:45 -0400)]
gnu: linux-libre@4.9: Update to 4.9.29.

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

7 years agognu: linux-libre@4.4: Update to 4.4.69.
Mark H Weaver [Sun, 21 May 2017 05:44:25 +0000 (01:44 -0400)]
gnu: linux-libre@4.4: Update to 4.4.69.

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

7 years agoguix system: Increase image size for 'guix system vm'.
Ludovic Courtès [Sat, 20 May 2017 23:25:16 +0000 (01:25 +0200)]
guix system: Increase image size for 'guix system vm'.

This is a followup to 9a1bfe764859365b6726f168da95b88a2d22403b.

* guix/scripts/system.scm (system-derivation-for-action): Add 40MiB to
the default size for 'vm'.

7 years agognu: unionfs-fuse-static: Remove 'unionfsctl' executable.
Ludovic Courtès [Sat, 20 May 2017 23:07:17 +0000 (01:07 +0200)]
gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.

This avoids pulling in glibc & co.  Fixes a regression introduced in
2f861edf5cf5118ad560737343312c9a5efe5b2f (the 'unionfsctl' executable
did not exist in unionfs-fuse 0.26).

* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]
<post-install>: Remove 'unionfsctl' binary.

7 years agovm: Increase default disk size to account for ESP partition.
Marius Bakke [Sat, 20 May 2017 19:28:20 +0000 (21:28 +0200)]
vm: Increase default disk size to account for ESP partition.

Fixes a test regression introduced by ecf5d5376979fadd971559367bf553df89fcc62b.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): 30MiB -> 70MiB.

7 years agognu: unionfs-fuse-static: Remove 'unionfsctl' executable.
Ludovic Courtès [Sat, 20 May 2017 23:07:17 +0000 (01:07 +0200)]
gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.

This avoids pulling in glibc & co.  Fixes a regression introduced in
2f861edf5cf5118ad560737343312c9a5efe5b2f (the 'unionfsctl' executable
did not exist in unionfs-fuse 0.26).

* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]
<post-install>: Remove 'unionfsctl' binary.

7 years agovm: Increase default disk size to account for ESP partition.
Marius Bakke [Sat, 20 May 2017 19:28:20 +0000 (21:28 +0200)]
vm: Increase default disk size to account for ESP partition.

Fixes a test regression introduced by ecf5d5376979fadd971559367bf553df89fcc62b.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): 30MiB -> 70MiB.

7 years agoUpdate NEWS.
Ricardo Wurmus [Sat, 20 May 2017 21:39:30 +0000 (23:39 +0200)]
Update NEWS.

7 years agognu: ghostscript: Add TODO comment about bundled jbig2dec.
Leo Famulari [Sat, 20 May 2017 20:24:42 +0000 (16:24 -0400)]
gnu: ghostscript: Add TODO comment about bundled jbig2dec.

* gnu/packages/ghostscript.scm (ghostscript): Add comment.

7 years agognu: jbig2dec: Fix CVE-2017-{7885,7975,7976}.
Leo Famulari [Sat, 20 May 2017 19:48:11 +0000 (15:48 -0400)]
gnu: jbig2dec: Fix CVE-2017-{7885,7975,7976}.

* gnu/packages/patches/jbig2dec-CVE-2017-7885.patch,
gnu/packages/patches/jbig2dec-CVE-2017-7975.patch,
gnu/packages/patches/jbig2dec-CVE-2017-7976.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jbig2dec)[source]: Use them.

7 years agognu: pcsc-lite: Update to 1.8.21.
Marius Bakke [Sat, 20 May 2017 18:44:07 +0000 (20:44 +0200)]
gnu: pcsc-lite: Update to 1.8.21.

* gnu/packages/security-token.scm (pcsc-lite): Update to 1.8.21.

7 years agognu: icedtea@3: Add aarch32-drop.
Leo Famulari [Sat, 20 May 2017 00:13:37 +0000 (20:13 -0400)]
gnu: icedtea@3: Add aarch32-drop.

* gnu/packages/java.scm (icedtea-8)[native-inputs]: Add aarch32-drop.

7 years agognu: icedtea@3: Update to 3.4.0 [security fixes].
Leo Famulari [Fri, 19 May 2017 23:39:58 +0000 (19:39 -0400)]
gnu: icedtea@3: Update to 3.4.0 [security fixes].

Fixes CVE-2017-{3509,3511,3512,3514,3526,3533,3539,3544}.

* gnu/packages/java.scm (icedtea-8): Update to 3.4.0.

7 years agognu: imagemagick: Update to 6.9.8-6.
Leo Famulari [Sat, 20 May 2017 17:47:11 +0000 (13:47 -0400)]
gnu: imagemagick: Update to 6.9.8-6.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.8-6.

7 years agodownload: Prune the ImageMagick mirror list.
Leo Famulari [Sat, 20 May 2017 17:49:15 +0000 (13:49 -0400)]
download: Prune the ImageMagick mirror list.

These sites' TLS certificates are invalid.

* guix/download.scm (%mirrors) <imagemagick>: Remove
mirrors-{au,ru,uk}.go-parts.com.

7 years agognu: guix: Add 'guile2.0-guix'.
Ludovic Courtès [Sat, 20 May 2017 18:00:53 +0000 (20:00 +0200)]
gnu: guix: Add 'guile2.0-guix'.

* gnu/packages/package-management.scm (guile2.0-guix): New variable.

7 years agognu: libssh, guile-ssh: Add a "debug" output.
Ludovic Courtès [Sat, 20 May 2017 17:49:36 +0000 (19:49 +0200)]
gnu: libssh, guile-ssh: Add a "debug" output.

* gnu/packages/ssh.scm (libssh)[outputs]: New field.
(guile-ssh)[outputs]: New field.

7 years agopack: Use 'guile2.0-json' when building with Guile 2.0.
Ludovic Courtès [Sat, 20 May 2017 12:28:24 +0000 (14:28 +0200)]
pack: Use 'guile2.0-json' when building with Guile 2.0.

Fixes <http://bugs.gnu.org/27005>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

Fixes a regression introduced in commit
2252f087d4bd450ab41a71379320467887edfc0f.

* guix/scripts/pack.scm (docker-image)[json]: New variable.
[build]: Use it.

7 years agognu: icedtea@2: Update to 2.6.10 [security fixes].
Leo Famulari [Fri, 19 May 2017 22:31:48 +0000 (18:31 -0400)]
gnu: icedtea@2: Update to 2.6.10 [security fixes].

Fixes CVE-2017-{3509,3511,3512,3514,3526,3533,3539,3544}.

* gnu/packages/java.scm (icedtea-7): Update to 2.6.10.

7 years agognu: dropbear: Update to 2017.75 [fixes CVE-2017-{9078,9079}].
Leo Famulari [Sat, 20 May 2017 00:26:58 +0000 (20:26 -0400)]
gnu: dropbear: Update to 2017.75 [fixes CVE-2017-{9078,9079}].

* gnu/packages/ssh.scm (dropbear): Update to 2017.75.

7 years agosystem: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.
Ludovic Courtès [Fri, 19 May 2017 21:36:56 +0000 (23:36 +0200)]
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.

* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.

7 years agopack: Use 'guile2.0-json' when building with Guile 2.0.
Ludovic Courtès [Sat, 20 May 2017 12:28:24 +0000 (14:28 +0200)]
pack: Use 'guile2.0-json' when building with Guile 2.0.

Fixes <http://bugs.gnu.org/27005>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

Fixes a regression introduced in commit
2252f087d4bd450ab41a71379320467887edfc0f.

* guix/scripts/pack.scm (docker-image)[json]: New variable.
[build]: Use it.

7 years agovm: Add UEFI loader to disk images.
Marius Bakke [Sun, 7 May 2017 13:31:30 +0000 (15:31 +0200)]
vm: Add UEFI loader to disk images.

* gnu/build/vm.scm (install-efi): New procedure.
(initialize-hard-disk): Generate EFI blob when ESP is present.
* gnu/system/vm.scm (qemu-image): Append 40MiB EFI System Partition.

(cherry picked from commit ecf5d5376979fadd971559367bf553df89fcc62b)

7 years agovm: Support creating FAT partitions.
Marius Bakke [Sat, 6 May 2017 20:53:58 +0000 (22:53 +0200)]
vm: Support creating FAT partitions.

* gnu/build/vm.scm (create-ext-file-system, create-fat-file-system): New procedures.
(format-partition): Use them. Error for unknown file systems.
* gnu/system/vm.scm (qemu-image): Include DOSFSTOOLS.
* gnu/system/linux-initrd.scm (base-initrd): Always add nls_is8859-1.ko.

7 years agovm: Support arbitrary partition flags.
Marius Bakke [Tue, 11 Apr 2017 08:47:38 +0000 (10:47 +0200)]
vm: Support arbitrary partition flags.

* gnu/build/vm.scm (<partition>): Change BOOTABLE? to FLAGS.
(initialize-partition-table): Pass each flag to parted.
(initialize-hard-disk): Locate boot partition.
* gnu/system/vm.scm (qemu-image): Adjust partition flags.

7 years agognu: guile-ssh: Fix potential double-free/use-after-free issue.
Ludovic Courtès [Fri, 19 May 2017 08:50:20 +0000 (10:50 +0200)]
gnu: guile-ssh: Fix potential double-free/use-after-free issue.

Fixes <http://bugs.gnu.org/26976>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/guile-ssh-double-free.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Add it.

7 years agomodules: Add more source-less modules.
Ludovic Courtès [Fri, 19 May 2017 08:45:12 +0000 (10:45 +0200)]
modules: Add more source-less modules.

* guix/modules.scm (%source-less-modules): New variable.
(source-module-dependencies): Use it.

7 years agopublish: Fix narinfo rendering for already-compressed items.
Ludovic Courtès [Thu, 18 May 2017 19:19:49 +0000 (21:19 +0200)]
publish: Fix narinfo rendering for already-compressed items.

Fixes <http://bugs.gnu.org/26975>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/publish.scm (bake-narinfo+nar): Pass #f as the 2nd
argument to 'stat' and properly handle #f.
* tests/publish.scm (wait-for-file): New procedure.
("with cache"): Remove 'wait-for-file' procedure.
("with cache, uncompressed"): New test.

7 years agounion: Gracefully handle dangling symlinks in the input.
Ludovic Courtès [Thu, 18 May 2017 09:35:45 +0000 (11:35 +0200)]
union: Gracefully handle dangling symlinks in the input.

Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.

7 years agoservices: user-homes: Do not create home directories marked as no-create.
Ludovic Courtès [Thu, 18 May 2017 08:08:55 +0000 (10:08 +0200)]
services: user-homes: Do not create home directories marked as no-create.

Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.

7 years agoinstall: Enable SSH in installation image.
Marius Bakke [Mon, 17 Apr 2017 20:49:23 +0000 (22:49 +0200)]
install: Enable SSH in installation image.

* gnu/system/install.scm (%installation-services): Add OPENSSH-SERVICE-TYPE.
* doc/guix.texi (Preparing for Installation)[Networking]: Document it.

7 years agoservices: openssh: Don't depend on networking.
Marius Bakke [Wed, 17 May 2017 11:36:17 +0000 (13:36 +0200)]
services: openssh: Don't depend on networking.

* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement.

7 years agomaint: The 'release' target builds a VM image.
Leo Famulari [Sun, 14 May 2017 00:44:36 +0000 (20:44 -0400)]
maint: The 'release' target builds a VM image.

* gnu/system/examples/vm-image.tmpl: New file.
* Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE,
GUIXSD_VM_IMAGE_SIZE): New variables.
(release): Add logic to build a VM image.
(EXAMPLES): Add 'gnu/system/examples/vm-image.tmpl'.
* doc/guix.texi (Running GuixSD in a VM, Installing GuixSD in a VM): Mention the
pre-built VM image.

7 years agognu: aspell: 'dict-dir' set to ~/.guix-profile/lib/aspell or $ASPELL_DICT_DIR.
Ludovic Courtès [Wed, 17 May 2017 14:10:48 +0000 (16:10 +0200)]
gnu: aspell: 'dict-dir' set to ~/.guix-profile/lib/aspell or $ASPELL_DICT_DIR.

See <https://bugs.gnu.org/25836> for background.

* gnu/packages/patches/aspell-default-dict-dir.patch: New file.
* gnu/packages/aspell.scm (aspell)[source](patches): New field.
[native-search-paths]: New field.
* gnu/local.mk (dist_patch_DATA): Add it.

7 years agobuild: Compile stackage only if 'guile-json' is available.
Alex Kost [Tue, 9 May 2017 19:44:19 +0000 (22:44 +0300)]
build: Compile stackage only if 'guile-json' is available.

Fixes <http://bugs.gnu.org/26860>.
This is a followup to commit 3089b5d3f5a31b191b68ce3aa9255b646940b642.

* Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within
'if HAVE_GUILE_JSON'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: qemu: Fix CVE-2017-7493.
Leo Famulari [Wed, 17 May 2017 11:28:09 +0000 (07:28 -0400)]
gnu: qemu: Fix CVE-2017-7493.

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

7 years agoprofiles: Add elapsed time to manual-database hook to output message.
Maxim Cournoyer [Mon, 15 May 2017 16:05:48 +0000 (09:05 -0700)]
profiles: Add elapsed time to manual-database hook to output message.

* guix/profiles.scm (manual-database): Add elapsed time to manual-database
hook to output message.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: glibc/hurd: Do not apply i686 patch.
Ricardo Wurmus [Tue, 16 May 2017 20:11:41 +0000 (22:11 +0200)]
gnu: glibc/hurd: Do not apply i686 patch.

This is a follow-up to commit c2e4f14ac8cd3e1ce7f46a192ad0c9acc084b210.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Override pre-configure phase
with a copy that does not include the patch application.

7 years agognu: glibc/hurd: Use modify-phases syntax.
Ricardo Wurmus [Tue, 16 May 2017 19:59:18 +0000 (21:59 +0200)]
gnu: glibc/hurd: Use modify-phases syntax.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Use modify-phases syntax.

7 years agognu: tor: Update to 0.3.0.7.
Efraim Flashner [Tue, 16 May 2017 19:26:22 +0000 (22:26 +0300)]
gnu: tor: Update to 0.3.0.7.

* gnu/packages/tor.scm (tor): Update to 0.3.0.7.

7 years agognu: icedtea@2: Update to 2.6.10 [security fixes].
Leo Famulari [Fri, 19 May 2017 22:31:48 +0000 (18:31 -0400)]
gnu: icedtea@2: Update to 2.6.10 [security fixes].

Fixes CVE-2017-{3509,3511,3512,3514,3526,3533,3539,3544}.

* gnu/packages/java.scm (icedtea-7): Update to 2.6.10.

7 years agognu: Add loksh.
ng0 [Thu, 18 May 2017 16:55:12 +0000 (16:55 +0000)]
gnu: Add loksh.

* gnu/packages/shells.scm (loksh): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: dropbear: Update to 2017.75 [fixes CVE-2017-{9078,9079}].
Leo Famulari [Sat, 20 May 2017 00:26:58 +0000 (20:26 -0400)]
gnu: dropbear: Update to 2017.75 [fixes CVE-2017-{9078,9079}].

* gnu/packages/ssh.scm (dropbear): Update to 2017.75.

7 years agognu: calibre: Don't create uninstaller.
Brendan Tildesley [Tue, 16 May 2017 00:53:44 +0000 (10:53 +1000)]
gnu: calibre: Don't create uninstaller.

* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>. Add 'patch-source' phase.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Add exhaustive license list.
Brendan Tildesley [Sun, 14 May 2017 07:01:06 +0000 (17:01 +1000)]
gnu: calibre: Add exhaustive license list.

* gnu/packages/ebook.scm (calibre): Add exhaustive license list.
(chmlib)[license]: Use license: prefix.

Co-authored-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Add missing dependencies.
Brendan Tildesley [Tue, 16 May 2017 04:56:20 +0000 (14:56 +1000)]
gnu: calibre: Add missing dependencies.

* gnu/packages/ebook.scm (calibre)[inputs]: Add poppler, python2-dnspython,
and python2-pygments.
[arguments]: Remove old TODO comments. libwmf and psutil are no longer used.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Unbundle chardet.
Brendan Tildesley [Sun, 14 May 2017 12:38:07 +0000 (22:38 +1000)]
gnu: calibre: Unbundle chardet.

* gnu/packages/ebook.scm (calibre)[source]: Delete bundled chardet.
[inputs]: Add python2-chardet.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Unbundle liberation fonts.
Brendan Tildesley [Sun, 14 May 2017 06:36:13 +0000 (16:36 +1000)]
gnu: calibre: Unbundle liberation fonts.

*gnu/packages/ebook.scm (calibre)[source]: Delete liberation .ttf files.
[native-inputs]: Add font-liberation.
[arguments]: Calibre still references the bundled fonts, so we install the
packaged fonts to the directory the bundled fonts would have been.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Unbundle python2-markdown.
Brendan Tildesley [Sat, 13 May 2017 13:24:06 +0000 (23:24 +1000)]
gnu: calibre: Unbundle python2-markdown.

* gnu/packages/ebook.scm (calibre)[snippet]: Replace python references to
bundled markdown with packaged. Remove markdown from source.
[inputs]: Add python2-markdown as a dependency.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Import unbundle feedparser patch from debian.
Brendan Tildesley [Sat, 13 May 2017 12:32:01 +0000 (22:32 +1000)]
gnu: calibre: Import unbundle feedparser patch from debian.

* gnu/packages/ebook.scm (calibre)[source]: Reference new patch file.
[inputs]: Add python2-feedparser as an input.
* gnu/packages/patches/calibre-use-packaged-feedparser.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Import dont-load-icons patch from debian.
Brendan Tildesley [Sat, 13 May 2017 11:40:24 +0000 (21:40 +1000)]
gnu: calibre: Import dont-load-icons patch from debian.

* gnu/packages/patches/calibre-dont-load-remote-icons.patch: New file.
* gnu/packages/ebooks.scm (calibre)[source]: Add reference to patch file.
* gnu/local.mk (dist_path_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: calibre: Update to 2.85.1.
Brendan Tildesley [Sat, 13 May 2017 10:40:45 +0000 (20:40 +1000)]
gnu: calibre: Update to 2.85.1.

* gnu/packages/ebooks.scm (calibre): Update to 2.85.1.
* gnu/packages/patches/calibre-drop-unrar.patch: Delete incompatible patch
file. Recreate debian patch file from the latest calibre git revision.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agosystem: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.
Ludovic Courtès [Fri, 19 May 2017 21:36:56 +0000 (23:36 +0200)]
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.

* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.

7 years agognu: python-pyqt@4: Update to 4.12.
Marius Bakke [Fri, 19 May 2017 19:29:51 +0000 (21:29 +0200)]
gnu: python-pyqt@4: Update to 4.12.

* gnu/packages/qt.scm (python-pyqt-4): Update to 4.12.
[source]: Adjust URI to file rename.

7 years agognu: python-pyqt: Update to 5.8.2.
Marius Bakke [Fri, 19 May 2017 19:20:15 +0000 (21:20 +0200)]
gnu: python-pyqt: Update to 5.8.2.

* gnu/packages/qt.scm (python-pyqt): Update to 5.8.2.

7 years agognu: python-sip: Update to 4.19.2.
Marius Bakke [Fri, 19 May 2017 19:23:15 +0000 (21:23 +0200)]
gnu: python-sip: Update to 4.19.2.

* gnu/packages/qt.scm (python-sip): Update to 4.19.2.

7 years agodoc: Update for UEFI systems.
Marius Bakke [Thu, 18 May 2017 17:24:36 +0000 (19:24 +0200)]
doc: Update for UEFI systems.

* doc/guix.texi (USB Stick Installation): Mention UEFI.
(Preparing for Installation): Add notes about EFI System Partition, and
mounting partitions before init.
(Proceeding with the Installation): Mention the GRUB-EFI package.
(Using the Configuration System): Lightweight desktop is now a UEFI system.
(GRUB Configuration): Expand on package field. Add indexes.
* gnu/system/examples/lightweight-desktop.tmpl: Adjust to native EFI configuration.

7 years agovm: Add UEFI loader to disk images.
Marius Bakke [Sun, 7 May 2017 13:31:30 +0000 (15:31 +0200)]
vm: Add UEFI loader to disk images.

* gnu/build/vm.scm (install-efi): New procedure.
(initialize-hard-disk): Generate EFI blob when ESP is present.
* gnu/system/vm.scm (qemu-image): Append 40MiB EFI System Partition.

7 years agovm: Support creating FAT partitions.
Marius Bakke [Sat, 6 May 2017 20:53:58 +0000 (22:53 +0200)]
vm: Support creating FAT partitions.

* gnu/build/vm.scm (create-ext-file-system, create-fat-file-system): New procedures.
(format-partition): Use them. Error for unknown file systems.
* gnu/system/vm.scm (qemu-image): Include DOSFSTOOLS.
* gnu/system/linux-initrd.scm (base-initrd): Always add nls_is8859-1.ko.

7 years agovm: Support arbitrary partition flags.
Marius Bakke [Tue, 11 Apr 2017 08:47:38 +0000 (10:47 +0200)]
vm: Support arbitrary partition flags.

* gnu/build/vm.scm (<partition>): Change BOOTABLE? to FLAGS.
(initialize-partition-table): Pass each flag to parted.
(initialize-hard-disk): Locate boot partition.
* gnu/system/vm.scm (qemu-image): Adjust partition flags.

7 years agognu: guile-ssh: Fix potential double-free/use-after-free issue.
Ludovic Courtès [Fri, 19 May 2017 08:50:20 +0000 (10:50 +0200)]
gnu: guile-ssh: Fix potential double-free/use-after-free issue.

Fixes <http://bugs.gnu.org/26976>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/guile-ssh-double-free.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Add it.

7 years agomodules: Add more source-less modules.
Ludovic Courtès [Fri, 19 May 2017 08:45:12 +0000 (10:45 +0200)]
modules: Add more source-less modules.

* guix/modules.scm (%source-less-modules): New variable.
(source-module-dependencies): Use it.

7 years agopublish: Fix narinfo rendering for already-compressed items.
Ludovic Courtès [Thu, 18 May 2017 19:19:49 +0000 (21:19 +0200)]
publish: Fix narinfo rendering for already-compressed items.

Fixes <http://bugs.gnu.org/26975>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/publish.scm (bake-narinfo+nar): Pass #f as the 2nd
argument to 'stat' and properly handle #f.
* tests/publish.scm (wait-for-file): New procedure.
("with cache"): Remove 'wait-for-file' procedure.
("with cache, uncompressed"): New test.

7 years agognu: btrfs-progs: Update to 4.11.
Tobias Geerinckx-Rice [Thu, 18 May 2017 16:50:58 +0000 (18:50 +0200)]
gnu: btrfs-progs: Update to 4.11.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.11.

7 years agognu: mcelog: Update to 150.
Tobias Geerinckx-Rice [Thu, 18 May 2017 07:32:59 +0000 (09:32 +0200)]
gnu: mcelog: Update to 150.

* gnu/packages/linux.scm (mcelog): Update to 150.

7 years agognu: nano: Update to 2.8.3.
Efraim Flashner [Thu, 18 May 2017 16:13:10 +0000 (19:13 +0300)]
gnu: nano: Update to 2.8.3.

* gnu/packages/nano.scm (nano): Update to 2.8.3.

7 years agomaint: Add 'update-NEWS' target.
Ludovic Courtès [Thu, 18 May 2017 14:21:35 +0000 (16:21 +0200)]
maint: Add 'update-NEWS' target.

* build-aux/update-NEWS.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(GUIX_MAINTENANCE_DIRECTORY): New variable.
(update-NEWS): New target.
(.PHONY): Add it.