Commit Graph

47536 Commits (fd63ecbe050bf8fa7c8ff0a003d56cce97b6ded1)

Author SHA1 Message Date
Martin Becze fd63ecbe05
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>
2019-09-10 00:34:40 +02:00
Ludovic Courtès 7c101c4c17
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".
2019-09-10 00:34:40 +02:00
Ludovic Courtès 36eef80d45
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.
2019-09-10 00:34:40 +02:00
Tobias Geerinckx-Rice 5fbba84696
gnu: zeromq: Use HTTPS home page.
* gnu/packages/networking.scm (zeromq)[home-page]: Use HTTPS.
2019-09-09 23:17:52 +02:00
Tobias Geerinckx-Rice 3053feab0a
gnu: zeromq: Update to 4.3.2.
* gnu/packages/networking.scm (zeromq): Update to 4.3.2.
[source]: Download GitHub release tarball.
2019-09-09 23:17:51 +02:00
Tobias Geerinckx-Rice ddaefa2202
gnu: libmbim: Update to 1.20.0.
* gnu/packages/freedesktop.scm (libmbim): Update to 1.20.0.
2019-09-09 23:17:51 +02:00
Tobias Geerinckx-Rice 351c804217
gnu: libmbim: Don't use NAME in source URI.
* gnu/packages/freedesktop.scm (libmbim)[source]: Hard-code NAME.
2019-09-09 23:17:51 +02:00
Tobias Geerinckx-Rice b243d2f7d3
gnu: libsecret: Update to 0.19.1.
* gnu/packages/gnome.scm (libsecret): Update to 0.19.1.
2019-09-09 23:17:51 +02:00
Tobias Geerinckx-Rice 0ada4e2987
gnu: libsecret: Don't use NAME in source URI.
* gnu/packages/gnome.scm (libsecret)[source]: Hard-code NAME.
2019-09-09 23:17:51 +02:00
Jan Nieuwenhuizen 0b95b19b1d
gnu: mes: Update to 0.20.
* gnu/packages/mes.scm (mes): Update to 0.20.  Use nyacc-0.99.0.
2019-09-09 22:57:27 +02:00
Jan Nieuwenhuizen 9aed1de3e9
gnu: mescc-tools: Update to 0.6.1.
* gnu/packages/mes.scm (mescc-tools): Update to 0.6.1.
2019-09-09 22:57:27 +02:00
Jan Nieuwenhuizen 86c3a50646
gnu: nyacc: Update to 0.99.0.
* gnu/packages/mes.scm (nyacc): Update to 0.99.0.
2019-09-09 22:57:26 +02:00
Nicolas Goaziou 695ee52eb5
gnu: grammalecte: Update to 1.4.0.
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.4.0.
[synopsis]: Remove spurious space.
2019-09-09 22:19:01 +02:00
Robert Vollmert d9e3a21318
gnu: Add scron.
* gnu/packages/suckless.scm (scron): New package.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2019-09-09 21:53:26 +08:00
Efraim Flashner 53223dc340
gnu: kdeconnect: Update to 1.3.5.
* gnu/packages/kde.scm (kdeconnect): Update to 1.3.5.
[source]: Update source uri.
2019-09-09 16:31:16 +03:00
Efraim Flashner 0d7dfbced2
gnu: kdeconnect: Set upstream-name.
* gnu/packages/kde.scm (kdeconnect)[properties]: New field.
2019-09-09 16:18:39 +03:00
Ricardo Wurmus 3a341e822c
gnu: Add r-soupx.
* gnu/packages/cran.scm (r-soupx): New variable.
2019-09-09 11:26:42 +02:00
Rutger Helling c10a27a268
gnu: retroarch: Update to 1.7.8.3.
* gnu/packages/emulators.scm (retroarch): Update to 1.7.8.3.
2019-09-09 08:35:46 +02:00
Rutger Helling 6b4bc27a47
gnu: btrfs-progs: Update to 5.2.2.
* gnu/packages/linux.scm (btrfs-progs): Update to 5.2.2.
2019-09-09 08:35:46 +02:00
Tobias Geerinckx-Rice fb8fe1e8d9
gnu: glib-networking: Don't use NAME in source URI.
* gnu/packages/gnome.scm (glib-networking)[source]: Hard-code NAME.
2019-09-09 00:11:26 +02:00
Tobias Geerinckx-Rice a916215597
services: Add ‘/usr/bin/env’ special file.
* gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to
special-files-service-type.
2019-09-09 00:11:26 +02:00
Tobias Geerinckx-Rice 2777dc7589
gnu: bs1770gain: Return #t from source snippet.
* gnu/packages/audio.scm (bs1770gain)[source]: Return #t from snippet.
2019-09-08 23:56:33 +02:00
Tobias Geerinckx-Rice a2931b14d3
gnu: bs1770gain: Update to 0.6.0.
* gnu/packages/audio.scm (bs1770gain): Update to 0.6.0.
[source]: Adjust snippet.
2019-09-08 23:56:33 +02:00
Vagrant Cascadian 30696ea2b2
gnu: diffoscope: Add zip and unzip for test suite.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add zip, unzip.
2019-09-08 14:24:37 -07:00
Vagrant Cascadian ba7bd6c62d
gnu: Add pgpdump.
* gnu/packages/gnupg (pgpdump): New variable.
* gnu/packages/package-management (diffoscope)[native-inputs]: Add pgpdump.
2019-09-08 12:32:17 -07:00
Efraim Flashner 97f6004ca1
gnu: js-respond: Don't use unstable-tarball.
* gnu/packages/javascript.scm (js-respond)[source]: Use 'git-fetch'.
2019-09-08 19:03:45 +03:00
Efraim Flashner 367d0833c3
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.
2019-09-08 19:03:45 +03:00
Efraim Flashner e452c69aa8
gnu: js-filesaver: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-filesaver)[source]: Use 'git-fetch'.
2019-09-08 19:03:45 +03:00
Efraim Flashner 9cf60dec1d
gnu: js-es5-shim: Update to 4.5.13.
* gnu/packages/javascript.scm (js-es5-shim): Update to 4.5.13.
2019-09-08 19:03:45 +03:00
Efraim Flashner 2209a4476e
gnu: js-es5-shim: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-es5-shim)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 3500cb58f8
gnu: js-selectize: Update to 0.12.6.
* gnu/packages/javascript.scm (js-selectize): Update to 0.12.6.
2019-09-08 19:03:44 +03:00
Efraim Flashner 4151447897
gnu: js-selectize: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-selectize)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 778f4430e0
gnu: js-highlight: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-highlight)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 16df291414
gnu: js-strftime: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-strftime)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Efraim Flashner 8a35e58a27
gnu: js-html5shiv: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-html5shiv)[source]: Use 'git-fetch'.
2019-09-08 19:03:44 +03:00
Maxim Cournoyer ccdfae388d
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.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer 2625abc6aa
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.
2019-09-08 23:15:32 +09:00
Maxim Cournoyer afd39a76e2
services: openntpd: Remove useless let.
* gnu/services/networking.scm (openntpd-shepherd-service): Remove useless let.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer f92cf9d356
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.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer 5658ae8a0a
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.
2019-09-08 23:15:31 +09:00
Maxim Cournoyer ac73f504cf
doc: Add index to find 'ntpd'.
* doc/guix.texi (Networking Services): Add @cindex to find 'ntpd'
2019-09-08 23:15:30 +09:00
Maxim Cournoyer d4de2f9ea4
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.
2019-09-08 23:15:30 +09:00
Maxim Cournoyer 08b4a10fa6
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.
2019-09-08 23:15:29 +09:00
Matthew Kraai 861b9a365b
doc: Fix verb conjugation.
* doc/guix.texi (Invoking guix pull): Change "run" to "ran".

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-09-08 14:55:25 +02:00
L p R n d n 3426c0e531
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>
2019-09-08 14:43:41 +02:00
Ludovic Courtès 982a94e97e
import: github: Fix incorrect no-release case.
This is a followup to 81c3dc3224.

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.
2019-09-08 14:43:41 +02:00
L p R n d n 2bb2971883
gnu: tumbler: Remove unused gstreamer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Remove gstreamer.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
L p R n d n 2a6f5190cf
gnu: tumbler: Fix pdf thumbnailer.
* gnu/packages/xfce.scm (tumbler)[inputs]: Add cairo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00
Ludovic Courtès befac35876
gnu: libraft: Fetch source from Git.
* gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.
2019-09-08 14:43:41 +02:00
Andrew Miloradovsky 45151bcb94
gnu: Add libraft
* gnu/packages/cluster.scm (libraft): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-08 14:43:41 +02:00