Commit graph

80836 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice 0dbd2c3b08
installer: tests: Expect but do not select other services by default.
* gnu/installer/tests.scm (choose-services): Accept a new
choose-other-service? keyword argument, defaulting to false.
Expect an "Other services" checkbox-list.  Update docstring.
2021-07-04 13:04:45 +02:00
Brice Waegeneire ae004cead8
gnu: zsh-autosuggestions: Update to 0.7.0.
* gnu/packages/shellutils.scm (zsh-autosuggestions): Update to 0.7.0.
2021-07-04 12:48:51 +02:00
Brice Waegeneire 348c70f3fd
gnu: zsh-autosuggestions: Disable failing tests.
* gnu/packages/shellutils.scm (zsh-autosuggestions)[arguments]: Add
'patch-tests' phase.
2021-07-04 12:48:20 +02:00
Leo Prikler cc73ddfb9a
gnu: qt5ct: Import all qt-build-system-modules.
The previous definition tried to be clever and failed to capture, that
qt-utils became necessary as of 7e24e1e58d.
See also <https://bugs.gnu.org/49374>.

* gnu/packages/qt.scm (qt5ct)[#:imported-modules]: Expand
qt-build-system-modules.
2021-07-04 09:39:25 +02:00
Nicolas Goaziou 8d61edbc2f
gnu: burgerspace: Update to 1.9.4.
* gnu/packages/games.scm (burgerspace): Update to 1.9.4.
2021-07-04 09:00:04 +02:00
Nicolas Goaziou 803d589120
gnu: fet: Update to 6.0.4.
* gnu/packages/education.scm (fet): Update to 6.0.4.
[inputs]: Use Qt 6.
2021-07-04 08:57:03 +02:00
Nicolas Goaziou 9eebe60891
gnu: emacs-spinner: Update to 1.7.4.
* gnu/packages/emacs-xyz.scm (emacs-spinner): Update to 1.7.4.
2021-07-04 08:52:08 +02:00
Tobias Geerinckx-Rice f7e1478202
cpio: Fix device number calculation.
“dev_t in glibc is a 64-bit quantity, with 32-bit major and minor
 numbers.”  — glibc's <bits/sysmacros.h>

The "tests/cpio.scm" was failing because (guix cpio) treated it as a
16-bit quantity instead, leading to header mismatches with the GNU cpio
reference output.

* guix/cpio.scm (device-number, device->major+minor): Use all the bits.
2021-07-04 04:35:35 +02:00
Maxim Cournoyer 7cde70c7f8
file-systems: Ensure compared file names are both absolute or relative.
* gnu/system/file-systems.scm (file-prefix?): Return #f unless both file names
are absolute or relative.

Reported-by: Ludovic Courtès <ludo@gnu.org>
2021-07-03 22:29:13 -04:00
Tobias Geerinckx-Rice 243d74579d
gnu: libgrss: Fix CVE-2016-20011.
* gnu/packages/gnome.scm (libgrss): Add patch.
* gnu/packages/patches/libgrss-CVE-2016-2001.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-07-04 03:06:03 +02:00
Tobias Geerinckx-Rice 3499d23692
gnu: Add ghc-ini.
* gnu/packages/haskell-xyz.scm (ghc-ini): New public variable.
2021-07-04 01:14:03 +02:00
Tobias Geerinckx-Rice b35adf09e7
gnu: corrode: Better construct version number.
* gnu/packages/haskell-apps.scm (corrode)[source]: Actually use the
let-bound COMMIT instead of duplicating it.
[version]: Call GIT-VERSION on it and a new REVISION.
2021-07-04 01:14:03 +02:00
Tobias Geerinckx-Rice eb72b3d940
gnu: libvirt: Work around broken SASL option.
* gnu/packages/virtualization.scm (libvirt)[arguments]: Add "-Ddriver_remote=enabled"
to #:configure-flags.
2021-07-04 01:14:03 +02:00
Christopher Lemmer Webber b65af6ed91
gnu: cataclysm-dda: Update to 0.F.
* gnu/packages/games.scm (cataclysm-dda): Update to 0.F.
2021-07-03 17:20:56 -04:00
Alexandr Vityazev 4e3479c229
gnu: Add emacs-seriestracker.
* gnu/packages/emacs-xyz.scm (emacs-seriestracker): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-03 22:50:21 +02:00
Matthew James Kraai d4febc56bb
gnu: mbedtls-apache: Update home page.
* gnu/packages/tls.scm (mbedtls-apache)[home-page]: Update.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-03 22:47:39 +02:00
Morgan Smith 854e28e0b8
gnu: Add emacs-muse.
* gnu/packages/emacs-xyz.scm (emacs-muse): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-03 22:45:04 +02:00
Matthew James Kraai aa93197e15
gnu: emacs-magit: Update to 3.1.1.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 3.1.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-03 22:37:47 +02:00
Brice Waegeneire be36896470
gnu: blueman: Update to 2.2.1.
* gnu/packages/networking.scm (blueman): Update to 2.2.1.
[arguments]: Remove patch on dropped commands "assistant" and "report".

squash! bnu: blueman: Update to 2.2.1.
2021-07-03 22:20:22 +02:00
Brice Waegeneire e789ce538e
services: pcscd: Fix daemon signal handling.
"pcscd" wouldn't handle SIGTERM as it inherit ignoring this signal (and
others) from its parent shepherd; fork+exec-command restore signal
handling.  Fixes <https://issues.guix.gnu.org/45202>.

* gnu/services/security-token.scm (pcscd)[start]: Use
fork+exec-command to start "pcscd".
2021-07-03 20:13:42 +02:00
Brice Waegeneire 9c1720591c
gnu: Add ddcui.
* gnu/packages/hardware.scm (ddcui): New variable.
2021-07-03 17:57:27 +02:00
Tobias Geerinckx-Rice cb51663a41
gnu: keepassxc: Fix WRAP-QT-PROGRAM call.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Call
WRAP-QT-PROGRAM with the expected arguments.
2021-07-03 15:05:44 +02:00
Tobias Geerinckx-Rice c4ac11f704
gnu: ausweisapp2: Fix WRAP-QT-PROGRAM call.
* gnu/packages/security-token.scm (ausweisapp2)[arguments]: Call
WRAP-QT-PROGRAM with the expected arguments.
2021-07-03 15:04:00 +02:00
Tobias Geerinckx-Rice bcfec279af
gnu: Add ghc-word-wrap.
* gnu/packages/haskell-xyz.scm (ghc-word-wrap): New public variable.
2021-07-03 15:04:00 +02:00
Tobias Geerinckx-Rice 7d00f2adde
gnu: Add gotypist.
* gnu/packages/education.scm (gotypist): New public variable.
2021-07-03 15:01:06 +02:00
Tobias Geerinckx-Rice c43e1e0f9b
gnu: Add go-github-com-gizak-termui.
* gnu/packages/golang.scm (go-github-com-gizak-termui): New public variable.
2021-07-03 15:01:06 +02:00
Tobias Geerinckx-Rice 8dc33b00db
gnu: Add go-github-com-mitchellh-go-wordwrap.
* gnu/packages/golang.scm (go-github-com-mitchellh-go-wordwrap): New public variable.
2021-07-03 15:01:05 +02:00
Charles 3f0a0033af
gnu: Add cl-issr-core.
* gnu/packages/lisp-xyz.scm (cl-issr-core, ecl-issr-core, sbcl-issr-core): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-03 14:27:37 +02:00
Charles 3c3c1a9ed5
gnu: Add cl-tailrec.
* gnu/packages/lisp-xyz.scm (sbcl-tailrec, ecl-tailrec, cl-tailrec): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-03 14:27:37 +02:00
Charles 70387700b2
gnu: Add cl-trivial-with-current-source-form.
* gnu/packages/lisp-xyz.scm (cl-trivial-with-current-source-form,
  ecl-trivial-with-current-source-form,
  sbcl-trivial-with-current-source-form): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-03 14:27:37 +02:00
Charles e2e17903fb
gnu: Add cl-unification.
* gnu/packages/lisp-xyz.scm (sbcl-cl-unification, ecl-cl-unification,
  cl-unification): New variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-03 14:27:37 +02:00
Pierre Neidhardt 07d47e34da
gnu: cl-asdf: Update to 3.3.5.
* gnu/packages/lisp.scm (cl-asdf): Update to 3.3.5.
2021-07-03 14:10:41 +02:00
Pierre Neidhardt a703c89f70
gnu: sbcl-serapeum: Update to 20210630.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum): Update to 20210630.
2021-07-03 14:10:41 +02:00
Tobias Geerinckx-Rice eef099a2e1
gnu: guix: Update to 6243ad3.
* gnu/packages/package-management.scm (guix): Update to 6243ad3.
2021-07-03 02:00:11 +02:00
Tobias Geerinckx-Rice c33e2009d4
gnu: stockfish: Factor out the neural network revision.
* gnu/packages/games.scm (stockfish): Factor out the neural-network-revision.
2021-07-03 00:14:37 +02:00
Michael Rohleder 8630017e2e
gnu: stockfish: Update to 14.
* gnu/packages/games.scm (stockfish): Update to 14.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-07-03 00:05:31 +02:00
Maxim Cournoyer d5c9cc6d9d
build: qt-utils: Wrappers set 'QTWEBENGINEPROCESS_PATH' if needed.
This reinstate commit the reverted fed28a9632,
now rebased on top of conflicting changes.

* guix/build/qt-utils.scm:  Remove extraneous newlines.
(variables-for-wrapping): Add comments.  Define a file type entry for each
variable definition, and use it to determine if we should look for directories
versus plain files.
<QTWEBENGINEPROCESS_PATH>: New environment variable.
(wrap-all-qt-programs): Remove trailing #t.
2021-07-02 16:50:10 -04:00
Ludovic Courtès 20cf23e4f8
build: qt-utils: Refactor the code to filter XDG_DATA_DIRS.
This partially reinstate the reverted
c5fd1b0bd3.

* guix/build/qt-utils.scm (variables-for-wrapping)[collect-sub-dirs]:
Add 'selectors' parameter and honor it.  Change caller to handle selectors.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-07-02 16:50:10 -04:00
Jakub Kądziołka 86c9f5a5fa
guix: qt-utils: Don't include useless inputs in wrapped variables.
Include only those inputs into XDG_DATA_DIRS having
some subdirectory of /share which is typically used by Qt.

* guix/build/qt-utils.scm (variables-for-wrapping): Take the
  output directory as an argument for special handling. Check for
  subdirectories of /share used by Qt before including inputs in
  XDG_DATA_DIRS.
  (wrap-qt-program*): Pass the output directory to variables-for-wrapping.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2021-07-02 16:50:09 -04:00
Jakub Kądziołka 76174aa991
build-system: qt: Exclude useless inputs from wrapped variables.
* guix/build-system/qt.scm (qt-build)[qt-wrap-excluded-inputs]: New argument.
* guix/build/qt-utils.scm (%qt-wrap-excluded-inputs): New variable.
  (wrap-qt-program*)[qt-wrap-excluded-inputs]: New argument. Filter excluded
  inputs.
  (wrap-qt-program)[qt-wrap-excluded-inputs]: New argument.
  (wrap-all-qt-programs)[qt-wrap-excluded-inputs]: New argument.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2021-07-02 16:50:09 -04:00
Hartmut Goebel 30759c4aad
guix: qt-utils: Wrapped executables honor user's envvars.
Prior to this change, wrappers did set the specified environment variables to
a fixed value, overwriting any user settings. This inhibited propagating
e.g. XDG_DATA_DIRS from a profile to the application.

Now user environment variables are prefixed (if the variable defines some
"binary" search path, e.g. QT_PLUGIN_PATH) or suffixed (if the variable
defines some config or data search path, e.g. XDG_DATA_DIRS). The code could
also allow to overwrite, anyhow currently no variable is defined like this.

* guix/build/qt-utils.scm (variables-for-wrapping): For each env-var to
  be wrapped, specify whether it should prefix, suffix or overwrite the
  user's variable.
2021-07-02 16:50:09 -04:00
Hartmut Goebel 7e24e1e58d
guix: qt-build-system, qt-utils: Unify wrapping of qt-programs.
Unify (guix qt-build-system wrap-all-programs) and
(guix qt-utils wrap-qt-program), so both behave the same.
The functions now reside in qt-utils to make them easily available for
packages not using the qt-build-system.

* guix/build/qt-build-system.scm (variables-for-wrapping, wrap-all-programs):
  Move from here ...
* guix/build/qt-utils.scm (variables-for-wrapping, wrap-all-qt-programs):
  ... to here. Base the later on
  (wrap-qt-program*): New function, carved out from old wrap-all-programs.
  (wrap-qt-program): Base on wrap-qt-program*, change arguments in an
  incompatible way.
* gnu/packages/bittorrent.scm (qbittorrent)[arguments]<phases>{wrap-qt}:
  Adjust to new interface of wrap-qt-program.
* gnu/packages/finance.scm (electron-cash): Likewise.
* gnu/packages/geo.scm (qgis): Likewise.
* gnu/packages/password-utils.scm (qtpass): Likewise.
* gnu/packages/video.scm (openshot): Likewise.
* gnu/packages/web-browsers.scm (kristall): Likewise.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer 1879b05f90
Revert "build-system/qt: Wrappers only include relevant directories to XDG_DATA_DIRS."
This reverts commit c5fd1b0bd3.  It will need to
be refactored on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer 15fd870c3f
Revert "build-system/qt: Wrappers set 'QTWEBENGINEPROCESS_PATH' if needed."
This reverts commit 06eb21856f.  It will need to
be refactored to fit on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer 3a94998f5e
Revert "build-system/qt: Fix wrapping with QTWEBENGINEPROCESS_PATH."
This reverts commit fed28a9632.  It will need to
be refactored to fit on top of 2214b7b78d.
2021-07-02 16:50:09 -04:00
Maxim Cournoyer 0ce685c65f
gnu: protobuf: Update to 3.17.3.
* gnu/packages/protobuf.scm (protobuf): Update to 3.17.3.
[phases]{disable-broken-tests}: New phase.
{move-static-libraries}: Remove trailing #t.
2021-07-02 16:50:08 -04:00
Maxim Cournoyer 3245d72bcd
gnu: qtbase: Specify configure flags via the #:configure-flags argument.
* gnu/packages/qt.scm (qtbase): Delete trailing #t.
[phases]{configure}: Print build directory and configure flags.
Move configure flags to...
[#:configure-flags]: ... this new argument.
2021-07-02 16:50:08 -04:00
Maxim Cournoyer 206193fec9
gnu: qtbase: Enable GTK support.
This allows Qt applications to use the GTK themes present on the system,
providing a more integrated look and feel for many Qt applications used in the
context of a GTK/GNOME environment.

* gnu/packages/qt.scm (qtbase-5)[inputs]: Add gtk+.
2021-07-02 16:50:08 -04:00
Tobias Geerinckx-Rice b9aab8e89c
gnu: atlas: Extend build time-out.
* gnu/packages/maths.scm (atlas)[properties]: Quadruple the timeout.
2021-07-02 20:51:43 +02:00
Tobias Geerinckx-Rice 159de0362b
gnu: shellcheck: Hide irrelevant CVE from ‘guix lint’.
* gnu/packages/haskell-apps.scm (shellcheck)[properties]: Add
CVE-2021-28794 to lint-hidden-cve.
2021-07-02 20:31:54 +02:00