Commit Graph

25303 Commits

Author SHA1 Message Date
Christopher Baines b069111f7a
vm: Call iso9660-image with #:register-closures? as #t.
* gnu/system/vm.scm (system-disk-image): Call iso9660-image with
  #:register-closures? as #t.
2017-09-06 08:43:52 +01:00
Christopher Baines e375d3fab7
vm: Add support for registering closures to iso9660-image.
* gnu/system/vm.scm (iso9660-image): Add support for registering closures.
2017-09-06 08:43:48 +01:00
Christopher Baines 309b8fe7e6
vm: Create /mnt in the generated ISO image in make-iso9660-image.
This is used in the installation process, as the mountpoint for the target
filesystem.

* gnu/build/vm.scm (make-iso9660-image): Create /mnt within the generated ISO
  image.
2017-09-06 08:43:44 +01:00
Christopher Baines 22bbdb5f79
vm: Add support for registering closures to make-iso9660-image.
This mimics the functionality in the root-partition-initializer used in
creating the QEMU image. This helps when trying to run guix system init from
the generated ISO image.

* gnu/build/vm.scm (make-iso9660-image): Add support for registering closures.
2017-09-06 08:43:38 +01:00
Efraim Flashner f1597427f2
gnu: file: Fix CVE-2017-1000249.
* gnu/packages/file.scm (file)[replacement]: New field.
(file/fixed): New variable.
* gnu/packages/commencement.scm (file-boot0): Use package/inherit.
* gnu/packages/patches/file-CVE-2017-1000249.patch.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-09-05 23:04:05 +03:00
Tobias Geerinckx-Rice 5cf0997a0b
gnu: ruby-coderay: Update to 1.1.2.
* gnu/packages/ruby.scm (ruby-coderay): Update to 1.1.2.
2017-09-05 20:57:14 +02:00
Tobias Geerinckx-Rice 26ac5c90c1
gnu: nginx: Enable HTTP/2.0 (ngx_http_v2_module).
* gnu/packages/web.scm (nginx)[arguments]: Add ‘--with-http_v2_module’ flag.
2017-09-05 20:57:14 +02:00
Tobias Geerinckx-Rice 352a5b639b
services: web: Fix nginx-service-type's ‘file’ procedure.
* gnu/services/web.scm (nginx-activation, nginx-shepherd-service): Replace
references to non-existent ‘config-file’ with ‘file’.
* doc/guix.texi (Web Services): Likewise.
2017-09-05 20:57:14 +02:00
Tobias Geerinckx-Rice 4695472f8a
doc: Fix typo in copyright header.
* doc/guix.texi: Move stray ‘@*’ to where it belongs.
2017-09-05 20:57:13 +02:00
Tobias Geerinckx-Rice 57d2898772
Handle the same HTTP redirects everywhere.
* guix/build/download.scm (http-fetch): Complete the hard-coded list of HTTP
redirection status codes.
* guix/http-client.scm (http-fetch): Likewise.
* guix/scripts/lint.scm (probe-uri): Likewise.
2017-09-05 20:57:13 +02:00
Tobias Geerinckx-Rice a4c1e99ed9
build: Negate ‘--disable-daemon’ help string.
This is a follow-up to commit c9b70836d0.

* configure.ac: Make ‘--disable-daemon’'s help text consistent with others.
2017-09-05 20:57:12 +02:00
Leo Famulari 514c2f4806
gnu: tcpdump: Fix CVE-2017-[11541,11542,11543].
* gnu/packages/patches/tcpdump-CVE-2017-11541.patch,
gnu/packages/patches/tcpdump-CVE-2017-11542.patch
gnu/packages/patches/tcpdump-CVE-2017-11543.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/admin.scm (tcpdump)[source]: Use them.
2017-09-05 14:53:50 -04:00
Efraim Flashner 4c2aaa6056
gnu: mesa: Use exactly llvm@3.9.1.
* gnu/packages/gl.scm (mesa)[inputs]: Use llvm@3.9.1.
2017-09-05 21:52:12 +03:00
Efraim Flashner 665c0958d8
gnu: mesa: Enable more drivers.
* gnu/packages/gl.scm (mesa)[arguments]: Split armhf and aarch64 driver
options, add more armhf specific drivers. Add offscreen platform.
2017-09-05 21:52:09 +03:00
Efraim Flashner 1f42989eb0
gnu: libdrm: Enable more drivers for arm and aarch64.
* gnu/packages/xdisorg.scm (libdrm)[arguments]: Add configure flags to
enable experimental architecture-specific video drivers.
2017-09-05 21:52:07 +03:00
Efraim Flashner 0cae36b5e5
gnu: libmediainfo: Adjust build phases.
* gnu/packages/video.scm (libmediainfo)[arguments]: Change to the build
directory before running autogen.
2017-09-05 21:51:03 +03:00
Mathieu Othacehe b100a70495
guix: Fix Guile current-processor-count deprecation warnings.
When current-processor-count is used without (ice-9 threads) being used, Guile
complains with the following warning:

Import (ice-9 threads) to have access to `current-processor-count'.

* guix/store.scm: Use (ice-9 threads).
2017-09-05 19:40:48 +02:00
Ricardo Wurmus fa67d56541
gnu: elogind: Update to 232.3.
* gnu/packages/freedesktop.scm (elogind): Update to 232.3.
[home-page]: Use new upstream home page.
[arguments]: Disable tests, add new required configure flags; add build phase
"autogen".
[native-inputs]: Add autoconf, automake, libtool, and python.
2017-09-05 16:59:46 +02:00
Ricardo Wurmus 8036caa75a
gnu: r-tidyr: Update to 0.7.1.
* gnu/packages/statistics.scm (r-tidyr): Update to 0.7.1.
2017-09-05 16:59:46 +02:00
Ricardo Wurmus 31b7f0c0fc
gnu: r-gdtools: Update to 0.1.6.
* gnu/packages/statistics.scm (r-gdtools): Update to 0.1.6.
2017-09-05 16:59:45 +02:00
Roel Janssen 325c039c1d
gnu: Add r-sparql.
* gnu/packages/bioinformatics.scm (r-sparql): New variable.
2017-09-05 11:02:03 +02:00
Tobias Geerinckx-Rice c0ac72e18c
gnu: epiphany: Update to 3.24.4.
* gnu/packages/gnome.scm (epiphany): Update to 3.24.4.
2017-09-05 05:44:27 +02:00
Tobias Geerinckx-Rice b8fb94d5b8
gnu: libvirt: Make selected inputs native-inputs.
* gnu/packages/virtualization.scm (libvirt)[inputs]: Move perl, polkit, and
python from here...
[native-inputs]: ...to here.
2017-09-05 05:27:41 +02:00
Tobias Geerinckx-Rice 2f110b32a4
gnu: libvirt: Update to 3.7.0.
* gnu/packages/virtualization.scm (libvirt): Update to 3.7.0.
[native-inputs]: Add libxslt for xsltproc.
2017-09-05 05:27:40 +02:00
Tobias Geerinckx-Rice 864f2f0ef0
gnu: python-libvirt: Update to 3.7.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 3.7.0.
2017-09-05 05:27:40 +02:00
Tobias Geerinckx-Rice b3fee5c141
gnu: Use HTTPS for libvirt.org.
* gnu/packages/virtualization.scm (libvirt, python-libvirt)[home-page]:
Use HTTPS.
2017-09-05 05:27:39 +02:00
Mark H Weaver b8b0f536a4
gnu: libidn2: Replace with 2.0.4 [security fixes].
* gnu/packages/libidn.scm (libidn2)[replacement]: New field.
(libidn2-2.0.4): New variable.
2017-09-04 20:39:20 -04:00
Ludovic Courtès a913d9d926
gnu: emacs-tiny: Fix typo.
* gnu/packages/emacs.scm (emacs-tiny)[description]: Fix typo.
2017-09-04 23:52:44 +02:00
Christopher Baines 26361de404
gnu: Add emacs-minitest.
* gnu/packages/emacs.scm (emacs-minitest): New variable.
2017-09-04 22:31:37 +01:00
Christopher Baines 4138e782dc
vm: Remove redundant conditional in system-disk-image.
* gnu/system/vm.scm (system-disk-image): Remove redundant conditional for
  #:file-system-type when calling qemu-image.
2017-09-04 22:30:04 +01:00
Marius Bakke a76585e553
Merge branch 'master' into staging 2017-09-04 22:34:28 +02:00
Marius Bakke 1dc32c2961
gnu: gtk+: Update to 3.22.20.
* gnu/packages/gtk.scm (gtk+): Update to 3.22.20.
2017-09-04 22:15:49 +02:00
Marius Bakke 3b6f837393
gnu: pango: Update to 1.40.12.
* gnu/packages/gtk.scm (pango): Update to 1.40.12.
2017-09-04 22:15:28 +02:00
Marius Bakke c427fda233
gnu: classpath-devel: Fix build after d10092b849.
* gnu/packages/java.scm (classpath-devel)[arguments]: Actually run 'bootstrap'
phase.
2017-09-04 22:08:55 +02:00
Alex Kost 8505d34829
gnu: emacs-browse-at-remote: Simplify 'check' phase.
* gnu/packages/emacs.scm (emacs-browse-at-remote)[native-inputs]: Add
'ert-runner'.
[arguments]: Run it in the 'check' phase.
2017-09-04 22:44:59 +03:00
Efraim Flashner 77bb6c227b
gnu: gpm: Fix build.
* gnu/packages/linux.scm (gpm)[arguments]: Patch autogen.sh shebang
during the 'boottstrap phase.
2017-09-04 22:36:01 +03:00
Efraim Flashner b82c63d013
gnu: quassel: Update package definition.
* gnu/packages/irc.scm (quassel)[source]: Remove bundled scripts.
[arguments]: Update comments in 'configure-flags.
[inputs]: Remove oxygen-icons. Move extra-cmake-modules and qttools ...
[native-inputs]: ... to here.
2017-09-04 22:21:33 +03:00
Leo Famulari 4b1dd9ab31
gnu: i3-wm: Update to 4.14.
* gnu/packages/wm.scm (i3-wm): Update to 4.14.
2017-09-04 11:19:27 -04:00
Leo Famulari 6cdb0f4d12
gnu: mpd: Update to 0.20.10.
* gnu/packages/mpd.scm (mpd): Update to 0.20.10.
2017-09-04 11:19:23 -04:00
Maxim Cournoyer b9f67d6dda
services: Add auto-enable? parameter to the bluetooth-service.
* gnu/services/desktop.scm (bluetooth-configuration): New record.
(bluetooth-shepherd-service): Use it.
(bluetooth-directory): New method.
(bluetooth-service-type): Use it to extend the etc-service-type service.
(bluetooth-service): Add `auto-enable?' parameter.
* doc/guix.texi (Desktop Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-04 15:41:24 +02:00
Oleg Pykhalov 65101a2596
gnu: Add python-ghp-import.
* gnu/packages/version-control.scm (python-ghp-import, python2-ghp-import):
New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-04 15:24:04 +02:00
Oleg Pykhalov 6325309898
gnu: Add emacs-tiny.
* gnu/packages/emacs.scm (emacs-tiny): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-04 15:24:04 +02:00
Paul Garlick c4d4a77923
gnu: pt-scotch32: use keyword arguments from "scotch32"
*gnu/packages/maths.scm (pt-scotch32) [arguments]: substitute keyword
arguments from "scotch32" package, ensuring that the INTSIZE32 macro is
set

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-04 15:24:04 +02:00
Mark H Weaver 6bd1c41e87
gnu: linux-libre: Update to 4.13.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.13.
(%linux-libre-hash): Update hash.
* gnu/packages/aux-files/linux-libre/4.12-i686.conf,
gnu/packages/aux-files/linux-libre/4.12-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/4.13-i686.conf,
gnu/packages/aux-files/linux-libre/4.13-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Adjust accordingly.
2017-09-04 05:31:07 -04:00
Efraim Flashner 709a3bb7b8
gnu: weechat: Change to cmake-build-system.
* gnu/packages/irc.scm (weechat)[build-system]: Switch to
cmake-build-system.
[arguments]: Remove configure-flags, disable tets, remove
'autogen phase.
[inputs]: Remove diffutils, libltdl, openssl, cyrus-sasl. Move gettext ...
[native-inputs]: ... to here. Remove autoconf, file, autogen, automake,
libtool.
2017-09-04 11:21:42 +03:00
Kei Kebreau d10092b849
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-09-04 00:10:59 -04:00
Ludovic Courtès 100b216d8a
gnu-maintenance: GNU updater no longer relies on FTP access.
Partly fixes <https://bugs.gnu.org/28159>.
Suggested by Hartmut Goebel <h.goebel@crazy-compilers.com>.

* guix/gnu-maintenance.scm (%gnu-file-list-uri): New variable.
(ftp.gnu.org-files, latest-gnu-release): New procedures.
(%gnu-updater)[pred]: Change to GNU-HOSTED?.
[latest]: Change to LATEST-GNU-RELEASE.
(%gnu-ftp-updater): New variable.
2017-09-03 23:36:17 +02:00
Ludovic Courtès e3c83a7cd3
memoization: (mlambda () ...) allows for inner 'define'.
Previously (mlambda () (define foo 2) bar) would trigger a syntax error.

* guix/memoization.scm (%mlambda): In the zero-argument case, move
BODY... to a lambda to allow for inner 'define' and such.
2017-09-03 23:36:17 +02:00
Christopher Baines 4363767394
build: Fix helpful output for emacs-build-system install phase.
Detecting when no files were installed was broken when switching to use
cond. Test with (not (null? ...)) to fix this.

* guix/build/emacs-build-system.scm (install): Fix detecting when no files
  were installed.
2017-09-03 19:39:11 +01:00
Efraim Flashner 5804c7b616
gnu: libmateweather: Update inputs.
* gnu/packages/mate.scm (libmateweather)[inputs]: Remove gdk-pixpuf.
Move dconf ...
[native-inputs]: ... to here.
2017-09-03 18:01:12 +03:00