Commit Graph

33172 Commits

Author SHA1 Message Date
Oleg Pykhalov 3a15d0aa9c
bash completion: Complete files names after 'guix weather -m'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
2018-07-03 06:58:51 +03:00
Oleg Pykhalov 9b0a755f64
bash completion: Complete files names after 'guix build -L'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
2018-07-03 06:58:51 +03:00
Kei Kebreau 6104f922ee
gnu: units: Update to 2.17.
* gnu/packages/maths.scm (units): Update to 2.17.
2018-07-02 21:12:55 -04:00
Gábor Boskovits 673135df30
gnu: icedtea Work around gcc segfault.
* gnu/packages/java.scm (icedtea-8)[native-inputs]: Add icedtea-7
patch to hotspot.
2018-07-03 02:07:14 +02:00
Leo Famulari 86163a017b
gnu: libgit2: Update to 0.26.4 [fixes CVE-2018-11235].
* gnu/packages/version-control.scm (libgit2): Update to 0.26.4.
(source): Adjust patch name.
* gnu/packages/patches/libgit2-0.25.1-mtime-0.patch: Rename to ...
* gnu/packages/patches/libgit2-mtime-0.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2018-07-02 19:47:46 -04:00
Gábor Boskovits db024183c9
gnu: icedtea: Work around gcc segfault.
* gnu/packages/java.scm (icedtea-7)[native-inputs]: Add patch to hotspot.
* gnu/packages/patches/icedtea-7-hotspot-gcc-segfault-workaround.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-07-03 00:53:56 +02:00
Ludovic Courtès 3dbf331942
deduplication: Place link files under /gnu/store/.links.
Previously they'd always be placed next to TO-REPLACE, which would lead
to EPERM in some cases.

* guix/store/deduplication.scm (replace-with-link): Add #:swap-directory
parameter and honor it.  Add call to 'make-file-writable'.  Catch
'system-error' around 'rename-file'.
(deduplicate): Pass #:swap-directory and remove uses of
'false-if-system-error'.
* tests/store-deduplication.scm ("deduplicate"): Add 'chmod' call.
2018-07-03 00:39:11 +02:00
Ludovic Courtès af2f8ae5f1
deduplication: Fix incorrect use of 'throw'.
* guix/store/deduplication.scm (get-temp-link): In handler, fix call to
'throw'.
2018-07-03 00:39:11 +02:00
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