Ludovic Courtès [Tue, 8 Mar 2016 10:38:46 +0000 (11:38 +0100)]
packages: Support the deprecated "NAME-VERSION" syntax.
Fixes a typo introduced in
1b846da8c372bee78851439fd9e72b2499115e5a that
would lead to a backtrace when using the deprecated syntax.
* gnu/packages.scm (%find-package): Turn the first argument to
'call-with-values' into a thunk. Use #:select instead of '@' to select
the right 'package-name->name+version' procedure.
Ludovic Courtès [Tue, 8 Mar 2016 10:36:16 +0000 (11:36 +0100)]
packages: Clarify NAME-VERSION deprecation message.
* gnu/packages.scm (%find-package): Clarify message; remove trailing
period.
Ludovic Courtès [Tue, 8 Mar 2016 10:03:02 +0000 (11:03 +0100)]
guix system: Write the GC root on the target file system.
Fixes <http://bugs.gnu.org/22802>.
Reported by Jookia <166291@gmail.com>.
* guix/scripts/system.scm (install-grub*): Prepend TARGET to GC-ROOT.
Ludovic Courtès [Tue, 8 Mar 2016 09:59:27 +0000 (10:59 +0100)]
emacs: Gracefully handle wrong package names passed to 'guix-edit'.
Fixes <http://bugs.gnu.org/22933>.
* emacs/guix-main.scm (package-location-string): Rewrite to handle the
case where 'packages-by-name' returns the empty list.
Co-authored-by: Mathieu Lirzin <mthl@gnu.org>
Efraim Flashner [Tue, 8 Mar 2016 09:49:04 +0000 (11:49 +0200)]
gnu: jasper: Add fixes for CVE-2016-1577, CVE-2016-2089, CVE-2016-2116.
* gnu/packages/patches/jasper-CVE-2016-1557.patch,
gnu/packages/patches/jasper-CVE-2016-2089.patch,
gnu/packages/patches/jasper-CVE-2016-2116.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/image.scm (jasper)[source]: Add patches.
Leo Famulari [Mon, 7 Mar 2016 20:03:46 +0000 (15:03 -0500)]
gnu: libreoffice: Update to 5.0.5.2 [fixes CVE-2016-{0794, 0795}].
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.0.5.2.
Mark H Weaver [Mon, 7 Mar 2016 20:09:00 +0000 (15:09 -0500)]
gnu: linux-libre: Update to 4.1.19.
* gnu/packages/linux.scm (linux-libre): Update to 4.1.19.
Mark H Weaver [Mon, 7 Mar 2016 20:04:36 +0000 (15:04 -0500)]
gnu: linux-libre: Update to 4.4.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.4.
Ludovic Courtès [Mon, 7 Mar 2016 22:57:33 +0000 (23:57 +0100)]
packages: Cache the result of 'input-grafts'.
This reduces the wall-clock time of
guix environment gnutls --pure -E true
by ~35%.
* guix/packages.scm (%graft-cache): New variable.
(input-graft): Use 'cached' to cache to %GRAFT-CACHE.
Ludovic Courtès [Mon, 7 Mar 2016 22:52:35 +0000 (23:52 +0100)]
packages: Cache the result of 'package->bag'.
This reduces the wall-clock time of
guix environment gnutls --pure -E true
by ~25%.
* guix/packages.scm (%bag-cache): New variable.
(package->bag): Use 'cached' to cache things to %BAG-CACHE.
Ludovic Courtès [Sat, 18 Oct 2014 16:19:08 +0000 (18:19 +0200)]
packages: Generalize the 'cached' macro.
* guix/packages.scm (cache): Rename to...
(cache!): ... this. Add 'cache' parameter, and use it.
(cached): Add a rule to allow the cache to be specified.
Andy Wingo [Mon, 7 Mar 2016 15:30:24 +0000 (16:30 +0100)]
gnu: network-manager: Update to 1.0.10.
* gnu/packages/gnome.scm (network-manager): Update to 1.0.10.
(network-manager-applet): Likewise.
(%network-manager-glib-duplicate-test-patch): Remove.
Andy Wingo [Mon, 7 Mar 2016 15:29:35 +0000 (16:29 +0100)]
gnu: network-manager: Disable failing tests.
* gnu/packages/gnome.scm (network-manager): Add pre-configure phase.
Andy Wingo [Sun, 6 Mar 2016 18:00:29 +0000 (19:00 +0100)]
gnu: elogind: Update to 219.13.
* gnu/packages/freedesktop.scm (elogind): Update to 219.13. Remove
build fix that is no longer needed. Update home page.
Andy Wingo [Wed, 2 Mar 2016 19:29:47 +0000 (20:29 +0100)]
gnu: system: Add elogind cgroup mount.
* gnu/system/file-systems.scm (%elogind-file-systems): Add elogind
cgroup mount.
Ricardo Wurmus [Thu, 3 Sep 2015 12:17:34 +0000 (14:17 +0200)]
gnu: Add Blender.
* gnu/packages/graphics.scm (blender): New variable.
宋文武 [Sun, 6 Mar 2016 06:49:35 +0000 (14:49 +0800)]
gnu: Add gst-python.
* gnu/packages/gstreamer.scm (python-gst, python2-gst): New variables.
宋文武 [Sun, 6 Mar 2016 05:40:24 +0000 (13:40 +0800)]
gnu: python-pygobject: Propagate glib and libffi.
* gnu/packages/glib.scm (python-pygobject): Move glib and libffi to propagated-inputs.
(python2-pygobject)[inputs]: Remove glib and libffi.
宋文武 [Sun, 6 Mar 2016 05:27:47 +0000 (13:27 +0800)]
gnu: python-pygobject: Add search path for GI_TYPELIB_PATH.
* gnu/packages/glib.scm (python-pygobject)[native-search-paths]: Use the
same search paths as gobject-introspection.
宋文武 [Sun, 6 Mar 2016 04:51:55 +0000 (12:51 +0800)]
gnu: orc: Update to 0.4.25.
* gnu/packages/gstreamer.scm (orc): Update to 0.4.25.
宋文武 [Sun, 6 Mar 2016 13:18:19 +0000 (21:18 +0800)]
services: Use 'packages->manifest' in 'packages->profile-entry'.
This allows using (PACKAGE OUTPUT) in the packages field.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.
* gnu/services.scm (packages->profile-entry): Use 'packages->manifest'.
Ludovic Courtès [Sun, 6 Mar 2016 23:01:03 +0000 (00:01 +0100)]
services: elogind: Rely on D-Bus activation.
Previously elogind was explicitly spawned by the Shepherd. Now it is
activated by dbus-daemon on demand.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Add
'fix-service-file' phase.
* gnu/services/desktop.scm (elogind-shepherd-service): Remove.
(elogind-dbus-service): New procedure.
(elogind-service-type): Do not extend SHEPHERD-ROOT-SERVICE-TYPE. Use
'elogind-dbus-service' for DBUS-ROOT-SERVICE-TYPE.
Ludovic Courtès [Sun, 6 Mar 2016 20:53:28 +0000 (21:53 +0100)]
tests: Disable grafting by default for most tests.
This allows tests to run as expected even in the presence of
replacements among the bootstrap packages, such as Perl (commit
d8173f21f7b4e3cb83541b8fa70621d2b6d4ce1c).
* tests/cpan.scm: Add (%graft? #f).
* tests/derivations.scm: Likewise.
* tests/graph.scm: Likewise.
* tests/monads.scm: Likewise.
* tests/profiles.scm: Likewise.
* tests/gexp.scm: Likewise.
("gexp->derivation vs. grafts"): Explicitly reenable grafting before,
and disable it after, using 'set-grafting'.
Ludovic Courtès [Sun, 6 Mar 2016 20:50:40 +0000 (21:50 +0100)]
import: snix: Use the right 'package-name->name+version'.
Fixes a regression introduced in
1b846da8c372bee78851439fd9e72b2499115e5a.
* guix/import/snix.scm: Use 'package-name->name+version' from (guix
build utils).
Ricardo Wurmus [Sun, 6 Mar 2016 20:11:37 +0000 (21:11 +0100)]
gnu: alsa-modular-synth: Insert space to separate linker flags.
* gnu/packages/audio.scm (alsa-modular-synth)[arguments]: Add build
phase to separate linker flags.
Ricardo Wurmus [Sun, 6 Mar 2016 20:10:20 +0000 (21:10 +0100)]
gnu: alsa-modular-synth: Drop Qt 4.
* gnu/packages/audio.scm (alsa-modular-synth)[inputs]: Replace "qt-4"
with "qt".
[arguments]: Add configure flag to build with Qt 5.
Ludovic Courtès [Sat, 5 Mar 2016 21:34:46 +0000 (22:34 +0100)]
doc: Explain how to check whether security updates are used.
Based on
<https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00009.html>.
* doc/guix.texi (Security Updates): Explain how to check whether we're
using a grafted version.
Ludovic Courtès [Sat, 5 Mar 2016 21:01:33 +0000 (22:01 +0100)]
store: 'references/substitutes' correctly handles the order of substitutes.
Before that, 'references/substitutes' would assume that
'substitutable-path-info' would return things in the same order as its
arguments, which is not the case. Thus, it would sometimes provide
incorrect reference information, occasionally leading to infinite
loop (because dependency information would denote cycles.)
Fixes <http://bugs.gnu.org/22914>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.
* guix/store.scm (references/substitutes): Make ITEMS the first argument
of the loop; match on it. Use 'any' to find a matching substitute.
(substitutable-path-info): Clarify docstring about ordering.
Andreas Enge [Fri, 4 Mar 2016 23:30:56 +0000 (00:30 +0100)]
gnu: vigra: Update to a development snapshot.
* gnu/packages/image.scm (vigra): Update to a git snapshot to fix build
problems with the current python-numpy.
Andreas Enge [Sat, 5 Mar 2016 17:40:00 +0000 (18:40 +0100)]
gnu: Add einstein.
* gnu/packages/games.scm (einstein): New variable.
* gnu/packages/patches/einstein-build.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
Andreas Enge [Sat, 5 Mar 2016 15:26:55 +0000 (16:26 +0100)]
doc: Typos and small stylistic changes.
* guix.texi: Correct typos and make minor changes.
Andreas Enge [Sat, 5 Mar 2016 11:17:22 +0000 (12:17 +0100)]
gnu: jalv: Drop Qt-4 support.
* gnu/packages/audio.scm (jalv)[inputs]: Drop qt-4. It does not receive any
upstream security updates, and Qt-4 support is marked as experimental in
the jalv documentation.
Ludovic Courtès [Fri, 4 Mar 2016 23:06:15 +0000 (00:06 +0100)]
tests: Disable tests that would rebuild the world due to grafting.
The Perl replacement added in
d8173f2 leads some tests to involve
grafting, which in turn triggers derivation builds that rebuild the
world. Work around that.
* tests/packages.scm: Add call to '%graft?'.
("package-derivation, direct graft")
("package-cross-derivation, direct graft"): Comment out.
Ludovic Courtès [Fri, 4 Mar 2016 22:10:28 +0000 (23:10 +0100)]
grafts: Memoize intermediate results in 'cumulative-grafts'.
The time for:
guix build inkscape -n --no-substitutes
goes down by 30% (in the presence of 3 replacements among all the
packages.)
* guix/grafts.scm (cumulative-grafts): Turn into a monadic procedure in
%STATE-MONAD. Use the current state as a derivation-to-graft cache.
(graft-derivation): Call 'cumulative-grafts' within 'run-with-state'.
Ludovic Courtès [Fri, 4 Mar 2016 22:01:47 +0000 (23:01 +0100)]
packages: The result of 'bag-grafts' does not contain duplicates.
* guix/packages.scm (bag-grafts): Add call to 'delete-duplicates'.
Ludovic Courtès [Fri, 4 Mar 2016 20:49:08 +0000 (21:49 +0100)]
grafts: Use dependency information from substitutes when possible.
This avoids starting derivation builds just for the sake of knowing the
references of their outputs, thereby restoring the expected behavior of
--dry-run when substitutes are available.
* guix/grafts.scm (non-self-references): Remove 'store' parameter, and
add 'references'. Use it. Update caller.
(references-oracle): New variable.
(cumulative-grafts): Add 'references' parameter and use it. Update
callers.
(graft-derivation): Remove 'build-derivations' call. Add call to
'references-oracle'.
Ludovic Courtès [Fri, 4 Mar 2016 16:57:04 +0000 (17:57 +0100)]
store: Add 'references/substitutes'.
* guix/store.scm (references/substitutes): New procedure.
* tests/store.scm ("references/substitutes missing reference info")
("references/substitutes with substitute info"): New tests.
Ludovic Courtès [Fri, 4 Mar 2016 16:57:49 +0000 (17:57 +0100)]
tests: Narinfos can specify an non-empty reference list.
* guix/tests.scm (derivation-narinfo): Add #:references and honor it.
(call-with-derivation-narinfo, call-with-derivation-substitute):
Likewise.
(with-derivation-narinfo, with-derivation-substitute): Add 'references'
keyword.
Ludovic Courtès [Fri, 4 Mar 2016 16:50:30 +0000 (17:50 +0100)]
guix build: Set the build options early.
This fixes a bug whereby, with grafts leading to builds very early,
build options such as --substitute-urls would not be taken into account
yet.
Reported by Andreas Enge <andreas@enge.fr>.
* guix/scripts/build.scm (guix-build): Move 'opts' to the beginning.
Use 'with-store' instead of 'open-connection'. Call
'set-build-options-from-command-line' right after 'with-store'.
Leo Famulari [Wed, 2 Mar 2016 09:19:43 +0000 (04:19 -0500)]
gnu: letsencrypt, python-acme: Update to 0.4.2.
These packages should be updated together.
* gnu/packages/tls.scm (letsencrypt): Update to 0.4.2.
(python-acme, python2-acme): Update to 0.4.2.
Leo Famulari [Fri, 4 Mar 2016 10:35:46 +0000 (05:35 -0500)]
gnu: python-cryptography, python-cryptography-vectors: Update to 1.2.3.
These packages should be updated together.
* gnu/packages/python.scm (python-cryptography): Update to 1.2.3.
(python-cryptography-vectors): Update to 1.2.3.
Ludovic Courtès [Fri, 4 Mar 2016 09:51:45 +0000 (10:51 +0100)]
doc: Mention syslogd configuration.
* gnu/services/base.scm (syslog-service): Add xref to Inetutils in the
docstring.
(%default-syslog.conf): Export.
* doc/guix.texi (Base Services): Update accordingly.
Ludovic Courtès [Fri, 4 Mar 2016 09:44:08 +0000 (10:44 +0100)]
lint: cve: Gracefully handle HTTP errors.
* guix/scripts/lint.scm (current-vulnerabilities*): New procedure.
(package-vulnerabilities): Use it.
Ludovic Courtès [Fri, 4 Mar 2016 09:34:00 +0000 (10:34 +0100)]
gnu: gnome: Sync description and synopsis.
* gnu/packages/gnome.scm (gnome)[synopsis, description]: Use official
GNU blurb.
Ludovic Courtès [Fri, 4 Mar 2016 09:06:08 +0000 (10:06 +0100)]
gnu: nano: Update to 2.5.3.
* gnu/packages/nano.scm (nano): Update to 2.5.3.
Ludovic Courtès [Fri, 4 Mar 2016 08:52:00 +0000 (09:52 +0100)]
gnu: libgit2: Update to 0.23.4.
* gnu/packages/version-control.scm (libgit2): Update to 0.23.4.
Ludovic Courtès [Fri, 4 Mar 2016 08:43:38 +0000 (09:43 +0100)]
gnu: findnewest: Update to 0.3.
* gnu/packages/version-control.scm (findnewest): Update to 0.3.
Alex Kost [Thu, 3 Mar 2016 09:53:03 +0000 (12:53 +0300)]
emacs: Use '@' to separate package names and version numbers.
This is a followup to commit
1b846da8c372bee78851439fd9e72b2499115e5a.
* emacs/guix-base.el (guix-package-name-specification): Use "@" instead
of "-".
* emacs/guix-main.scm (name+version->full-name): Likewise.
(package-inputs-names): Use 'make-package-specification' instead of
'package-full-name'.
(full-name->name+version): Update the docstring.
* emacs/guix-ui-package.el (guix-packages-by-name): Likewise.
Alex Kost [Thu, 3 Mar 2016 09:55:21 +0000 (12:55 +0300)]
emacs: hydra: Use '-' to separate job names and version numbers.
* emacs/guix-hydra.el (guix-hydra-job-name-specification): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-systems)
(guix-package-list-latest-builds): Use it.
Leo Famulari [Fri, 4 Mar 2016 01:37:04 +0000 (20:37 -0500)]
gnu: exim: Update to 4.86.2 [fixes CVE-2016-1531].
* gnu/packages/mail.scm (exim): Update to 4.86.2.
David Thompson [Sat, 27 Feb 2016 14:58:50 +0000 (09:58 -0500)]
gnu: Add byzanz.
* gnu/packages/gnome.scm (byzanz): New variable.
Ludovic Courtès [Thu, 3 Mar 2016 22:26:30 +0000 (23:26 +0100)]
doc: Improve Info categories.
* doc/guix.texi: Change main category to "System administration". Fix
syntax of subnodes. Add entries for 'guix pull' and 'guix gc'. Add
"Emacs" category.
Ludovic Courtès [Thu, 3 Mar 2016 21:59:49 +0000 (22:59 +0100)]
build: Use (guix grafts) as needed.
This is a followup to
7adf9b8.
* build-aux/check-final-inputs-self-contained.scm: Use (guix grafts).
* build-aux/check-available-binaries.scm: Likewise.
Efraim Flashner [Thu, 3 Mar 2016 20:55:46 +0000 (22:55 +0200)]
gnu: youtube-dl: Update to 2016.03.01.
* gnu/packages/video.scm (youtube-dl): Update to 2016.03.01.
Efraim Flashner [Thu, 3 Mar 2016 20:53:37 +0000 (22:53 +0200)]
gnu: mpv: Update to 0.16.0.
* gnu/packages/video.scm (mpv): Update to 0.16.0.
Leo Famulari [Thu, 3 Mar 2016 03:45:36 +0000 (22:45 -0500)]
gnu: perl: Replace with patched version [fixes CVE-2016-2381].
* gnu/packages/patches/perl-CVE-2016-2381.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/perl.scm (perl)[replacement]: New field.
(perl-fixed): New variable.
* gnu/packages/commencement.scm (perl-boot0)[replacement]: New field.
Efraim Flashner [Thu, 3 Mar 2016 16:48:52 +0000 (18:48 +0200)]
gnu: irssi: Support proxy, socks, bot.
* gnu/packages/irc.scm (irssi)[arguments]: Add configure flags to
support proxy, socks and bot.
Efraim Flashner [Thu, 3 Mar 2016 16:47:21 +0000 (18:47 +0200)]
gnu: irssi: Update to 0.8.18.
* gnu/packages/irc.scm (irssi): Update to 0.8.18.
[source]: Update uri.
Ludovic Courtès [Thu, 3 Mar 2016 16:46:58 +0000 (17:46 +0100)]
build: Build (guix import github) only when Guile-JSON is available.
Reported by Justus Winter <justus@gnupg.org>.
* Makefile.am (MODULES): Add guix/import/github.scm only when
HAVE_GUILE_JSON.
Justus Winter [Thu, 3 Mar 2016 11:44:46 +0000 (12:44 +0100)]
po: Drop removed file 'weechat.scm'.
Fixes <http://bugs.gnu.org/22888>.
weechat has been merged into 'irc.scm' in
e288f007.
* po/packages/POTFILES.in: Drop removed file 'weechat.scm'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Petter [Thu, 3 Mar 2016 09:47:39 +0000 (10:47 +0100)]
system: GRUB menu entry says "beta" instead of "alpha"
* gnu/system.scm (kernel->grub-label): Change "alpha" to "beta'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Thu, 3 Mar 2016 13:02:15 +0000 (14:02 +0100)]
system: Add rfkill to '%base-packages'.
* gnu/system.scm (%base-packages): Add RFKILL.
Ricardo Wurmus [Thu, 3 Mar 2016 12:13:53 +0000 (13:13 +0100)]
gnu: python-pysam: Move cython and setuptools to native inputs.
* gnu/packages/bioinformatics.scm (python-pysam)[inputs]: Move
"python-cython" and "python-setuptools" from here...
[native-inputs]: ... to here.
Ricardo Wurmus [Mon, 29 Feb 2016 13:40:10 +0000 (14:40 +0100)]
gnu: deeptools: Update to 2.1.1.
* gnu/packages/bioinformatics.scm (deeptools): Update to 2.1.1.
[inputs]: Add "python2-numpydoc" and "python2-pybigwig".
Ricardo Wurmus [Mon, 29 Feb 2016 13:38:57 +0000 (14:38 +0100)]
gnu: deeptools: Change "propagated-inputs" to "inputs".
* gnu/packages/bioinformatics.scm (deeptools)[propagated-inputs]: Move
all inputs from here...
[inputs]: ...to here.
Ricardo Wurmus [Mon, 29 Feb 2016 13:37:38 +0000 (14:37 +0100)]
gnu: Add python-pybigwig.
* gnu/packages/bioinformatics.scm (python-pybigwig, python2-pybigwig):
New variables.
Ricardo Wurmus [Mon, 29 Feb 2016 13:36:25 +0000 (14:36 +0100)]
gnu: python-pysam: Update to 0.8.4.
* gnu/packages/bioinformatics.scm (python-pysam): Update to 0.8.4.
Ricardo Wurmus [Thu, 25 Feb 2016 13:01:14 +0000 (14:01 +0100)]
gnu: python-pysam, python2-pysam: Move to bioinformatics.scm.
* gnu/packages/python.scm (python-pysam, python2-pysam): Move to...
* gnu/packages/bioinformatics.scm (python-pysam, python2-pysam):
...here.
Ludovic Courtès [Thu, 3 Mar 2016 08:45:09 +0000 (09:45 +0100)]
lint: derivation: Disable grafts, but check replacements.
* guix/scripts/lint.scm (check-derivation): Pass #:graft? #f. When
'package-replacement' exists, compute its derivation.
Lukas Gradl [Tue, 1 Mar 2016 04:07:35 +0000 (22:07 -0600)]
gnu: Add procmail.
* gnu/packages/patches/procmail-ambiguous-getline-debian.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/mail.scm (procmail): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
Ludovic Courtès [Wed, 2 Mar 2016 22:57:23 +0000 (23:57 +0100)]
guix build: -S returns the replacement's source.
Reported by Mark H Weaver.
* guix/scripts/build.scm (options->derivations): When SRC and GRAFT? are
true, use the source of P's replacement.
* tests/guix-build.sh: Add test.
Ludovic Courtès [Wed, 2 Mar 2016 22:42:57 +0000 (23:42 +0100)]
hydra: Completely disable grafting.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Parameterize '%graft?'.
Build package replacements when they are available.
Ludovic Courtès [Wed, 2 Mar 2016 22:33:46 +0000 (23:33 +0100)]
hydra: Improve readability.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use 'filter-map' instead
of directly 'fold-packages'.
Mathieu Lirzin [Sun, 28 Feb 2016 22:11:36 +0000 (23:11 +0100)]
utils: Use '@' for separating package names and version numbers.
This provides the ability to use numbers in package names.
Fixes <http://bugs.gnu.org/19219>.
* guix/utils.scm (package-name->name+version): New procedure.
* gnu/packages.scm (%find-package): Add a FALLBACK? keyword argument.
Use the previous method when no package is found.
(specification->package+output, specification->package): Adapt
documentation to new syntax.
* doc/guix.texi (Invoking guix package, Invoking guix import): Likewise.
* guix/ui.scm (package-specification->name+version+output): Likewise.
* guix/scripts/import/hackage.scm (show-help): Likewise.
* tests/guix-build.sh: Adapt to new syntax.
* tests/guix-lint.sh: Likewise.
* tests/guix-package.sh: Likewise.
* tests/ui.scm ("package-specification->name+version+output"): Likewise.
* tests/utils.scm ("package-name->name+version"): Likewise.
* NEWS: Mention new syntax.
Mathieu Lirzin [Sun, 28 Feb 2016 16:50:58 +0000 (17:50 +0100)]
packages: Factorize package specification search.
* gnu/packages.scm (%find-package): New procedure.
(specification->package, specification->package+output): Use it.
Mark H Weaver [Wed, 2 Mar 2016 19:36:25 +0000 (14:36 -0500)]
gnu: icecat: Update bundled graphite2 to 1.3.6 [unspecified security fixes].
* gnu/packages/patches/icecat-update-graphite2-pt2.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patch.
Mark H Weaver [Wed, 2 Mar 2016 19:23:58 +0000 (14:23 -0500)]
gnu: nss: Update to 3.21.1.
* gnu/packages/gnuzilla.scm (nss): Update to 3.21.1.
Mark H Weaver [Wed, 2 Mar 2016 18:56:59 +0000 (13:56 -0500)]
gnu: graphite2: Replace with 1.3.6 [unspecified security fixes].
See <https://bodhi.fedoraproject.org/updates/FEDORA-2016-
dec1faadc5>
* gnu/packages/fontutils.scm (graphite2)[replacement]: New field.
(graphite2-1.3.6): New variable.
Jessica Tallon [Mon, 8 Feb 2016 21:12:50 +0000 (22:12 +0100)]
gnu: Add password-store.
* gnu/packages/password-utils.scm (password-store): New variable.
Co-authored-by: Andreas Enge <andreas@enge.fr>
Co-authored-by: Leo Famulari <leo@famulari.name>
Roel Janssen [Wed, 2 Mar 2016 13:42:16 +0000 (14:42 +0100)]
gnu: Add cppcheck.
* gnu/packages/check.scm (cppcheck): New variable.
Ludovic Courtès [Wed, 2 Mar 2016 13:44:18 +0000 (14:44 +0100)]
tests: Disable grafts by default.
Fixes <http://bugs.gnu.org/22872>.
Reported by myglc2 <myglc2@gmail.com>.
* test-env.in: Define and export 'GUIX_BUILD_OPTIONS'.
* tests/guix-build.sh: When setting 'GUIX_BUILD_OPTIONS', make sure it
contains '--no-grafts'.
* tests/guix-package.sh: Likewise.
* tests/guix-daemon.sh: Add (%graft? #f) in Scheme snippets.
Ludovic Courtès [Wed, 2 Mar 2016 13:42:39 +0000 (14:42 +0100)]
graph: Ignore 'GUIX_BUILD_OPTIONS'.
Previously 'GUIX_BUILD_OPTIONS' would be honored, but 'guix graph' does
not support the common build options.
* guix/scripts/graph.scm (guix-graph): Use 'args-fold*' instead of
'parse-command-line'.
Ludovic Courtès [Wed, 2 Mar 2016 12:43:13 +0000 (13:43 +0100)]
guix build: Move '--no-grafts' to the common build options.
* guix/scripts/build.scm (%options): Move --no-grafts to...
(%standard-build-options): ... here.
(show-help, show-build-options-help): Adjust accordingly.
* guix/scripts/archive.scm (%default-options): Add 'graft?'.
(guix-archive): Parametrize '%graft?'.
* guix/scripts/environment.scm (%default-options): Add 'graft?'.
(guix-environment): Parametrize '%graft?'.
* guix/scripts/package.scm (%default-options): Add 'graft?'.
(guix-package): Parametrize '%graft?'.
* guix/scripts/system.scm (%default-options): Add 'graft?'.
(guix-system): Parametrize 'graft?'.
* doc/guix.texi (Additional Build Options): Move --no-grafts to...
(Common Build Options): ... here.
Ludovic Courtès [Wed, 2 Mar 2016 12:25:50 +0000 (13:25 +0100)]
guix archive: Use 'with-store'.
* guix/scripts/archive.scm (guix-archive): Use 'with-store' instead of
an explicit 'open-connection'.
Mark H Weaver [Wed, 2 Mar 2016 06:51:47 +0000 (01:51 -0500)]
gnu: openssl: Enable ssl2 at build time to ensure ABI compatible graft.
Fixes <https://debbugs.gnu.org/22876>
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.
* gnu/packages/tls.scm (openssl-1.0.2g)[arguments]: Override the inherited
'configure' phase to add "enable-ssl2" as an argument to ./config.
Leo Famulari [Wed, 2 Mar 2016 01:37:20 +0000 (20:37 -0500)]
gnu: ilmbase: Fix typo in adding a patch.
* gnu-system.am (dist_patch_DATA): Fix typo.
5e8276dcf4e3a05f69176dca816f00616e7f0593
宋文武 [Mon, 29 Feb 2016 06:57:56 +0000 (14:57 +0800)]
gnu: xfce: Don't wrap 'startxfce4'.
The necessary environment variables are set by 'etc/profile' now.
* gnu/packages/xfce.scm (xfce)[build-system]: Use 'trivial-build-system'.
[arguments]: Simplify.
Leo Famulari [Mon, 29 Feb 2016 07:23:43 +0000 (02:23 -0500)]
gnu: ilmbase: Add patch to fix build on i686.
Fixes <http://bugs.gnu.org/22049>.
* gnu/packages/patches/ilmbase-fix-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/graphics.scm (ilmbase)[source]: Add patch.
Leo Famulari [Tue, 1 Mar 2016 20:04:47 +0000 (15:04 -0500)]
gnu: openssh: Update to 7.2p1.
* gnu/packages/ssh.scm (openssh): Update to 7.2p1.
Leo Famulari [Tue, 1 Mar 2016 21:30:13 +0000 (16:30 -0500)]
gnu: libressl: Update to 2.2.6.
* gnu/packages/tls.scm (libressl): Update to 2.2.6.
Leo Famulari [Tue, 1 Mar 2016 20:15:38 +0000 (15:15 -0500)]
gnu: parallel: Update to
20160222.
* gnu/packages/parallel.scm (parallel): Update to
20160222.
Pjotr Prins [Mon, 29 Feb 2016 08:46:58 +0000 (08:46 +0000)]
gnu: r-go-db: Bioconductor changed URL for data downloads.
* gnu/packages/bioinformatics.scm (r-go-db)[source]: Update data URL.
Pjotr Prins [Mon, 29 Feb 2016 08:40:38 +0000 (08:40 +0000)]
gnu: r-iranges: Update to 2.4.8.
* gnu/packages/bioinformatics.scm (r-iranges): Update to 2.4.8.
Pjotr Prins [Mon, 29 Feb 2016 08:37:54 +0000 (08:37 +0000)]
gnu: r-s4vectors: Update to 0.8.11.
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.8.11.
Pjotr Prins [Mon, 29 Feb 2016 08:32:40 +0000 (08:32 +0000)]
gnu: r-ggplot2: Update to 2.0.0.
* gnu/packages/statistics.scm (r-ggplot2): Update to 2.0.0.
Ludovic Courtès [Tue, 1 Mar 2016 14:57:37 +0000 (15:57 +0100)]
gnu: openssl: Replace with 1.0.2g [fixes CVE-2016-{0800,0705,0798,0797,0799,0702,0703,0704}].
See <http://openssl.org/news/secadv/
20160301.txt>.
Also fixes <http://bugs.gnu.org/22831>.
* gnu/packages/patches/openssl-c-rehash-in.patch: New file.
* gnu/packages/tls.scm (openssl)[replacement]: New field.
(openssl-1.0.2g): New variable.
Ludovic Courtès [Sat, 27 Feb 2016 22:06:50 +0000 (23:06 +0100)]
grafts: Graft recursively.
Fixes <http://bugs.gnu.org/22139>.
* guix/grafts.scm (graft-derivation): Rename to...
(graft-derivation/shallow): ... this.
(graft-origin-file-name, item->deriver, non-self-references)
(cumulative-grafts, graft-derivation): New procedures
* tests/grafts.scm ("graft-derivation, grafted item is a direct
dependency"): Clarify title. Use 'grafted' instead of 'graft' to refer
to the grafted derivation.
("graft-derivation, grafted item is an indirect dependency")
("graft-derivation, no dependencies on grafted output"): New tests.
* guix/packages.scm (input-graft): Change to take a package instead of
an input.
(input-cross-graft): Likewise.
(fold-bag-dependencies): New procedure.
(bag-grafts): Rewrite in terms of 'fold-bag-dependencies'.
* tests/packages.scm ("package-derivation, indirect grafts"): Comment out.
* doc/guix.texi (Security Updates): Mention run-time dependencies and
recursive grafting.
Efraim Flashner [Tue, 1 Mar 2016 11:34:12 +0000 (13:34 +0200)]
gnu: tiled: Use 'modify-phases'.
* gnu/packages/game-development.scm (tiled)[arguments]: Use 'modify-phases'.
Efraim Flashner [Tue, 1 Mar 2016 11:32:01 +0000 (13:32 +0200)]
gnu: tiled: Update to 0.15.1.
* gnu/packages/game-development.scm (tiled): Update to 0.15.1.
Ricardo Wurmus [Fri, 2 Oct 2015 14:37:03 +0000 (16:37 +0200)]
gnu: Add PePr.
* gnu/packages/bioinformatics.scm (pepr): New variable.