Commit Graph

11676 Commits

Author SHA1 Message Date
Ludovic Courtès 55e1f25d89 build-system/gnu: Add #:disallowed-references.
* guix/build-system/gnu.scm (gnu-build): Add #:disallowed-references and
honor it.
(gnu-cross-build): Likewise.
2016-03-20 22:46:45 +01:00
Ludovic Courtès 3f4ecf3229 gexp: Add #:disallowed-references.
* guix/gexp.scm (gexp->derivation): Add #:disallowed-references and
honor it.
* tests/gexp.scm ("gexp->derivation #:disallowed-references, allowed")
("gexp->derivation #:disallowed-references"): New tests.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-03-20 22:46:14 +01:00
Ludovic Courtès 35b5ca7869 derivations: Add #:disallowed-references.
* guix/derivations.scm (derivation): Add #:disallowed-references.
[user+system-env-vars]: Honor it.
(build-expression->derivation): Likewise.
* tests/derivations.scm ("derivation #:disallowed-references, ok")
("derivation #:disallowed-references, not ok"): New tests.
* doc/guix.texi (Derivations): Adjust accordingly.
2016-03-20 22:45:35 +01:00
Ludovic Courtès e71ef7adae system: Make sure fonts are searched for in the system profile.
This fixes a bug whereby fonts in /run/current-system/profile would be
invisible to Fontconfig.

* gnu/packages/fontutils.scm (fontconfig): Add comment about system
profile not being searched.
* gnu/system/shadow.scm (default-skeletons)[fonts.conf-content,
fonts.conf]: New variable.
Add FONTS.CONF to the skeletons.
2016-03-20 15:27:44 +01:00
Ludovic Courtès 0bd3597bbe gnu: gnome: Add dependency on font-abattis-cantarell.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add
FONT-CANTARELL.
2016-03-20 15:05:12 +01:00
Ludovic Courtès 4e8b7502e3 system: Allow account skeletons to be directories.
* gnu/system/shadow.scm (skeleton-directory): Use 'copy-recursively'
instead of 'copy-file'.
* gnu/build/activation.scm (copy-account-skeletons): Likewise.
2016-03-20 15:02:38 +01:00
Ludovic Courtès 71be99b8b6 gnu: Add font-abattis-cantarell.
* gnu/packages/fonts.scm (font-cantarell): New variable.
2016-03-20 01:07:37 +01:00
Ludovic Courtès 522773b700 import: pypi: Emit 'pypi-uri' only when it yields the right URL.
Fixes <http://bugs.gnu.org/23062>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/import/pypi.scm (make-pypi-sexp): Check whether 'pypi-uri'
returns SOURCE-URL and fall back to the full URL otherwise.
* tests/pypi.scm ("pypi->guix-package"): Adjust expected URI
accordingly.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2016-03-19 23:54:19 +01:00
Ludovic Courtès 329a702634 gnu: fontforge: Make builds bit-reproducible.
* gnu/packages/fontutils.scm (fontforge)[source](snippet, modules): New
fields.
2016-03-19 15:57:07 +01:00
alírio eyng 56586557dd gnu: fontforge: Update to 20150824.
* gnu/packages/fontutils.scm (fontforge): Update to 20150824.
[inputs]: Add libltdl, libxft, python.
[native-inputs]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-19 15:36:26 +01:00
Ludovic Courtès ef5f5c8659 build: Protect against misconfiguration of localstatedir.
Suggested by Jookia <166291@gmail.com>.

* m4/guix.m4 (GUIX_CURRENT_LOCALSTATEDIR, GUIX_CHECK_LOCALSTATEDIR): New
macros.
* config-daemon.ac: Use 'GUIX_CHECK_LOCALSTATEDIR'.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --localstatedir.
* doc/guix.texi (Requirements): Mention --localstatedir.
(The Store): Mention LOCALSTATEDIR as such.
2016-03-19 15:07:46 +01:00
Ludovic Courtès 7c49ab5b1c gnu: kodi: Remove @acronym from description.
This works around <http://bugs.gnu.org/21772>.

* gnu/packages/kodi.scm (crossguid): Remove @acronym.
2016-03-19 14:41:56 +01:00
Ludovic Courtès 5697fdc366 gnu: r-dnacopy: Fix home page URL.
* gnu/packages/bioinformatics.scm (r-dnacopy)[home-page]: Add missing
URI scheme.
2016-03-18 23:00:04 +01:00
Ludovic Courtès 6cbc8d5766 gnu: gnome: Disable hardware acceleration check via 'gnome.desktop'.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'disable-hardware-acceleration-check' phase.
2016-03-18 19:42:00 +01:00
Ludovic Courtès c510cbb4ec services: xorg: Accept session commands with arguments.
Before that, a session command with several items, such as
'gnome-session --disable-acceleration-check', would trigger the fallback
session.

* gnu/services/xorg.scm (xinitrc)[builder]: Accept command lines with
more than one arguments.
2016-03-18 19:42:00 +01:00
Ludovic Courtès a0d7baaf48 gnu: gnome-session: Make sure 'gsettings' is found.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add
'wrap-gnome-session' phase.
2016-03-18 19:42:00 +01:00
Leo Famulari 3bf429af2f gnu: Add beets.
* gnu/packages/music.scm (beets): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari 064503aaa2 gnu: Add python-rarfile.
* gnu/packages/python.scm (python-rarfile, python2-rarfile): New
variables.
* gnu/packages/patches/python-rarfile-fix-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2016-03-18 14:27:16 -04:00
Leo Famulari 13edb0e5c3 gnu: Add python2-unicodecsv.
* gnu/packages/python.scm (python2-unicodecsv): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari 25a7db0ad3 gnu: Add python-jellyfish.
* gnu/packages/python.scm (python-jellyfish, python2-jellyfish): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari efe0b14369 gnu: Add python-mpd2.
* gnu/packages/mpd.scm (python-mpd2, python2-mpd2): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 76b9488534 gnu: Add python2-pathlib.
* gnu/packages/python.scm (python-pathlib, python2-pathlib): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 0efde7d6d6 gnu: Add python-responses.
* gnu/packages/python.scm (python-responses, python2-responses): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 603d665bc3 gnu: Add python-cookies.
* gnu/packages/python.scm (python-cookies, python2-cookies): New variable.
2016-03-18 14:27:16 -04:00
Leo Famulari acd7351ff6 gnu: Add python-pylast.
* gnu/packages/music.scm (python-pylast, python2-pylast): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari e8fee6486f gnu: Add python-pyechonest.
* gnu/packages/music.scm (python-pyechonest, python2-pyechonest): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari f3b3d78fbc gnu: Add python-flask.
* gnu/packages/python.scm (python-flask, python2-flask): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 8975de8821 gnu: Add python-musicbrainzngs.
* gnu/packages/music.scm (python-musicbrainzngs, python2-musicbrainzngs): New
variables.
2016-03-18 14:27:16 -04:00
Leo Famulari cedac813a5 gnu: Add python-munkres.
* gnu/packages/python.scm (python-munkres, python2-munkres): New variables.
2016-03-18 14:27:16 -04:00
Leo Famulari 3f7a182d25 gnu: Add python-mutagen.
* gnu/packages/music.scm (python-mutagen, python2-mutagen): New variables.
2016-03-18 14:27:16 -04:00
Mark H Weaver 0e0fd3ef10 gnu: linux-libre-4.4: Update to 4.4.6.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.6.
2016-03-18 11:03:16 -04:00
David Thompson 8961b4d362 gnu: bundler: Update to 1.11.2.
* gnu/packages/ruby.scm (bundler): Update to 1.11.2.
2016-03-18 08:48:40 -04:00
Andreas Enge 019b38758c gnu: vigra: Update to 1.11.0.
* gnu/packages/image.scm (vigra)[source]: Update to 1.11.0.
  [arguments]: Disable parallel builds.
2016-03-18 09:01:02 +01:00
Efraim Flashner c5e2b69d59 gnu: aria2: Update to 1.21.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.21.0.
2016-03-18 08:29:30 +02:00
Mark H Weaver e3d3546eda gnu: libotr: Fix tests on mips64el.
* gnu/packages/patches/libotr-test-auth-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/messaging.scm (libotr)[source]: Add patch.
2016-03-17 19:05:08 -04:00
Ludovic Courtès b879b3e848 substitute: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/substitute.scm (fetch, download-cache-info):
(http-multiple-get, fetch-narinfos, progress-report-port): Use
'close-connection' instead of 'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 958fb14cdb substitute: Cache transient HTTP errors for 10mn.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Cache transient errors for 10mn.
(%narinfo-transient-error-ttl): New variable.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 14d6ca3e4d lint: Do not leak file descriptors for TLS connections.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/scripts/lint.scm (probe-uri): Use 'close-connection' instead of
'close-port'.
2016-03-17 23:53:53 +01:00
Ludovic Courtès 097a951e96 download: Add 'close-connection'.
Partially fixes <http://bugs.gnu.org/20145>.

* guix/build/download.scm (add-weak-reference): Remove.
(%tls-ports): New variable.
(register-tls-record-port): New procedure.
(tls-wrap): Use it instead of 'add-weak-reference'.
(close-connection): New procedure.
2016-03-17 23:53:53 +01:00
Ludovic Courtès fc3ea24bf4 substitute: Update progress for responses different from 200/404.
* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add missing call to 'update-progress!'.
2016-03-17 23:53:53 +01:00
Efraim Flashner f1723b8be6 gnu: postgresql: Update to 9.5.1.
* gnu/packages/databases.scm (postgresql): Update to 9.5.1.
2016-03-17 21:59:32 +02:00
Efraim Flashner 23bbd7dd60 gnu: mysql: Update to 5.7.11.
* gnu/packages/databases.scm (mysql): Update to 5.7.11.
[source]: Add archives as alternate download location.
[arguments]: Remove custom phase 'strip-extra-references. Add
substitution to target boost-1.60.
2016-03-17 21:59:32 +02:00
Andy Wingo 2914af3c96 gnu: gnome-session: Add elogind input.
* gnu/packages/gnome.scm (gnome-session): Add elogind input, while
  disabling the use of systemd's journal.
2016-03-17 18:11:42 +01:00
Ricardo Wurmus 953c12232f gnu: bless: Remove bundled sources for sparsehash.
* gnu/packages/bioinformatics.scm (bless)[source]: Delete
"google-sparsehash" sources.
[inputs]: Add "sparsehash".
2016-03-17 13:01:31 +01:00
Ricardo Wurmus 6c1305f9ec gnu: Add CD-HIT.
* gnu/packages/bioinformatics.scm (cd-hit): New variable.
2016-03-17 13:01:31 +01:00
Ludovic Courtès b53daad064 doc: Add missing comma after @xref.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Service Reference): Add comma after @xref.
2016-03-17 09:49:05 +01:00
Ludovic Courtès 5fe01c2d9b doc: GNOME is now available.
* doc/guix.texi (Limitations): Rephrase item about GNOME and KDE.
2016-03-17 09:49:05 +01:00
Andy Wingo fa4b8badf0 gnu: elogind: Update to 219.14.
* gnu/packages/freedesktop.scm (elogind): Update to 219.14.
2016-03-17 09:44:32 +01:00
Alex Kost e6527d643e gnu: emacs-pdf-tools: Add missing input.
This is a followup to commit eccd0b57a1.

* gnu/packages/emacs.scm (emacs-pdf-tools)[propagated-inputs]: Add
'let-alist'.
2016-03-17 10:49:45 +03:00
Alex Kost 1bcae5c5c5 gnu: emacs-pdf-tools: Use emacs-build-system for elisp side.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Add phases from
emacs-build-system to build elisp side.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-17 10:49:45 +03:00