Commit Graph

33164 Commits

Author SHA1 Message Date
Ludovic Courtès 71bf6cb700
guix system: init: Check the available space before copying.
* guix/scripts/system.scm (copy-closure): Call 'query-path-info*' on
TO-COPY and REFS.  Compute the total size.  Call 'check-available-space'.
2018-07-03 00:39:11 +02:00
Ludovic Courtès 8120b23e51
ui: Make 'check-available-space' public.
* guix/ui.scm (check-available-space): Add optional 'directory'
parameter, defaulting to (%store-prefix).  Honor it.  Make public.
2018-07-03 00:39:10 +02:00
Ludovic Courtès 0744a9f002
store: Add 'query-path-info*'.
* guix/scripts/size.scm (query-path-info*): Move to...
* guix/store.scm (query-path-info*): ... here.
2018-07-03 00:39:10 +02:00
Ludovic Courtès 24420f5ffa
packages: Optimize 'package-transitive-supported-systems'.
This version is 13% faster than the one above when timing:

  (fold-packages (lambda (p x)
		   (package-transitive-supported-systems p))
		 '())

* guix/packages.scm (package-transitive-supported-systems): Make
'systems' a set instead of calling 'lset-intersection' repeatedly.
2018-07-03 00:39:10 +02:00
Nicolas Goaziou c729901583
gnu: python-duniterpy: Change module.
* gnu/packages/python-crypto.scm (python-duniterpy): Move...
* gnu/packages/finance.scm: ... here.
2018-07-02 23:27:07 +02:00
Nicolas Goaziou 929d4d2f4a
gnu: python-pylibscrypt: Improve speed.
* gnu/packages/python-crypto.scm (python-pylibscrypt): Use "libscrypt"
  implementation instead of "openssl".

"hashlib.scrypt" requires Python 3.6+ and OpenSSL 1.1+.  Since Python is built
with OpenSSL 1.0, the library is unavailable. "pylibscrypt" defaults to a slow
pure Python implementation.  Instead, rely on the much faster "libscrypt".
2018-07-02 23:12:40 +02:00
Nicolas Goaziou 84be0e9a74
gnu: Add libscrypt.
* gnu/packages/crypto.scm (libscrypt): New variable.
2018-07-02 23:12:14 +02:00
Kei Kebreau 2926e950ce
gnu: Add freedink-dfarc.
* gnu/packages/games.scm (freedink-dfarc): New variable.
2018-07-02 14:42:36 -04:00
Tobias Geerinckx-Rice 63e708f468
gnu: bambam: Don't use unstable tarball.
* gnu/packages/games.scm (bambam)[source]: Use GIT-FETCH.
2018-07-02 20:19:08 +02:00
Tobias Geerinckx-Rice a62764bdbb
gnu: zstd: Update to 1.3.5.
* gnu/packages/compression.scm (zstd): Update to 1.3.5.
[source]: Add two patches to make the test suite pass.
* gnu/packages/patches/zstd-fix-stdin-list-without-tty.patch,
gnu/packages/patches/zstd-fix-stdin-list-test.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add both.
2018-07-02 20:19:07 +02:00
Tobias Geerinckx-Rice 8ef7ecf469
gnu: acpica: Update to 20180629.
* gnu/packages/admin.scm (acpica): Update to 20180629.
2018-07-02 20:19:07 +02:00
Tobias Geerinckx-Rice 595d1bd517
gnu: Remove duplicate imports from (gnu packages graphics).
* gnu/packages/graphics.scm (define-module): Remove duplicate module
imports.  Order the remainers alphabetically.
2018-07-02 20:19:07 +02:00
Tobias Geerinckx-Rice 4ef3490d44
gnu: bambam: Update to 0.6.
* gnu/packages/games.scm (bambam): Update to 0.6.
2018-07-02 20:19:06 +02:00
Tim Gesthuizen e402a66b07
gnu: teeworlds: Add missing dependency.
* gnu/packages/games.scm (teeworlds)[native-inputs]: Add pkg-config.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-07-02 18:46:43 +02:00
Nicolas Goaziou 730553d715
gnu: Add silkaj.
* gnu/packages/finance.scm (silkaj): New variable.
2018-07-02 17:50:20 +02:00
Nicolas Goaziou 1fa1d822fa
gnu: Add python-scrypt.
* gnu/packages/python-crypto.scm (python-scrypt): New variable.
2018-07-02 17:50:20 +02:00
Nicolas Goaziou 2cde6e1de3
gnu: Add python-commandlines.
* gnu/packages/python.scm (python-commandlines): New variable.
2018-07-02 17:50:20 +02:00
Ricardo Wurmus 2cc63e6fcf
gnu: java-hamcrest-all: Add java-hamcrest-core to inputs.
Fixes <https://debbugs.gnu.org/31390>, probably.

* gnu/packages/java.scm (java-hamcrest-all)[inputs]: Add java-hamcrest-core.
[arguments]: Add java-hamcrest-core to the build-time classpath.
2018-07-02 16:48:03 +02:00
Ludovic Courtès 084f64cb03
self: Build with Guile 2.2.4.
* guix/self.scm (guile-for-build): In the "2.2" case, choose
GUILE-2.2.4.
2018-07-02 15:28:35 +02:00
Ludovic Courtès 8970a886e6
self: Use #:guile-for-build in the shebang of the 'guix' executable.
* guix/self.scm (guix-command): Add #:guile and pass it to 'program-file'.
(whole-package): Add #:guile and pass it to 'guix-command'.
(compiled-guix): Pass #:guile to 'guix-command' and 'whole-package'.
2018-07-02 15:28:35 +02:00
Ludovic Courtès 223fa5b327
utils: Micro-optimize 'source-properties->location'.
* guix/utils.scm (source-properties->location): Destructure LOC with
'match', adding a fast path without 'assq-ref' calls.
2018-07-02 15:28:35 +02:00
Ludovic Courtès 3059a35afe
utils: Disable memoization for 'location'.
This was getting 25% hits, which did not quite justify the overhead.

* guix/utils.scm (location): Remove 'mlambda'.
2018-07-02 15:28:35 +02:00
Ludovic Courtès 96b2b0ddc9
gnu: guile: Add version 2.2.4.
* gnu/packages/guile.scm (guile-2.2.4): New variable.
2018-07-02 15:28:35 +02:00
Gábor Boskovits 1cdff8cdb7
gnu: icedtea: Work around gcc segfault.
* gnu/packages/java.scm (icedtea-6)[arguments]: Modify phases to extract
hostspot, as after the patching it becomes an archive.
[native-inputs]: add patch to hotspot-src.
* gnu/packages/patches/icedtea-6-hotspot-gcc-segfault-workaround.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-07-02 14:41:27 +02:00
Gábor Boskovits 79f9b054df
Revert "gnu: icedtea-7: Build with gcc-4.9."
This reverts commit bc73f673e8.
2018-07-02 14:39:12 +02:00
Tobias Geerinckx-Rice 6e65eb3cad
gnu: cdogs-sdl: Update to 0.6.7.
* gnu/packages/games.scm (cdogs-sdl): Update to 0.6.7.
[source]: Use version tag.
2018-07-02 00:45:19 +02:00
Tobias Geerinckx-Rice 39f516cb83
gnu: godot: Don't use unstable tarball.
* gnu/packages/game-development.scm (godot)[source]: Use GIT-FETCH.
2018-07-02 00:45:19 +02:00
Tobias Geerinckx-Rice a1205efe11
gnu: godot: Update to 3.0.4.
* gnu/packages/game-development.scm (godot): Update to 3.0.4.
2018-07-02 00:45:19 +02:00
Efraim Flashner 3c14a6e0ca
gnu: gama: Update to 2.00.
* gnu/pacakges/gps.scm (gama): Update to 2.00.
2018-07-01 21:01:40 +03:00
Efraim Flashner 08b3bff78b
gnu: gnu-pw-mgr: Update to 2.3.2.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.3.2.
2018-07-01 20:33:43 +03:00
Marius Bakke 2030c484b2
gnu: re2: Update to 2018-07-01.
* gnu/packages/regex.scm (re2): Update to 2018-07-01.
2018-07-01 19:26:56 +02:00
Marius Bakke afb27214d1
gnu: libraw: Enable optional functionality.
* gnu/packages/photo.scm (libraw)[native-inputs]: Add PKG-CONFIG.
[inputs]: Add LIBJPEG-8.
[propagated-inputs]: Add LCMS.
2018-07-01 19:26:56 +02:00
Marius Bakke afea869404
gnu: libraw: Correct license.
* gnu/packages/photo.scm (libraw)[license]: Change from LGPL2.1+ to LGPL2.1.
Add CDDL1.0.
2018-07-01 19:26:56 +02:00
Marius Bakke 290532870e
gnu: libraw: Update to 0.19.0.
* gnu/packages/photo.scm (libraw): Update to 0.19.0.
2018-07-01 19:26:56 +02:00
Oleg Pykhalov 9602318736
gnu: emacs-browse-at-remote: Update to 0.10.0.
* gnu/packages/emacs.scm (emacs-browse-at-remote): Update to 0.10.0.
* gnu/packages/patches/emacs-browse-at-remote-cgit-gnu.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-01 19:43:17 +03:00
Nicolas Goaziou 545ceac801
gnu: musescore: Update to 2.3.
* gnu/packages/music.scm (musescore): Update to 2.3.
[source]: Switch to a more stable location.
[arguments]: Remove a fix applied upstream.
2018-07-01 15:23:11 +02:00
Alex Sassmannshausen dfee30c7ea
gnu: Add guile-hall.
* gnu/packages/guile.scm (guile-hall): New variable.
2018-07-01 14:00:00 +02:00
Oleg Pykhalov 49d9fce827
gnu: emacs-nix-mode: Fix build by switching upstream source.
'nix' version 2 doesn't provide Emacs libraries anymore.

* gnu/packages/package-management.scm (emacs-nix-mode): Do not inherit
'nix'.  Switch upstream source to <https://github.com/nixos/nix-mode>.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-07-01 18:00:36 +08:00
Kei Kebreau 7a3772b374
gnu: qtoctave: Fix build for Qt 5.11.
* gnu/packages/maths.scm (qtoctave)[source]: Add patch.
[native-inputs]: Add texlive.
* gnu/packages/patches/qtoctave-qt-5.11-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-06-30 20:05:58 -04:00
Efraim Flashner 1314d34939
gnu: teckit: Add source file-name.
* gnu/packages/fontutils.scm (teckit)[source]: Add file-name field.
2018-06-30 22:53:00 +03:00
Ludovic Courtès fe84a00f87
gnu: Add casync.
* gnu/packages/sync.scm (casync): New variable.
2018-06-30 17:50:20 +02:00
Ludovic Courtès 949457c150
gnu: abcde: Add missing Perl dependencies.
* gnu/packages/cdrom.scm (abcde)[inputs]: Add perl-musicbrainz-discid,
perl-webservice-musicbrainz, and perl-mojolicious.
[arguments] <wrap>: Define PERL5LIB in the wrapper.
2018-06-30 17:50:20 +02:00
Ludovic Courtès 5ae27f577b
gnu: gcc-toolchain: Add version 8.
* gnu/packages/commencement.scm (gcc-toolchain-8): New variable.
2018-06-30 17:50:20 +02:00
Ludovic Courtès b2961dda23
gnu: Add perl-webservice-musicbrainz.
* gnu/packages/music.scm (perl-webservice-musicbrainz): New variable.
2018-06-30 17:50:19 +02:00
Ludovic Courtès b0c2c5abf3
gnu: Add perl-musicbrainz-discid.
* gnu/packages/music.scm (perl-musicbrainz-discid): New variable.
2018-06-30 17:50:19 +02:00
Alex Sassmannshausen 7c6468c980
gnu: guile-config: Update to 0.3.
* gnu/packages/guile.scm (guile-config): Update to 0.3.
2018-06-30 17:09:18 +02:00
Tobias Geerinckx-Rice d17d1e75ba
gnu: libgphoto2: Update to 2.5.18.
* gnu/packages/photo.scm (libgphoto2): Update to 2.5.18.
2018-06-30 03:46:21 +02:00
Tobias Geerinckx-Rice e0ca1afc87
gnu: ristretto: Update to 0.8.3.
* gnu/packages/xfce.scm (ristretto): Update to 0.8.3.
2018-06-30 03:46:21 +02:00
Tobias Geerinckx-Rice 56e59b3993
gnu: wget2: Return #t from phases.
* gnu/packages/wget.scm (wget2)[arguments]: Substitute INVOKE for SYSTEM*.
2018-06-30 03:46:21 +02:00
Tobias Geerinckx-Rice 0f6dc120ca
gnu: slepc: Return #t from all phases.
* gnu/packages/maths.scm (slepc)[arguments]: Return #t rather than
undefined from phases.
2018-06-30 03:46:20 +02:00