Commit Graph

30043 Commits

Author SHA1 Message Date
Marius Bakke 4eade64706
Merge branch 'master' into staging 2018-03-19 03:50:39 +01:00
Eric Bavier be95bcf088
git-download: Fix recursive checkouts.
* guix/git-download.scm (git-fetch)<build>: Fix match on INPUTS, which may
contain package outputs.
2018-03-18 20:00:44 -05:00
Vijayalakshmi Vedantham 109b2f7c93
gnu: Add r-abbyyr.
* gnu/packages/cran.scm (r-abbyyr): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-03-19 01:06:41 +01:00
Ludovic Courtès 71e08fde28
glob: Add an extra glob pattern compilation stage.
* guix/glob.scm (compile-glob-pattern): Rename to...
(string->sglob): ... this.
(compile-sglob, string->compiled-sglob): New procedures.
(glob-match?): Replace '?, 'range, and 'set with a single clause.
* tests/glob.scm (test-compile-glob-pattern): Rename to...
(test-string->sglob): ... this.  Adjust accordingly.
(test-glob-match): Use 'string->compiled-sglob' instead of
'compile-glob-pattern'.
* gnu/build/linux-modules.scm (read-module-aliases): Use
'string->compiled-sglob' instead of 'compile-glob-pattern'.
2018-03-18 22:57:17 +01:00
Ludovic Courtès e914b398af
glob: Support square brackets in patterns.
* guix/glob.scm (wildcard-indices): Remove.
(parse-bracket): New procedure.
(compile-glob-pattern): Rewrite.  Support square brackets for sets and
ranges.
(glob-match?): Support sets and ranges.
* tests/glob.scm (test-compile-glob-pattern)
(test-glob-match): New macros.
Use them to rewrite the existing tests, and add new tests.
2018-03-18 22:35:36 +01:00
Ludovic Courtès 675e81a082
linux-modules: 'load-linux-module*' honors BLACK-LIST in recursive calls.
* gnu/build/linux-modules.scm (load-linux-module*): Pass BLACK-LIST in
recursive call.
2018-03-18 22:35:27 +01:00
Ludovic Courtès a57df67b59
linux-modules: Add 'current-kernel-directory'.
* gnu/build/linux-modules.scm (current-kernel-directory): New procedure.
(current-alias-file): Use it.
2018-03-18 22:35:03 +01:00
Ludovic Courtès 248db51c7e
vm: Display a backtrace upon error by default.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
 #:on-error to 'base-initrd'.
2018-03-18 22:34:40 +01:00
Ludovic Courtès 17cdd3d0fe
tests: elpa: Don't actually download files.
* tests/elpa.scm (eval-test-with-elpa): Mock 'url-fetch'.
2018-03-18 22:33:41 +01:00
Ludovic Courtès 9bb1838c3f
import: elpa: Return 'license:gpl3+ for ELPA only.
Fixes <https://bugs.gnu.org/30836>.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* guix/import/elpa.scm (elpa-package->sexp): Add LICENSE parameter and
honor it.
(elpa->guix-package): Pass 'license:gpl3+ only when REPO is 'gnu.
2018-03-18 22:26:34 +01:00
Ludovic Courtès e5425ed950
import: elpa: Adjust test for HTTPS URLs.
This is a followup to 44dd3d579d.

* tests/elpa.scm (eval-test-with-elpa): Use https.
2018-03-18 22:25:54 +01:00
Sohom Bhattacharjee 14f2105dc6
gnu: youtube-dl: Update to 2018.03.14.
* gnu/packages/video.scm (youtube-dl): Update to 2018.03.14.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2018-03-18 18:47:16 +01:00
Ricardo Wurmus e923cee1b9
gnu: wayland: Disable failing tests.
* gnu/packages/freedesktop.scm (wayland)[arguments]: Disable tests that fail
in the build environment.
2018-03-18 17:07:55 +01:00
Christopher Baines 72406062b9
gnu: shotwell: Update to 0.28.0.
* gnu/packages/gnome.scm (shotwell): Update to 0.28.0.
2018-03-18 10:35:23 +00:00
Ben Woodcroft e218b0c8b3
gnu: Add ruby-ruby-engine.
* gnu/packages/ruby.scm (ruby-ruby-engine): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 670ee20a57
gnu: Add ruby-rake.
* gnu/packages/ruby.scm (ruby-rake): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft d64ebebd8e
gnu: Add ruby-erubis.
* gnu/packages/ruby.scm (ruby-erubis): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft b88502c95c
gnu: Add ruby-sporkmonger-rack-mount.
* gnu/packages/ruby.scm (ruby-sporkmonger-rack-mount): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft c4550f7568
gnu: Add ruby-creole.
* gnu/packages/ruby.scm (ruby-creole): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 6ef8525607
gnu: Add ruby-contest.
* gnu/packages/ruby.scm (ruby-contest): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft a0a7e6903a
gnu: Add ruby-rack-protection.
* gnu/packages/ruby.scm (ruby-rack-protection): New variable.
2018-03-18 10:23:52 +00:00
Ben Woodcroft 20a0f80414
gnu: Add ruby-rack-test.
* gnu/packages/ruby.scm (ruby-rack-test): New variable.
2018-03-18 10:23:51 +00:00
Ben Woodcroft 34138e42ba
gnu: Add ruby-asciidoctor.
* gnu/packages/ruby.scm (ruby-asciidoctor): New variable.
2018-03-18 10:23:51 +00:00
Ben Woodcroft 63e07468b3
gnu: Add ruby-asciimath.
* gnu/packages/maths.scm (ruby-asciimath): New variable.
2018-03-18 10:23:49 +00:00
Mark H Weaver 171a117c61
build-system/python: Fix deletion of .egg-info dirs created by tests.
* guix/build/python-build-system.scm (check): Use 'string=?' to compare
strings, not 'eqv?'.
2018-03-18 00:49:05 -04:00
Mark H Weaver 1e62645402
build-system/python: Return #t from all phases.
* guix/build/python-build-system.scm (build, install, wrap): Return #t.
(check): Return #t and remove vestigial plumbing.
2018-03-18 00:49:03 -04:00
Mark H Weaver 953468743f
gnu: gobject-introspection: Disable parallel build.
* gnu/packages/glib.scm (gobject-introspection)[arguments]: New field.
2018-03-18 00:49:01 -04:00
Mark H Weaver 196fb12cb8
gnu: boost: Simplify phases.
* gnu/packages/boost.scm (boost)[arguments]: Remove unneeded '#t's from
'configure', 'build', and 'install' phases.
2018-03-18 00:48:55 -04:00
Mark H Weaver 81f6bf2d50
gnu: glib: Return #t from all phases.
* gnu/packages/glib.scm (glib)[arguments]: In the 'check' phase, use
'for-each' instead to avoid assuming that 'disable' will return a true value.
Return #t from the 'pre-build' and 'check' phases.
2018-03-17 22:45:59 -04:00
Mark H Weaver cc4c8a576c
gnu: icecat: Fix CVE-2018-{5146,5147}, etc.
Includes fixes for CVE-2018-5146 and CVE-2018-5147.

* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from
the upstream mozilla-esr52 repository.
2018-03-17 21:44:23 -04:00
Mark H Weaver eed6985fc6
gnu: tk: Return #t from all phases.
* gnu/packages/tcl.scm (tk)[arguments]: Return #t from 'pre-configure' phase.
2018-03-17 20:50:45 -04:00
Mark H Weaver 4a3ee3fbb1
gnu: giflib: Return #t from all phases.
* gnu/packages/image.scm (giflib)[arguments]: Return #t from custom phases.
2018-03-17 20:50:43 -04:00
Mark H Weaver d009c44a58
gnu: dbus: Detect failures in the install phase.
* gnu/packages/glib.scm (dbus)[arguments]: Use 'invoke' instead of 'system*'.
2018-03-17 20:49:05 -04:00
Marius Bakke 7ace97395f
Merge branch 'master' into staging 2018-03-18 01:09:25 +01:00
Mark H Weaver b4291db238
gnu: python: Return #t from all phases.
* gnu/packages/python.scm (python-3.6)[arguments]: Return #t from
the 'rebuild-bytecode' phase.
2018-03-17 19:55:04 -04:00
Marius Bakke ba57d602e3
gnu: Switch from xineramaproto to xorgproto.
* gnu/packages/xorg.scm (xineramaproto)[properties]: Mark as superseded by
XORGPROTO.
(libxinerama)[propagated-inputs]: Replace XINERAMAPROTO with XORGPROTO.
(xorg-server)[propagated-inputs]: Remove XINERAMAPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke 5b6f1be783
gnu: Switch from xf86vidmodeproto to xorgproto.
* gnu/packages/xorg.scm (xf86vidmodeproto)[properties]: Mark as superseded by
XORGPROTO.
(libxxf86vm)[propagated-inputs]: Replace XF86VIDMODEPROTO with XORGPROTO.
(xorg-server)[inputs]: Remove XF86VIDMODEPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke d7f3769195
gnu: Switch from xf86bigfontproto to xorgproto.
* gnu/packages/xorg.scm (xf86bigfontproto)[properties]: Mark as superseded by
XORGPROTO.
(xorg-server)[inputs]: Remove XF86BIGFONTPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke ab667712ed
gnu: Switch from xf86dgaproto to xorgproto.
* gnu/packages/xorg.scm (libxxf86dga, xf86-video-glint, xf86-video-neomagic,
xf86-video-tga, xf86-video-trident, xf86-video-voodoo)[inputs]: Replace
XF86DGAPROTO with XORGPROTO.
(xf86driproto)[properties]: Mark as superseded by XORGPROTO.
(xf86-video-qxl, xf86-video-sis, xorg-server)[inputs]: Remove XF86DGAPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke a1f78b42da
gnu: Switch from xf86driproto to xorgproto.
* gnu/packages/xorg.scm (xf86-video-mach64, xf86-video-mga, xf86-video-ati,
xf86-video-openchrome, xf86-video-r128, xf86-video-savage, xf86-video-sis,
xf86-video-tdfx)[inputs]: Replace XF86DRIPROTO with XORGPROTO.
(xf86driproto)[properties]: Mark as superseded by XORGPROTO.
(xorg-server)[inputs]: Remove XF86DRIPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke e399d6cae3
gnu: Switch from scrnsaverproto to xorgproto.
* gnu/packages/enlightenment.scm (efl)[inputs]: Remove SCRNSAVERPROTO.
* gnu/packages/mate.scm (mate-control-center,
mate-screensaver)[native-inputs]: Remove SCRNSAVERPROTO.
* gnu/packages/xorg.scm (libxscrnsaver)[propagated-inputs]: Change from
SCRNSAVERPROTO to XORGPROTO.
(scrnsaverproto)[properties]: Mark as superseded by XORGPROTO.
(xorg-server)[propagated-inputs]: Remove SCRNSAVERPROTO.
2018-03-18 00:19:57 +01:00
Marius Bakke ec89471d83
gnu: Switch from recordproto to xorgproto.
* gnu/packages/xnee.scm (xnee)[inputs]: Remove RECORDPROTO.
* gnu/packages/xorg.scm (recordproto)[properties]: Mark as superseded by
XORGPROTO.
(libxtst)[propagated-inputs]: Replace RECORDPROTO with XORGPROTO.
[inputs]: Remove XORGPROTO.
* gnu/packages/xorg.scm (xorg-server)[inputs]: Remove RECORDPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke 2bf1fa98f2
gnu: Switch from resourceproto to xorgproto.
* gnu/packages/xorg.scm (libxres)[inputs]: Remove RESOURCEPROTO.
(resourceproto)[properties]: Mark as superseded by XORGPROTO.
(xorg-server)[propagated-inputs]: Remove RESOURCEPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke f579a1d2fa
gnu: Switch from renderproto to xorgproto.
* gnu/packages/mate.scm (mate-control-center,
mate-screensaver)[native-inputs]: Remove RENDERPROTO.
* gnu/packages/xorg.scm (renderproto)[properties]: Mark as superseded by XORGPROTO.
(libxrender)[propagated-inputs]: Replace RENDERPROTO with XORGPROTO.
[inputs]: Remove XORGPROTO.
* gnu/packages/xorg.scm (xorg-server)[inputs]: Remove RENDERPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke 314144d212
gnu: Switch from presentproto to xorgproto.
* gnu/packages/gl.scm (mesa)[inputs]: Remove PRESENTPROTO.
* gnu/packages/xorg.scm (xorg-server)[inputs]: Likewise.
(presentproto)[properties]: Mark as superseded by XORGPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke b9469160c0
gnu: Switch from xcmiscproto to xorgproto.
* gnu/packages/xorg.scm (xcmiscproto)[properties]: Mark as superseded by
XORGPROTO.
(xorg-server)[inputs]: Remove XCMISCPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke 196abe4d91
gnu: Switch from windowswmproto to xorgproto.
* gnu/packages/xorg.scm (libwindowswm)[inputs]: Remove WINDOWSWMPROTO.
(windowswmproto)[properties]: Mark as superseded by XORGPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke 205b83ad15
gnu: Switch from videoproto to xorgproto.
* gnu/packages/xorg.scm (videoproto)[properties]: Mark as superseded by XORGPROTO.
(libxv)[propagated-inputs]: Replace VIDEOPROTO with XORGPROTO.
[inputs]: Remove XORGPROTO.
(xorg-server)[propagated-inputs]: Likewise.
2018-03-18 00:19:56 +01:00
Marius Bakke 0e540ac1e2
gnu: Switch from dri3proto to xorgproto.
* gnu/packages/gl.scm (mesa)[inputs]: Remove DRI3PROTO.
* gnu/packages/xorg.scm (xorg-server)[propagated-inputs]: Likewise.
(dri3proto)[properties]: Mark as superseded by XORGPROTO.
2018-03-18 00:19:56 +01:00
Marius Bakke 3993a28a36
gnu: Switch from dri2proto to xorgproto.
* gnu/packages/gl.scm (mesa)[inputs]: Remove DRI2PROTO.
* gnu/packages/video.scm (libvdpau)[inputs]: Replace DRI2PROTO with XORGPROTO.
* gnu/packages/xorg.scm (dri2proto)[properties]: Mark as superseded by XORGPROTO.
(xorg-server)[inputs]: Remove DRI2PROTO.
2018-03-18 00:19:55 +01:00