Commit graph

98078 commits

Author SHA1 Message Date
Efraim Flashner 0fd5222ad6
gnu: python-flake8-polyfill: Honor tests? flag.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[arguments]:
Adjust custom 'check phase to honor the #:tests? flag.
2022-06-07 09:24:14 +03:00
Efraim Flashner 49a47bdcc5
gnu: python-flake8-polyfill: Fix building with python-flake8@4.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)[source]: Add patch.
* gnu/packages/patches/python-flake8-polyfill-flake8-4-compat.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-06-07 09:22:35 +03:00
Petr Hodina 7e7c8b253c
gnu: python-flake8: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-flake8): Update to 4.0.1.
[source]: Remove snippet.
[arguments]: Respect tests?.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-06-07 09:14:04 +03:00
Petr Hodina 2660f99b57
gnu: python-pycodestyle: Update to 2.8.0.
* gnu/packages/python-xyz.scm (python-pycodestyle): Update to 2.8.0.
[arguments]: Respect tests?.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-06-07 09:13:52 +03:00
Leo Famulari 2680f30a2e
gnu: Borg: Update to 1.2.1.
* gnu/packages/backup.scm (borg): Update to 1.2.1.
2022-06-06 22:57:26 -04:00
Leo Famulari b04c338265
gnu: python-msgpack: Update to 1.0.4.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.0.4.
2022-06-06 22:57:14 -04:00
Tobias Geerinckx-Rice 80683d29f4
gnu: perl-catalyst-devel: Update to 1.42.
* gnu/packages/web.scm (perl-catalyst-devel): Update to 1.42.
2022-06-05 02:00:18 +02:00
Tobias Geerinckx-Rice aef64b9c45
gnu: emacs-kind-icon: Update to 0.1.5.
* gnu/packages/emacs-xyz.scm (emacs-kind-icon): Update to 0.1.5.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice f6eab5abce
gnu: perl-xml-compile-soap: Update to 3.27.
* gnu/packages/xml.scm (perl-xml-compile-soap): Update to 3.27.
[propagated-inputs]: Replace perl-file-slurp-tiny with perl-file-slurper.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 67a78c0ad6
gnu: ndctl: Update to 73.
* gnu/packages/disk.scm (ndctl): Update to 73.
[build-system]: Switch to Meson.
[arguments]: Adjust #:configure-flags accordingly.  Remove #:make-flags.
[native-inputs]: Remove automake, autoconf, and libtool.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 0ace58b99c
daemon: Quote consistently within a string.
* nix/libstore/build.cc (DerivationGoal::registerOutput): ‘’ → `'.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice cd81b3bdfd
gnu: memkind: Update to 1.13.0.
* gnu/packages/disk.scm (memkind): Update to 1.13.0.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice e3b94eddf6
gnu: sudo: Update to 1.9.11.
* gnu/packages/admin.scm (sudo): Update to 1.9.11.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 7d00cdf44d
gnu: diffoscope: Update to 216.
* gnu/packages/diffoscope.scm (diffoscope): Update to 216.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 7f2328b7df
gnu: guvcview: Update to 2.0.8.
* gnu/packages/video.scm (guvcview): Update to 2.0.8.
[inputs]: Add bdb and libjpeg-turbo.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice b8686f1bfc
gnu: python-pyodbc-c: Fix comment.
* gnu/packages/databases.scm (python-pyodbc-c): Fix comment about tests.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice aeca46ae0f
doc: Remove left-over MIPS.
* doc/guix.texi (Additional Build Options): Substitute aarch64 for MIPS.
2022-06-05 02:00:00 +02:00
Leo Famulari 337441609c
gnu: mu: Update to 1.6.11.
* gnu/packages/mail.scm (mu): Update to 1.6.11.
2022-06-06 20:53:49 -04:00
Leo Famulari 3b4e56c953
gnu: Mutt: Update to 2.2.6.
* gnu/packages/mail.scm (mutt): Update to 2.2.6.
2022-06-06 20:53:49 -04:00
Vagrant Cascadian 5850f1e99a
gnu: virtuoso-ose: Do not embed kernel version and timestamps.
* gnu/packages/databases.scm (virtuoso-ose)[arguments]: Add
  'avoid-embedding-kernel-and-timestamps phase.
2022-06-06 15:08:24 -07:00
Vagrant Cascadian da115f9f7a
gnu: uim: Build reproducibly.
* gnu/packages/xorg.scm (uim)[arguments]: Disable parallel build.
2022-06-06 15:08:21 -07:00
Vagrant Cascadian 964cdd57fa
gnu: discrover: Use reproducible timestamps.
* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add
  'set-force-source-date phase.
2022-06-06 15:08:18 -07:00
Vagrant Cascadian 8bac52e6f3
gnu: perl-term-size-perl: Remove timestamps.
* gnu/packages/perl.sc (perl-term-size-perl)[arguments]: Add
  'remote-timestamps phase.
2022-06-06 13:50:50 -07:00
Vagrant Cascadian a04a987450
gnu: itpp: Avoid embedding build dates.
* gnu/packages/maths.scm (itpp): Add 'set-man-page-date and
  'set-force-source-date phases.
2022-06-06 13:50:46 -07:00
Ludovic Courtès 264ca9452f
services: syslogd: Do not fsync at each line.
Fixes <https://issues.guix.gnu.org/55707>.

Previously Inetutils' syslogd would call 'fsync' after each line written
to a file.  This would significantly increase boot times on machines
with slow-ish spinning HDDs, where each 'fsync' call would take between
0.1s and 0.4s (and we'd do two of them for each line, one for
/var/log/messages and one for /var/log/debug).

* gnu/services/base.scm (%default-syslog.conf): Add a '-' before each
file name, except /var/log/secure.  Change what goes to /var/log/debug.
2022-06-06 22:43:31 +02:00
Ludovic Courtès 635d49f97e
packages: Use SRFI-71 instead of SRFI-11.
* gnu/packages.scm (%package-module-path): Use 'let*' instead of
'let*-values'.
(specification->package, specification->location)
(specification->package+output): Use 'let' instead of 'let-values'.
2022-06-06 22:43:30 +02:00
Antero Mejr 7041fe0646
packages: Add 'specifications->packages'.
* gnu/packages.scm (specifications->packages): New procedure.
* guix/scripts/home/import.scm (manifest+configuration-files->code): Use it.
* tests/home-import.scm (match-home-environment-no-services)
(match-home-environment-no-services-nor-packages)
(match-home-environment-bash-service)
(match-home-environment-bash-service-with-alias): Adjust 'packages'
field accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Peter Polidoro f08bfca083
gnu: Add python-progress.
* gnu/packages/python-xyz.scm (python-progress): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Peter Polidoro 2aceb1e13e
gnu: Add python-canopen.
* gnu/packages/python-xyz.scm (python-canopen): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Karl Hallsby 618f665a5f
bootloader: grub: Add removable grub-efi bootloader option.
For single-disk installs (external USBs) and for amnesiac UEFIs, Guix is not
found using its default Grub EFI bootloader location of
/boot/efi/EFI/Guix/grubx64.efi means the Guix install will not be found.

To handle this, we can place the bootloader file in the UEFI specification
location, overwriting any other OS that may have placed a file there. This
location is namely /boot/efi/EFI/BOOT/BOOTX64.efi. Grub has explicit support
for this location/situation with the `--removable` flag.

* gnu/bootloader/grub.scm (install-grub-efi-removable)
(grub-efi-removable-bootloader): New variables.
* doc/guix.texi (Bootloader Configuration): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-06 22:43:30 +02:00
Arun Isaac e614cf2907
gnu: guile-xapian: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-xapian): Update to 0.2.0.
[source]: Remove modules and snippet setting LD_LIBRARY_PATH.
2022-06-07 01:20:53 +05:30
Efraim Flashner b995c1bd10
gnu: python-flake8: Allow building with newer python-pyflakes.
* gnu/packages/python-xyz.scm (python-flake8)[source]: Add snippet to
remove upper bound on dependency python-pyflakes version.
2022-06-06 22:18:36 +03:00
Maxim Cournoyer b9c8c3585b
gnu: Add python-labjack.
* gnu/packages/python-xyz.scm (python-labjack): New variable.
2022-06-06 13:32:34 -04:00
Maxim Cournoyer 1c7d5b1c82
gnu: Add python-exodriver.
* gnu/packages/python-xyz.scm (python-exodriver): New variable.
2022-06-06 13:27:39 -04:00
Maxim Cournoyer 1d0d46b1c7
system: Fix typo, add doc.
* gnu/system.scm (operating-system-kernel-arguments): Fix typo in doc.
(boot-parameters->menu-entry): Add doc.
2022-06-06 11:29:51 -04:00
Tobias Geerinckx-Rice 898511205c
gnu: irssi: Edit description.
* gnu/packages/irc.scm (irssi)[synopsis, description]: Expound.
2022-06-05 02:00:00 +02:00
Julien Lepiller 1643402950
gnu: offlate: Update to 0.6.1.
* gnu/packages/python-xyz.scm (offlate): Update to 0.6.1.
2022-06-11 22:55:26 +02:00
Tobias Geerinckx-Rice c23d4871a6
gnu: irssi: Update to 1.4.1.
* gnu/packages/irc.scm (irssi): Update to 1.4.1.
[arguments]: Remove unmaintained "--with-bot".
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice c794df8490
gnu: python-pyodbc-c: Fix metadata.
It appears to have been copied from python-pyodbc, a different project.

* gnu/packages/databases.scm (python-pyodbc-c)[synopsis, description]:
Describe this project instead, and how it differs.
[home-page]: Point elsewhere.
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice 89c7a2c891
gnu: python-pyodbc-c: Update to 3.1.5.
* gnu/packages/databases.scm (python-pyodbc-c): Update to 3.1.5.
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice 289b521584
gnu: python-pyodbc-c: Don't use unstable tarball.
* gnu/packages/databases.scm (python-pyodbc-c)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice 64b12a1abf
gnu: python-pyodbc: Update to 4.0.32.
* gnu/packages/databases.scm (python-pyodbc): Update to 4.0.32.
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice 07edc13f04
gnu: python-pyodbc: Document the test situation.
* gnu/packages/databases.scm (python-pyodbc)[arguments]: Replace
counterfactual comment with one that isn't.  Add a custom 'check phase,
which doesn't run.
2022-06-05 02:00:08 +02:00
Tobias Geerinckx-Rice f0fa2b25ba
gnu: python-pyodbc: Remove precompiled .pyc files from source.
* gnu/packages/databases.scm (python-pyodbc)[source]: Add a snippet.
Remove no-op file-name.
2022-06-05 02:00:07 +02:00
Haider Mirza 2d7548f0cf
gnu: Add emacs-org-auto-tangle.
* gnu/packages/emacs-xyz.scm (emacs-org-auto-tangle): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-06-11 09:19:34 +02:00
Josselin Poiret a99015c878
system: Align zram priority with swap-space spec to clarify.
Fixes <https://issues.guix.gnu.org/54783>.

* gnu/services/linux.scm (zram-device-configuration)
[priority]: Adapt to use #f or an integer from 0 to 32767.  Add sanitizer to
warn for the change and delay the field.
(zram-device-configuration->udev-string): Adapt as above.
* doc/guix.texi (Zram Device Service): Remove double copyright line.
Change priority description to refer to the Swap Space one, and suggest not
leaving the default #f on to properly use zram.

Reported-by: Stefan Baums <baums@stefanbaums.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-06-11 00:57:13 -04:00
Maxim Cournoyer 8649ac5eaa
services: jami-configuration: Rename 'jamid' field to 'libjami'.
* gnu/services/telephony.scm (gnu):
(jami-configuration)[jamid]: Rename field to...
[libjami]: ... this.
(jami-configuration->command-line-arguments): Adjust accordingly.
(jami-shepherd-services): Likewise.
2022-06-10 23:52:34 -04:00
Maxim Cournoyer 8994e13b9f
least-authority: Fix typo.
* guix/least-authority.scm (least-authority-wrapper): Fix typo in doc.
2022-06-10 23:52:34 -04:00
Maxim Cournoyer 85b4dabd94
services: jami: Modernize to adjust to Shepherd 0.9+ changes.
This partially fixes <https://issues.guix.gnu.org/54786>, allowing the 'jami'
and 'jami-provisioning' system tests to pass again.

In version 0.9.0, Shepherd constructors are now run concurrently, via
cooperative scheduling (Guile Fibers).  The Jami service previously relied on
blocking sleeps while polling for D-Bus services to become ready after forking
a process; this wouldn't work anymore since while blocking the service process
wouldn't be given the chance to finish starting.  The new reliance on Fibers
in Shepherd's fork+exec-command in the helper 'send-dbus' procedure also meant
that it wouldn't work outside of Shepherd anymore.  Finally, the
'start-service' Shepherd procedure used in the test suite would cause the Jami
daemon to be spawned multiple times (a bug introduced in Shepherd 0.9.0).

To fix/simplify these problems, this change does the following:

1. Use the Guile AC/D-Bus library for D-Bus communication, which simplify
things, such as avoiding the need to fork 'dbus-send' processes.

2. The non-blocking 'sleep' version of Fiber is used for the 'with-retries'
waiting syntax.

3. A 'dbus' package variant is used to adjust the session bus configuration,
tailoring it for the use case at hand.

4. Avoid start-service in the tests, preferring 'jami-service-available?' for
now.

* gnu/build/jami-service.scm (parse-dbus-reply, strip-quotes)
(deserialize-item, serialize-boolean, dbus-dict->alist)
(dbus-array->list, parse-account-ids, parse-account-details)
(parse-contacts): Delete procedures.
(%send-dbus-binary, %send-dbus-bus, %send-dbus-user, %send-dbus-group)
(%send-dbus-debug): Delete parameters.
(jami-service-running?): New procedure.
(send-dbus/configuration-manager): Rename to...
(call-configuration-manager-method): ... this.  Turn METHOD into a positional
argument.  Turn ARGUMENTS into an optional argument.  Invoke
`call-dbus-method' instead of `send-dbus', adjusting callers accordingly.
(get-account-ids, id->account-details, id->account-details)
(id->volatile-account-details, username->id, add-account remove-account)
(username->contacts, remove-contact, add-contact, set-account-details)
(set-all-moderators, username->all-moderators?, username->moderators)
(set-moderator): Adjust accordingly.
(with-retries, send-dbus, dbus-available-services)
(dbus-service-available?): Move to ...
* gnu/build/dbus-service.scm: ... this new module.
(send-dbus): Rewrite to use the Guile AC/D-Bus library.
(%dbus-query-timeout, sleep*): New variables.
(%current-dbus-connection): New parameter.
(initialize-dbus-connection!, argument->signature-type)
(call-dbus-method): New procedures.
(dbus-available-services): Adjust accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register new module.
* gnu/packages/glib.scm (dbus-for-jami): New variable.
* gnu/services/telephony.scm: (jami-configuration)[dbus]: Default to
dbus-for-jami.
(jami-dbus-session-activation): Write a D-Bus daemon configuration file at
'/var/run/jami/session-local.conf'.
(jami-shepherd-services): Add the closure of guile-ac-d-bus and guile-fibers
as extensions.  Adjust imported modules.  Remove no longer used parameters.
<jami-dbus-session>: Use a PID file, avoiding the need for the manual
synchronization.
<jami>:  Set DBUS_SESSION_BUS_ADDRESS environment variable.  Poll using
'jami-service-available?' instead of 'dbus-service-available?'.
* gnu/tests/telephony.scm (run-jami-test): Add needed Guile extensions.  Set
DBUS_SESSION_BUS_ADDRESS environment variable.  Adjust all tests to use
'jami-service-available?' to determine if the service is started rather than
the now problematic Shepherd's 'start-service'.
2022-06-10 23:52:33 -04:00
Tobias Geerinckx-Rice b8edfdb008
gnu: qtox: Update to 1.17.6.
* gnu/packages/messaging.scm (qtox): Update to 1.17.6.
2022-06-05 02:00:01 +02:00