Commit graph

7388 commits

Author SHA1 Message Date
Andy Patterson
075d99f195 substitute: Avoid infinite loop when updating the substitute list.
Reported
at <http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00119.html>.

* guix/scripts/substitute.scm (http-multiple-get): When RESP has "Connection:
  close", consume HEAD anyway; always call PROC to read from BODY.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-07-07 01:04:02 +02:00
Ludovic Courtès
399f9acee3 daemon: Flush upon '\r' when reading the substituter's stderr.
This commit had been inadvertently reverted in 322eeb8.

* nix/libstore/local-store.cc (LocalStore::getLineFromSubstituter):
  Flush when the line contains '\r'.
2015-07-07 01:03:45 +02:00
Alex Kost
a8ac45b19e build: Generate 'AUTHORS'.
* build-aux/generate-authors.scm: New file.
* Makefile.am (gen-AUTHORS): New target.
  (dist-hook, .PHONY): Add it.
2015-07-06 19:00:19 +03:00
Andreas Enge
f2820e0763 gnu: libreoffice: Update to 4.4.4.3.
* gnu/packages/libreoffice.scm (libreoffice): Update to 4.4.4.3.
2015-07-06 08:26:42 +02:00
Ludovic Courtès
1109ddcd54 gnu: freeipmi: Update to 1.4.9.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.9.
2015-07-06 00:47:09 +02:00
Ludovic Courtès
6cb2533b1e gnu: gcal: Update to 4.
* gnu/packages/gcal.scm (gcal): Update to 4.
2015-07-06 00:47:09 +02:00
Ludovic Courtès
0bd6f138d9 gnu: gxmessage: Update to 3.4.3.
* gnu/packages/gxmessage.scm (gxmessage): Update to 3.4.3.
  [inputs]: Use GTK+ instead of GTK+-2.
2015-07-06 00:47:09 +02:00
Ludovic Courtès
af87a551bc gnu: guile-sdl: Update to 0.5.2.
* gnu/packages/sdl.scm (guile-sdl): Update to 0.5.2.
  [arguments]: Augment 'fix-env-and-path' phase to modify 'test/Makefile.in'.
2015-07-06 00:47:09 +02:00
Ricardo Wurmus
d19cf78357 gnu: powertabeditor: Update to 2.0.0-alpha8.
* gnu/packages/music.scm (powertabeditor): Update to 2.0.0-alpha8.
2015-07-05 20:57:04 +02:00
Ricardo Wurmus
7e11d11355 gnu: powertabeditor: Enable tests.
* gnu/packages/music.scm (powertabeditor)[arguments]: Run "pte_tests" in
  "check" phase; add phase "fix-tests".
2015-07-05 20:57:04 +02:00
Andreas Enge
9884d7ec8e download: Reference tls instead of renamed gnutls module.
* guix/download.scm (gnutls-package): Use new module name tls instead
  of gnutls.
2015-07-05 19:11:04 +02:00
Andreas Enge
cb6a802c01 gnu: Add LibreSSL.
* gnu/packages/tls.scm (libressl): New variable.
2015-07-05 19:03:34 +02:00
Andreas Enge
e9aa8d0ccb gnu: Fix ambiguity between openssl package and license in tls module.
* gnu/packages/tls.scm: Prefix imported licenses.
2015-07-05 19:03:34 +02:00
Mark H Weaver
90e1cdae0c gnu: icecat: Add support for WebGL, CUPS, Hunspell, startup-notification, etc.
Also remove most bundled libraries from the source, add comments about
libraries yet to be unbundled, explicitly link libxul.so with libraries that
might try (and fail) to dlopen, and remove the h264parse gstreamer module from
the blacklist.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add snippet.
  [inputs]: Add cups, gdk-pixbuf, glib, hunspell, libcanberra, libgnome,
  libxinerama, libxscrnsaver, mit-krb5, and startup-notification.
  [arguments]<#:configure-flags>: add "--enable-default-toolkit=cairo-gtk2",
  "--enable-pango", "--enable-gio", "--enable-svg", "--enable-canvas",
  "--enable-mathml", "--enable-startup-notification", "--disable-gnomevfs",
  "--disable-gconf", "--disable-gnomeui", and "--enable-system-hunspell".
  Remove outdated comment about "--with-system-bz2" not being used.
  <#:phases>: Use 'modify-phases'.  Add 'remove-h264parse-from-blacklist'
  and 'arrange-to-link-libxul-with-libraries-it-might-dlopen' phases.
2015-07-05 12:58:56 -04:00
Andreas Enge
cc2b77dfc7 gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
  cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
  gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
  networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
  python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
  synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
  w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
Andreas Enge
a7fd7b68a6 gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this.  Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
  ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
  mail.scm, messaging.scm, package-management.scm, shishi.scm,
  task-management.scm, version-control.scm, video.scm, vpn.scm,
  webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
  import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-05 17:09:42 +02:00
Andreas Enge
a351c7c157 gnu: avidemux: Drop version 2.5.
* gnu/packages/video.scm (avidemux-2.5): Delete variable.
2015-07-05 12:23:12 +02:00
Ben Woodcroft
af86047537 gnu: Add prodigal.
* gnu/packages/bioinformatics.scm (prodigal): New variable.
2015-07-05 02:56:53 -04:00
Ricardo Wurmus
151714ca8c gnu: shogun: Build with install RPATH.
* gnu/packages/bioinformatics.scm (shogun)[arguments]: Add configure flag to
  build with install RPATH.
2015-07-04 17:55:30 +02:00
Ludovic Courtès
e4fef9df27 gnu: englightenment: Use https URLs.
* gnu/packages/enlightenment.scm (efl, elementary, emotion-generic-players,
  terminology, enlightenment): Use https instead of http since the latter
  redirects to the former.
2015-07-04 17:08:53 +02:00
Efraim Flashner
c4f8a7aacc gnu: enlightenment: Update to 0.19.5.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.19.5.
2015-07-04 16:50:18 +02:00
Efraim Flashner
88988b41a2 gnu: emotion-generic-loaders: Update to 1.14.0.
* gnu/packages/enlightenment.scm (emotion-generic-loaders): Update
  to 1.14.0.
2015-07-04 16:49:42 +02:00
Efraim Flashner
7b09969b2e gnu: evas-generic-loaders: Update to 1.14.0.
* gnu/packages/enlightenment.scm (evas-generic-loaders): Update
  to 1.14.0.
2015-07-04 16:49:07 +02:00
Efraim Flashner
0179686d13 gnu: elementary: Update to 1.14.2.
* gnu/packages/enlightenment.scm (elementary): Update to 1.14.2.
2015-07-04 16:48:26 +02:00
Efraim Flashner
7e22d6fee9 gnu: efl: Update to 1.14.2.
* gnu/packages/enlightenment.scm (efl): Update to 1.14.2.
2015-07-04 16:47:42 +02:00
pjotrp
022170dca1 gnu: Add ruby-rake-compiler.
* gnu/packages/ruby.scm (ruby-rake-compiler): New variable.
2015-07-04 09:47:33 -04:00
Ricardo Wurmus
80e907fe57 gnu: eigen: Update to 3.2.5.
* gnu/packages/algebra.scm (eigen): Update to 3.2.5.
2015-07-04 13:32:52 +02:00
Mark H Weaver
4463c0d216 gnu: icecat: Fix CVE-2015-{2722,2724,2728,2733,2735,2736,2738,2739,2740,2743}.
* gnu/packages/patches/icecat-CVE-2015-2722-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2722-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt3.patch,
  gnu/packages/patches/icecat-CVE-2015-2724-pt4.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2728-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-2733-pt2.patch,
  gnu/packages/patches/icecat-CVE-2015-2735.patch,
  gnu/packages/patches/icecat-CVE-2015-2736.patch,
  gnu/packages/patches/icecat-CVE-2015-2738.patch,
  gnu/packages/patches/icecat-CVE-2015-2739.patch,
  gnu/packages/patches/icecat-CVE-2015-2740.patch,
  gnu/packages/patches/icecat-CVE-2015-2743.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
2015-07-04 05:44:10 -04:00
Alex Kost
4cd86f5d52 Add '.mailmap'.
* .mailmap: New file.
2015-07-04 12:13:02 +03:00
Alex Kost
e7c48ee951 Clean up 'THANKS' and 'AUTHORS'.
* THANKS: Add Konrad Hinsen, Cyprien Nicolas, Yakkala Yagnesh Raghava
  and Alexander Shendi.  Remove Federico Beffa, Marek Benc, John
  Darrington, rekado, Cyrill Schenkel and Andy Wingo because they are
  placed in AUTHORS.  Move Amirouche Boubekki and Alex Kost to ...
* AUTHORS: ... here.  Add Arne Babenhauserheide, Ian Denhardt, Kevin
  Lemonnier, Mathieu Lirzin, Pierre-Antoine Rault and Ben Woodcroft.
  Fix some names and emails.
2015-07-04 12:13:01 +03:00
Andreas Enge
257b6c4375 gnu: unrtf: Fix download location.
* gnu/packages/unrtf.scm (unrtf): Fix download location.
2015-07-03 22:54:51 +02:00
Ricardo Wurmus
b05d1c68bc gnu: r: Replace "atlas" with "openblas".
* gnu/packages/statistics.scm (r)[inputs]: Replace "atlas" with "openblas".
2015-07-03 18:45:14 +02:00
Ludovic Courtès
606c638016 gnu: gnutls: Move man3 pages to "doc" output.
* gnu/packages/gnutls.scm (gnutls)[arguments]: Add #:phases.
2015-07-03 15:28:07 +02:00
Ludovic Courtès
4b0f2ef743 gnu: qt-4: Remove reference from "out" to "doc".
* gnu/packages/qt.scm (qt-4)[arguments]: Remove '-docdir' configure flag.
  Add 'move-doc' phase.
2015-07-03 15:28:07 +02:00
Ludovic Courtès
ff1989a599 gnu: qt-4: Use a more standard directory layout.
* gnu/packages/qt.scm (qt-4)[arguments]: Pass -datadir, -importdir,
  -plugindir, and -translationdir.
2015-07-03 15:28:07 +02:00
Ludovic Courtès
cba632c4a8 gnu: qt-4: Use 'modify-phases'.
* gnu/packages/qt.scm (qt-4)[arguments]: Use 'modify-phases' instead of
  'alist-replace'.
2015-07-03 15:28:07 +02:00
Ludovic Courtès
ef2f51a445 gnu: cups-filter: Install backends and filters under lib/cups.
This ensures that they are stripped during the 'strip' phase, thereby removing
references to GCC and linux-libre-headers that would otherwise be found in
debugging symbols.

* gnu/packages/cups.scm (cups-filters)[source]: Change pkgbackenddir and
  pkgfilterdir to $(PREFIX)/lib/cups/{filter,backend}.
  (cups)[arguments]: Adjust accordingly.
2015-07-03 15:28:07 +02:00
Ludovic Courtès
6a52df505a gnu: mysql: Remove unnecessary binaries.
This saves ~42 MiB on x86_64.

* gnu/packages/databases.scm (mysql)[arguments]: Add 'remove-extra-binaries'
  phase.
2015-07-03 15:28:06 +02:00
Ludovic Courtès
3f289db69d gnu: mysql: Strip references and GCC and other build-time dependencies.
* gnu/packages/databases.scm (mysql)[arguments]: Add 'strip-extra-references'
  phase.
2015-07-03 15:28:06 +02:00
Ludovic Courtès
b5b08878b6 gnu: mutt: Don't retain reference to GCC.
* gnu/packages/patches/mutt-store-references.patch: New file.
* gnu/packages/mail.scm (mutt)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-07-03 15:28:06 +02:00
Ludovic Courtès
9161ba818d gnu: ghostscript: Add "doc" output.
* gnu/packages/ghostscript.scm (ghostscript)[source](snippet): New field.
  [outputs]: New field.
  [arguments]: Add 'remove-doc-reference' phase.
2015-07-03 15:28:06 +02:00
Ludovic Courtès
4a6aeb670f derivations: Add #:substitutable?, distinguished from #:local-build?.
Fixes <http://bugs.gnu.org/18747>.

* guix/derivations.scm (substitutable-derivation?): Rewrite to check for
  "allowSubstitutes".
  (derivation): Add #:substitutable? parameter.
  [user+system-env-vars]: Honor it.
  (build-expression->derivation): Add #:substitutable? and honor it.
* guix/gexp.scm (gexp->derivation): Likewise.
* tests/derivations.scm ("derivation-prerequisites-to-build and substitutes,
  non-substitutable build"): Use #:substitutable? instead of #:local-build?.
  ("substitutable-derivation?", "derivation-prerequisites-to-build and
  substitutes, local build"): New tests.
* guix/download.scm (url-fetch): Adjust comment.
* guix/git-download.scm (git-fetch): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use #:substitutable?
  instead of #:local-build?.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
2015-07-03 00:30:55 +02:00
Ludovic Courtès
322eeb87d0 Merge branch 'nix'.
This is a squashed commit of the following:

commit 0dccab9f417b406f5d4aedc81900fc7b2f16c9f6
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Thu Jul 2 00:30:16 2015 +0200

    Typo

commit 2cd28517b13524c242c7758783b0b2d8250fdded
Author: Ludovic Courtès <ludo@gnu.org>
Date:   Wed Jul 1 14:56:34 2015 +0200

    Preserve supplementary groups of build users

    The following patch is an attempt to address this bug (see
    <http://bugs.gnu.org/18994>) by preserving the supplementary groups of
    build users in the build environment.

    In practice, I would expect that supplementary groups would contain only
    one or two groups: the build users group, and possibly the “kvm” group.

    [Changed &at(0) to data() and removed tabs - Eelco]

commit 6e38685ef65284093df79ebe7378bac33b0e7e5d
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Tue Jun 30 21:41:26 2015 +0200

    GC: Handle ENOSPC creating/moving to the trash directory

    Issue #564.

commit 5e0a9ae2e25a1016389f4893a6ed6682aadcf51d
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Mon Jun 22 15:54:55 2015 +0200

    Use posix_fallocate to create /nix/var/nix/db/reserved

commit 4e5ab98d6d14f8b0e3bd1d77b2f4f2354e7a49a8
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Mon Jun 22 15:47:40 2015 +0200

    Make /nix/var/nix/db/reserved bigger

    Issue #564.

commit 60bda60fc06135aa97a93301b1a9e2270768f5b3
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Wed Jun 10 16:17:06 2015 +0200

    Export outputPaths function

    This is useful for the new hydra-queue-runner.

commit 5dfea34048aa8541f20aeb2fbcd163561b609a49
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Thu Jul 2 22:51:33 2015 +0200

    Use std::vector::data()

commit 2459458bc8257734ca78cb7a2db3df20bd730ec0
Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date:   Thu Jun 4 16:04:41 2015 +0200

    Allow substitutes for builds that have preferLocalBuild set

    Not substituting builds with "preferLocalBuild = true" was a bad idea,
    because it didn't take the cost of dependencies into account. For
    instance, if we can't substitute a fetchgit call, then we have to
    download/build git and all its dependencies.

    Partially reverts 5558652709f27e8a887580b77b93c705659d7a4b and adds a
    new derivation attribute "allowSubstitutes" to specify whether a
    derivation may be substituted.
2015-07-03 00:30:55 +02:00
Cyril Roelandt
d2cef629fd scripts: environment: Return the exit status of the command.
* guix/scripts/environment.scm (guix-environment): Return the exit
  status of the command.
2015-07-02 21:47:24 +02:00
Mark H Weaver
08fa45b190 gnu: gnupg: Enable TLS support.
* gnu/packages/gnupg.scm (gnupg)[native-inputs]: Add pkg-config.
  [inputs]: Add gnutls.
  (gnupg-2.0, gnupg-1)[native-inputs]: Override inherited value to be '().
2015-07-02 12:35:12 -04:00
Mark H Weaver
5e5fa28e76 gnu: gnupg: Update to 2.1.6.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.6.
2015-07-02 12:35:12 -04:00
Ricardo Wurmus
c61fe02cc0 gnu: Add WarpedLMM.
* gnu/packages/bioinformatics.scm (python2-warpedlmm): New variable.
2015-07-02 11:16:46 +02:00
Ricardo Wurmus
f4f4ced8dc gnu: r: Set default pager.
* gnu/packages/statistics.scm (r)[arguments]: Add phase "set-default-pager" to
  avoid "false" as a default pager.
2015-07-02 10:50:55 +02:00
Ludovic Courtès
28de8d258b environment: Define 'GUIX_ENVIRONMENT'.
* guix/scripts/environment.scm (create-environment): Define 'GUIX_ENVIRONMENT'.
* doc/guix.texi (Invoking guix environment): Document it.
* gnu/system/shadow.scm (default-skeletons): Adjust 'PS1' depending on whether
  'GUIX_ENVIRONMENT' is defined.
2015-07-01 23:29:49 +02:00
Ludovic Courtès
50500f7cf0 doc: Mention .bashrc vs. .bash_profile for 'guix environment'.
* doc/guix.texi (Invoking guix environment): Add footnote about .bashrc
  vs. .bash_profile.
2015-07-01 23:29:49 +02:00