Commit Graph

24857 Commits

Author SHA1 Message Date
Efraim Flashner 4e169fc67a
gnu: python-psycopg2: Use postgresql@9.6.
* gnu/packages/python.scm (python-psycopg2)[inputs]: Replace postgresql
with postgresql@9.6.
2017-10-12 23:39:36 +03:00
Efraim Flashner 7658d89bb7
gnu: Add postgresql@9.6.
* gnu/packages/databases.scm (postgresql@9.6): New variable.
2017-10-12 23:39:35 +03:00
Christopher Baines ee8aab1f8d
gnu: Add python-jupyter-console as input to python-ipython.
This fixes running ipython console and ipython3 console, as the
jupyter_console package is missing.

As python-ipython is an input to python-jupyter-console, use a modified
version of the package which doesn't have this input.

* gnu/packages/python.scm (python-jupyter-console-minimal): New variable.
  (python-ipython)[propagated-inputs]: Replace python-jupyter-console with
  python-jupyter-console-minimal.
2017-10-12 20:23:25 +01:00
Marius Bakke db314bf44e
gnu: wireshark: Minor package improvements.
* gnu/packages/networking.scm (wireshark)[inputs]: Move QTTOOLS ...
[native-inputs]: ... here.
[home-page]: Remove duplicate.
2017-10-12 20:32:09 +02:00
Marius Bakke 453361b374
gnu: wireshark: Update to 2.4.2.
* gnu/packages/networking.scm (wireshark): Update to 2.4.2.
2017-10-12 20:25:38 +02:00
Marius Bakke 24384c39ad
gnu: xorg-server: Update to 1.19.5. [security fixes]
Fixes CVE-2017-{12176..12187}.  See
<https://lists.x.org/archives/xorg-announce/2017-October/002814.html>

* gnu/packages/xorg.scm (xorg-server): Update to 1.19.5.
2017-10-12 20:02:39 +02:00
Marius Bakke fc0ed8c9c9
Revert "gnu: xorg-server: Make the test-variant visible."
Hiding/unhiding changes the derivation and thus this caused too many rebuilds
for 'master'.

This reverts commit 8cf892e6cd.
2017-10-12 19:35:53 +02:00
Marius Bakke 0bf6212338
gnu: libextractor: Update to 1.5.
* gnu/packages/gnunet.scm (libextractor): Update to 1.5.
2017-10-12 19:24:59 +02:00
Marius Bakke d636fd99c3
gnu: ccid: Update to 1.4.28.
* gnu/packages/security-token.scm (ccid): Update to 1.4.28.
2017-10-12 19:24:59 +02:00
Marius Bakke 2a087882b1
gnu: mesa: Disable imx driver for armhf-linux.
* gnu/packages/gl.scm (mesa)<#:configure-flags>: Don't build imx driver.
2017-10-12 19:24:58 +02:00
Efraim Flashner 5acd59ee12
gnu: qt: Update to 5.9.2.
* gnu/packages/qt.scm (qt): Update to 5.9.2.
[outputs]: Add 'examples'.
[source]: Update 3rd party code to unbundle.
[inputs]: Add bluez, double-conversion, gstreamer, gst-plugins-base,
jasper, libinput-minimal, libtiff, libwebp, libxext, wayland. Replace
pcre with pcre2.
[arguments]: Re-enable parallel building. Update build flags.
2017-10-12 20:00:19 +03:00
Ludovic Courtès aad8a14300
services: cleanup: Remove Shadow lock files from /etc.
Partly fixes <https://bugs.gnu.org/28772>.
Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* gnu/services.scm (cleanup-gexp): Remove /etc/{passwd,group}.lock and
/etc/.pwd.lock.
2017-10-12 17:51:41 +02:00
Ludovic Courtès d8e89b1c79
offload: Reduce the number of calls to 'machine-load'.
Previously we would call 'machine-load' once per machine, which was very
costly when there were many machines.  Now we arrange to call it only
once on average (when all the machines have the same 'speed' value).

* guix/scripts/offload.scm (random-seed, shuffle): New procedures.
(choose-build-machine)[machines+slots+loads]: Rename to...
[machines+slots]: ... this.  Remove load from the tuples therein.
[undecorate]: Adjust accordingly.
[machine-less-loaded-or-faster?]: Remove.
[machine-faster?]: New procedure.
Sort MACHINES+SLOTS according to 'machine-faster?'.  Call
'machine-load?' as the last thing.
2017-10-12 17:51:41 +02:00
宋文武 abaee53c80
substitute: Close the progress port after substitute finished.
Fixes <https://bugs.gnu.org/28756>.

* guix/scripts/substitute.scm (progress-substitution):
Call '(close-port progress)'.
2017-10-12 22:31:22 +08:00
Ricardo Wurmus c6643f2d52
gnu: f-seq: Truncate version string.
* gnu/packages/bioinformatics.scm (f-seq)[version]: Truncate commit part of
the version string.
2017-10-12 08:43:54 +02:00
Ludovic Courtès 7ad81b8b67
gnu: totem: Update to 3.26.0.
* gnu/packages/gnome.scm (totem): Update to 3.26.0.
[source]: Add 'patches' field.
[build-system]: Switch to MESON-BUILD-SYSTEM.
[native-inputs]: Add GTK+:bin and GLIB:bin.
[arguments]: Pass #:glib-or-gtk?.  Adjust #:configure-flags to new
syntax.
* gnu/packages/patches/totem-meson-easy-codec.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-10-11 23:00:46 +02:00
Ludovic Courtès b27ce4164a
services: gnome: Register more polkit actions.
This should allow more operations such as changing the system date and
time via the Control Center (reported at
<https://lists.gnu.org/archive/html/help-guix/2016-09/msg00059.html>),
performing "file operations" via gvfs, and interacting with processes
using the System Monitor.

* gnu/services/desktop.scm (gnome-polkit-settings): New procedure.
(gnome-desktop-service-type): Use it in POLKIT-SERVICE-TYPE extension.
2017-10-11 23:00:46 +02:00
Tobias Geerinckx-Rice 22345a8ed7
gnu: mobile-broadband-provider-info: Update to 20170310.
* gnu/packages/gnome.scm (mobile-broadband-provider-info): Update to 20170310.
2017-10-11 21:53:37 +02:00
Tobias Geerinckx-Rice be84a1231e
gnu: dovecot: Update to 2.2.33.1.
* gnu/packages/mail.scm (dovecot): Update to 2.2.33.1.
2017-10-11 21:53:36 +02:00
Tobias Geerinckx-Rice 3bf42e22b3
gnu: gparted: Update to 0.30.0.
* gnu/packages/disk.scm (gparted): Update to 0.30.0.
2017-10-11 21:53:36 +02:00
Tobias Geerinckx-Rice f9bd6b3aef
gnu: evince: Update to 3.26.0.
* gnu/packages/gnome.scm (evince): Update to 3.26.0.
2017-10-11 21:53:36 +02:00
Tobias Geerinckx-Rice f51ea1cd61
gnu: orca: Update to 3.26.0.
gnu/packages/gnome.scm (orca): Update to 3.26.0.
2017-10-11 21:53:35 +02:00
Thomas Danckaert de47cfed13
gnu: bluez: Disable unpredictable test on armhf.
* gnu/packages/linux.scm (bluez): [arguments] Add phase to skip a test instead
of marking it as XFAIL.
2017-10-11 21:44:06 +02:00
Ricardo Wurmus 01d87d3c18
gnu: rcas-web: Update to 0.0.4.
* gnu/packages/bioinformatics.scm (rcas-web): Update to 0.0.4.
2017-10-11 21:37:37 +02:00
Ludovic Courtès 85a2b58987
zlib: Fix memory leak due to revealed ports not being GC'd.
Fixes <https://bugs.gnu.org/28784>.

This mostly reverts 81a0f1cdf1, which
introduced a regression: revealed ports are *never* GC'd (contrary to
what Guile's manual suggests).

In addition to the revert, 'close-procedure' now explicitly swallows
EBADF errors when 'close-port' is called.

* guix/zlib.scm (close-procedure): New procedure.
(make-gzip-input-port)[gzfile]: Use 'fileno' instead of 'port->fdes'.
Use 'close-procedure' instead of 'gzclose'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Use 'port-closed?'
to determine whether PARENT has been closed.
2017-10-11 15:20:50 +02:00
Leo Famulari 5781c7dd27
gnu: mpg123: Update to 1.25.7.
* gnu/packages/mp3.scm (mpg123): Update to 1.25.7.
2017-10-11 08:24:13 -04:00
Ludovic Courtès 50fcf37c13
doc: Give an example with a FAT UUID.
* gnu/system/examples/lightweight-desktop.tmpl <file-systems>: Add a
UUID for the /boot/efi partition.
* doc/guix.texi (Using the Configuration System): Mention it.
2017-10-11 11:12:33 +02:00
Ludovic Courtès 03f66aea63
uuid: Change "fat32" to "fat".
* gnu/system/uuid.scm (%fat32-endianness): Rename to...
(%fat-endianness): ... this.
(fat32-uuid->string): Rename to...
(fat-uuid->string): ... this.
(%fat32-uuid-rx): Rename to..
(%fat-uuid-rx): ... this.
(string->fat32-uuid): Rename to...
(string->fat-uuid): ... this.
(%uuid-parsers, %uuid-printers): Add 'fat16.
2017-10-11 11:12:33 +02:00
Ludovic Courtès 88235675fc
file-systems: Add support for FAT16.
* gnu/build/file-systems.scm (check-fat32-file-system): Rename to...
(check-fat-file-system): ... this.
(check-file-system): Adjust accordingly.
(fat16-superblock?, read-fat16-superblock)
(fat16-superblock-uuid, fat16-superblock-volume-name): New procedures.
(%partition-label-readers, %partition-uuid-readers): Add FAT16.
2017-10-11 11:12:33 +02:00
Ludovic Courtès 9976c76aab
file-systems: Preserve UUID types when serializing.
Reported by Roel Janssen <roel@gnu.org>
at <https://lists.gnu.org/archive/html/help-guix/2017-09/msg00094.html>.

* gnu/system/file-systems.scm (file-system->spec): When DEVICE is a
UUID, serialize it in a way that preserves its type.
(spec->file-system): Adjust accordingly.
* gnu/build/file-systems.scm (canonicalize-device-spec): Add case for
when SPEC is 'uuid?'.
2017-10-11 11:12:33 +02:00
Ludovic Courtès 1c65cca574
file-systems: 'mount-file-system' now takes a <file-system> object.
* gnu/build/file-systems.scm (mount-file-system): Rename 'spec' to 'fs'
and assume it's a <file-system>.
* gnu/build/linux-boot.scm (boot-system): Assume MOUNTS is a list of
<file-system> and adjust accordingly.
* gnu/build/linux-container.scm (mount-file-systems): Remove
'file-system->spec' call.
* gnu/services/base.scm (file-system-shepherd-service): Add
'spec->file-system' call.  Add (gnu system file-systems) to 'modules'.
* gnu/system/linux-initrd.scm (raw-initrd): Use (gnu system
file-systems).  Add 'spec->file-system' call for #:mounts.
2017-10-11 11:12:33 +02:00
Theodoros Foradis f26af33aec
gnu: Add freehdl.
* gnu/packages/engineering.scm (freehdl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-10-11 11:12:33 +02:00
Theodoros Foradis 91cabd3e58
gnu: Add xyce-parallel.
* gnu/packages/engineering.scm (trilinos-parallel-xyce)
(xyce-parallel): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-10-11 11:12:33 +02:00
Theodoros Foradis 1da02b6a49
gnu: Add xyce-serial.
* gnu/packages/engineering.scm (trilinos-serial-xyce)
(xyce-serial): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-10-11 11:12:33 +02:00
Theodoros Foradis b509efb385
gnu: Add lapack-3.5.
* gnu/packages/maths.scm (lapack-3.5): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-10-11 11:12:33 +02:00
Ricardo Wurmus 22d1060eff
gnu: python-rpy2: Ignore test results.
* gnu/packages/python.scm (python-rpy2)[arguments]: Ignore test failures.
2017-10-11 11:06:05 +02:00
Roel Janssen 6de897ac5a
gnu: Add r-ggdendro.
* gnu/packages/statistics.scm (r-ggdendro): New variable.
2017-10-11 10:02:08 +02:00
Mark H Weaver 2f44e7b036
gnu: linux-libre@4.9: Update to 4.9.54.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.54.
2017-10-11 00:39:27 -04:00
Mark H Weaver dac1d8efd4
gnu: linux-libre@4.4: Update to 4.4.91.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.91.
2017-10-11 00:38:46 -04:00
Eric Bavier 7740228e35
build: Set 'NIX_BUILD_HOOK' only if offloading is configured.
This prevents libstore/build.cc from executing nix/scripts/offload, which is
always created by config.status, when offload support is not enabled.

* build-aux/pre-inst-env.in: Export 'NIX_BUILD_HOOK' only when
configured; unset it otherwise.
2017-10-10 23:16:07 -05:00
Tobias Geerinckx-Rice c3bece41b7
gnu: dovecot: Update to 2.2.33.
* gnu/packages/mail.scm (dovecot): Update to 2.2.33.
2017-10-10 23:42:35 +02:00
Ludovic Courtès db9c49f499
gnu: games: Remove unneeded import.
Fixes a regression introduced in
42abb842f6.

* gnu/packages/games.scm: Remove unneeded (guix build utils) import,
which led to a name clash on 'which'.
2017-10-10 23:12:04 +02:00
Ludovic Courtès 90eaa9419a
import: cpan: Load (gnu packages perl) lazily.
* guix/import/cpan.scm: Remove dependency on (gnu packages perl).
(perl-package): New procedure.
(%corelist, core-module?): Use it instead of referring to 'perl'.
2017-10-10 23:12:04 +02:00
Ludovic Courtès b719ddbbbb
import: pypi: Remove unneeded import.
* guix/import/pypi.scm: Remove unneeded import.
2017-10-10 23:12:03 +02:00
Ludovic Courtès a6e22d8445
ui: Improve reporting of missing closing parentheses.
Suggested by Ricardo Wurmus.
Works around <https://bugs.gnu.org/28295>.

* guix/ui.scm (report-load-error): Add case for 'read-error'.
* tests/guix-system.sh: Test missing-closing-paren errors.
2017-10-10 23:12:03 +02:00
Troy Sankey 3f81ca324b
gnu: alot: Update to 0.5.1.
* gnu/packages/mail.scm (alot): Update to 0.5.1.
[arguments]: Enable tests.
[native-inputs]: Add python2-mock.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2017-10-10 23:09:41 +02:00
Troy Sankey c1578ad063
gnu: python-twisted: Update to 17.1.0.
* gnu/packages/python.scm (python-twisted): Update to 17.1.0.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2017-10-10 23:09:41 +02:00
Troy Sankey 0cd83b4e00
gnu: Add python-incremental.
* gnu/packages/python.scm (python-incremental, python2-incremental): New
variables.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2017-10-10 23:09:41 +02:00
Troy Sankey 96cb5ca1f2
gnu: Add python-automat.
* gnu/packages/python.scm (python-automat, python2-automat): New variables.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2017-10-10 23:09:41 +02:00
Ricardo Wurmus 6414410d7a
gnu: Add python-graphviz.
* gnu/packages/graphviz.scm (python-graphviz, python2-graphviz): New
variables.
2017-10-10 23:09:40 +02:00