jackhill/guix/guix.git
4 years agoupstream: Move KDE updater into a separate module.
Hartmut Goebel [Tue, 3 Sep 2019 12:16:03 +0000 (14:16 +0200)]
upstream: Move KDE updater into a separate module.

As it was done for (guix import gnome).

* guix/import/kde.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/gnu-maintenance.scm (%kde-updater) (%kde-file-list-uri)
  (download.kde.org-files) (latest-kde-release): Remove.

4 years agognu-maintenance: KDE updater no longer relies on FTP access.
Hartmut Goebel [Sun, 4 Aug 2019 09:30:32 +0000 (11:30 +0200)]
gnu-maintenance: KDE updater no longer relies on FTP access.

Fetch the ls-lR.bz2 file list for download.kde.org, convert it into a list of
file paths and cache the list.

* guix/gnu-maintenance.scm (%kde-file-list-uri): New variable.
  (download.kde.org-files): New procedure.
  (latest-kde-release): Change to use DOWNLOAD.KDE.ORG-FILES and search
  for files in this list.

4 years agoguix: Rename and move sans-extension to tarball-sans-extension.
Hartmut Goebel [Tue, 27 Aug 2019 16:20:16 +0000 (18:20 +0200)]
guix: Rename and move sans-extension to tarball-sans-extension.

* guix/gnu-maintenance.scm (sans-extension): Move and rename to ...
* guix/utils.scm (tarball-sans-extension): ... here.

4 years agognu: ghc@8.6: Add missing 'native-search-paths'.
Timothy Sample [Tue, 10 Sep 2019 01:12:41 +0000 (21:12 -0400)]
gnu: ghc@8.6: Add missing 'native-search-paths'.

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

* gnu/packages/haskell.scm (ghc-8.6)[native-search-paths]: Set search
paths explicitly instead of inheriting them.

4 years agognu: rclone: Update to 1.49.2.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 23:40:17 +0000 (01:40 +0200)]
gnu: rclone: Update to 1.49.2.

* gnu/packages/sync.scm (rclone): Update to 1.49.2.

4 years agognu: fakeroot: Update to 1.24.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 23:34:39 +0000 (01:34 +0200)]
gnu: fakeroot: Update to 1.24.

* gnu/packages/linux.scm (fakeroot): Update to 1.24.
[source]: Adjust and use HTTPS.

4 years agognu: eclib: Update to 20190909.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 23:28:28 +0000 (01:28 +0200)]
gnu: eclib: Update to 20190909.

* gnu/packages/algebra.scm (eclib): Update to 20190909.

4 years agognu: aisleriot: Update to 3.22.9.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 22:39:35 +0000 (00:39 +0200)]
gnu: aisleriot: Update to 3.22.9.

* gnu/packages/gnome.scm (aisleriot): Update to 3.22.9.

4 years agognu: monero-gui: Update to 0.14.1.2.
Guillaume Le Vaillant [Wed, 4 Sep 2019 14:58:57 +0000 (16:58 +0200)]
gnu: monero-gui: Update to 0.14.1.2.

* gnu/packages/finance.scm (monero-gui): Update to 0.14.1.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: monero: Activate Trezor support.
Guillaume Le Vaillant [Wed, 4 Sep 2019 14:58:56 +0000 (16:58 +0200)]
gnu: monero: Activate Trezor support.

* gnu/packages/finance.scm (monero):
  [native-inputs]: Add python and protobuf.
  [inputs]: Add libusb and protobuf.
  [arguments]: Add delete-dead-links phase.
  (monero-gui)[inputs]: Add libusb and protobuf.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: monero: Fix detection of readline library.
Guillaume Le Vaillant [Wed, 4 Sep 2019 14:58:55 +0000 (16:58 +0200)]
gnu: monero: Fix detection of readline library.

* gnu/packages/finance.scm (monero)[arguments]: Define 'Readline_ROOT_DIR'
  in 'configure-flags'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Add copyright header.
L p R n d n [Mon, 2 Sep 2019 15:05:44 +0000 (17:05 +0200)]
gnu: Add copyright header.

* gnu/packages/xfce.scm: Add copyright header.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: orage: Fix build.
L p R n d n [Mon, 2 Sep 2019 15:04:50 +0000 (17:04 +0200)]
gnu: orage: Fix build.

* gnu/packages/xfce.scm (orage)[arguments]: Add phase fixing build with libical3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: ristretto: Update to 0.10.0.
L p R n d n [Mon, 2 Sep 2019 14:11:01 +0000 (16:11 +0200)]
gnu: ristretto: Update to 0.10.0.

* gnu/packages/xfce.scm (ristretto): Update to 0.10.0.
[inputs] Add gtk+. Remove gtk+-2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: mousepad: Update to 0.4.2.
L p R n d n [Mon, 2 Sep 2019 14:10:49 +0000 (16:10 +0200)]
gnu: mousepad: Update to 0.4.2.

* gnu/packages/xfce.scm (mousepad): Update to 0.4.2.
[arguments] Remove unnecessary --enable-gtk3 flag from #:configure-flags.
[inputs] Add xfconf.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoimport: crate: Allow imports of a specific version.
Martin Becze [Mon, 9 Sep 2019 15:36:04 +0000 (11:36 -0400)]
import: crate: Allow imports of a specific version.

* guix/import/crate.scm (crate->guix-package): Add optional 'version'
argument and honor it.
* guix/scripts/import/crate.scm (guix-import-crate): Assume the first
argument is a spec and destructure it with
'package-name->name+version'.  Pass both to 'crate->guix-package'.
* doc/guix.texi (Invoking guix import): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
4 years agorefresh: Distinguish between "no updater" and "failing updater".
Ludovic Courtès [Mon, 9 Sep 2019 08:33:42 +0000 (10:33 +0200)]
refresh: Distinguish between "no updater" and "failing updater".

Previously, something like "guix refresh texmacs" would report "no
updater".  Now, it reports that the 'gnu-ftp' updater failed to list
releases.

* guix/upstream.scm (lookup-updater): Use 'find' instead of 'any' to
return the <upstream-updater>.
(package-latest-release): Adjust accordingly.
* guix/scripts/refresh.scm (check-for-package-update): When
'package-latest-release' returns #f, distinguish between "no updater"
and "failing updater".

4 years agopackages: 'package-field-location' really catches 'system-error.
Ludovic Courtès [Mon, 9 Sep 2019 08:19:59 +0000 (10:19 +0200)]
packages: 'package-field-location' really catches 'system-error.

This had been wrong since forever (i.e., 2013).

* guix/packages.scm (package-field-location): Catch 'system-error, not
'system.

4 years agognu: zeromq: Use HTTPS home page.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 15:21:10 +0000 (17:21 +0200)]
gnu: zeromq: Use HTTPS home page.

* gnu/packages/networking.scm (zeromq)[home-page]: Use HTTPS.

4 years agognu: zeromq: Update to 4.3.2.
Tobias Geerinckx-Rice [Mon, 9 Sep 2019 15:20:21 +0000 (17:20 +0200)]
gnu: zeromq: Update to 4.3.2.

* gnu/packages/networking.scm (zeromq): Update to 4.3.2.
[source]: Download GitHub release tarball.

4 years agognu: libmbim: Update to 1.20.0.
Tobias Geerinckx-Rice [Sat, 7 Sep 2019 23:32:39 +0000 (01:32 +0200)]
gnu: libmbim: Update to 1.20.0.

* gnu/packages/freedesktop.scm (libmbim): Update to 1.20.0.

4 years agognu: libmbim: Don't use NAME in source URI.
Tobias Geerinckx-Rice [Sat, 7 Sep 2019 23:32:50 +0000 (01:32 +0200)]
gnu: libmbim: Don't use NAME in source URI.

* gnu/packages/freedesktop.scm (libmbim)[source]: Hard-code NAME.

4 years agognu: libsecret: Update to 0.19.1.
Tobias Geerinckx-Rice [Sat, 7 Sep 2019 23:50:58 +0000 (01:50 +0200)]
gnu: libsecret: Update to 0.19.1.

* gnu/packages/gnome.scm (libsecret): Update to 0.19.1.

4 years agognu: libsecret: Don't use NAME in source URI.
Tobias Geerinckx-Rice [Sat, 7 Sep 2019 23:51:11 +0000 (01:51 +0200)]
gnu: libsecret: Don't use NAME in source URI.

* gnu/packages/gnome.scm (libsecret)[source]: Hard-code NAME.

4 years agognu: mes: Update to 0.20.
Jan Nieuwenhuizen [Sat, 7 Sep 2019 17:09:48 +0000 (19:09 +0200)]
gnu: mes: Update to 0.20.

* gnu/packages/mes.scm (mes): Update to 0.20.  Use nyacc-0.99.0.

4 years agognu: mescc-tools: Update to 0.6.1.
Jan Nieuwenhuizen [Sat, 7 Sep 2019 17:23:43 +0000 (19:23 +0200)]
gnu: mescc-tools: Update to 0.6.1.

* gnu/packages/mes.scm (mescc-tools): Update to 0.6.1.

4 years agognu: nyacc: Update to 0.99.0.
Jan Nieuwenhuizen [Sat, 7 Sep 2019 17:08:29 +0000 (19:08 +0200)]
gnu: nyacc: Update to 0.99.0.

* gnu/packages/mes.scm (nyacc): Update to 0.99.0.

4 years agognu: grammalecte: Update to 1.4.0.
Nicolas Goaziou [Mon, 9 Sep 2019 20:19:01 +0000 (22:19 +0200)]
gnu: grammalecte: Update to 1.4.0.

* gnu/packages/dictionaries.scm (grammalecte): Update to 1.4.0.
[synopsis]: Remove spurious space.

4 years agognu: Add scron.
Robert Vollmert [Tue, 30 Jul 2019 09:36:33 +0000 (11:36 +0200)]
gnu: Add scron.

* gnu/packages/suckless.scm (scron): New package.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: kdeconnect: Update to 1.3.5.
Efraim Flashner [Mon, 9 Sep 2019 13:31:16 +0000 (16:31 +0300)]
gnu: kdeconnect: Update to 1.3.5.

* gnu/packages/kde.scm (kdeconnect): Update to 1.3.5.
[source]: Update source uri.

4 years agognu: kdeconnect: Set upstream-name.
Efraim Flashner [Mon, 9 Sep 2019 13:18:39 +0000 (16:18 +0300)]
gnu: kdeconnect: Set upstream-name.

* gnu/packages/kde.scm (kdeconnect)[properties]: New field.

4 years agognu: Add r-soupx.
Ricardo Wurmus [Mon, 9 Sep 2019 09:25:02 +0000 (11:25 +0200)]
gnu: Add r-soupx.

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

4 years agognu: retroarch: Update to 1.7.8.3.
Rutger Helling [Mon, 9 Sep 2019 06:33:36 +0000 (08:33 +0200)]
gnu: retroarch: Update to 1.7.8.3.

* gnu/packages/emulators.scm (retroarch): Update to 1.7.8.3.

4 years agognu: btrfs-progs: Update to 5.2.2.
Rutger Helling [Mon, 9 Sep 2019 06:28:52 +0000 (08:28 +0200)]
gnu: btrfs-progs: Update to 5.2.2.

* gnu/packages/linux.scm (btrfs-progs): Update to 5.2.2.

4 years agognu: glib-networking: Don't use NAME in source URI.
Tobias Geerinckx-Rice [Sun, 8 Sep 2019 00:05:48 +0000 (02:05 +0200)]
gnu: glib-networking: Don't use NAME in source URI.

* gnu/packages/gnome.scm (glib-networking)[source]: Hard-code NAME.

4 years agoservices: Add ‘/usr/bin/env’ special file.
Tobias Geerinckx-Rice [Fri, 6 Sep 2019 10:23:57 +0000 (12:23 +0200)]
services: Add ‘/usr/bin/env’ special file.

* gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to
special-files-service-type.

4 years agognu: bs1770gain: Return #t from source snippet.
Tobias Geerinckx-Rice [Sun, 8 Sep 2019 17:43:40 +0000 (19:43 +0200)]
gnu: bs1770gain: Return #t from source snippet.

* gnu/packages/audio.scm (bs1770gain)[source]: Return #t from snippet.

4 years agognu: bs1770gain: Update to 0.6.0.
Tobias Geerinckx-Rice [Sun, 8 Sep 2019 00:35:40 +0000 (02:35 +0200)]
gnu: bs1770gain: Update to 0.6.0.

* gnu/packages/audio.scm (bs1770gain): Update to 0.6.0.
[source]: Adjust snippet.

4 years agognu: diffoscope: Add zip and unzip for test suite.
Vagrant Cascadian [Sun, 8 Sep 2019 20:40:01 +0000 (13:40 -0700)]
gnu: diffoscope: Add zip and unzip for test suite.

* gnu/packages/package-management (diffoscope)[native-inputs]: Add zip, unzip.

4 years agognu: Add pgpdump.
Vagrant Cascadian [Sun, 8 Sep 2019 08:56:53 +0000 (01:56 -0700)]
gnu: Add pgpdump.

* gnu/packages/gnupg (pgpdump): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add pgpdump.

4 years agognu: js-respond: Don't use unstable-tarball.
Efraim Flashner [Sun, 8 Sep 2019 13:12:50 +0000 (16:12 +0300)]
gnu: js-respond: Don't use unstable-tarball.

* gnu/packages/javascript.scm (js-respond)[source]: Use 'git-fetch'.

4 years agognu: js-respond: Use minify-build-system.
Efraim Flashner [Sun, 8 Sep 2019 13:14:41 +0000 (16:14 +0300)]
gnu: js-respond: Use minify-build-system.

* gnu/packages/javascript.scm (js-respond)[build-system]: Use
minify-build-system.
[arguments]: Remove custom builder code.
[native-inputs]: Remove uglify-js, source, gzip, tar.

4 years agognu: js-filesaver: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 13:08:18 +0000 (16:08 +0300)]
gnu: js-filesaver: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-filesaver)[source]: Use 'git-fetch'.

4 years agognu: js-es5-shim: Update to 4.5.13.
Efraim Flashner [Sun, 8 Sep 2019 13:06:31 +0000 (16:06 +0300)]
gnu: js-es5-shim: Update to 4.5.13.

* gnu/packages/javascript.scm (js-es5-shim): Update to 4.5.13.

4 years agognu: js-es5-shim: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 13:05:28 +0000 (16:05 +0300)]
gnu: js-es5-shim: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-es5-shim)[source]: Use 'git-fetch'.

4 years agognu: js-selectize: Update to 0.12.6.
Efraim Flashner [Sun, 8 Sep 2019 13:03:41 +0000 (16:03 +0300)]
gnu: js-selectize: Update to 0.12.6.

* gnu/packages/javascript.scm (js-selectize): Update to 0.12.6.

4 years agognu: js-selectize: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 13:02:40 +0000 (16:02 +0300)]
gnu: js-selectize: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-selectize)[source]: Use 'git-fetch'.

4 years agognu: js-highlight: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 13:00:24 +0000 (16:00 +0300)]
gnu: js-highlight: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-highlight)[source]: Use 'git-fetch'.

4 years agognu: js-strftime: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 12:57:50 +0000 (15:57 +0300)]
gnu: js-strftime: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-strftime)[source]: Use 'git-fetch'.

4 years agognu: js-html5shiv: Don't use unstable tarball.
Efraim Flashner [Sun, 8 Sep 2019 12:44:05 +0000 (15:44 +0300)]
gnu: js-html5shiv: Don't use unstable tarball.

* gnu/packages/javascript.scm (js-html5shiv)[source]: Use 'git-fetch'.

4 years agoservices: openntpd: Fix the config generation code.
Maxim Cournoyer [Sat, 7 Sep 2019 03:37:37 +0000 (12:37 +0900)]
services: openntpd: Fix the config generation code.

This fixes issue #37318 (see: http://bugs.gnu.org/37318).

* gnu/services/networking.scm (openntpd-configuration->string): Rewrite in
order to make the "openntpd configuration generation sanity check" test pass.

4 years agoservices: openntpd: Add test for issue #3731.
Maxim Cournoyer [Sat, 7 Sep 2019 00:24:43 +0000 (09:24 +0900)]
services: openntpd: Add test for issue #3731.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318.

* gnu/services/networking.scm (openntpd-configuration->string): New procedure,
extracted from top of the `openntpd-shepherd-service' to make it testable.
(openntpd-shepherd-service): Adapt following the move of the code to the above
procedure.
* tests/networking.scm: Add a test for the `openntpd-configuration->string'
procedure.

4 years agoservices: openntpd: Remove useless let.
Maxim Cournoyer [Fri, 6 Sep 2019 12:12:26 +0000 (21:12 +0900)]
services: openntpd: Remove useless let.

* gnu/services/networking.scm (openntpd-shepherd-service): Remove useless let.

4 years agognu: openntpd: Fix error CA errors when using constraints.
Maxim Cournoyer [Fri, 6 Sep 2019 09:52:51 +0000 (18:52 +0900)]
gnu: openntpd: Fix error CA errors when using constraints.

The error printed by nttpd was "constraint: failed to load constraint ca" when
libressl tried loading the file /etc/ssl/cert.pem.  The problem was
investigated as part of fixing issue 37318 (see:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318).

* gnu/packages/ntp.scm (openntpd)[configure-flags]: Use the '--with-cacert'
flag to specify the location of the certificate authority file of libressl.

4 years agoservices: ntp: Support different NTP server types and options.
Maxim Cournoyer [Tue, 3 Sep 2019 01:14:59 +0000 (10:14 +0900)]
services: ntp: Support different NTP server types and options.

* gnu/services/networking.scm (ntp-server-types): New enum.
(<ntp-server>): New record type.
(ntp-server->string): New procedure.
(%ntp-servers): Define in terms of <htp-server> records.  Use the first
entrypoint server as a pool instead of a list of static servers.  This is more
resilient since a new server of the pool can be interrogated on every
request.  Add the 'iburst' options.
(ntp-configuration-servers): Define a custom accessor that warns but honors
the now deprecated server format.
(<ntp-configuration>): Use it.
(%openntpd-servers): New variable,
(<openntpd-configuration>): Use it, as a pool ('servers' field) instead of a
regular server.
* tests/networking.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
* doc/guix.texi: Update documentation.

4 years agodoc: Add index to find 'ntpd'.
Maxim Cournoyer [Tue, 3 Sep 2019 01:13:26 +0000 (10:13 +0900)]
doc: Add index to find 'ntpd'.

* doc/guix.texi (Networking Services): Add @cindex to find 'ntpd'

4 years agoservices: ntp: Fix KOD warning.
Maxim Cournoyer [Tue, 3 Sep 2019 01:05:06 +0000 (10:05 +0900)]
services: ntp: Fix KOD warning.

Otherwise the following messages would be printed by ntpd:

Sep  2 05:18:21 localhost ntpd[15849]: restrict default: KOD does nothing without LIMITE.
Sep  2 05:18:21 localhost ntpd[15849]: restrict ::: KOD does nothing without LIMITED.

Debian uses the same set of "restrict" keywords (see:
https://sources.debian.org/src/ntp/1:4.2.8p13+dfsg-2/debian/ntp.conf).

* gnu/services/networking.scm (ntp-shepherd-service): Add the 'limited'
keyword to both the IPv4 and IPv6 'restrict' directives.

4 years agoservices: ntp: Allow large adjustment by default.
Maxim Cournoyer [Mon, 2 Sep 2019 15:42:24 +0000 (00:42 +0900)]
services: ntp: Allow large adjustment by default.

This is documented as best practice in `man ntpd', and is required to allow
the date to be set correctly when traveling (without having to manually update
the hardware clock in the BIOS/UEFI).

* gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the
default value to #t.
* doc/guix.texi (Networking Services): Update documentation.

4 years agodoc: Fix verb conjugation.
Matthew Kraai [Sun, 8 Sep 2019 00:59:32 +0000 (17:59 -0700)]
doc: Fix verb conjugation.

* doc/guix.texi (Invoking guix pull): Change "run" to "ran".

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years agognu: thunar-volman: Update to 0.9.5.
L p R n d n [Mon, 2 Sep 2019 14:10:39 +0000 (16:10 +0200)]
gnu: thunar-volman: Update to 0.9.5.

* gnu/packages/xfce.scm (thunar-volman): Update to 0.9.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoimport: github: Fix incorrect no-release case.
Ludovic Courtès [Sun, 8 Sep 2019 12:29:27 +0000 (14:29 +0200)]
import: github: Fix incorrect no-release case.

This is a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d.

Since that commit, when /releases returned an empty JSON array, we would
not fall back to /tags because of the incorrect match.

* guix/import/github.scm (fetch-releases-or-tags): Match the empty
vector instead of the empty list.

4 years agognu: tumbler: Remove unused gstreamer.
L p R n d n [Sun, 18 Aug 2019 23:02:49 +0000 (01:02 +0200)]
gnu: tumbler: Remove unused gstreamer.

* gnu/packages/xfce.scm (tumbler)[inputs]: Remove gstreamer.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: tumbler: Fix pdf thumbnailer.
L p R n d n [Sun, 18 Aug 2019 21:27:34 +0000 (23:27 +0200)]
gnu: tumbler: Fix pdf thumbnailer.

* gnu/packages/xfce.scm (tumbler)[inputs]: Add cairo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: libraft: Fetch source from Git.
Ludovic Courtès [Sun, 8 Sep 2019 12:19:25 +0000 (14:19 +0200)]
gnu: libraft: Fetch source from Git.

* gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.

4 years agognu: Add libraft
Andrew Miloradovsky [Thu, 5 Sep 2019 09:30:44 +0000 (12:30 +0300)]
gnu: Add libraft

* gnu/packages/cluster.scm (libraft): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: guix: Update to cc98b00.
Ludovic Courtès [Sun, 8 Sep 2019 12:04:50 +0000 (14:04 +0200)]
gnu: guix: Update to cc98b00.

* gnu/packages/package-management.scm (guix): Update to cc98b00.
(guix-daemon)[arguments]: Remove 'install' phase; add
'change-default-guix' phase.

4 years agognu: micropython: Update to 1.11.
Efraim Flashner [Sun, 8 Sep 2019 11:17:43 +0000 (14:17 +0300)]
gnu: micropython: Update to 1.11.

* gnu/packages/python.scm (micropython): Update to 1.11.

4 years agognu: wget2: Update to 1.99.2.
Efraim Flashner [Sun, 8 Sep 2019 10:49:57 +0000 (13:49 +0300)]
gnu: wget2: Update to 1.99.2.

* gnu/packages/wget.scm (wget2): Update to 1.99.2.
[source]: Download from gnu mirrors.
[arguments]: Remove custom 'bootstrap phase, update custom
'skip-network-tests phase. Don't build static library.
[inputs]: Add bzip2, gpgme, zlib.
[native-inputs]: Remove autoconf, automake, flex, gettext-minimal,
libtool, python-2.

4 years agognu: wget.scm: Use license: prefix.
Efraim Flashner [Sun, 8 Sep 2019 10:51:08 +0000 (13:51 +0300)]
gnu: wget.scm: Use license: prefix.

* gnu/packages/wget.scm (wget, wgetpaste, wget2)[license]: Use
'license:' prefix.

4 years agoetc: Remove references to libexec/guix* from SELinux policy.
Ludovic Courtès [Wed, 4 Sep 2019 10:07:21 +0000 (12:07 +0200)]
etc: Remove references to libexec/guix* from SELinux policy.

* etc/guix-daemon.cil.in: Remove references to libexec/guix*.

4 years agodaemon: Remove 'NIX_LIBEXEC_DIR'.
Ludovic Courtès [Wed, 4 Sep 2019 10:00:31 +0000 (12:00 +0200)]
daemon: Remove 'NIX_LIBEXEC_DIR'.

* nix/libstore/globals.hh (Settings)[nixLibexecDir]: Remove.
* nix/libstore/globals.cc (Settings::processEnvironment): Remove
reference to 'nixLibexecDir'.
* nix/local.mk (libstore_a_CPPFLAGS): Remove -DNIX_LIBEXEC_DIR flag.
* build-aux/pre-inst-env.in: Remove references to 'NIX_LIBEXEC_DIR'.

4 years agodaemon: Run 'guix substitute' directly and assume a single substituter.
Ludovic Courtès [Wed, 4 Sep 2019 09:04:44 +0000 (11:04 +0200)]
daemon: Run 'guix substitute' directly and assume a single substituter.

The daemon had a mechanism that allows it to handle a list of
substituters and try them sequentially; this removes it.

* nix/scripts/substitute.in: Remove.
* nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove.
* config-daemon.ac: Don't output 'nix/scripts/substitute'.
* nix/libstore/build.cc (SubstitutionGoal)[subs, sub, hasSubstitute]:
Remove.
[tryNext]: Make private.
(SubstitutionGoal::SubstitutionGoal, SubstitutionGoal::init): Remove now
unneeded initializers.
(SubstitutionGoal::tryNext): Adjust to assume a single substituter: call
'amDone' upfront when we couldn't find substitutes.
(SubstitutionGoal::tryToRun): Adjust to run 'guix substitute' via
'settings.guixProgram'.
(SubstitutionGoal::finished): Call 'amDone(ecFailed)' upon failure
instead of setting 'state' to 'tryNext'.
* nix/libstore/globals.hh (Settings)[substituters]: Remove.
* nix/libstore/local-store.cc (LocalStore::~LocalStore): Adjust to
handle a single substituter.
(LocalStore::startSubstituter): Remove 'path' parameter.  Adjust to
invoke 'settings.guixProgram'.  Don't refer to 'run.program', which no
longer exists.
(LocalStore::querySubstitutablePaths): Adjust for 'runningSubstituters'
being a singleton instead of a list.
(LocalStore::querySubstitutablePathInfos): Likewise, and remove
'substituter' parameter.
* nix/libstore/local-store.hh (RunningSubstituter)[program]: Remove.
(LocalStore)[runningSubstituters]: Remove.
[runningSubstituter]: New field.
[querySubstitutablePathInfos]: Remove 'substituter' parameter.
[startSubstituter]: Remove 'substituter' parameter.
* nix/nix-daemon/guix-daemon.cc (main): Remove references to
'settings.substituters'.
* nix/nix-daemon/nix-daemon.cc (performOp): Ignore the user's
"build-use-substitutes" value when 'settings.useSubstitutes' is false.

4 years agodaemon: Run 'guix offload' directly.
Ludovic Courtès [Tue, 3 Sep 2019 20:11:47 +0000 (22:11 +0200)]
daemon: Run 'guix offload' directly.

* nix/scripts/offload.in: Remove.
* nix/local.mk (nodist_pkglibexec_SCRIPTS) [BUILD_DAEMON_OFFLOAD]:
Remove 'scripts/offload'.
* config-daemon.ac: Don't output 'nix/scripts/offload'.
* build-aux/pre-inst-env.in: Don't set 'NIX_BUILD_HOOK'.
* nix/libstore/build.cc (HookInstance::HookInstance): Run 'guix
offload'.
(DerivationGoal::tryBuildHook): Remove reference to 'NIX_BUILD_HOOK'.
* nix/nix-daemon/guix-daemon.cc (main) [HAVE_DAEMON_OFFLOAD_HOOK]: Don't
set 'NIX_BUILD_HOOK'.
* nix/nix-daemon/nix-daemon.cc (performOp) [!HAVE_DAEMON_OFFLOAD_HOOK]:
Leave 'settings.useBuildHook' unchanged.

4 years agodaemon: Run 'guix perform-download' directly.
Ludovic Courtès [Tue, 3 Sep 2019 19:59:45 +0000 (21:59 +0200)]
daemon: Run 'guix perform-download' directly.

* nix/scripts/download.in: Remove.
* nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove 'scripts/download'.
* config-daemon.ac: Don't output 'nix/scripts/download'.
* nix/libstore/builtins.cc (builtinDownload): Invoke 'guix
perform-download' directly.

4 years agodaemon: Run 'guix authenticate' directly.
Ludovic Courtès [Tue, 3 Sep 2019 19:51:25 +0000 (21:51 +0200)]
daemon: Run 'guix authenticate' directly.

* nix/scripts/authenticate.in: Remove.
* nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove
scripts/authenticate.
* config-daemon.ac: Don't output 'nix/scripts/authenticate'.
* nix/libstore/local-store.cc (runAuthenticationProgram): Run 'guix
authenticate'.

4 years agodaemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.
Ludovic Courtès [Tue, 3 Sep 2019 19:36:29 +0000 (21:36 +0200)]
daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.

* nix/scripts/list-runtime-roots.in: Remove.
* guix/store/roots.scm (%proc-directory): New variable.
(proc-file-roots, proc-exe-roots, proc-cwd-roots)
(proc-fd-roots, proc-maps-roots, proc-environ-roots)
(referenced-files, canonicalize-store-item, busy-store-items): New
procedures, taken from 'list-runtime-roots.in'.
* nix/libstore/globals.hh (Settings)[guixProgram]: New field.
* nix/libstore/globals.cc (Settings::processEnvironment): Initialize
'guixProgram'.
* nix/libstore/gc.cc (addAdditionalRoots): Drop code related to
'NIX_ROOT_FINDER'.  Run "guix gc --list-busy".
* nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove
'scripts/list-runtime-roots'.
* config-daemon.ac: Don't output nix/scripts/list-runtime-roots.
* build-aux/pre-inst-env.in: Don't set 'NIX_ROOT_FINDER'.
Set 'GUIX'.
* doc/guix.texi (Invoking guix gc): Document '--list-busy'.
* guix/scripts/gc.scm (show-help, %options): Add "--list-busy".
(guix-gc)[list-busy]: New procedure.
Handle the 'list-busy' action.

4 years agognu: Add fmit.
raingloom [Mon, 2 Sep 2019 13:44:15 +0000 (15:44 +0200)]
gnu: Add fmit.

* gnu/packages/music.scm (fmit): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
4 years agognu: haskell-xyz.scm: Correctly hide packages.
Efraim Flashner [Sun, 8 Sep 2019 08:17:53 +0000 (11:17 +0300)]
gnu: haskell-xyz.scm: Correctly hide packages.

* gnu/packages/haskell-xyz.scm (ghc-attoparsec-bootstrap,
ghc-integer-logarithms-bootstrap, ghc-scientific-bootstrap,
ghc-semigroups-bootstrap, ghc-unordered-containers-bootstrap,
ghc-wcwidth-bootstrap)[properties]: Fix typo, make 'hidden?' a tuple.

4 years agognu: Add emacs-tao-theme.
Ricardo Wurmus [Sun, 8 Sep 2019 07:27:11 +0000 (09:27 +0200)]
gnu: Add emacs-tao-theme.

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

4 years agognu: Add odt2txt.
Vagrant Cascadian [Thu, 5 Sep 2019 23:12:08 +0000 (16:12 -0700)]
gnu: Add odt2txt.

* gnu/packages/textutils (odt2txt): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add odt2txt.
  [use-modules]: Remove accidentally added libreoffice package module.

4 years agognu: Add sng.
Vagrant Cascadian [Fri, 6 Sep 2019 23:48:40 +0000 (16:48 -0700)]
gnu: Add sng.

* gnu/packages/images (sng): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add sng.

4 years agognu: Add pngsuite.
Vagrant Cascadian [Sat, 7 Sep 2019 23:15:08 +0000 (16:15 -0700)]
gnu: Add pngsuite.

* gnu/packages/image (pngsuite): New variable.

4 years agognu: diffoscope: Enable even more tests.
Vagrant Cascadian [Sun, 8 Sep 2019 00:04:39 +0000 (17:04 -0700)]
gnu: diffoscope: Enable even more tests.

* gnu/packages/package-management (diffoscope)[native-inputs]: Add additional
  dependencies for tests.
  [use-module]: Add corresponding package modules.

4 years agognu: diffoscope: Enable additional tests.
Vagrant Cascadian [Fri, 6 Sep 2019 17:52:50 +0000 (10:52 -0700)]
gnu: diffoscope: Enable additional tests.

* gnu/packages/package-management (diffoscope) [native-inputs]: Add additional
  packages used for tests.

4 years agognu: diffoscope: Update to 123.
Vagrant Cascadian [Sat, 7 Sep 2019 22:35:14 +0000 (15:35 -0700)]
gnu: diffoscope: Update to 123.

* gnu/packages/package-management (diffoscope): Update to 123.
  [arguments]: Update phase writable-test-data to include tests directory.
    Add phase remove-ocaml-test.

4 years agognu: python-debian: Update to 0.1.36.
Vagrant Cascadian [Sun, 8 Sep 2019 03:08:16 +0000 (20:08 -0700)]
gnu: python-debian: Update to 0.1.36.

* gnu/packages/python-xyz (python-debian): Update to 0.1.36.
  [source]: Switch to using git-fetch.
  [arguments]: Add phase to delete tests depending on tools not yet present in
  guix.
  [propagated-inputs]: Add python-chardet.

4 years agognu: r-rsubread: Update to 1.34.7.
Ricardo Wurmus [Sat, 7 Sep 2019 22:21:40 +0000 (00:21 +0200)]
gnu: r-rsubread: Update to 1.34.7.

* gnu/packages/bioconductor.scm (r-rsubread): Update to 1.34.7.

4 years agognu: r-regioner: Update to 1.16.3.
Ricardo Wurmus [Sat, 7 Sep 2019 22:21:32 +0000 (00:21 +0200)]
gnu: r-regioner: Update to 1.16.3.

* gnu/packages/bioconductor.scm (r-regioner): Update to 1.16.3.

4 years agognu: r-gprofiler: Update to 0.6.8.
Ricardo Wurmus [Sat, 7 Sep 2019 22:21:26 +0000 (00:21 +0200)]
gnu: r-gprofiler: Update to 0.6.8.

* gnu/packages/bioinformatics.scm (r-gprofiler): Update to 0.6.8.

4 years agognu: r-annotationhub: Update to 2.16.1.
Ricardo Wurmus [Sat, 7 Sep 2019 22:21:21 +0000 (00:21 +0200)]
gnu: r-annotationhub: Update to 2.16.1.

* gnu/packages/bioinformatics.scm (r-annotationhub): Update to 2.16.1.

4 years agognu: r-edger: Update to 3.26.8.
Ricardo Wurmus [Sat, 7 Sep 2019 22:21:13 +0000 (00:21 +0200)]
gnu: r-edger: Update to 3.26.8.

* gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.8.

4 years agognu: r-ggraph: Update to 2.0.0.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:46 +0000 (00:20 +0200)]
gnu: r-ggraph: Update to 2.0.0.

* gnu/packages/cran.scm (r-ggraph): Update to 2.0.0.
[propagated-inputs]: Add r-graphlayouts, r-rlang, and r-tidygraph; remove
r-plyr.

4 years agognu: r-msigdbr: Update to 7.0.1.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:35 +0000 (00:20 +0200)]
gnu: r-msigdbr: Update to 7.0.1.

* gnu/packages/cran.scm (r-msigdbr): Update to 7.0.1.

4 years agognu: r-ggeffects: Update to 0.12.0.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:30 +0000 (00:20 +0200)]
gnu: r-ggeffects: Update to 0.12.0.

* gnu/packages/cran.scm (r-ggeffects): Update to 0.12.0.

4 years agognu: r-ggformula: Update to 0.9.2.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:25 +0000 (00:20 +0200)]
gnu: r-ggformula: Update to 0.9.2.

* gnu/packages/cran.scm (r-ggformula): Update to 0.9.2.

4 years agognu: r-insight: Update to 0.5.0.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:20 +0000 (00:20 +0200)]
gnu: r-insight: Update to 0.5.0.

* gnu/packages/cran.scm (r-insight): Update to 0.5.0.

4 years agognu: r-ggpubr: Update to 0.2.3.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:15 +0000 (00:20 +0200)]
gnu: r-ggpubr: Update to 0.2.3.

* gnu/packages/cran.scm (r-ggpubr): Update to 0.2.3.

4 years agognu: r-geometry: Update to 0.4.4.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:09 +0000 (00:20 +0200)]
gnu: r-geometry: Update to 0.4.4.

* gnu/packages/cran.scm (r-geometry): Update to 0.4.4.

4 years agognu: r-feather: Update to 0.3.4.
Ricardo Wurmus [Sat, 7 Sep 2019 22:20:05 +0000 (00:20 +0200)]
gnu: r-feather: Update to 0.3.4.

* gnu/packages/cran.scm (r-feather): Update to 0.3.4.

4 years agognu: r-matrixstats: Update to 0.55.0.
Ricardo Wurmus [Sat, 7 Sep 2019 22:19:55 +0000 (00:19 +0200)]
gnu: r-matrixstats: Update to 0.55.0.

* gnu/packages/statistics.scm (r-matrixstats): Update to 0.55.0.