Commit Graph

17049 Commits

Author SHA1 Message Date
Ricardo Wurmus 662a1aa6b0
tests: Mock up http-fetch.
This is a follow-up to commit 63773200d7.

* tests/cpan.scm ("cpan->guix-package"): Add mock definition of
http-fetch.
2016-12-18 13:39:21 +01:00
Ricardo Wurmus e69c1a5446
tests: Adjust cpan tests.
This is a follow-up to commit ff55fe5599.

* tests/cpan.scm (source-url-http, source-url-https): Use
cpan-source-url.
2016-12-18 13:39:20 +01:00
Marius Bakke 866872aa71
linux-initrd: Support FAT filesystems.
* gnu/system/linux-initrd.scm (base-initrd): When a FAT filesystem is
present: Add fatfsck/static in 'helper-packages'; and add nls_iso8859-1
in 'linux-modules'.
2016-12-18 13:18:47 +01:00
Ludovic Courtès 8a4c988892
build: check-final-inputs-self-contained has an exception for 'bash:include'.
Currently 'bash:include' of the final Bash depends on bootstrap stuff.

* build-aux/check-final-inputs-self-contained.scm (final-inputs): Add
clause for 'bash:include'.
* gnu/packages/commencement.scm (bash-final): Add FIXME comment.
2016-12-18 12:37:26 +01:00
Ricardo Wurmus 5073ecf055
gnu: yoshimi: Update to 1.5.0.
* gnu/packages/music.scm (yoshimi): Update to 1.5.0.
2016-12-18 12:00:33 +01:00
Ricardo Wurmus 239f46325d
tests: Mock up http-fetch in import test.
This is a follow-up to commit 63773200d7.

* tests/pypi.scm ("pypi->guix-package, wheels"): Add mock definition of
"http-fetch".
2016-12-18 10:54:11 +01:00
Nicolas Goaziou 36a318adc7
gnu: emacs-org: Update to 20161214.
* gnu/packages/emacs.scm (emacs-org): Update to 20161214.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2016-12-18 17:05:45 +08:00
Ricardo Wurmus 506abddb99
tests: Mock up http-fetch in import tests.
This is a follow-up to commit 63773200d7.

* tests/gem.scm ("gem->guix-package"): Replace mock definition of
"url-fetch" with "http-fetch".
* tests/pypi.scm ("pypi->guix-package"): Add mock definition of
"http-fetch".
2016-12-18 09:55:17 +01:00
Leo Famulari 51d8395ac6
gnu: youtube-dl: Update to 2016.12.15.
* gnu/packages/video.scm (youtube-dl): Update to 2016.12.15.
2016-12-17 20:27:21 -05:00
Raoul Bonnal a1814e4a27
gnu: r: Update to 3.3.2.
* gnu/packages/statistics.scm (r): Update to 3.3.2.
2016-12-18 10:02:52 +10:00
Ben Woodcroft 3fffabce2a
gnu: Add attribution line for Raoul Bonnal.
This is a follow-up commit to c9e9154e99.

* gnu/packages/bioinformatics.scm: Add attribution.
2016-12-18 10:01:04 +10:00
Ludovic Courtès a32d0c8304
gnu: sane-backends: Remove timestamps from the output.
* gnu/packages/scanner.scm (sane-backends-minimal)[source](modules, snippet):
New fields.
2016-12-17 23:13:05 +01:00
Andy Patterson 4c92874328
gnu: Add and use sane-backends.
* gnu/packages/scanner.scm (sane-backends): New variable.
* gnu/packages/gnome.scm (colord, simple-scan): Use it instead of
'sane-backends-minimal'.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/wine.scm (wine): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:05 +01:00
Andy Patterson 32aa37a2e7
gnu: Add and use sane-backends-minimal.
* gnu/packages/scanner.scm (sane-backends): Rename to...
(sane-backends-minimal): this. Adjust name, source, synopsis and
description accordingly.
* gnu/packages/cups.scm (hplip): Use 'sane-backends-minimal' instead of
'sane-backends'.
* gnu/packages/gnome.scm (colord, simple-scan): Likewise.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/wine.scm (wine): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:04 +01:00
Andy Patterson 33a14e29f9
gnu: sane-backends: Disable backend generation.
* gnu/packages/scanner.scm (sane-backends)[arguments]: Add a phase to
disable the compilation of backends.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:04 +01:00
Leo Famulari 9b1d77f6d4
gnu: pinentry: Update to 1.0.0.
* gnu/packages/gnupg.scm (pinentry-tty, pinentry-gtk2, pinentry-gnome3,
pinentry-qt): Update to 1.0.0.
2016-12-17 13:40:42 -05:00
Leo Famulari 402efb61d3
gnu: npth: Update to 1.3.
* gnu/packages/gnupg.scm (npth): Update to 1.3.
2016-12-17 13:40:42 -05:00
Ricardo Wurmus fdbc84b056
import cran: Handle HTTP errors.
Fixes <http://bugs.gnu.org/23479>.

* guix/import/cran.scm (fetch-description): Return #f in case of HTTP
errors.
2016-12-17 19:13:42 +01:00
Ricardo Wurmus d68ba5f483
guix import: Print list of expressions.
* guix/scripts/import.scm (guix-import): Print list of expressions.
2016-12-17 19:13:41 +01:00
Ricardo Wurmus 64ce53eb5e
import cran: Add "recursive" option.
* guix/scripts/import/cran.scm: (%options): Add "recursive" option.
(guix-import-cran): Handle "recursive" option.
* doc/guix.texi (Invoking guix import): Document it.
2016-12-17 19:13:41 +01:00
Ricardo Wurmus 94e907b962
import cran: Add recursive importer.
* guix/import/cran.scm (recursive-import): New variable.
(cran->guix-package): Memoize the procedure.
2016-12-17 19:12:55 +01:00
Ricardo Wurmus b26abe4f14
import cran: Ignore default R packages.
* guix/import/cran.scm (default-r-packages): New variable.
(description->package): Drop default R packages from list of inputs.
2016-12-17 15:56:48 +01:00
Ricardo Wurmus ad68f7fa58
import cran: description->package: Also return package dependencies.
* guix/import/cran.scm (description->package): Return package
  dependencies in addition to generated package expression.
2016-12-17 15:56:48 +01:00
Ricardo Wurmus bfa0c752bc
import cran: Move guix-name to top-level.
* guix/import/cran.scm (guix-name): Move to top-level.
2016-12-17 15:56:48 +01:00
Ricardo Wurmus 2e5f32ce1b
import cran: Remove more invalid characters from package names.
* guix/import/cran.scm (guix-name): Replace period and underscore with
  dash; always prepend package names with "r-".
2016-12-17 15:56:47 +01:00
Ricardo Wurmus 576eda6d02
import cran: Handle BSD licenses with LICENSE file.
* guix/import/cran.scm (string->license): Add cases for BSD licenses
with LICENSE file.
2016-12-17 15:56:47 +01:00
Ricardo Wurmus 741d68c20d
import cran: Translate MIT to the Expat license.
* guix/import/cran.scm (string->license): Translate "MIT" license to
Expat license.
2016-12-17 15:56:47 +01:00
Ricardo Wurmus 13f54d081b
import cran: Do not use "or later" licenses by default.
* guix/import/cran.scm (string->license): Use exact license versions.
2016-12-17 15:56:39 +01:00
Ludovic Courtès aaee461b9d
doc: Update dot graphs.
* doc/images/bootstrap-packages.dot,
doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot,
doc/images/shepherd-graph.dot: Regenerate.
2016-12-17 14:46:42 +01:00
Ludovic Courtès a6562c7e20
profiles: Remove dependency on 'glibc-utf8-locales' for tests.
Commit 1af0860e8b added a mandatory
dependency on 'glibc-utf8-locales', which entails long rebuilds for
tests.

* guix/profiles.scm (profile-derivation): Add #:locales? parameter.
Add 'set-utf8-locale' variable.  Use it when LOCALES? is true.
(link-to-empty-profile): Pass #:locales? #f.
* guix/scripts/environment.scm (inputs->profile-derivation): Pass
  #:locales?.
* guix/scripts/package.scm (build-and-use-profile): Likewise.
* tests/packages.scm ("--search-paths with pattern"): Pass #:locales? #f.
* tests/profiles.scm ("profile-derivation")
("profile-derivation, inputs", "profile-manifest, search-paths")
("etc/profile", "etc/profile when etc/ already exists"):
("etc/profile when etc/ is a symlink"): Likewise.
2016-12-17 14:46:42 +01:00
Ludovic Courtès d44fb7dd60
gnu: bootstrap: Add FTP URL for bootstrap binaries.
* gnu/packages/bootstrap.scm (%bootstrap-base-urls): Add
ftp://alpha.gnu.org (http://alpha.gnu.org is currently unresponsive.)
2016-12-17 14:46:42 +01:00
Raoul Bonnal c9e9154e99
gnu: star: Update to 2.5.2b.
* gnu/packages/bioinformatics (star): Update to 2.5.2b.
[source]: Delete precompiled binary.

Co-authored-by: Ben Woodcroft <donttrustben@gmail.com>
2016-12-17 23:26:35 +10:00
Marius Bakke 51ad11ad62
gnu: Add fatfsck-static.
* gnu/packages/disk.scm (dosfstools/static): New private variable.
(fatfsck/static): New variable.
2016-12-17 10:13:22 +01:00
Alex Kost 64e43c674e
gnu: Add emacs-guix.
* gnu/packages/emacs.scm (emacs-guix): New variable.
2016-12-17 10:56:39 +03:00
Alex Kost 753baf775f
gnu: Add emacs-bui.
* gnu/packages/emacs.scm (emacs-bui): New variable.
2016-12-17 10:56:39 +03:00
Leo Famulari c7ec7c9926
gnu: imagemagick: Update to 6.9.6-8.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.6-8.
2016-12-17 00:46:48 -05:00
Leo Famulari 7c1a7bf484
gnu: acme-client: Provide path to certificates.
* gnu/packages/tls.scm (acme-client)[arguments]: Add 'patch-paths' phase.
2016-12-17 00:09:10 -05:00
Ricardo Wurmus 76b3fbbce6
build: assert-no-store-file-names: Ignore ChangeLog.
* Makefile.am (assert-no-store-file-names): Ignore /gnu/store file names
in the ChangeLog, because they might be examples in commit messages.
2016-12-17 00:21:23 +01:00
Leo Famulari f8faf537ca
gnu: libupnp: Fix CVE-2016-8863.
* gnu/packages/patches/libupnp-CVE-2016-8863.patch: New file.
* gnu/local.mk (dist_patch_DATA): Use it.
* gnu/packages/libupnp.scm (libupnp)[source]: Use it.
2016-12-16 15:28:02 -05:00
Theodoros Foradis 850812decf
gnu: Add Greek Aspell dictionary
* gnu/packages/aspell.scm (aspell-dict-el): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-16 18:04:55 +01:00
Ludovic Courtès 1af0860e8b
profiles: Build profiles in a UTF-8 locale.
Fixes <http://bugs.gnu.org/25213>.
Reported by Christopher Baines <mail@cbaines.net>.

* guix/profiles.scm (profile-derivation)[glibc-utf8-locales]: New
variable.
[builder]: Use it to set 'LOCPATH'.
2016-12-16 18:01:08 +01:00
Ludovic Courtès 580deec5b4
download: Protect against dangling symlinks in $SSL_CERT_DIR.
Reported by Christopher Baines <mail@cbaines.net>
in <https://bugs.gnu.org/25213>.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Check
whether FILE exists before calling
'set-certificate-credentials-x509-trust-file!'.
2016-12-16 18:00:01 +01:00
Ludovic Courtès 99ec0cb397
refresh: Make dependency on (guix import crates) weak.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/scripts/refresh.scm: Do not explicitly import (guix import crates).
2016-12-16 17:38:39 +01:00
Ludovic Courtès f731529e2a
install: Add dosfstools.
* gnu/system/install.scm (installation-os)[packages]: Add DOSFSTOOLS.
2016-12-16 17:37:28 +01:00
ng0 fc9286d03a
gnu: tor: Recommend torsocks.
* gnu/packages/tor.scm (tor)[description]: Recommend torsocks.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2016-12-16 10:49:01 -05:00
Ludovic Courtès 3eee16130d
gnu: grub: Add dependency on efibootmgr.
Suggested by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/grub.scm (grub)[arguments]: In 'patch-stuff', set
efibootmgr absolute file name in 'platform.c'.
[inputs]: Add EFIBOOTMGR.
2016-12-16 14:45:56 +01:00
Ludovic Courtès 5597b3ae08
doc: "Nar" now means "normalized archive".
* doc/guix.texi (Invoking guix archive): Mention "normalized archive"
and add index entries.
2016-12-16 14:45:56 +01:00
Tobias Geerinckx-Rice c8502d9ec1
Revert "gnu: kmod: Update to 23."
This should have been pushed to the ‘staging’ branch first.

This reverts commit 1e1cd41629.
2016-12-16 12:19:50 +01:00
Tobias Geerinckx-Rice 7c58c852c4
gnu: libraw1394: Update to 2.1.2.
* gnu/packages/linux.scm (libraw1394): Update to 2.1.2.
2016-12-16 03:08:43 +01:00
Tobias Geerinckx-Rice 1e1cd41629
gnu: kmod: Update to 23.
* gnu/packages/linux.scm (kmod): Update to 23.
2016-12-16 03:08:42 +01:00