jackhill/guix/guix.git
2 years agoinferior: Move initialization bits away from 'inferior-eval-with-store'.
Ludovic Courtès [Thu, 27 Jan 2022 08:20:40 +0000 (09:20 +0100)]
inferior: Move initialization bits away from 'inferior-eval-with-store'.

* guix/inferior.scm (port->inferior): In the inferior, define
'cached-store-connection', 'store-protocol-error?', and
'store-protocol-error-message'.
(inferior-eval-with-store): Use them.

2 years agoinferior: Inferior caches store connections.
Ludovic Courtès [Thu, 27 Jan 2022 07:55:59 +0000 (08:55 +0100)]
inferior: Inferior caches store connections.

Fixes <https://issues.guix.gnu.org/48007>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

Previously, at each 'inferior-eval-with-store' call, the inferior would
create a new <store-connection> object with empty caches.  Consequently,
when repeatedly calling 'inferior-package-derivation', we would not
benefit from any caching and instead recompute all the derivations for
every package.  This patch fixes it by caching <store-connection>
objects in the inferior.

* guix/inferior.scm (port->inferior): Define '%store-table' in the inferior.
(inferior-eval-with-store): Cache store connections in %STORE-TABLE.
Remove now unneeded 'dynamic-wind' with 'close-port' call.

2 years agoinferior: Keep the store bridge connected.
Ludovic Courtès [Wed, 26 Jan 2022 23:20:12 +0000 (00:20 +0100)]
inferior: Keep the store bridge connected.

Previously, each 'inferior-eval-with-store' would lead the inferior to
connect to the named socket the parent is listening to.  With this
change, the connection is established once for all and reused
afterwards.

* guix/inferior.scm (<inferior>)[bridge-file-name]: Remove.
(open-bidirectional-pipe): New procedure.
(inferior-pipe): Use it instead of 'open-pipe*' and return two values.
(port->inferior): Adjust call to 'inferior'.
(open-inferior): Adjust to 'inferior-pipe' changes.
(close-inferior): Remove 'inferior-bridge-file-name' handling.
(open-store-bridge!): Switch back to 'call-with-temporary-directory'.
Define '%bridge-socket' in the inferior, connected to the caller.
(proxy): Change first argument to be an inferior.  Add 'reponse-port'
and call to 'drain-input'.  Pass 'reponse-port' to 'select' and use it
as a loop termination clause.
(inferior-eval-with-store): Remove 'socket' and 'connect' calls from the
inferior code, and use '%bridge-socket' instead.

2 years agoinferior: Create the store proxy listening socket only once.
Ludovic Courtès [Wed, 26 Jan 2022 22:10:51 +0000 (23:10 +0100)]
inferior: Create the store proxy listening socket only once.

Previously, each 'inferior-eval-with-store' call would have the calling
process create a temporary directory with a listening socket in there.
Now that listening socket is created once and reused in subsequent
calls.

* guix/inferior.scm (<inferior>)[bridge-file-name, bridge-socket]: New
fields.
(port->inferior): Adjust accordingly.
(close-inferior): Close 'inferior-bridge-socket' and delete
'inferior-bridge-file-name' if set.
(open-store-bridge!, ensure-store-bridge!): New procedures.
(inferior-eval-with-store): Use them.

2 years agognu: darktable: Add release-monitoring-url.
Vinicius Monego [Wed, 26 Jan 2022 13:18:25 +0000 (10:18 -0300)]
gnu: darktable: Add release-monitoring-url.

* gnu/packages/photo.scm (darktable)[properties]: New field.

2 years agognu: guile-drmaa: Update to 0.1.1.
Ricardo Wurmus [Thu, 27 Jan 2022 10:38:34 +0000 (11:38 +0100)]
gnu: guile-drmaa: Update to 0.1.1.

* gnu/packages/guile-xyz.scm (guile-drmaa): Update to 0.1.1.

2 years agognu: gnome-mines: Fix build.
Michael Rohleder [Thu, 27 Jan 2022 06:56:20 +0000 (07:56 +0100)]
gnu: gnome-mines: Fix build.

* gnu/packages/web.scm (gnome-mines)[native-inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: libzim: Fix build.
Michael Rohleder [Thu, 27 Jan 2022 06:41:56 +0000 (07:41 +0100)]
gnu: libzim: Fix build.

* gnu/packages/web.scm (libzim)[inputs]: Add python-wrapper.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: uriparser: Update to 0.9.6.
Efraim Flashner [Thu, 27 Jan 2022 07:44:36 +0000 (09:44 +0200)]
gnu: uriparser: Update to 0.9.6.

* gnu/packages/web.scm (uriparser): Update to 0.9.6.

2 years agognu: Add %final-inputs-riscv64.
Efraim Flashner [Mon, 24 Jan 2022 15:13:11 +0000 (17:13 +0200)]
gnu: Add %final-inputs-riscv64.

* gnu/packages/commencement.scm (%final-inputs-riscv64): New variable.
* guix/build-system/gnu.scm (standard-inputs): Use %final-inputs-riscv64
when targeting riscv64-linux.

2 years agognu: nyacc: Remove unnecessary phase.
Ricardo Wurmus [Wed, 26 Jan 2022 21:27:49 +0000 (22:27 +0100)]
gnu: nyacc: Remove unnecessary phase.

This partially reverts commit f15ca337bec89f238b9b9ced08c2e02c35629a33.  What
mattered was the addition of guile-bytestructures.

* gnu/packages/mes.scm (nyacc)[arguments]: Remove phase
'install-system-module.

2 years agognu: Borg: Improve the description.
Leo Famulari [Wed, 26 Jan 2022 19:23:03 +0000 (14:23 -0500)]
gnu: Borg: Improve the description.

Attic... Now that's a name I've not heard in a long time.

* gnu/packages/backup.scm (borg)[description]: Improve it.

2 years agognu: Add Vorta.
Leo Famulari [Tue, 22 Jan 2019 01:25:06 +0000 (20:25 -0500)]
gnu: Add Vorta.

* gnu/packages/backup.scm (vorta): New variable.

2 years agognu: Add linux-libre 5.16.2.
Leo Famulari [Mon, 3 Jan 2022 04:25:18 +0000 (23:25 -0500)]
gnu: Add linux-libre 5.16.2.

* gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf : New files.
* Makefile.am (AUX_FILES): Add them.
* gnu/packages/linux.scm (linux-libre-5.16-version,
linux-libre-5.16-gnu-revision, deblob-scripts-5.16,
linux-libre-5.16-pristine-source, linux-libre-5.16-source,
linux-libre-headers-5.16, linux-libre-5.16): New variables.

2 years agognu: util-linux: Fix CVE-2021-3995 and CVE-2021-3996.
Leo Famulari [Wed, 26 Jan 2022 05:19:34 +0000 (00:19 -0500)]
gnu: util-linux: Fix CVE-2021-3995 and CVE-2021-3996.

* gnu/packages/patches/util-linux-CVE-2021-3995.patch,
gnu/packages/patches/util-linux-CVE-2021-3996.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/linux.scm (util-linux)[replacement]: New field.
(util-linux/fixed): New variable.

2 years agognu: giac: Update to 1.7.0-47.
Nicolas Goaziou [Wed, 26 Jan 2022 17:12:03 +0000 (18:12 +0100)]
gnu: giac: Update to 1.7.0-47.

* gnu/packages/algebra.scm (giac): Update to 1.7.0-47.

2 years agognu: polkit: Fix CVE-2021-4034.
Ludovic Courtès [Wed, 26 Jan 2022 11:52:59 +0000 (12:52 +0100)]
gnu: polkit: Fix CVE-2021-4034.

* gnu/packages/patches/polkit-CVE-2021-4034.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/polkit.scm (polkit-mozjs)[replacement]: New field.
* gnu/packages/polkit.scm (polkit-mozjs/fixed): New variable.

2 years agognu: fennel: Update to 03c1c95.
Brandon Lucas [Sun, 23 Jan 2022 12:14:46 +0000 (12:14 +0000)]
gnu: fennel: Update to 03c1c95.

* gnu/packages/lua.scm (fennel): Update to 03c1c95.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add fnlfmt.
Brandon Lucas [Sun, 23 Jan 2022 12:14:30 +0000 (12:14 +0000)]
gnu: Add fnlfmt.

* gnu/packages/lua.scm (fnlfmt): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: pypi: Convert hyphens to underscores in PyPI URLs if needed.
Vivien Kraus [Thu, 20 Jan 2022 19:11:56 +0000 (20:11 +0100)]
import: pypi: Convert hyphens to underscores in PyPI URLs if needed.

* guix/import/pypi.scm (find-project-url): New function.
(make-pypi-sexp): Use find-project-url.
* tests/pypi.scm (foo-json): New procedure.
(test-json-1, test-json-2): Define in terms of it.
("find-project-url, with numpy", "find-project-url, uWSGI"):
("find-project-url, flake8-array-spacing")
("find-project-url, foo/goo"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: utf-8-lineseparator: Update to 7.
jgart [Wed, 26 Jan 2022 06:20:11 +0000 (01:20 -0500)]
gnu: utf-8-lineseparator: Update to 7.

* gnu/packages/textutils.scm (utf-8-lineseparator): Update to 7.  Adjust
'commit' field accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoutils: 'edit-expression' reads and conses less when not modifying.
Ludovic Courtès [Sat, 8 Jan 2022 16:29:12 +0000 (17:29 +0100)]
utils: 'edit-expression' reads and conses less when not modifying.

* guix/utils.scm (edit-expression): Delay call to 'get-bytevector-all'
until after (string=? str* str).

2 years agognu: emacs-emms: Update to 9.
Nicolas Goaziou [Wed, 26 Jan 2022 16:47:37 +0000 (17:47 +0100)]
gnu: emacs-emms: Update to 9.

* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 9.

2 years agognu: emacs-ebdb: Update to 0.8.9.
Nicolas Goaziou [Wed, 26 Jan 2022 16:44:32 +0000 (17:44 +0100)]
gnu: emacs-ebdb: Update to 0.8.9.

* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.8.9.

2 years agognu: Add go-go-etcd-io-bbolt.
Efraim Flashner [Tue, 18 Jan 2022 14:42:21 +0000 (16:42 +0200)]
gnu: Add go-go-etcd-io-bbolt.

* gnu/packages/databases.scm (go-go-etcd-io-bbolt): New variable.

2 years agognu: Add go-gopkg-in-mgo-v2.
Efraim Flashner [Tue, 18 Jan 2022 14:35:37 +0000 (16:35 +0200)]
gnu: Add go-gopkg-in-mgo-v2.

* gnu/packages/databases.scm (go-gopkg-in-mgo-v2): New variable.

2 years agognu: Add go-github-com-gomodule-redigo.
Efraim Flashner [Tue, 18 Jan 2022 14:31:36 +0000 (16:31 +0200)]
gnu: Add go-github-com-gomodule-redigo.

* gnu/packages/databases.scm (go-github-com-gomodule-redigo): New variable.

2 years agognu: Add go-github-com-cupcake-rdb.
Efraim Flashner [Tue, 18 Jan 2022 13:51:44 +0000 (15:51 +0200)]
gnu: Add go-github-com-cupcake-rdb.

* gnu/packages/databases.scm (go-github-com-cupcake-rdb): New variable.

2 years agognu: Add go-github-com-couchbase-gomemcached.
Efraim Flashner [Tue, 18 Jan 2022 13:43:44 +0000 (15:43 +0200)]
gnu: Add go-github-com-couchbase-gomemcached.

* gnu/packages/databases.scm (go-github-com-couchbase-gomemcached): New variable.

2 years agognu: Add go-github-com-bradfitz-gomemcache.
Efraim Flashner [Tue, 18 Jan 2022 13:33:39 +0000 (15:33 +0200)]
gnu: Add go-github-com-bradfitz-gomemcache.

* gnu/packages/databases.scm (go-github-com-bradfitz-gomemcache): New variable.

2 years agognu: sqlitebrowser: Enable tests.
Efraim Flashner [Wed, 26 Jan 2022 11:32:40 +0000 (13:32 +0200)]
gnu: sqlitebrowser: Enable tests.

* gnu/packages/databases.scm (sqlitebrowser)[arguments]: Don't skip
tests. Add configure-flag to enable tests.

2 years agognu: sqlitebrowser: Unbundle qscintilla.
Efraim Flashner [Wed, 26 Jan 2022 11:28:39 +0000 (13:28 +0200)]
gnu: sqlitebrowser: Unbundle qscintilla.

* gnu/packages/databases.scm (sqlitebrowser)[source]: Add snippet.
[arguments]: Add configure-flag to find qscintilla include directory.
[inputs]: Add qscintilla.

2 years agognu: Add sqlitebrowser.
Zhu Zihao [Sat, 1 Jan 2022 06:48:07 +0000 (14:48 +0800)]
gnu: Add sqlitebrowser.

* gnu/packages/databases.scm (sqlitebrowser): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: openssl: Update to 1.1.1m [security fixes].
Efraim Flashner [Wed, 26 Jan 2022 09:46:31 +0000 (11:46 +0200)]
gnu: openssl: Update to 1.1.1m [security fixes].

* gnu/packages/tls.scm (openssl/fixed): New variable.
(openssl)[replacement]: New field.

2 years agognu: nyacc: Install all modules.
Ricardo Wurmus [Wed, 26 Jan 2022 09:14:51 +0000 (10:14 +0100)]
gnu: nyacc: Install all modules.

* gnu/packages/mes.scm (nyacc)[arguments]: Add build phase
'install-system-module.
[propagated-inputs]: Add guile-bytestructures.

2 years agoservices: zabbix-server: Do not write database password to the store.
Marius Bakke [Wed, 26 Jan 2022 08:28:46 +0000 (09:28 +0100)]
services: zabbix-server: Do not write database password to the store.

* gnu/services/monitoring.scm (zabbix-front-end-config): Read the secret file
from zabbix.conf.php at runtime instead of embedding the contents.

2 years agognu: zabbix-server: Remove duplicate input.
Marius Bakke [Wed, 26 Jan 2022 08:27:59 +0000 (09:27 +0100)]
gnu: zabbix-server: Remove duplicate input.

* gnu/packages/monitoring.scm (zabbix-server)[inputs]: Remove CURL.

2 years agognu: zabbix-server: Don't install agent.
Marius Bakke [Wed, 26 Jan 2022 08:27:19 +0000 (09:27 +0100)]
gnu: zabbix-server: Don't install agent.

* gnu/packages/monitoring.scm (zabbix-server)[arguments]: Delete
"--enable-agent" from #:configure-flags.

2 years agognu: zabbix-server: Adjust style.
Marius Bakke [Wed, 26 Jan 2022 08:26:55 +0000 (09:26 +0100)]
gnu: zabbix-server: Adjust style.

* gnu/packages/monitoring.scm (zabbix-server)[arguments]: Rewrite as gexp,
use #:phases matching, and remove trailing #t's.

2 years agoservices: zabbix-agent: Respect user and group configuration.
Marius Bakke [Tue, 25 Jan 2022 14:49:09 +0000 (15:49 +0100)]
services: zabbix-agent: Respect user and group configuration.

* gnu/services/monitoring.scm (zabbix-agent-account): Look up user and group
from CONFIG instead of hard-coded values.

2 years agoetc: Remove redundant SELinux permissions block.
Marius Bakke [Mon, 24 Jan 2022 10:53:55 +0000 (11:53 +0100)]
etc: Remove redundant SELinux permissions block.

* etc/guix-daemon.cil.in (guix_daemon): Consolidate two blocks adding
sock_file permissions on guix_daemon_conf_t.

2 years agognu: nyacc: Fix bug 60474.
Ricardo Wurmus [Wed, 26 Jan 2022 07:37:14 +0000 (08:37 +0100)]
gnu: nyacc: Fix bug 60474.

* gnu/packages/mes.scm (nyacc)[arguments]: Add build phase 'fix-60474.

2 years agognu: nyacc: Update to 1.06.5.
Ricardo Wurmus [Tue, 25 Jan 2022 22:46:53 +0000 (23:46 +0100)]
gnu: nyacc: Update to 1.06.5.

* gnu/packages/mes.scm (nyacc): Update to 1.06.5.
[source]: Simplify snippet.

2 years ago.guix-authorizations: Authorize Vinicius Monego.
Maxim Cournoyer [Wed, 26 Jan 2022 02:21:44 +0000 (21:21 -0500)]
.guix-authorizations: Authorize Vinicius Monego.

* .guix-authorizations (monego): Add OpenPGP key fingerprint.

2 years agognu: Add python-regions.
Vinicius Monego [Sun, 9 Jan 2022 04:38:41 +0000 (04:38 +0000)]
gnu: Add python-regions.

* gnu/packages/astronomy.scm (python-regions): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-photutils.
Vinicius Monego [Sun, 9 Jan 2022 04:38:40 +0000 (04:38 +0000)]
gnu: Add python-photutils.

* gnu/packages/astronomy.scm (python-photutils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-astropy-healpix.
Vinicius Monego [Sun, 9 Jan 2022 04:38:39 +0000 (04:38 +0000)]
gnu: Add python-astropy-healpix.

* gnu/packages/astronomy.scm (python-astropy-healpix): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-astroquery.
Vinicius Monego [Sun, 9 Jan 2022 04:37:23 +0000 (04:37 +0000)]
gnu: Add python-astroquery.

* gnu/packages/astronomy.scm (python-astroquery): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-pyvo.
Vinicius Monego [Sun, 9 Jan 2022 04:37:22 +0000 (04:37 +0000)]
gnu: Add python-pyvo.

* gnu/packages/astronomy.scm (python-pyvo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodoc: Document 'invoke' & co.
Ludovic Courtès [Tue, 25 Jan 2022 22:29:40 +0000 (23:29 +0100)]
doc: Document 'invoke' & co.

* doc/guix.texi (Build Utilities)[Program Invocation]: New subsection.

2 years agobuild: Require Guile >= 3.0.3.
Ludovic Courtès [Tue, 25 Jan 2022 15:49:57 +0000 (16:49 +0100)]
build: Require Guile >= 3.0.3.

Fixes <https://issues.guix.gnu.org/53157>.
Reported by Efraim Flashner <efraim@flashner.co.il>.

* configure.ac: Require Guile >= 3.0.3.
* doc/guix.texi (Requirements): Update accordingly.

2 years agoenvironment: '--check' does nothing when used with '--container'.
Ludovic Courtès [Tue, 25 Jan 2022 13:36:06 +0000 (14:36 +0100)]
environment: '--check' does nothing when used with '--container'.

Partly fixes <https://issues.guix.gnu.org/53355>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/environment.scm (guix-environment*): Warn and do nothing
when both '--check' and '--container' are used.

2 years agognu: Add emacs-puni.
Niklas Eklund [Tue, 25 Jan 2022 16:42:48 +0000 (17:42 +0100)]
gnu: Add emacs-puni.

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: QGIS: Build without QtWebKit.
Leo Famulari [Sun, 23 Jan 2022 21:04:26 +0000 (16:04 -0500)]
gnu: QGIS: Build without QtWebKit.

See <https://issues.guix.gnu.org/53289> and <https://issues.guix.gnu.org/53512>
for more information about this change.

* gnu/packages/geo.scm (qgis)[inputs]: Remove qtwebkit.
[arguments]: Pass "-DWITH_QTWEBKIT=NO" to #:configure-flags. Make the
custom 'check' phase honor TESTS?. Skip even more failing tests.

2 years agognu: FreeCAD: Replace QtWebKit with QtWebEngine.
Leo Famulari [Sun, 23 Jan 2022 19:31:07 +0000 (14:31 -0500)]
gnu: FreeCAD: Replace QtWebKit with QtWebEngine.

See <https://issues.guix.gnu.org/53289> for more information about this change.

* gnu/packages/engineering.scm (freecad)[inputs]: Remove QTWEBKIT. Add
QTDECLARATIVE, QTWEBCHANNEL, and QTWEBENGINE.

2 years agoAdd copyright notice for 'Bird'.
Leo Famulari [Tue, 25 Jan 2022 18:29:44 +0000 (13:29 -0500)]
Add copyright notice for 'Bird'.

This is a followup to commit cc74d19d663b78a9ec8207d7e3a41cabfbe1a100.

* gnu/packages/video.scm: Add copyright attribution.

2 years agognu: Add gallery-dl.
Bird [Fri, 21 Jan 2022 04:32:39 +0000 (04:32 +0000)]
gnu: Add gallery-dl.

* gnu/packages/video.scm (gallery-dl): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2 years agognu: Add python-esprima.
Danny Milosavljevic [Tue, 25 Jan 2022 17:47:09 +0000 (18:47 +0100)]
gnu: Add python-esprima.

* gnu/packages/python-xyz.scm (python-esprima): New variable.

2 years agognu: python-uvloop: Update to 0.16.0.
Lars-Dominik Braun [Tue, 25 Jan 2022 10:00:19 +0000 (11:00 +0100)]
gnu: python-uvloop: Update to 0.16.0.

Version 0.14.0 is not compatible with Python 3.9[1]. Additionally unvendor the
copy of libuv, which was unused, but retained in the source tarball,
fix subprocess spawning and enable tests, so we know when future updates
break it.

[1] https://github.com/MagicStack/uvloop/issues/349

* gnu/packages/python-web.scm (python-uvloop): Update to 0.16.0.
[source]: Add snippet to remove pre-built loop.c and vendored libuv.
[arguments]<#:phases>: Substitute /bin/sh in 'preparations phase, override
'check phase and disable failing tests.
[native-inputs]: Remove python-flake8, because it causes test failures
and add python-pytest-timeout.

2 years agognu: newsboat: Add release-monitoring-url.
Efraim Flashner [Tue, 25 Jan 2022 08:00:34 +0000 (10:00 +0200)]
gnu: newsboat: Add release-monitoring-url.

* gnu/packages/syndication.scm (newsboat)[properties]: New field.

2 years agognu: youtube-dl: Add release-monitoring-url.
Efraim Flashner [Tue, 25 Jan 2022 07:32:03 +0000 (09:32 +0200)]
gnu: youtube-dl: Add release-monitoring-url.

* gnu/packages/video.scm (youtube-dl)[properties]: New field.

2 years agognu: yt-dlp: Add release-monitoring-url.
Efraim Flashner [Tue, 25 Jan 2022 07:34:35 +0000 (09:34 +0200)]
gnu: yt-dlp: Add release-monitoring-url.

* gnu/packages/video.scm (yt-dlp)[properties]: New field.

2 years agognu: parallel: Update to 20220122.
Efraim Flashner [Tue, 25 Jan 2022 07:19:14 +0000 (09:19 +0200)]
gnu: parallel: Update to 20220122.

* gnu/packages/parallel.scm (parallel): Update to 20220122.

2 years agognu: Add btrbk.
Maxim Cournoyer [Mon, 24 Jan 2022 22:01:54 +0000 (17:01 -0500)]
gnu: Add btrbk.

* gnu/packages/backup.scm (btrbk): New variable.

2 years agognu: lagrange: Update to 1.10.2.
Nicolas Goaziou [Mon, 24 Jan 2022 22:48:10 +0000 (23:48 +0100)]
gnu: lagrange: Update to 1.10.2.

* gnu/packages/web-browsers.scm (lagrange): Update to 1.10.2.

2 years agognu: Add grc.
Hartmut Goebel [Sun, 19 Dec 2021 18:50:47 +0000 (19:50 +0100)]
gnu: Add grc.

* gnu/packages/shellutils.scm (grc): New variable.

2 years agognu: luajit: Remove powerpc64le-linux from supported-systems.
Chris Marusich [Fri, 21 Jan 2022 00:08:25 +0000 (16:08 -0800)]
gnu: luajit: Remove powerpc64le-linux from supported-systems.

* gnu/packages/lua.scm (luajit)[supported-systems]: New field.  Set it to the
result of deleting "powerpc64le-linux" from %supported-systems.

2 years agognu: fsearch: Update to 0.1.1.
Nicolas Goaziou [Mon, 24 Jan 2022 14:47:49 +0000 (15:47 +0100)]
gnu: fsearch: Update to 0.1.1.

* gnu/packages/search.scm (fsearch): Update to 0.1.1.

2 years agognu: Add python-tweepy.
Giacomo Leidi [Tue, 4 Jan 2022 00:12:10 +0000 (01:12 +0100)]
gnu: Add python-tweepy.

* gnu/packages/python-web.scm (python-tweepy): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: zig: Update to 0.9.0
Calum Irwin [Wed, 19 Jan 2022 08:11:25 +0000 (08:11 +0000)]
gnu: zig: Update to 0.9.0

* gnu/packages/patches/zig-disable-libc-note-test.patch: Move patch changes to new file.
* gnu/packages/patches/zig-use-system-paths.patch: Update line numbers.
* gnu/packages/zig.scm: Update to 0.9.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: guile@2.0: Build with '-fexcess-precision=standard' on i686.
Ludovic Courtès [Mon, 24 Jan 2022 13:18:08 +0000 (14:18 +0100)]
gnu: guile@2.0: Build with '-fexcess-precision=standard' on i686.

Fixes <https://issues.guix.gnu.org/53462>.
Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>.

This is a followup to 9b09a753a9711f7614564272013138fce6fec708.

* gnu/packages/guile.scm (guile-2.0)[arguments]: Augment #:configure-flags
when 'target-x86-32?'.
(guile-2.2)[arguments]: Tweak #:configure-flags to keep derivation unchanged.
(guile-3.0)[arguments]: Likewise.

2 years agognu: scribus: Update to 1.5.8.
Nicolas Goaziou [Mon, 24 Jan 2022 12:48:25 +0000 (13:48 +0100)]
gnu: scribus: Update to 1.5.8.

* gnu/packages/scribus.scm (scribus): Update to 1.5.8.
[inputs]: Remove labels.

2 years agognu: emacs-posframe: Update to 1.1.7.
Nicolas Goaziou [Mon, 24 Jan 2022 12:10:43 +0000 (13:10 +0100)]
gnu: emacs-posframe: Update to 1.1.7.

* gnu/packages/emacs-xyz.scm (emacs-posframe): Update to 1.1.7.

2 years agognu: emacs-meow: Update to 1.4.0.
Nicolas Goaziou [Mon, 24 Jan 2022 12:08:51 +0000 (13:08 +0100)]
gnu: emacs-meow: Update to 1.4.0.

* gnu/packages/emacs-xyz.scm (emacs-meow): Update to 1.4.0.

2 years agognu: emacs-geiser: Update to 0.22.1.
Nicolas Goaziou [Mon, 24 Jan 2022 12:06:35 +0000 (13:06 +0100)]
gnu: emacs-geiser: Update to 0.22.1.

* gnu/packages/emacs-xyz.scm (emacs-geiser): Update to 0.22.1.

2 years agognu: xgboost: Update to 1.5.2.
Vinicius Monego [Wed, 19 Jan 2022 13:43:56 +0000 (13:43 +0000)]
gnu: xgboost: Update to 1.5.2.

* gnu/packages/machine-learning.scm (xgboost, python-xgboost): Update to
1.5.2.
(python-xgboost)[arguments]: Enable previously failing test.
* gnu/packages/patches/xgboost-use-system-dmlc-core.patch: Update patch.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2 years agoetc: Add more SELinux permissions for the daemon.
Marius Bakke [Mon, 24 Jan 2022 10:26:07 +0000 (11:26 +0100)]
etc: Add more SELinux permissions for the daemon.

* etc/guix-daemon.cil.in (guix_daemon): Permit write on guix_daemon_conf_t
sock_file, necessary for garbage collection.

2 years agognu: gcompris-qt: Update to 2.1.
Efraim Flashner [Mon, 24 Jan 2022 10:04:37 +0000 (12:04 +0200)]
gnu: gcompris-qt: Update to 2.1.

* gnu/packages/education.scm (gcompris-qt): Update to 2.1.
[source]: Download from new upstream location.

2 years agobuild-system/clojure: Support compiling Java.
Reily Siegel [Tue, 18 Jan 2022 18:17:24 +0000 (13:17 -0500)]
build-system/clojure: Support compiling Java.

* guix/build/clojure-build-system.scm (compile-java): New variable.
(build): Copy classes compiled from Java and optionally Java sources to
the final jar.
(%standard-phases): Add compile-java phase before build.
* guix/build/clojure-utils.scm (%java-source-dirs): New variable.
(%java-compile-dir): New variable.
* guix/build-system/clojure.scm (clojure-build): Include %java-source-dirs and
%java-compile-dir.
(builder): Include %java-source-dirs and %java-compile-dir.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agobuild-system/clojure: Exit with non-zero if tests fail.
Reily Siegel [Sun, 16 Jan 2022 01:03:25 +0000 (20:03 -0500)]
build-system/clojure: Exit with non-zero if tests fail.

* guix/build/clojure-build-system.scm (check): Exit test process with a
non-zero exit code if tests fail.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add yubikey-oath-dmenu.
John Kehayias [Fri, 14 Jan 2022 21:11:47 +0000 (16:11 -0500)]
gnu: Add yubikey-oath-dmenu.

* gnu/packages/security-token.scm (yubikey-oath-dmenu): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: nomad: Fix missing webkit2gtk-4.0 compilation error.
Zhu Zihao [Sat, 22 Jan 2022 11:42:23 +0000 (19:42 +0800)]
gnu: nomad: Fix missing webkit2gtk-4.0 compilation error.

* gnu/package/guile-xyz.scm (nomad)[arguments]<phases>: Add phase
'fix-webkitgtk' to update webkit2gtk-4.0 reference in file 'configure.ac'
and 'typelib/Makefile.am'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodoc: Clarify search path bits.
Ludovic Courtès [Mon, 24 Jan 2022 08:26:39 +0000 (09:26 +0100)]
doc: Clarify search path bits.

Suggested by Maxime Devos <maximedevos@telenet.be>
and Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* doc/guix.texi (package Reference): Clarify 'native-search-paths'
vs. 'search-paths'.
(Search Paths): Link to it.  Remove unnecessarily "define libxml2".
Reword 'file-pattern' description that said "When true".

2 years agognu: python-parsedatetime: Update to 2.6.
Pradana AUMARS [Sat, 22 Jan 2022 16:41:59 +0000 (17:41 +0100)]
gnu: python-parsedatetime: Update to 2.6.

* gnu/packages/time.scm (python-parsedatetime): Update to 2.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: sbcl-spinneret: Update to 20220117.
Pierre Neidhardt [Mon, 24 Jan 2022 08:11:59 +0000 (09:11 +0100)]
gnu: sbcl-spinneret: Update to 20220117.

* gnu/packages/lisp-xyz.scm (sbcl-spinneret): Update to 20220117.

2 years agognu: FreeCAD: Update to 0.19.3.
Leo Famulari [Sun, 23 Jan 2022 20:40:58 +0000 (15:40 -0500)]
gnu: FreeCAD: Update to 0.19.3.

* gnu/packages/engineering.scm (freecad): Update to 0.19.3.

2 years agoRevert "gnu: xkeyboard-config: Build man page."
Tobias Geerinckx-Rice [Sun, 23 Jan 2022 00:00:00 +0000 (01:00 +0100)]
Revert "gnu: xkeyboard-config: Build man page."

This reverts commit f7236fa1b2e92288633b4261997b55914e25648b.

2 years agognu: xkeyboard-config: Build man page.
SeerLite via Guix-patches via [Mon, 24 Jan 2022 01:46:37 +0000 (22:46 -0300)]
gnu: xkeyboard-config: Build man page.

* gnu/packages/xorg.scm (xkeyboard-config)[native-inputs]: Add libxslt and
remove labels.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2 years agognu: vlc: Build with correct librsvg.
Denis 'GNUtoo' Carikli [Sat, 22 Jan 2022 02:59:19 +0000 (03:59 +0100)]
gnu: vlc: Build with correct librsvg.

* gnu/packages/video.scm (vlc)[inputs]: Replace librsvg
with librsvg-for-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: gnome-settings-daemon: Build with correct librsvg.
Denis 'GNUtoo' Carikli [Sat, 22 Jan 2022 02:59:18 +0000 (03:59 +0100)]
gnu: gnome-settings-daemon: Build with correct librsvg.

* gnu/packages/gnome.scm (gnome-settings-daemon)[inputs]:
Replace librsvg with librsvg-for-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: gtk-vnc: Build with correct librsvg.
Denis 'GNUtoo' Carikli [Sat, 22 Jan 2022 02:59:17 +0000 (03:59 +0100)]
gnu: gtk-vnc: Build with correct librsvg.

* gnu/packages/gnome.scm (gtk-vnc)[inputs]: Replace librsvg with
  librsvg-for-system.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: gtk-vnc: Remove dependency on GJS on non-x86_64.
Denis 'GNUtoo' Carikli [Sat, 22 Jan 2022 02:59:16 +0000 (03:59 +0100)]
gnu: gtk-vnc: Remove dependency on GJS on non-x86_64.

* gnu/packages/gnome.scm (gtk-vnc)[native-inputs]: Provide GJS
only when 'target-x86-64?'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add rofi-calc.
John Kehayias [Fri, 14 Jan 2022 23:13:08 +0000 (18:13 -0500)]
gnu: Add rofi-calc.

* gnu/packages/xdisorg.scm (rofi-calc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: rofi: Add a search path for plugins.
John Kehayias [Fri, 14 Jan 2022 22:28:54 +0000 (17:28 -0500)]
gnu: rofi: Add a search path for plugins.

* gnu/packages/xdisorg.scm (rofi)[native-search-paths]: Add ROFI_PLUGIN_PATH.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add utf-8-lineseparator.
jgart [Fri, 14 Jan 2022 08:33:10 +0000 (03:33 -0500)]
gnu: Add utf-8-lineseparator.

* gnu/packages/textutils.scm (utf-8-lineseparator): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodoc: Tweak Guix Home bits.
Ludovic Courtès [Sun, 23 Jan 2022 22:12:55 +0000 (23:12 +0100)]
doc: Tweak Guix Home bits.

* doc/guix.texi (Shepherd Home Service): Tweak section name.  Add
intro.
(Invoking guix home): Refer to "guix search".  Use @var where
appropriate.

2 years agognu: Add font-charter.
Philip McGrath [Thu, 13 Jan 2022 02:20:50 +0000 (21:20 -0500)]
gnu: Add font-charter.

* gnu/packages/fonts.scm (font-charter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodoc: Document search paths.
Ludovic Courtès [Sat, 22 Jan 2022 10:44:32 +0000 (11:44 +0100)]
doc: Document search paths.

* doc/guix.texi (package Reference): Link to "Search Paths".
(Invoking guix package): Likewise.
(Build Phases): Mention 'set-paths' phase.
(Search Paths): New node.

2 years agocompile: Really disable cross-module inlining and related features.
Ludovic Courtès [Fri, 21 Jan 2022 15:32:44 +0000 (16:32 +0100)]
compile: Really disable cross-module inlining and related features.

This is a followup to d87a1ba6b8b2f08ba6898033353d7463355bd146.

* guix/build/compile.scm (strip-keyword-arguments): Rename to...
(clear-keyword-arguments): ... this, and set the value associated with
each of KEYWORDS to #f.
(optimizations-for-level): Adjust accordingly.

2 years agognu: python-pillow-simd: Update to 9.0.0.
Efraim Flashner [Sun, 23 Jan 2022 18:44:43 +0000 (20:44 +0200)]
gnu: python-pillow-simd: Update to 9.0.0.

* gnu/packages/python-xyz.scm (python-pillow-simd): Update to 9.0.0.
[arguments]: Remove field.