Commit graph

91543 commits

Author SHA1 Message Date
Nick Zalutskiy
757be0e8af
services: pam-mount: Add support for sddm login manager.
I noticed that pam_mount mounts work fine when loging into a textual
session, but not when using sddm. This patch fixes this problem by
ensuring that pam_mount.so is included in /etc/pam.d/sddm config file.

* gnu/services/pam-mount.scm (pam-mount-pam-service): Add sddm to the list of
  pam services.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-01-17 00:13:46 +01:00
Vinicius Monego
4af273e0a8
gnu: python-cftime: Update to 1.5.1.1.
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.5.1.1.
[native-inputs]: Add python-check-manifest, python-coverage, python-sphinx,
python-twine, python-wheel.
[home-page]: Use page linked in the GitHub repository.
[license]: Change to expat according to the GitHub repository.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Fulbert
e35deac9e7
bash completion: Fix options completion.
Fixes, for example, "guix import pypi --<TAB>", which would previously
fail to show '--recursive'.

* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Ludovic Courtès
686f2eae34
tests: Clean up after 'tests/guix-package-net.sh'.
* tests/guix-package-net.sh: Remove second 'trap' line.  Change first
'trap' line to remove "$module_dir" and *.lock files.
2022-01-16 23:56:56 +01:00
Ludovic Courtès
a1037aa87b
tests: Clean up after 'tests/guix-graph.sh'.
Fixes a regression introduced in
a773c3142d, which would lead the first
'trap' to be ignored, thereby leaving 't-guix-graph-*' directories
behind it.

* tests/guix-graph.sh: Remove first 'trap' line that had no effect;
replace second 'trap' line.
2022-01-16 23:56:56 +01:00
Michael Rohleder
7a0fffc85f
gnu: ristretto: Update to 0.12.2.
* gnu/packages/xfce.scm (ristretto): Update to 0.12.2.
[native-inputs]: Add glib:bin for gdbus-codegen.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Maxime Devos
81f036bfd2
import/github: Test it.
* Makefile.am (SCM_TESTS): Register new tests.
* guix/import/github.scm
  (%github-api): New variable.
  (fetch-releases-or-tags): Use the new variable.
* tests/import-github.scm: New file with tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Maxime Devos
f8306a5019
import/github: Return <git-reference> objects for git-fetch origins.
* guix/import/github.scm
  (latest-released-version): Also return the tag.
  (latest-release): Use this information to return <git-reference> objects
  when appropriate.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Ludovic Courtès
084b76a70a
machine: ssh: Add 'safety-checks?' field.
Fixes <https://issues.guix.gnu.org/52766>.
Reported by Michael Rohleder <mike@rohleder.de>.

* gnu/machine/ssh.scm (<machine-ssh-configuration>)[safety-checks?]: New
field.
(machine-check-file-system-availability): Return the empty list when
'safety-checks?' is false.
(machine-check-initrd-modules): Likewise.
* doc/guix.texi (Invoking guix deploy): Document it.
2022-01-16 23:56:55 +01:00
Brandon Lucas
86e782e2b6
gnu: Add emacs-fennel-mode.
* gnu/packages/emacs-xyz.scm (emacs-fennel-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-16 23:31:22 +01:00
Efraim Flashner
6ba510d76d
gnu: libtool: Skip the nopic tests on riscv.
* gnu/packages/patches/libtool-skip-tests2.patch: Adjust to add riscv to
skipped nopic tests.
2022-01-11 12:43:37 +02:00
Ricardo Wurmus
a46fac5635
gnu: texlive-luaotfload: Use new name for texlive-lualibs.
* gnu/packages/tex.scm (texlive-luaotfload)[propagated-inputs]: Replace
texlive-luatex-lualibs with texlive-lualibs.
2022-01-11 11:36:27 +01:00
Ricardo Wurmus
df77cd8968
gnu: texlive-bin: Link lualatex to luahbtex.
Fixes <https://issues.guix.gnu.org/51252>.

* gnu/packages/tex.scm (texlive-bin)[arguments]: Link lualatex to luahbtex.
(texlive-latex-luatex): Remove variable.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
4d2c861dfb
gnu: texlive-lualibs: Take sources from TeX Live SVN.
* gnu/packages/tex.scm (texlive-luatex-lualibs): Deprecate this variable...
(texlive-lualibs): ...in favor of this new variable.
[source]: Take source code from TeX Live SVN because it must match the rest of
the LuaTeX distribution.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
3189b1360c
gnu: texlive-luaotfload: Propagate texlive-lua-alt-getopt.
* gnu/packages/tex.scm (texlive-luaotfload)[propagated-inputs]: Add
texlive-lua-alt-getopt.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
3b864f72e3
gnu: Add texlive-lua-alt-getopt.
* gnu/packages/tex.scm (texlive-lua-alt-getopt): New variable.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
992b1efbd8
gnu: texlive-latex-base: Remove trailing #T.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Remove trailing #T
from build phases.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
871504e5bf
gnu: texlive-kpathsea: Patch references to sed and awk.
* gnu/packages/tex.scm (texlive-kpathsea)[arguments]: Add build phase
'patch-references to satisfy runtime requirements on sed and awk.
[inputs]: Add sed and gawk.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
a6499572b3
gnu: texlive-bin: Patch references to sed and awk.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlive scripts in
'post-install phase to satisfy references to sed and awk.
2022-01-11 10:18:54 +01:00
Ricardo Wurmus
2a5ed25c41
gnu: texlive-bin: Fix directory traversal.
Fixes <https://bugs.gnu.org/52979>.

* gnu/packages/tex.scm (texlive-bin)[arguments]: Add build phase
'patch-directory-traversal.
2022-01-11 10:18:53 +01:00
Ricardo Wurmus
f5ef9ffd48
gnu: texlive-bin: Remove trailing #T.
* gnu/packages/tex.scm (texlive-bin)[source]: Simplify snippet.
[arguments]: Remove trailing #T from build phases.
2022-01-11 10:18:49 +01:00
Maxim Cournoyer
b8a771d5a5
gnu: network-manager: Patch dlopen call to libjansson.so.
* gnu/packages/gnome.scm (network-manager)[phases]
{patch-dlopen-call-to-libjansson}: New phase.
{pre-configure}: Reinstate an assertion in test-setting.c.
2022-01-10 23:08:06 -05:00
Maxim Cournoyer
a02c1ce716
gnu: samba: Update to 4.15.3.
* gnu/packages/samba.scm (samba): Update to 4.15.3.
[source]: Delete snippet; pyiso8601 is no longer bundled.
[arguments]: Adjust make-flags and arguments to use G-Exp.
[phases]{configure}: Add the '--with-system-mitkrb5', '--with-system-mitkdc'
and '--with-experimental-mit-ad-dc' configure flags.
[inputs]: Replace heimdal with mit-krb5.
[native-inputs]: Use new style.
{python-cryptography, python-dnspython, python-markdown}
{python-pyasn1}: New inputs.
(samba/fixed): Update to 4.15.3 and hide package.
2022-01-10 11:51:30 -05:00
Maxim Cournoyer
b6509548eb
gnu: nss: Update to 3.72.
* gnu/packages/nss.scm (nss): Update to 3.72.
2022-01-10 11:51:30 -05:00
Maxim Cournoyer
fa8fb40f6b
gnu: iwd: Update to 1.20.
* gnu/packages/networking.scm (iwd): Update to 1.20.
2022-01-10 11:51:30 -05:00
Maxim Cournoyer
423c3de0c8
gnu: ell: Update to 0.46.
* gnu/packages/linux.scm (ell): Update to 0.46.
2022-01-10 11:51:30 -05:00
Maxim Cournoyer
4cecce6960
gnu: rust: Do not generate doc.
The share/doc directory weights 527 MiB and bundles fonts.

* gnu/packages/rust.scm (rust-1.57)[phases]{enable-docs}: Delete phase.
2022-01-10 11:51:30 -05:00
Maxim Cournoyer
9495b7800b
gnu: rav1e: Update to 0.5.1; also update rust-aom-sys to 0.3.0.
* gnu/packages/crates-graphics.scm (rust-aom-sys-0.2): Rename to...
(rust-aom-sys-0.3): ... this, updating to 0.3.0.
(rust-aom-sys-0.1): Delete unused variable.
* gnu/packages/video.scm (rav1e): Update to 0.5.1.
[cargo-test-flags]: New argument.
[cargo-inputs]: Add rust-aom-sys-0.3.
Update rust-arrayvec and rust-av-metrics to 0.7.
Update rust-rustc-version to 0.4.
Update rust-dav1d-sys to 0.3.4.
[cargo-development-inputs]: Update rust-assert-cmd to 2.
Update rust-pretty-assertions to 0.7.  Update rust-semver to 1.
[phases]{relax-versions}: New phase.
2022-01-10 11:51:29 -05:00
Maxim Cournoyer
633733696c
gnu: rust-av-metrics: Update to 0.7.2. Also update rust-lab to 0.11.0.
* gnu/packages/crates-io.scm (rust-lab-0.8): Update to 0.11.0, rename to...
(rust-lab-0.11): ... this.
[cargo-development-inputs]: Update rust-approx to 0.5, rust-pretty-assertions
to 0.7 and rust-rand to 0.8.
(rust-lab-0.7): Adjust accordingly.
(rust-lab-0.4): Inherit from rust-lab-0.7 and fix source field indentation.
(rust-av-metrics-0.6): Update to 0.7.2, renaming it to...
(rust-av-metrics-0.7): ... this.
[cargo-inputs]: Update rust-lab to 0.11.
[cargo-development-inputs]: Add rust-criterion-0.3 and rust-y4m-0.7.
2022-01-10 11:51:29 -05:00
Maxim Cournoyer
6b610674d1
gnu: rust-v-frame-0.2: Update to 0.2.5.
* gnu/packages/crates-io.scm (rust-v-frame-0.2): Update to 0.2.5.
[skip-build?]: Remove argument.
[cargo-inputs]: Add rust-rust-hawktracer-0.7 and rust-rayon-1.
2022-01-10 11:51:29 -05:00
Maxim Cournoyer
34fb1c4ba9
gnu: Add rust-rustc-version-0.4.
* gnu/packages/crates-io.scm (rust-rustc-version-0.4): New variable.
(rust-rustc-version-0.3): Inherit from the above.
2022-01-10 11:50:50 -05:00
Maxim Cournoyer
9f3ed4d57e
gnu: Add rust-concolor-control.
* gnu/packages/crates-io.scm (rust-concolor-control): New variable.
2022-01-10 11:49:13 -05:00
Maxim Cournoyer
330c3bee85
gnu: Add rust-concolor-query.
* gnu/packages/crates-io.scm (rust-concolor-query): New variable.
2022-01-10 11:49:13 -05:00
Maxim Cournoyer
8169079a5a
gnu: Add rust-cfg-expr-0.8.
* gnu/packages/crates-io.scm (rust-cfg-expr-0.8): New variable.
2022-01-10 11:49:12 -05:00
Maxim Cournoyer
cdb2b115a8
gnu: mozjs-78: Disable rust-simd to workaround a build failure.
* gnu/packages/gnuzilla.scm (mozjs-78)
[configure-flags]: Disable rust-simd to avoid a build failure that occurs when
Rust is newer than 1.54.0.
2022-01-10 11:47:04 -05:00
Hartmut Goebel
c3c943055d
build/python: Improve error output in sanity check.
Instead of printing the "str()" representation of the excaption, print the
"repr()" representation. This will print the name of the exception and thus
ease understanding the actual error.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:47:03 -05:00
Maxim Cournoyer
d90080db54
gnu: rust: Use rust-1.57.0.
* gnu/packages/rust.scm (rust-1.54): Make it a private variable.  Move
definition to...
(rust-1.57): ... here.
(rust-1.55, rust-1.56): Make private.
* gnu/packages/shells.scm (nushell)[rust]: Remove argument.
2022-01-10 11:47:03 -05:00
Maxim Cournoyer
c292cf21f7
gnu: simple-scan: Add python to native inputs.
* gnu/packages/gnome.scm (simple-scan)[native-inputs]: Add python.
2022-01-10 11:47:03 -05:00
Maxim Cournoyer
f353ed53a9
gnu: gnome-calculator: Add python to native inputs.
* gnu/packages/gnome.scm (gnome-calculator)[native-inputs]: Add python.
2022-01-10 11:47:03 -05:00
Maxim Cournoyer
32d38a7142
gnu: gnome-screenshot: Add python to native inputs.
* gnu/packages/gnome.scm (gnome-screenshot)[native-inputs]: Add python.
2022-01-10 11:47:03 -05:00
Maxim Cournoyer
ff9c684ddf
gnu: file-roller: Add python to native inputs.
* gnu/packages/gnome.scm (file-roller)[native-inputs]: Add python.
2022-01-10 11:47:02 -05:00
Maxim Cournoyer
836daaf8f6
gnu: python-pandas: Update to 1.3.5.
* gnu/packages/python-science.scm (python-pandas): Update to 1.3.5.
[phases]{check}: Add a reference to the network accessing tests issue, now
reported upstream.  Reinstate the excelwriter tests.
[propagated-inputs]: Add python-xlsxwriter.
[native-inputs]: Remove python-nose.
2022-01-10 11:47:02 -05:00
Maxim Cournoyer
b92d09cda1
gnu: python-xlwt: Add comment about maintainership of the package.
The package appears to be abandoned.

* gnu/packages/python-xyz.scm (python-xlwt): Add comment.
2022-01-10 11:47:02 -05:00
Maxim Cournoyer
00bad443ef
gnu: python-openpyxl: Update to 3.0.9.
* gnu/packages/python-xyz.scm (python-openpyxl): Update to 3.0.9.
2022-01-10 11:47:01 -05:00
Maxim Cournoyer
0c83eca719
gnu: python-xlrd: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-xlrd): Update to 2.0.1.
[source]: Use git-fetch.
[arguments]: Delete field.
[native-inputs]: Add python-pytest.
2022-01-10 11:47:01 -05:00
Maxim Cournoyer
48baca342d
gnu: mutter: Add python to native inputs.
* gnu/packages/gnome.scm (mutter)[native-inputs]: Add python.
2022-01-10 11:47:01 -05:00
Maxim Cournoyer
ac1f60f4fe
gnu: libgweather: Add python to native inputs.
* gnu/packages/gnome.scm (libgweather)[native-inputs]: Add python.
2022-01-10 11:47:01 -05:00
Maxim Cournoyer
235a083103
gnu: baobab: Add python to native inputs.
* gnu/packages/gnome.scm (baobab)[native-inputs]: Add python.
2022-01-10 11:47:00 -05:00
Maxim Cournoyer
c1482ef315
gnu: python-pytest-timeout: Update to 2.0.2.
* gnu/packages/check.scm (python-pytest-timeout): Update to 2.0.2.
2022-01-10 11:47:00 -05:00
Leo Famulari
8636d02955
gnu: binutils: Fix CVE-2021-45078.
This is for the release branch.

Should we also use a graft for the master branch? It would be even
better if we could add a binutils-next package that users could install,
in my opinion.

* gnu/packages/patches/binutils-CVE-2021-45078.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (binutils)[source]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:46:57 -05:00