Commit Graph

21835 Commits

Author SHA1 Message Date
Ludovic Courtès 015f17e8b9
derivations: Introduce 'read-derivation-from-file'.
This avoids the open/fstat/close syscalls upon a cache hit that we had
with the previous idiom:

  (call-with-input-file file read-derivation)

where caching happened in 'read-derivation' itself.

* guix/derivations.scm (%read-derivation): Rename to...
(read-derivation): ... this.
(read-derivation-from-file): New procedure.
(derivation-prerequisites, substitution-oracle)
(derivation-prerequisites-to-build):
(derivation-path->output-path, derivation-path->output-paths):
(derivation-path->base16-hash, map-derivation): Use
'read-derivation-from-file' instead of (call-with-input-file …
read-derivation).
* guix/grafts.scm (item->deriver): Likewise.
* guix/scripts/build.scm (log-url, options->things-to-build): Likewise.
* guix/scripts/graph.scm (file->derivation): Remove.
(derivation-dependencies, %derivation-node-type): Use
'read-derivation-from-file' instead.
* guix/scripts/offload.scm (guix-offload): Likewise.
* guix/scripts/perform-download.scm (guix-perform-download): Likewise.
* guix/scripts/publish.scm (load-derivation): Remove.
(narinfo-string): Use 'read-derivation-from-file'.
2017-06-12 17:53:51 +02:00
Ludovic Courtès b46712159c
store: Speed up 'add-to-store'.
* guix/store.scm (add-to-store): Remove 'lstat' call.
2017-06-12 17:53:51 +02:00
nee 1243aaac73
gnu: crawl: Fix savegame upgrades.
* gnu/packages/patches/crawl-upgrade-saves.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/games.scm (crawl)[source]: Apply patch.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-12 15:02:23 +05:30
Efraim Flashner af5faef90f
gnu: aircrack-ng: Fix building on non-Intel machines.
* gnu/packages/networking.scm (aircrack-ng)[arguments]: Only use system
optimizations on x86_64 and i686 machines.
2017-06-12 10:35:55 +03:00
Danny Milosavljevic f37f949dfd
gnu: Add minicom.
* gnu/packages/engineering.scm (minicom): New variable.
2017-06-12 07:34:56 +02:00
Danny Milosavljevic 8cd7f43086
gnu: stellarium: Update to 0.15.2.
* gnu/packages/astronomy.scm (stellarium): Update to 0.15.2.
2017-06-12 07:33:31 +02:00
Danny Milosavljevic 2606fd6fc9
gnu: stellarium: Fix build with Qt 5.9.
* gnu/packages/astronomy.scm (stellarium)[arguments]:
Add phase "patch-version-check".
2017-06-12 07:33:14 +02:00
Leo Famulari 34a0984e57
gnu: libmwaw: Fix CVE-2017-9433.
* gnu/packages/patches/libmwaw-CVE-2017-9433.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/libreoffice.scm (libmwaw)[source]: Use it.
2017-06-12 01:20:34 -04:00
Leo Famulari e3c9ab5f41
gnu: libmwaw: Update to 0.3.11.
* gnu/packages/libreoffice.scm (libmwaw): Update to 0.3.11.
2017-06-12 01:20:21 -04:00
Tobias Geerinckx-Rice cdd85a85e7
gnu: youtube-dl: Update to 2017.06.12.
* gnu/packages/video.scm (youtube-dl): Update to 2017.06.12.
2017-06-12 04:25:56 +02:00
Tobias Geerinckx-Rice 783467ae02
gnu: mcelog: Update to 153.
* gnu/packages/linux.scm (mcelog): Update to 153.
2017-06-12 04:25:56 +02:00
Kei Kebreau 9cf8d93a9e
gnu: libgweather: Update to 3.24.1.
* gnu/packages/gnome.scm (libgweather): Update to 3.24.1.
2017-06-11 19:08:55 -04:00
Kei Kebreau 78a5205152
gnu: mate-menus: Update to 1.18.0.
* gnu/packages/mate.scm (mate-menus): Update to 1.18.0.
2017-06-11 18:46:02 -04:00
Kei Kebreau d954e569da
gnu: libmateweather: Update to 1.18.1.
* gnu/packages/mate.scm (libmateweather): Update to 1.18.1.
[arguments]: Remove obsolete "--with-gtk" flag.
2017-06-11 18:01:29 -04:00
Kei Kebreau 3bbdf6415a
gnu: mate-desktop: Update to 1.18.0.
* gnu/packages/mate.scm (mate-desktop): Update to 1.18.0.
[arguments]: Remove obsolete configure flags.
[inputs]: Remove python-2.
2017-06-11 17:34:15 -04:00
Adam Van Ymeren b53510e0d0
file-systems: Handle EIO error in 'ENOENT-safe' as well.
Trying to boot GuixSD when an audio CD is in the drive will die with an
"input/output error" when trying to read the superblock from the cd
drive.

This patch catches and warns in this case rather than dying.

* gnu/build/file-systems.scm (ENOENT-safe): Handle EIO.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-11 23:09:19 +02:00
Ludovic Courtès c08ea55e7e
packages: Add 'specifications->manifest'.
* gnu/packages.scm (specifications->manifest): New procedure.
* doc/guix.texi (Invoking guix package): Change example from using
'(compose list specification->package+output)' to using
'specifications->manifest'.
2017-06-11 23:05:23 +02:00
eacces c580ff6724
gnu: mercurial: Update to 4.2.1.
* gnu/packages/version-control.scm (mercurial): Update to 4.2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-11 22:54:05 +02:00
Kei Kebreau d84f718271
gnu: mate-icon-theme: Update to 1.18.2.
* gnu/packages/mate.scm (mate-icon-theme): Update to 1.18.2.
2017-06-11 14:41:33 -04:00
nee b6821ee051
gnu: Add five-or-more.
* gnu/packages/gnome.scm (five-or-more): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-06-11 14:04:57 -04:00
Marius Bakke f66ea7b8de
gnu: exiv2: Update to 0.26.
* gnu/packages/image.scm (exiv2): Update to 0.26.
[source]: Add new download location.
2017-06-11 15:42:52 +02:00
Marius Bakke 75cc8fe9ea
gnu: libextractor: Update to 1.4.
* gnu/packages/gnunet.scm (libextractor): Update to 1.4.
[source]: Remove obsolete patch and snippet.
* gnu/packages/patches/libextractor-ffmpeg-3.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-06-11 15:42:51 +02:00
Marius Bakke 20d87dfb45
gnu: alsa-plugins: Update to 1.1.4.
* gnu/packages/linux.scm (alsa-plugins): Update to 1.1.4.
2017-06-11 02:00:06 +02:00
Marius Bakke 31baa86448
gnu: alsa-utils: Update to 1.1.4.
* gnu/packages/linux.scm (alsa-utils): Update to 1.1.4.
2017-06-11 02:00:05 +02:00
Marius Bakke 88e2511e21
gnu: gnutls: Replace with 3.5.13.
This update addresses the following security advisories:

GNUTLS-SA-2017-3 (aka CVE-2017-7869) and GNUTLS-SA-2017-4.

See <https://gnutls.org/security.html> and <https://gnutls.org/news.html>.

* gnu/packages/patches/gnutls-skip-pkgconfig-test.patch,
gnu/packages/patches/gnutls-skip-trust-store-test.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register patches.
* gnu/packages/tls.scm (gnutls)[replacement]: New field.
(gnutls-3.5.13): New variable.
(gnutls/guile-2.2)[replacement]: New field. Set #f.
[source]: Inherit from GNUTLS-3.5.13.
2017-06-11 01:08:58 +02:00
Marius Bakke e35dc5e75e
gnu: tor: Update to 0.3.0.8 [security fixes].
Fixes CVE-2017-0375 and CVE-2017-0376, among other things.

https://blog.torproject.org/blog/tor-0308-released-fix-hidden-services-also-are-02429-02514-02612-0278-02814-and-02911

* gnu/packages/tor.scm (tor): Update to 0.3.0.8.
2017-06-11 00:42:30 +02:00
Marius Bakke 01614de1c3
gnu: slop: Update to 6.3.45.
* gnu/packages/xdisorg.scm (slop): Update to 6.3.45.
[inputs]: Add ICU4C.
2017-06-11 00:42:30 +02:00
Danny Milosavljevic 4eadc8b90d
gnu: Add python-swagger-spec-validator.
* gnu/packages/python.scm (python-swagger-spec-validator,
python2-swagger-spec-validator): New variables.
2017-06-10 23:48:50 +02:00
Rutger Helling d0306208b1
gnu: wine: Update to 2.10.
* gnu/packages/wine.scm (wine): Update to 2.10.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-06-10 23:41:42 +02:00
djwj 7f10628ca8
gnu: libgxps: Add "/" before name in source URL.
* gnu/packages/gnome.scm (libgxps)[source]: Add "/".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-06-10 23:39:59 +02:00
Efraim Flashner afd9ed5c0c
gnu: avidemux: Limit supported architectures.
* gnu/packages/video.scm (avidemux)[supported-systems]: New field, limit
to x86_64, i686 and armhf.
2017-06-10 23:32:02 +03:00
Danny Milosavljevic a81cae38ca
file-systems: Provide string->ext*-uuid, string->btrfs-uuid.
* gnu/build/file-systems.scm (string->ext2-uuid, string->ext3-uuid,
string->ext4-uuid, string->btrfs-uuid): New variables.  Export them.
2017-06-10 19:22:03 +02:00
Mathieu Othacehe fcf08b3261
bootloader: Fix rebase error on f96752e commit.
* gnu/system.scm (menu-entry->boot-parameters): Rename boot-name to
  bootloader-name.
2017-06-10 18:44:35 +02:00
Mathieu Othacehe f96752e378
bootloader: Rename boot-name to bootloader-name.
* gnu/system (<boot-parameters>)[boot-name]: Rename field to...
[bootloader-name]: ... this.  Adjust users.
* gnu/scripts/system.scm: Adjust accordingly.
2017-06-10 18:32:11 +02:00
Kei Kebreau 9a0968816f
gnu: evince: Enable XPS document support.
* gnu/packages/gnome.scm (evince)[inputs]: Add libarchive and libgxps.
2017-06-09 21:03:35 -04:00
Kei Kebreau 94e10cf4bd
gnu: Add libgxps.
* gnu/packages/gnome.scm (libgxps): New variable.
2017-06-09 21:03:35 -04:00
Marius Bakke 8caf5bac4c
gnu: xf86-video-openchrome: Update to 0.6.0.
* gnu/packages/xorg.scm (xf86-video-openchrome): Update to 0.6.0.
2017-06-10 01:49:16 +02:00
Marius Bakke bddcaf7625
gnu: xf86-video-ati: Update to 7.9.0.
* gnu/packages/xorg.scm (xf86-video-ati): Update to 7.9.0.
2017-06-10 01:47:40 +02:00
Marius Bakke b634408158
gnu: slop: Update to 6.3.43.
* gnu/packages/xdisorg.scm (slop): Update to 6.3.43.
2017-06-10 01:32:24 +02:00
Marius Bakke b2193c359a
gnu: xclip: Update to 0.13.
Yet another GitHub casualty. See: https://sourceforge.net/projects/xclip/

* gnu/packages/xdisorg.scm (xclip): Update to 0.13.
[source, home-page]: Change to new home.
[native-inputs]: Add AUTOCONF and AUTOMAKE.
[arguments]: Add "bootstrap" phase.
2017-06-10 01:17:21 +02:00
ng0 83f0d3a5c8
gnu: Add smu.
* gnu/packages/markup.scm (smu): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-06-10 00:12:13 +02:00
ng0 e5eede3fb3
gnu: Rename (gnu packages markdown) to (gnu packages markup).
* gnu/packages/markdown.scm: Rename this ...
* gnu/packages/markup.scm: ... to this.
* gnu-system.am (GNU_SYSTEM_MODULES): Change markdown.scm to markup.scm.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-06-10 00:11:36 +02:00
Marius Bakke 0866dd46a9
gnu: capnproto: Update to 0.6.1.
* gnu/packages/serialization.scm (capnproto): Update to 0.6.1.
2017-06-09 23:33:36 +02:00
Marius Bakke ad27449ef1
gnu: ffmpeg: Update to 3.3.2.
* gnu/packages/video.scm (ffmpeg): Update to 3.3.2.
2017-06-09 23:28:55 +02:00
Marius Bakke e6ad9bda49
gnu: p11-kit: Update to 0.23.7.
Newer releases are only available on GitHub. See release announcements:
https://lists.freedesktop.org/archives/p11-glue/2017-June/000661.html

* gnu/packages/tls.scm (p11-kit): Update to 0.23.7.
[source]: Remove obsolete substitution.
2017-06-09 23:26:48 +02:00
宋文武 b22cdf0c42
gnu: python-paramiko: Update to 2.1.2.
* gnu/packages.scm (python-paramiko, python2-paramiko):
Update to 2.1.2.  Enable tests.
2017-06-09 20:50:11 +08:00
Danny Milosavljevic bb7cf4f533
file-systems: Provide string->iso9660-uuid.
* gnu/build/file-systems.scm (string->iso9660-uuid): New variable.  Export it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-06-09 12:30:56 +02:00
Mathieu Othacehe 19c90e5f69
pull: Add a dependency to guile-git.
* build-aux/build-self.scm (guile-git, guile-bytestructures): New
  variables.
  (build): Add guile-git and guile-bytestructures to %load-path and
  %load-compiled-path.
2017-06-09 09:48:26 +02:00
Mathieu Othacehe 6b7b3ca981
guix: git: Add new module.
* guix/git.scm: New file.
* configure.ac: Check for (guile git).
* Makefile.am: Build guix/git.scm if (guile git) is available.
2017-06-09 09:48:26 +02:00
Mark H Weaver 6fe5c49ab4
gnu: linux-libre: Update to 4.11.4.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.11.4.
(%linux-libre-hash): Update hash.
2017-06-09 01:31:08 -04:00