Commit Graph

21397 Commits

Author SHA1 Message Date
Ludovic Courtès dcfc6f213b
ui: 'show-what-to-build' warns when we don't have enough disk space.
* guix/ui.scm (check-available-space): New procedure.
(show-what-to-build): Compute 'installed-size' and call
'check-available-space'.
2017-06-02 18:47:07 +02:00
Ludovic Courtès 65f224dc8d
syscalls: Provide 'free-disk-space'.
* guix/build/syscalls.scm (free-disk-space): New procedure.
* guix/scripts/gc.scm (guix-gc)[ensure-free-space]: Use it instead of
'statfs'.
2017-06-02 18:47:07 +02:00
Ludovic Courtès d9bad2f082
ui: 'show-what-to-build' displays how much will be downloaded.
* guix/ui.scm (show-what-to-build)[download-size]
[display-download-size?]: New variables.
Add cases for when DISPLAY-DOWNLOAD-SIZE? is true.
2017-06-02 18:47:06 +02:00
Ludovic Courtès 2dc98729af
derivations: 'derivation-prerequisites-to-build' returns <substitutable>.
* guix/derivations.scm (derivation-prerequisites-to-build): Rename
 #:substitutable? to #:substitutable-info.
[derivation-substitutable?]: Rename to...
[derivation-substitutable-info]: ... this.  Return a list of <substitutable>.
Second return value is now a list of <substitutable> instead of a list
of strings.
* guix/ui.scm (show-what-to-build)[substitutable?]: Rename to...
[substitutable-info]: ... this.
Adjust to new 'derivation-prerequisites-to-build' return value type.
* tests/derivations.scm ("derivation-prerequisites-to-build and
substitutes"): Adjust.
("derivation-prerequisites-to-build and substitutes, local build"):
Likewise.
2017-06-02 18:47:06 +02:00
Ludovic Courtès ef51ac21ee
derivations: 'substitution-oracle' returns a <substitutable>.
* guix/derivations.scm (substitution-oracle): Use
'substitution-path-info' instead of 'substitution-paths'.  Turn SUBST
into a vhash from path to <substitutable>.  Change the returned
procedure to provide a <substitutable> instead of a Boolean.
* tests/derivations.scm ("substitution-oracle and #:substitute? #f"):
Mock 'substitutable-path-info' instead of 'substitutable-paths'.
2017-06-02 18:47:06 +02:00
John Darrington fb226b4351
gnu: Move vtk to image-processing.scm.
* gnu/packages/image-processing.scm (vtk): New variable.
* gnu/packages/vtk.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-06-02 18:47:06 +02:00
Ludovic Courtès 0c152cd6e3
tests: Remove 't-profile-alt-*-link' files.
Reported by myglc2 <myglc2@gmail.com>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27137#11>.

* tests/guix-package-net.sh: In the trap, remove $profile_alt-[0-9]*.
2017-06-02 18:47:06 +02:00
Leo Famulari 835a658281
gnu: mutt: Update to 1.8.3.
* gnu/packages/mail.scm (mutt): Update to 1.8.3.
2017-06-02 12:10:20 -04:00
Rutger Helling 1eacffb9bc
gnu: Add archivemount
* gnu/packages/linux.scm (archivemount): New variable.
2017-06-02 12:02:37 -04:00
Rutger Helling 466073c063
gnu: Update retroarch to 1.6.0.
* gnu/packages/games.scm (retroarch): Update to 1.6.0.
2017-06-02 11:56:00 -04:00
Roel Janssen b9a601d9db
gnu: Add kaiju.
* gnu/packages/bioinformatics.scm (kaiju): New variable.
2017-06-02 12:38:23 +02:00
Ivan Vilata-i-Balaguer 99c63f3f07
gnu: python-gpg: Use explicit version 1.8.0 instead of GPGME's.
GPGME defines version 1.9.0, which isn't yet available for python-gnupg, whose
latest version is 1.8.0, so we use that explicitly instead.

Fixes <https://bugs.gnu.org/26610>.

* gnu/packages/gnupg.scm (python-gpg, python2-gpg): Use explicit version 1.8.0
instead of GPGME's version.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-06-01 23:21:20 -04:00
Ricardo Wurmus dd35abfeee
gnu: Add uglify-js.
* gnu/packages/lisp.scm (uglify-js): New variable.
2017-06-01 23:32:23 +02:00
Ricardo Wurmus 52650a4d2e
gnu: Add sbcl-cl-uglify-js.
* gnu/packages/lisp.scm (sbcl-cl-uglify-js): New variable.
2017-06-01 23:32:23 +02:00
Ricardo Wurmus 476b583fbf
gnu: Add sbcl-iterate.
* gnu/packages/lisp.scm (sbcl-iterate): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus d0eec99a48
gnu: Add sbcl-parse-number.
* gnu/packages/lisp.scm (sbcl-parse-number): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus d00c96d727
gnu: Add sbcl-parse-js.
* gnu/packages/lisp.scm (sbcl-parse-js): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus b693aa6e63
gnu: Add sbcl-cl-ppcre-unicode.
* gnu/packages/lisp.scm (sbcl-cl-ppcre-unicode): New variable.
2017-06-01 23:30:28 +02:00
ng0 dec63df4ff
gnu: Add open-adventure.
* gnu/packages/games.scm (open-adventure): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2017-06-01 23:29:23 +02:00
Efraim Flashner 924e6ddf72
gnu: qt: Update to 5.9.0.
* gnu/packages/qt.scm (qtbase, qtsvg, qtimageformats, qtx11extras,
qtxmlpatterns, qtdeclarative, qtconnectivity, qtwebsockets, qtsensors,
qtmultimedia, qtwayland, qtserialport, qtserialbus, qtwebchannel,
qtlocation, qttools, qtscript, qtquickcontrols, qtquickcontrols2,
qtgraphicaleffects, qtgamepad, qtscxml, qtpurchasing, qtcanvas3d,
qtcharts, qtdatavis3d, qtwebkit): Update to 5.9.0.
(qtbase)[source]: Remove bundled freetype, libpng, libjpeg, pcre2, xcb,
xkbcommon, zlib.
[inputs]: Remove pcre, add pcre2.
[arguments]: Add configure flag to use system pcre, update flag to not
compile examples.
(qtwayland)[source]: Remove examples in a snippet.
(qtlocation)[inputs]: add icu4c, openssl, zlib.
2017-06-01 22:38:38 +03:00
Arun Isaac 44636f57bc
gnu: font-comic-neue: Prevent hidden files from being installed.
* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
2017-06-02 00:11:46 +05:30
Brendan Tildesley 8c5ad44843
gnu: font-cns11643: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-cns16643): Switch to 'font-build-system'.
[outputs]: Combine all outputs into one.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 22:48:49 +05:30
Brendan Tildesley ad37bed336
gnu: font-cns11643: Update to 98.1.20170524.
* gnu/packages/fonts.scm (font-cns11643): Update to 98.1.20170524.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 22:23:03 +05:30
Marius Bakke 607b424f13
gnu: mariadb: Update to 10.1.24.
Release notes: https://mariadb.com/kb/en/mariadb/mariadb-10124-release-notes/

* gnu/packages/databases.scm (mariadb): Update to 10.1.24.
2017-06-01 17:48:09 +02:00
Marius Bakke a3e85a906a
gnu: maim: Update to 5.4.63.
* gnu/packages/xdisorg.scm (maim): Update to 5.4.63.
2017-06-01 17:41:39 +02:00
Marius Bakke 85071d5a2d
gnu: slop: Update to 6.3.40.
* gnu/packages/xdisorg.scm (slop): Update to 6.3.40.
2017-06-01 17:40:44 +02:00
Marius Bakke 7fb5c2cfab
gnu: notmuch: Update to 0.24.2.
* gnu/packages/mail.scm (notmuch): Update to 0.24.2.
2017-06-01 17:38:19 +02:00
Alex Griffin 532f09dff3
gnu: font-comic-neue: Add fontconfig alias.
* gnu/packages/fonts.scm (font-comic-neue): Add fontconfig alias for "Comic
Sans MS".
[arguments]: Add new 'install-conf' phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 20:38:18 +05:30
Alex Griffin b963d8c2e5
gnu: font-comic-neue: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-comic-neue): Switch to 'font-build-system'.
Re-indent.
[source]: Use url-fetch/zipbomb.
[native-inputs]: Remove dependency on unzip.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 20:36:52 +05:30
Brendan Tildesley a5ce48c8f5
gnu: font-cns11643-swjz: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-cns11643-swjz): Switch to 'font-build-system'.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 20:09:39 +05:30
Brendan Tildesley 7359cffaf8
gnu: par2cmdline: Update to 0.7.1.
* gnu/packages/backup.scm (par2cmdline): Update to 0.7.1.
[arguments]: Parallel tests work now; reenable them.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 20:04:03 +05:30
ng0 45d32e243a
gnu: font-liberation: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-liberation): Switch to 'font-build-system'.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 15:17:05 +05:30
ng0 7f8e8ff811
gnu: font-dejavu: Fix the switch to 'font-build-system'.
This is a follow-up to commit 2e88401941.

* gnu/packages/fonts.scm (font-dejavu): Remove 'trivial-build-system' line.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 15:17:05 +05:30
ng0 278c608a25
gnu: font-awesome: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-awesome): Switch to 'font-build-system'.
[source]: The package was updated in place, so hash has changed.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-06-01 15:16:53 +05:30
Clément Lassieur 01d71f6222
gnu: sicp: Add the HTML version.
* gnu/packages/scheme.scm (sicp)[arguments]: Copy the HTML directory to the
output.
2017-06-01 11:04:37 +02:00
Alex Kost 3e9afff873
gnu: emacs-let-alist: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (let-alist): Use 'emacs-build-system'.
[arguments, native-inputs]: Remove.
2017-06-01 10:56:11 +03:00
Alex Kost 79b3c9305a
gnu: emacs-paredit: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (paredit): Use 'emacs-build-system'.
[arguments, native-inputs]: Remove.
2017-06-01 10:56:11 +03:00
Alex Kost 3d01b2939f
gnu: git-modes: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (git-modes): Use 'emacs-build-system'.
[arguments, native-inputs]: Remove.
2017-06-01 10:56:11 +03:00
Kei Kebreau e99039b5da
gnu: Add python-xsge.
* gnu/packages/game-development.scm (python-xsge, python2-xsge): New
variables.
2017-05-31 20:45:43 -04:00
Alex Griffin b6726480e2
gnu: font-go: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-go): Switch to font-build-system.
Re-indent.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:29:44 +02:00
Alex Griffin 4a9140b1ee
gnu: font-iosevka: Use 'font-build-system'.
Fixes <https://bugs.gnu.org/27172>.

* gnu/packages/fonts.scm (font-iosevka): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
[native-inputs]: Remove dependency on unzip.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:25:49 +02:00
Alex Griffin 046175cd4e
build: font: Support font collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) and OpenType Collection (OTC) files.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-31 23:24:41 +02:00
Danny Milosavljevic 203a9455c4
file-systems: Improve error reporting.
Suggested by Chris Marusich <cmmarusich@gmail.com>.
Fixes <https://bugs.gnu.org/27143>.

* gnu/build/file-systems.scm (read-iso9660-primary-volume-descriptor):
Improve error reporting.
2017-05-31 21:13:15 +02:00
Danny Milosavljevic 1c25d6d06e
doc: Fix qemu-system-x86_64 example.
Reported by Fox <firefox@firemail.cc>.
Fixes <https://bugs.gnu.org/27052>.

* doc/guix.texi (Running GuixSD in a VM): Fix qemu-system-x86_64 example.
2017-05-31 19:48:21 +02:00
Danny Milosavljevic cdc701ea48
gnu: build: Improve comments.
* gnu/build/file-systems.scm (iso9660-superblock-volume-name):
Add clarifying comment.
2017-05-31 19:38:49 +02:00
Leo Famulari 1c797d4bfb
gnu: go@1.8: Update to 1.8.3 [fixes CVE-2017-8932].
* gnu/packages/golang.scm (go-1.8): Update to 1.8.3.
2017-05-31 11:54:57 -04:00
Roel Janssen 76ab3141f5
gnu: scons: Update to 2.5.1.
* gnu/packages/python.scm (scons): Update to 2.5.1.
2017-05-31 17:40:16 +02:00
Alex Griffin 208abecabf
gnu: font-iosevka: Update to 1.12.5.
* gnu/packages/fonts.scm (font-iosevka): Update to 1.12.5.  Re-indent.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Alex Griffin 406c46e20a
gnu: font-go: Update to 20170330-1.f03a046.
* gnu/packages/fonts.scm (font-go): Update to 20170330-1.f03a046.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00
Ethan R. Jones d5fa27774c
gnu: Add mediainfo.
* gnu/packages/video.scm (mediainfo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-05-31 17:08:45 +02:00