jackhill/guix/guix.git
4 years agognu: Add r-flowcore.
zimoun [Wed, 24 Jul 2019 18:21:57 +0000 (20:21 +0200)]
gnu: Add r-flowcore.

* gnu/packages/bioconductor.scm (r-flowcore): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-all.
zimoun [Wed, 24 Jul 2019 18:21:56 +0000 (20:21 +0200)]
gnu: Add r-all.

* gnu/packages/bioconductor.scm (r-all): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-kableextra.
zimoun [Wed, 24 Jul 2019 18:21:55 +0000 (20:21 +0200)]
gnu: Add r-kableextra.

* gnu/packages/cran.scm (r-kableextra): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-umap.
zimoun [Wed, 24 Jul 2019 18:21:54 +0000 (20:21 +0200)]
gnu: Add r-umap.

* gnu/packages/cran.scm (r-umap): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: emacs-gitpatch: Update to 0.5.1.
Jelle Licht [Wed, 24 Jul 2019 20:23:19 +0000 (22:23 +0200)]
gnu: emacs-gitpatch: Update to 0.5.1.

* gnu/packages/emacs-xyz.scm (emacs-gitpatch): Update to 0.5.1.

4 years agognu: terminator: Propagate gsettings-desktop-schemas.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 19:28:09 +0000 (21:28 +0200)]
gnu: terminator: Propagate gsettings-desktop-schemas.

* gnu/packages/gnome.scm (terminator)[propagated-inputs]: Add gsettings-desktop-schemas.

4 years agognu: spice-gtk: Update to 0.37.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 17:06:25 +0000 (19:06 +0200)]
gnu: spice-gtk: Update to 0.37.

* gnu/packages/spice.scm (spice-gtk): Update to 0.37.
[propagated-inputs]: Use latest spice-protocol.
(spice-protocol-0.12): Remove unused variable.

4 years agognu: libvirt-glib: Propagate pkg-config requirements.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 14:37:57 +0000 (16:37 +0200)]
gnu: libvirt-glib: Propagate pkg-config requirements.

* gnu/packages/virtualization.scm (libvirt-glib)[inputs]: Move glib,
libvirt, libxml2, and gobject-introspection…
[native-inputs]: …here.

4 years agognu: libvirt-glib: Update to 2.0.0.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 14:36:49 +0000 (16:36 +0200)]
gnu: libvirt-glib: Update to 2.0.0.

* gnu/packages/virtualization.scm (libvirt-glib): Update to 2.0.0.
[arguments]: Remove ‘fix-tests’ phase.

4 years agodoc: Warn about GPG warning.
Leo Famulari [Tue, 23 Jul 2019 23:55:28 +0000 (19:55 -0400)]
doc: Warn about GPG warning.

* doc/guix.texi (Binary Installation, USB Stick and DVD Installation): Warn
users about the web-of-trust untrusted key warning from GPG.

4 years agodeploy: Handle the '--system' command line option.
宋文武 [Sat, 20 Jul 2019 04:51:45 +0000 (12:51 +0800)]
deploy: Handle the '--system' command line option.

* guix/scripts/deploy.scm (show-help): Add help for '--system'.
(%options): Add '-s' and '--system'.
(guix-deploy): Parameterize %current-system.

4 years agodeploy: Honor '--no-grafts'.
宋文武 [Sat, 20 Jul 2019 04:45:34 +0000 (12:45 +0800)]
deploy: Honor '--no-grafts'.

* guix/scripts/deploy.scm (guix-deploy): Parameterize '%graft?'.

4 years agognu: julia: Update to 1.1.1.
Nicolò Balzarotti [Tue, 23 Jul 2019 21:56:21 +0000 (23:56 +0200)]
gnu: julia: Update to 1.1.1.

* gnu/packages/julia.scm (libuv-julia): Update to commit 26dbe56.
(libunwind-for-julia): Remove.
(llvm-patch-url, llvm-patch): New procedures.
(llvm-julia): New variable.
(julia): Update to 1.1.1.
[arguments]: Adjust 'prepare-deps' to new set of dependencies.
Adjust 'hardcode-soname-map': remove openlibm and libfftw handling.
Update file names in 'fix-include-and-link-paths' and 'hardcode-paths'.
Adjust 'disable-broken-tests'.
Pass PREFIX, LIBFLAS, and LIBBLASNAME in #:make-flags; update other
flags.
[inputs]: Replace LLVM-3.9.1 with LLVM-JULIA.  Replace
LIBUNWIND-FOR-JULIA with LIBUNWIND.  Add "rmath" and "libwhich".
[native-inputs]: Remove "unicode-data".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: llvm: Add 'system->llvm-target' procedure.
Ludovic Courtès [Tue, 23 Jul 2019 14:57:25 +0000 (16:57 +0200)]
gnu: llvm: Add 'system->llvm-target' procedure.

* gnu/packages/llvm.scm (system->llvm-target): New procedure.

4 years agodoc: Add example for generating a secret key with knot DNS.
Julien Lepiller [Tue, 23 Jul 2019 19:15:43 +0000 (21:15 +0200)]
doc: Add example for generating a secret key with knot DNS.

* doc/guix.texi (DNS Services): Add an example and more context to the
includes field of the knot-configuration record.

4 years agognu: terminology: Update to 1.5.0.
Efraim Flashner [Tue, 23 Jul 2019 13:35:26 +0000 (16:35 +0300)]
gnu: terminology: Update to 1.5.0.

* gnu/packages/enlightenment.scm (terminology): Update to 1.5.0.

4 years agognu: emacs-request: Update to 0.3.1.
Mathieu Lirzin [Mon, 22 Jul 2019 20:53:56 +0000 (22:53 +0200)]
gnu: emacs-request: Update to 0.3.1.

* gnu/packages/emacs-xyz.scm (emacs-request): Update to 0.3.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: emacs-google-translate: Update to 0.11.18.
Mathieu Lirzin [Mon, 22 Jul 2019 13:47:54 +0000 (15:47 +0200)]
gnu: emacs-google-translate: Update to 0.11.18.

* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.18.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agoMakefile: Sort scheme tests alphabetically.
Robert Vollmert [Mon, 15 Jul 2019 10:59:15 +0000 (12:59 +0200)]
Makefile: Sort scheme tests alphabetically.

* Makefile.am (SCM_TESTS): Sort.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: mallard-ducktype: Update to 1.0.2.
Jack Hill [Mon, 22 Jul 2019 13:33:01 +0000 (09:33 -0400)]
gnu: mallard-ducktype: Update to 1.0.2.

* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: harmonist: Update to 0.2.
Julien Lepiller [Mon, 22 Jul 2019 21:06:55 +0000 (23:06 +0200)]
gnu: harmonist: Update to 0.2.

* gnu/packages/games.scm (harmonist): Update to 0.2.

4 years agognu: vlc: Build against libvpx@1.8.
Marius Bakke [Mon, 22 Jul 2019 14:17:36 +0000 (16:17 +0200)]
gnu: vlc: Build against libvpx@1.8.

* gnu/packages/video.scm (vlc)[inputs]: Change LIBVPX-1.7 to LIBVPX.

4 years agognu: libvpx: Update to 1.8.1.
Marius Bakke [Mon, 22 Jul 2019 13:51:49 +0000 (15:51 +0200)]
gnu: libvpx: Update to 1.8.1.

* gnu/packages/video.scm (libvpx): Update to 1.8.1.

4 years agognu: zstd: Update to 1.4.1.
Marius Bakke [Mon, 22 Jul 2019 13:01:53 +0000 (15:01 +0200)]
gnu: zstd: Update to 1.4.1.

* gnu/packages/compression.scm (zstd): Update to 1.4.1.

4 years agognu: zstd: Move libraries to separate outputs.
Marius Bakke [Mon, 22 Jul 2019 12:53:12 +0000 (14:53 +0200)]
gnu: zstd: Move libraries to separate outputs.

* gnu/packages/compression.scm (zstd)[outputs]: New field.
[arguments]: Add phase 'adjust-libary-locations'.  Pass LIBDIR and INCLUDEDIR
in <#:make-flags>.
* gnu/packages/backup.scm (borg)[inputs]: Change ZSTD to ZSTD:LIB.
* gnu/packages/sync.scm (casync)[inputs]: Likewise.
* gnu/packages/tor.scm (tor)[inputs]: Likewise.
* gnu/packages/linux.scm (btrfs-progs)[inputs]: Likewise.  Add ZSTD:STATIC.

4 years agognu: whois: Update to 5.5.0.
Marius Bakke [Sun, 21 Jul 2019 22:17:39 +0000 (00:17 +0200)]
gnu: whois: Update to 5.5.0.

* gnu/packages/networking.scm (whois): Update to 5.5.0.

4 years agognu: jsoncpp: Update to 1.9.1.
Marius Bakke [Sun, 21 Jul 2019 22:17:20 +0000 (00:17 +0200)]
gnu: jsoncpp: Update to 1.9.1.

* gnu/packages/serialization.scm (jsoncpp): Update to 1.9.1.

4 years agognu: ffmpeg: Update to 4.1.4.
Marius Bakke [Sun, 21 Jul 2019 22:17:02 +0000 (00:17 +0200)]
gnu: ffmpeg: Update to 4.1.4.

* gnu/packages/video.scm (ffmpeg): Update to 4.1.4.

4 years agognu: x265: Update to 3.1.1.
Marius Bakke [Sun, 21 Jul 2019 22:16:38 +0000 (00:16 +0200)]
gnu: x265: Update to 3.1.1.

* gnu/packages/video.scm (x265): Update to 3.1.1.

4 years agognu: ungoogled-chromium: Enable parallel build.
Marius Bakke [Sun, 21 Jul 2019 21:32:04 +0000 (23:32 +0200)]
gnu: ungoogled-chromium: Enable parallel build.

...but limit the memory usage.  Tested with --cores=8 on a 16 GiB RAM machine.

* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove <#:parallel-build?>.
Add "jumbo_file_merge_limit=8" in <#:configure-flags>.

4 years agognu: htslib: Propagate zlib.
Ricardo Wurmus [Mon, 22 Jul 2019 12:23:14 +0000 (14:23 +0200)]
gnu: htslib: Propagate zlib.

Reported by Vedran Franke <Vedran.Franke@mdc-berlin.de>.

* gnu/packages/bioinformatics.scm (htslib)[inputs]: Move zlib from here...
[propagated-inputs]: ...to here.

4 years agopack: Pass a list as the entry point for 'build-docker-image'.
Ludovic Courtès [Sun, 21 Jul 2019 22:45:42 +0000 (00:45 +0200)]
pack: Pass a list as the entry point for 'build-docker-image'.

* guix/scripts/pack.scm (docker-image)[build]: Pass a list as
 #:entry-point, not a string.

4 years agoswh: Add basic tests.
Ludovic Courtès [Sat, 20 Jul 2019 18:13:39 +0000 (20:13 +0200)]
swh: Add basic tests.

* guix/swh.scm (%swh-base-url): Turn into a parameter and export it.
* tests/swh.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

4 years agodoc: Update 'guix import json' example.
Ludovic Courtès [Sun, 21 Jul 2019 21:14:59 +0000 (23:14 +0200)]
doc: Update 'guix import json' example.

This is a followup to d78010b81ee6ef4fd8803082e2f401b9e55b44db.

* doc/guix.texi (Invoking guix import): Change 'guix import json'
example to refer to "gettext", not "gcc".

4 years agognu: perl-net-http: Update to 6.19.
Efraim Flashner [Mon, 22 Jul 2019 07:14:41 +0000 (10:14 +0300)]
gnu: perl-net-http: Update to 6.19.

* gnu/packages/web.scm (perl-net-httpd): Update to 6.19.

4 years agognu: perl-test-simple: Update to 1.302164.
Efraim Flashner [Mon, 22 Jul 2019 06:07:58 +0000 (09:07 +0300)]
gnu: perl-test-simple: Update to 1.302164.

* gnu/packages/perl-check.scm (perl-test-simple): Update to 1.302164.

4 years agognu: perl-cpan-meta: Update to 2.150010.
Efraim Flashner [Mon, 22 Jul 2019 06:06:41 +0000 (09:06 +0300)]
gnu: perl-cpan-meta: Update to 2.150010.

* gnu/packages/perl.scm (perl-cpan-meta): Update to 2.150010.

4 years agognu: perl-clone: Update to 0.42.
Efraim Flashner [Mon, 22 Jul 2019 06:06:04 +0000 (09:06 +0300)]
gnu: perl-clone: Update to 0.42.

* gnu/packages/perl.scm (perl-clone): Update to 0.42.

4 years agognu: perl-hash-merge: Update to 0.300.
Efraim Flashner [Mon, 22 Jul 2019 06:05:24 +0000 (09:05 +0300)]
gnu: perl-hash-merge: Update to 0.300.

* gnu/packages/perl.scm (perl-hash-merge): Update to 0.300.
[inputs]: Add perl-clone-choose.

4 years agognu: mallard-ducktype: Run tests.
Efraim Flashner [Mon, 22 Jul 2019 06:48:50 +0000 (09:48 +0300)]
gnu: mallard-ducktype: Run tests.

* gnu/packages/python-xyz.scm (mallard-ducktype)[arguments]: Replace
'check phase to run test suite.

4 years agognu: oil-shell: Update to 0.6.0
Robert Vollmert [Fri, 19 Jul 2019 16:50:56 +0000 (18:50 +0200)]
gnu: oil-shell: Update to 0.6.0

* gnu/packages/shells.scm (oil-shell): Update to 0.6.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: libreoffice: Fix xdg-open absolute paths.
Chris Marusich [Tue, 16 Jul 2019 05:42:07 +0000 (22:42 -0700)]
gnu: libreoffice: Fix xdg-open absolute paths.

Fixes: <https://bugs.gnu.org/36728>.

* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add xdg-utils.
[arguments][#:phases][prepare-src]: Replace hard-coded absolute paths to
xdg-open in the source with the path to xdg-open in the xdg-utils input.

4 years agognu: libosinfo: Update to 1.5.0.
Tobias Geerinckx-Rice [Sun, 21 Jul 2019 18:20:27 +0000 (20:20 +0200)]
gnu: libosinfo: Update to 1.5.0.

* gnu/packages/virtualization.scm (libosinfo): Update to 1.5.0.
[arguments]: Remove ‘disable-broken-test’ phase.
[native-inputs]: Remove check.

4 years agognu: linux-libre: Update to 5.2.2.
Mark H Weaver [Sun, 21 Jul 2019 13:01:41 +0000 (09:01 -0400)]
gnu: linux-libre: Update to 5.2.2.

* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.2.
(linux-libre-5.2-pristine-source): Update hash.

4 years agognu: linux-libre@4.19: Update to 4.19.60.
Mark H Weaver [Sun, 21 Jul 2019 13:00:46 +0000 (09:00 -0400)]
gnu: linux-libre@4.19: Update to 4.19.60.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.60.
(linux-libre-4.19-pristine-source): Update hash.

4 years agognu: linux-libre@4.14: Update to 4.14.134.
Mark H Weaver [Sun, 21 Jul 2019 12:59:57 +0000 (08:59 -0400)]
gnu: linux-libre@4.14: Update to 4.14.134.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.134.
(linux-libre-4.14-pristine-source): Update hash.

4 years agognu: linux-libre@4.9: Update to 4.9.186.
Mark H Weaver [Sun, 21 Jul 2019 12:59:04 +0000 (08:59 -0400)]
gnu: linux-libre@4.9: Update to 4.9.186.

* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.186.
(linux-libre-4.9-pristine-source): Update hash.

4 years agognu: linux-libre@4.4: Update to 4.4.186.
Mark H Weaver [Sun, 21 Jul 2019 12:57:23 +0000 (08:57 -0400)]
gnu: linux-libre@4.4: Update to 4.4.186.

* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.186.
(linux-libre-4.4-pristine-source): Update hash.

4 years agognu: linux-libre: Deblob the linux-libre source tarball ourselves.
Mark H Weaver [Sun, 21 Jul 2019 12:41:43 +0000 (08:41 -0400)]
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.

* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.

4 years agognu: Add darkice.
Mark H Weaver [Sun, 21 Jul 2019 15:12:36 +0000 (11:12 -0400)]
gnu: Add darkice.

* gnu/packages/audio.scm (darkice): New variable.
* gnu/packages/patches/darkice-workaround-fpermissive-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: emacs-ivy: Update to 0.12.0.
Brian Leung [Sat, 20 Jul 2019 20:35:50 +0000 (22:35 +0200)]
gnu: emacs-ivy: Update to 0.12.0.

* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: Add python-gdal.
宋文武 [Sat, 20 Jul 2019 14:39:33 +0000 (22:39 +0800)]
gnu: Add python-gdal.

For <https://issues.guix.gnu.org/issue/36623>, thank to Arne Babenhauserheide
for the original patch.

* gnu/packages/geo.scm (python-gdal): New package.

4 years agognu: qtwebkit: Update to 5.212.0-alpha3.
Efraim Flashner [Sun, 21 Jul 2019 05:45:30 +0000 (08:45 +0300)]
gnu: qtwebkit: Update to 5.212.0-alpha3.

* gnu/packages/qt.scm (qtwebkit): Update to 5.212.0-alpha3.

4 years agognu: Add ghc-hasktags.
Brian Leung [Thu, 18 Jul 2019 05:23:02 +0000 (07:23 +0200)]
gnu: Add ghc-hasktags.

* gnu/packages/haskell.scm (ghc-hasktags): New variable.

4 years agognu: Add ghc-microlens-platform.
Brian Leung [Thu, 18 Jul 2019 05:22:47 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-platform.

* gnu/packages/haskell.scm (ghc-microlens-platform): New variable.

4 years agognu: Add ghc-microlens-ghc.
Brian Leung [Thu, 18 Jul 2019 05:22:31 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-ghc.

* gnu/packages/haskell.scm (ghc-microlens-ghc): New variable.

4 years agognu: Add ghc-microlens-mtl.
Brian Leung [Thu, 18 Jul 2019 05:22:18 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-mtl.

* gnu/packages/haskell.scm (ghc-microlens-mtl): New variable.

4 years agognu: Add ghc-hindent.
Brian Leung [Sat, 22 Jun 2019 21:47:32 +0000 (23:47 +0200)]
gnu: Add ghc-hindent.

* gnu/packages/haskell.scm (ghc-hindent): New variable.

4 years agognu: Add ghc-exactprint.
Brian Leung [Fri, 21 Jun 2019 01:44:39 +0000 (03:44 +0200)]
gnu: Add ghc-exactprint.

* gnu/packages/haskell.scm (ghc-exactprint): New variable.

4 years agognu: Add ghc-descriptive.
Brian Leung [Fri, 21 Jun 2019 01:44:27 +0000 (03:44 +0200)]
gnu: Add ghc-descriptive.

* gnu/packages/haskell.scm (ghc-descriptive): New variable.

4 years agognu: Add ghc-path-io.
Brian Leung [Thu, 20 Jun 2019 05:57:01 +0000 (07:57 +0200)]
gnu: Add ghc-path-io.

* gnu/packages/haskell.scm (ghc-path-io): New variable.

4 years agognu: Add ghc-path.
Brian Leung [Thu, 20 Jun 2019 05:56:47 +0000 (07:56 +0200)]
gnu: Add ghc-path.

* gnu/packages/haskell.scm (ghc-path): New variable.

4 years agognu: Add ghc-genvalidity-property.
Brian Leung [Thu, 20 Jun 2019 05:56:21 +0000 (07:56 +0200)]
gnu: Add ghc-genvalidity-property.

* gnu/packages/haskell.scm (ghc-genvalidity-property): New variable.

4 years agognu: Add ghc-genvalidity.
Brian Leung [Thu, 20 Jun 2019 05:56:04 +0000 (07:56 +0200)]
gnu: Add ghc-genvalidity.

* gnu/packages/haskell.scm (ghc-genvalidity): New variable.

4 years agognu: Add ghc-validity.
Brian Leung [Thu, 20 Jun 2019 05:55:34 +0000 (07:55 +0200)]
gnu: Add ghc-validity.

* gnu/packages/haskell.scm (ghc-validity): New variable.

4 years agolint: Use the 'warning' procedure for messages.
Ludovic Courtès [Fri, 19 Jul 2019 23:31:38 +0000 (01:31 +0200)]
lint: Use the 'warning' procedure for messages.

* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of
'format'.

4 years agolint: source: Stop as soon as a valid URL is found.
Ludovic Courtès [Fri, 19 Jul 2019 23:30:29 +0000 (01:30 +0200)]
lint: source: Stop as soon as a valid URL is found.

This restores the behavior of 'guix lint' prior to commit
50fc2384feb3bb2677d074f8f0deb5ae3c56b4d8.

* guix/lint.scm (check-source)[warnings-for-uris]: Rewrite to stop as
soon as one of URIS is valid.

4 years agolint: Remove unused imports.
Ludovic Courtès [Fri, 19 Jul 2019 23:18:38 +0000 (01:18 +0200)]
lint: Remove unused imports.

* guix/lint.scm: Remove now unused (gnu packages) and (guix monads)
imports.

4 years agolint: Add test for 'source'.
Ludovic Courtès [Fri, 19 Jul 2019 23:18:11 +0000 (01:18 +0200)]
lint: Add test for 'source'.

* tests/lint.scm ("source: 404 and 200"): New test.

4 years agolint: 'source' check no longer complains about unavailable mirrors.
Ludovic Courtès [Fri, 19 Jul 2019 23:13:46 +0000 (01:13 +0200)]
lint: 'source' check no longer complains about unavailable mirrors.

Fixes a regression introduced in
50fc2384feb3bb2677d074f8f0deb5ae3c56b4d8.

Previously, 'guix lint -c source coreutils' would complain if one of the
mirrors was unavailable.  This is no longer the case.

* guix/lint.scm (check-source)[warnings-for-uris]: Use 'filter-map'.
Remove 'append-map' call.
Use 'append-map' here so that we can meaningfull compare the length or
URIS and that of WARNINGS.
Use '=' to compare lengths.

4 years agolint: Update tests to (guix lint) migration.
Ludovic Courtès [Fri, 19 Jul 2019 23:04:49 +0000 (01:04 +0200)]
lint: Update tests to (guix lint) migration.

This is a followup to f363c836e0b4c416dae594af4257459da592b35c.

* tests/lint.scm ("cve")
("cve: one vulnerability")
("cve: one patched vulnerability")
("cve: known safe from vulnerability")
("cve: vulnerability fixed in replacement version")
("cve: patched vulnerability in replacement"): Refer to
'package-vulnerabilities' from (guix lint), not (guix scripts lint).

4 years agognu: Add emacs-zerodark-theme.
Giacomo Leidi [Mon, 15 Jul 2019 09:21:24 +0000 (11:21 +0200)]
gnu: Add emacs-zerodark-theme.

* gnu/packages/emacs-xyz.scm (emacs-zerodark-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoui: 'warn-about-load-error' provides hints for unbound variables.
Ludovic Courtès [Fri, 19 Jul 2019 22:33:50 +0000 (00:33 +0200)]
ui: 'warn-about-load-error' provides hints for unbound variables.

* guix/ui.scm (warn-about-load-error): Add 'unbound-variable' clause.
* tests/guix-build.sh: Add test.

4 years agoui: 'warn-about-load-error' warns about file/module name mismatches.
Ludovic Courtès [Fri, 19 Jul 2019 21:48:09 +0000 (23:48 +0200)]
ui: 'warn-about-load-error' warns about file/module name mismatches.

* guix/discovery.scm (scheme-modules): Rename the inner 'file' to
'relative'.  Pass FILE as an addition argument to WARN.
* guix/ui.scm (warn-about-load-error): Add 'module' argument (actually,
what was called 'file' really contained a module name.)  Call
'check-module-matches-file' in the catch-all error case.
(check-module-matches-file): New procedure.
* tests/guix-build.sh: Test it.

4 years agognu: python-jupyter-client: Patch file name of 'ip'.
Ludovic Courtès [Fri, 19 Jul 2019 15:17:35 +0000 (17:17 +0200)]
gnu: python-jupyter-client: Patch file name of 'ip'.

* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Add #:phases.
[inputs]: New field.

4 years agognu: glog: Disable test that fails on non-x86_64 platforms.
Marius Bakke [Fri, 19 Jul 2019 14:33:54 +0000 (16:33 +0200)]
gnu: glog: Disable test that fails on non-x86_64 platforms.

This was removed in 4678cc46a4c1e0538402d8df6d85d3caedc7f00b, but turned out
to still be needed.

* gnu/packages/logging.scm (glog)[arguments]: New field.

4 years agochannels: Always provide a <channel-metadata> record.
Ludovic Courtès [Tue, 16 Jul 2019 22:41:10 +0000 (00:41 +0200)]
channels: Always provide a <channel-metadata> record.

This simplifies the code since one no longer needs to think about
whether '.guix-channel' was present.

* guix/channels.scm (read-channel-metadata): Always pass a string as the
first argument to 'channel-metadata'.
(read-channel-metadata-from-source): Always return a <channel-metadata>
record.
(channel-instance-dependencies): Remove now unneeded 'match'.
(standard-module-derivation): Assume DIRECTORY is never #f and contains
a leading slash.
* tests/channels.scm (channel-metadata-directory)
(channel-metadata-dependencies): New procedures.
("channel-instance-metadata returns #f if .guix-channel does not
exist"): Remove.
("channel-instance-metadata returns default if .guix-channel does not
exist"): New test.
(make-instance): Use 'write' instead of 'display' when creating
'.guix-channel'.
(instance--no-deps): Remove dependencies.
(instance--sub-directory): New variable.
("channel-instance-metadata and default dependencies")
("channel-instance-metadata and directory"): New tests.
("latest-channel-instances excludes duplicate channel dependencies"):
Expect 'channel-commit' to return a string and adjust accordingly.

4 years agochannels: Remove unneeded 'version' field of <channel-metadata>.
Ludovic Courtès [Tue, 16 Jul 2019 22:24:56 +0000 (00:24 +0200)]
channels: Remove unneeded 'version' field of <channel-metadata>.

The idea is that 'read-channel-metadata' will take care of converting
possibly older versions to the current data type.  Thus, storing the
version number is unnecessary.

* guix/channels.scm (<channel-metadata>)[version]: Remove.
(read-channel-metadata, channel-instance-dependencies): Adjust
accordingly.

4 years agochannels: Strictly check the version of '.guix-channel'.
Ludovic Courtès [Tue, 16 Jul 2019 22:04:41 +0000 (00:04 +0200)]
channels: Strictly check the version of '.guix-channel'.

Until now the 'version' field in '.guix-channel' could be omitted, or it
could be any value.

* guix/channels.scm (read-channel-metadata): Rename to...
(channel-instance-metadata): ... this.
(channel-instance-dependencies): Adjust accordingly.
(read-channel-metadata): New procedure.  Use 'match'
to require a 'version' field.  Provide proper error handling when the
channel sexp is malformed or when given an unsupported version number.
(read-channel-metadata-from-source): Use 'catch' and
'system-error-errno' instead of 'file-exists?'.
* tests/channels.scm (instance--unsupported-version): New variable.
(read-channel-metadata): Rename to...
(channel-instance-metadata): ... this.  Rename tests accordingly.
("channel-instance-metadata rejects unsupported version"): New test.

4 years agolinux-container: Add 'eval/container'.
Ludovic Courtès [Mon, 15 Jul 2019 14:14:31 +0000 (16:14 +0200)]
linux-container: Add 'eval/container'.

* gnu/system/linux-container.scm (eval/container): New procedure.
* tests/containers.scm ("eval/container, exit status")
("eval/container, writable user mapping"): New tests.

4 years agofile-systems: Use 'no-atime' for %IMMUTABLE-STORE.
Ludovic Courtès [Fri, 19 Jul 2019 09:48:19 +0000 (11:48 +0200)]
file-systems: Use 'no-atime' for %IMMUTABLE-STORE.

* gnu/system/file-systems.scm (%immutable-store): Add 'no-atime'.

4 years agoguix archive: Use (gcrypt common).
Ludovic Courtès [Fri, 19 Jul 2019 09:38:54 +0000 (11:38 +0200)]
guix archive: Use (gcrypt common).

* guix/scripts/archive.scm: Use (gcrypt common) for 'error-source' and
'error-string'.

4 years agognu: glog: Update to 0.4.0.
Marius Bakke [Thu, 18 Jul 2019 21:44:59 +0000 (23:44 +0200)]
gnu: glog: Update to 0.4.0.

* gnu/packages/patches/glog-gcc-5-demangling.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/logging.scm (glog): Update to 0.4.0.
[source]: Use GIT-FETCH.
[arguments]: Remove.

4 years agognu: i2pd: Rewrite 'check phase using with-directory-excursion.
Efraim Flashner [Thu, 18 Jul 2019 15:52:43 +0000 (18:52 +0300)]
gnu: i2pd: Rewrite 'check phase using with-directory-excursion.

* gnu/packages/i2p.scm (i2pd)[arguments]: In custom 'check phase use
with-directory-excursion to change directory.

4 years agognu: Add i2pd.
Jakob L. Kreuze [Wed, 17 Jul 2019 18:12:23 +0000 (14:12 -0400)]
gnu: Add i2pd.

[[PGP Signed Part:No public key for F506FD169D8FD95A created at 2019-07-17T20:12:25+0200 using RSA]]
* gnu/packages/i2p.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add websocketpp.
Jakob L. Kreuze [Wed, 17 Jul 2019 18:11:16 +0000 (14:11 -0400)]
gnu: Add websocketpp.

* gnu/packages/web.scm (websocketpp): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add emacs-ccls.
Brian Leung [Wed, 17 Jul 2019 19:35:05 +0000 (21:35 +0200)]
gnu: Add emacs-ccls.

* gnu/packages/emacs-xyz.scm (emacs-ccls): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add emacs-pandoc-mode.
Brian Leung [Wed, 17 Jul 2019 19:27:18 +0000 (21:27 +0200)]
gnu: Add emacs-pandoc-mode.

* gnu/packages/emacs-xyz.scm (emacs-pandoc-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add emacs-focus.
Brian Leung [Sun, 14 Jul 2019 02:25:27 +0000 (04:25 +0200)]
gnu: Add emacs-focus.

* gnu/packages/emacs-xyz.scm (emacs-focus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add emacs-deadgrep.
Brian Leung [Sun, 14 Jul 2019 02:25:16 +0000 (04:25 +0200)]
gnu: Add emacs-deadgrep.

* gnu/packages/emacs-xyz.scm (emacs-deadgrep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add emacs-github-review.
Brian Leung [Sun, 14 Jul 2019 02:25:05 +0000 (04:25 +0200)]
gnu: Add emacs-github-review.

* gnu/packages/emacs-xyz.scm (emacs-github-review): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add xygrib.
Efraim Flashner [Sun, 14 Jul 2019 18:00:46 +0000 (21:00 +0300)]
gnu: Add xygrib.

* gnu/packages/geo.scm (xygrib): New variable.

4 years agognu: Add libnova.
Efraim Flashner [Sun, 14 Jul 2019 17:51:39 +0000 (20:51 +0300)]
gnu: Add libnova.

* gnu/packages/astronomy.scm (libnova): New variable.

4 years agognu: bind: Update to 9.14.4.
Tobias Geerinckx-Rice [Thu, 18 Jul 2019 10:54:05 +0000 (12:54 +0200)]
gnu: bind: Update to 9.14.4.

* gnu/packages/dns.scm (bind): Update to 9.14.4.

4 years agomachine: Fix typo.
Tobias Geerinckx-Rice [Wed, 17 Jul 2019 15:32:31 +0000 (17:32 +0200)]
machine: Fix typo.

* gnu/machine/ssh.scm (managed-host-environment-type)[description]:
Fix typo.

4 years agoRevert "gnu: emacs-org: Update to 9.2.4."
Nicolas Goaziou [Thu, 18 Jul 2019 08:43:57 +0000 (10:43 +0200)]
Revert "gnu: emacs-org: Update to 9.2.4."

This reverts commit 348753349222206809f0b1f7d4ce5fbed43290f0.

The structure of the tarball is different when obtained from
"https://orgmode.org" and emacs-build-system no longer apply.  Therefore, the
package will not build.

Org has not been updated in ELPA to its latest version (9.2.4); this was
reported upstream.

4 years agognu: starfighter: Update to 2.0.0.2.
Kei Kebreau [Thu, 18 Jul 2019 02:48:58 +0000 (22:48 -0400)]
gnu: starfighter: Update to 2.0.0.2.

* gnu/packages/games.scm (starfighter): Update to 2.0.0.2.
[source]: Use 'git-fetch' and 'git-file-name'.
[native-inputs]: Add autoconf and automake.
[inputs]: Add pango and sdl2-ttf.
[home-page]: Update project home page.

4 years agodoc: Correctly document 'host' field of <cuirass-configuration>.
Ludovic Courtès [Wed, 17 Jul 2019 22:43:54 +0000 (00:43 +0200)]
doc: Correctly document 'host' field of <cuirass-configuration>.

* doc/guix.texi (Continuous Integration): Fix doc of the 'host' field.

4 years agopull: Pass #:use-substitutes? to 'show-what-to-build'.
Ludovic Courtès [Wed, 17 Jul 2019 19:28:54 +0000 (21:28 +0200)]
pull: Pass #:use-substitutes? to 'show-what-to-build'.

Fixes <https://bugs.gnu.org/36509>.
Reported by Robert Vollmert <rob@vllmrt.net>.

* guix/scripts/pull.scm (build-and-install): Add #:use-substitutes?
parameter and pass it to UPDATE-PROFILE.
(guix-pull): Pass #:use-substitutes? to 'build-and-install'.

4 years agopull: Use (ice-9 format).
Ludovic Courtès [Wed, 17 Jul 2019 18:09:44 +0000 (20:09 +0200)]
pull: Use (ice-9 format).

* guix/scripts/pull.scm (guix): Use (ice-9 format), as reported by
'-Wformat'.