Commit graph

80732 commits

Author SHA1 Message Date
Joshua Branson
c2ff06e5e4
doc: Add guide showing auto-login on a specific TTY to the cookbook.
This is a follow-up to the discussion in <https://bugs.gnu.org/48974>.

* doc/guix-cookbook.texi (System Configuration): Add a brief guide that
explains auto login a user to one TTY.

* doc/guix.texi (System Services): Add an texinfo anchor, so that the cookbook
entry "Auto Login a User to a Specific TTY" can refer back to the precise
point that the GNU Guix Reference manual.  Also add a reference to the
cookbook that shows how to auto login a specific user to one TTY.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-07-07 11:13:38 +02:00
Maxime Devos
eac82c0e0a
lint: Lint usages of 'wrap-program' without a "bash" input.
When using 'wrap-program', "bash" (or "bash-minimal") should be
in inputs.  Otherwise, when cross-compiling, 'wrap-program' will use
a native bash instead of the cross bash and the 'patch-shebangs' won't
be able to correct this.

Tobias Geerinckx-Rice is added to the copyright lines because
a part of the "straw-viewer" package definition is included.

This linter detects 365 problematic package definitions at time
of writing.

* guix/lint.scm
  (report-wrap-program-error): New procedure.
  (check-wrapper-inputs): New linter.
  (%local-checkers)[wrapper-inputs]: Add the new linter.
  ("explicit #:sh argument to 'wrap-program' is acceptable")
  ("'check-wrapper-inputs' detects 'wrap-program' without \"bash\" in inputs")
  ("'check-wrapper-inputs' detects 'wrap-qt-program' without \"bash\" in inputs")
  ("\"bash\" in 'inputs' satisfies 'check-wrapper-inputs'")
  ("\"bash-minimal\" in 'inputs' satisfies 'check-wrapper-inputs'")
  ("'cut' doesn't hide bad usages of 'wrap-program'")
  ("bogus phase specifications don't crash the linter"): New tests.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-07 10:00:52 +02:00
Maxime Devos
a8e4c158f9
lint: Define some procedures for analysing code in phases.
* guix/lint.scm
  (check-optional-tests): Extract logic for extracting the phases from a
  package to ...
  (find-phase-deltas): ... here, and ...
  (report-bogus-phase-deltas): ... here.
  (check-optional-tests)[check-check-procedure]: Extract code for extracting
  the procedure body to ...
  (find-procedure-body) ... here.
  (find-phase-procedure): New procedure.
  (report-bogus-phase-procedure): New procedure.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-07 10:00:52 +02:00
Efraim Flashner
8333673c4c
gnu: julia: Adjust make-flags.
* gnu/packages/julia.scm (julia)[arguments]: Adjust architecture
specific make-flags for some architectures.
2021-07-07 09:10:44 +03:00
Efraim Flashner
4b4d4d7bae
gnu: openblas: Fix building on powerpc64le-linux.
* gnu/packages/maths.scm (openblas)[arguments]: Add make-flags to enable
building for powerpc64le-linux.
2021-07-07 09:10:44 +03:00
Efraim Flashner
67ce43c0d3
gnu: openblas: Fix building on armhf-linux.
* gnu/packages/maths.scm (openblas)[arguments]: Add make-flag to set
target architecture.
2021-07-07 09:10:44 +03:00
Raghav Gururajan
f480f27c9c
gnu: ytfzf: Fix loading of thumbnails.
* gnu/packages/patches/ytfzf-programs.patch: Modify.
2021-07-07 01:53:39 -04:00
Leo Famulari
601063c612
gnu: Mutt: Update to 2.1.0.
* gnu/packages/mail.scm (mutt): Update to 2.1.0.
2021-07-06 19:13:17 -04:00
Vinicius Monego
2252abce05
gnu: shotcut: Update to 21.06.29.
* gnu/packages/video.scm (shotcut): Update to 21.06.29.
[arguments]{#:phases}: Don't return #t.
[inputs]: Use MLT 7.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-06 19:13:17 -04:00
Vinicius Monego
37ce56af34
gnu: Add MLT 7.
* gnu/packages/video.scm (mlt): New variable.
(mlt-6): Inherit from above.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-06 19:13:16 -04:00
Vinicius Monego
0913843efc
gnu: mlt: Rename to mlt-6.
* gnu/packages/video.scm (mlt): Rename to mlt-6.
[build-system]: Use cmake-build-system.
[arguments]: Remove #:make-flags. Adjust 'override-LDFLAGS phase.
{#:configure-flags}: Remove --enable-gpl3 and --enable-gpl. Set
"GTK2_GDKCONFIG_INCLUDE_DIR" and "GTK2_GLIBCONFIG_INCLUDE_DIR".
(shotcut): Use mlt-6.
* gnu/packages/animation.scm (synfig): Use mlt-6.
* gnu/packages/kde.scm (kdenlive): Use mlt-6.

This change is to add MLT 7 which will be done in the next commit.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-06 19:13:16 -04:00
Vinicius Monego
177ff0775b
gnu: rtaudio: Fix include path.
* gnu/packages/audio.scm (rtaudio)[arguments]: Add phase 'fix-inc-path to move
the header to where pkg-config expects it.
* gnu/packages/music.scm (muse-sequencer)[arguments]{#:phases}: Remove
'fix-include. Don't return #t.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-06 19:13:13 -04:00
Raghav Gururajan
ffc04f5cc6
gnu: ytfzf: Use patches inside source block, instead of inputs.
* gnu/packages/image-viewers.scm (ytfzf)[patches]: Add ytfzf-programs.patch
and ytfzf-updates.patch.
[phases](apply-patches): Remove phase.
[native-inputs]: Remove ytfzf-programs and ytfzf-updates.
2021-07-06 09:08:29 -04:00
Raghav Gururajan
aa6e6fb2e9
gnu: Add ytfzf.
* gnu/packages/image-viewers.scm (ytfzf): New variable.

Co-authored-by: jgart <jgart@dismail.de>
2021-07-06 01:27:29 -04:00
Raghav Gururajan
5d10d84f5a
gnu: Add python-ueberzug.
* gnu/packages/python-xyz.scm (python-ueberzug): New variable.

Co-authored-by: jgart <jgart@dismail.de>
2021-07-06 01:21:45 -04:00
Chris Marusich
586136d127
doc: Change Debbugs usertags user to "guix".
* doc/contributing.texi (Debbugs Usertags): Change the user for usertags from
"guix-devel@gnu.org" to "guix".  This was discussed on the guix-devel email
list: <https://lists.gnu.org/archive/html/guix-devel/2021-06/msg00212.html>.
2021-07-05 21:11:13 -07:00
Maxim Cournoyer
38bcef1c3b
guix: docker: Ensure repository name length limits are met.
* guix/docker.scm (canonicalize-repository-name): Fix typo in doc.  Capture
repository name length limits and ensure they are met, by either truncating or
padding the normalized name.

Reported-by: Ludovic Courtès <ludo@gnu.org>
2021-07-05 16:34:07 -04:00
Julien Lepiller
4fa62cf702
gnu: ocaml-earley: Update to 3.0.0.
* gnu/packages/ocaml.scm (ocaml-earley): Update to 3.0.0.  Use latest
ocaml version.
2021-07-05 16:54:14 +02:00
Julien Lepiller
ef79d6c5d6
gnu: Add ocaml-sqlite3.
* gnu/packages/ocaml.scm (ocaml-sqlite3): New variable.
(ocaml4.07-sqlite3): Inherit from ocaml-sqlite3.
* gnu/packages/bioinformatics.scm (pplacer): Also use package-with-ocaml4.07
with ocaml-sqlite3.
2021-07-05 16:54:11 +02:00
Julien Lepiller
45940f59aa
guix: opam: Allow for whitespace at the start of an opam file.
* guix/import/opam.scm (records): Accept whitespace at the beginning.
2021-07-05 16:54:05 +02:00
Ricardo Wurmus
685cfdec94
gnu: conda: Update to 4.10.3.
* gnu/packages/package-management.scm (conda): Update to 4.10.3.
[arguments]: Add phase fix-ruamel-yaml-dependency; disable three more tests;
remove sudo workaround in "init" phase.
[native-inputs]: Add python-pytest-timeout.
2021-07-05 15:05:36 +02:00
Ricardo Wurmus
e057e93069
gnu: python-conda-package-handling: Update to 1.7.3.
* gnu/packages/package-management.scm (python-conda-package-handling): Update
to 1.7.3.
[arguments]: Run all tests in check phase.
[native-inputs]: Add python-pytest-mock.
2021-07-05 15:05:36 +02:00
Ricardo Wurmus
58f0913fad
gnu: python-anaconda-client: Update to 1.8.0.
* gnu/packages/package-management.scm (python-anaconda-client): Update to
1.8.0.
[propagated-inputs]: Add python-nbformat.
[native-inputs]: Add python-freezegun.
(python2-anaconda-client): Remove variable.
2021-07-05 15:05:36 +02:00
Nicolas Goaziou
f7692617b6
gnu: rust-predicates-2: Fix build.
* gnu/packages/crates-io.scm (rust-predicates-2)[arguments]
<#:cargo-development-inputs>: Add missing input.
2021-07-05 13:24:42 +02:00
Charles
ac42b51273
gnu: Add cl-hunchenissr-routes.
* gnu/packages/lisp-xyz.scm (sbcl-hunchenissr-routes, ecl-hunchenissr-routes,
  cl-hunchenissr-routes): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-05 10:10:30 +02:00
Charles
a140ecee8d
gnu: Add cl-hunchenissr.
* gnu/packages/lisp-xyz.scm (sbcl-hunchenissr, ecl-hunchenissr,
  cl-hunchenissr): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-05 10:10:30 +02:00
Charles
16418a974f
gnu: Add cl-portal.
* gnu/packages/lisp-xyz.scm (sbcl-portal, ecl-portal, cl-portal): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-07-05 10:10:30 +02:00
Morgan Smith
911038e874
gnu: vim: Install manpages
* gnu/packages/vim.scm (vim)[arguments]<#:phases>: Add fix-install.sh phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:55:04 +03:00
Sarah Morgensen
b1a419ea3f
import: go: Replace tildes with hyphens in package names.
Fixes <https://issues.guix.gnu.org/48111>.

* guix/import/go.scm (go-module->guix-package-name): Replace tildes with
hyphens.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-07-05 09:54:12 +02:00
Nicolas Goaziou
df97c01522
gnu: rust-quick-xml-0.22: Fix build.
* gnu/packages/crates-io.scm (rust-quick-xml-0.22)[arguments]
<#:cargo-development-inputs>: Add missing inputs.
2021-07-05 09:33:35 +02:00
Nicolas Goaziou
fe565ffa22
gnu: Add rust-serde-value-0.7.
* gnu/packages/crates-io.scm (rust-serde-value-0.7): New variable.
(rust-serde-value-0.6): Inherit from above.
2021-07-05 09:32:43 +02:00
Xinglu Chen
220c8dc25b
gnu: emacs-transient: Update to 0.3.6.
* gnu/packages/emacs-xyz.scm (emacs-transient): Update to 0.3.6.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-07-05 09:24:27 +02:00
Nicolas Goaziou
9ea656c345
gnu: monolith: Update to 2.6.1.
* gnu/packages/web.scm (monolith): Update to 2.6.1.
2021-07-05 09:21:30 +02:00
Nicolas Goaziou
f0fe5f69e8
gnu: rust-reqwest-0.11: Update to 0.11.4.
* gnu/packages/crates-io.scm (rust-reqwest-0.11): Update to 0.11.4.
2021-07-05 09:21:30 +02:00
Nicolas Goaziou
ffc389ea61
gnu: rust-assert-cmd-1: Update to 1.0.7.
* gnu/packages/crates-io.scm (rust-assert-cmd-1): Update to 1.0.7.
2021-07-05 09:21:30 +02:00
Nicolas Goaziou
c64fabcdef
gnu: Add rust-predicates-2.
* gnu/packages/crates-io.scm (rust-predicates-2): New variable.
(rust-predicates-1): Inherit from above.
2021-07-05 09:21:29 +02:00
Nicolas Goaziou
c1cf93307d
gnu: Add rust-difflib-0.4.
* gnu/packages/crates-io.scm (rust-difflib-0.4): New variable.
2021-07-05 09:21:01 +02:00
zimoun
656a1b6391
gnu: python2-pgpdump: Remove package.
* gnu/packages/python-crypto.scm (python2-pgpdump): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:35 +03:00
zimoun
64c181d5a9
gnu: python2-pyfakefs: Remove package.
* gnu/packages/check.scm (python2-pyfakefs): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:33 +03:00
zimoun
8b7a878de2
gnu: python2-pyzmq: Remove package.
* gnu/packages/python-xyz.scm (python2-pyzmq): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:32 +03:00
zimoun
fc288283d8
gnu: python2-testpath: Remove package.
* gnu/packages/check.scm (python2-testpath): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:30 +03:00
zimoun
46e465f2d0
gnu: python2-toolz: Remove package.
* gnu/packages/python-xyz.scm (python2-toolz): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:29 +03:00
zimoun
b4ba0ddc3d
gnu: python2-terminado: Remove package.
* gnu/packages/python-web.scm (python2-terminado): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:27 +03:00
zimoun
a92eac4107
gnu: python2-nbformat: Remove package.
Follow the remove of 'python2-jupyter-core' by commit
a0a8fdeaf2.

* gnu/packages/python-xyz.scm (python2-nbformat): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:26 +03:00
zimoun
cec2e07ec5
gnu: python2-ipython: Remove package.
Commit a0a8fdeaf2 removed the variable
'python2-jupyer-core' which breaks the dependency 'python2-nbformat'.

* gnu/packages/python-xyz.scm (python2-ipython): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:24 +03:00
zimoun
29b2e67d64
gnu: python2-jupyter-client: Remove package.
* gnu/packages/python-xyz.scm (python2-jupyter-client): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:06 +03:00
zimoun
032f4598f5
gnu: python2-nbconvert: Remove package.
* gnu/packages/python-xyz.scm (python2-nbconvert): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:14:02 +03:00
Matthew James Kraai
0ec7559875
gnu: mbedtls-apache: Update to 2.26.0.
* gnu/packages/tls.scm (mbedtls-apache): Update to 2.26.0.
[source]: Add snippet.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-05 10:05:07 +03:00
Nicolas Goaziou
e5a8477612
gnu: emacs-slime-volleyball: Update to 1.2.0.
* gnu/packages/emacs-xyz.scm (emacs-slime-volleyball): Update to 1.2.0.
2021-07-05 08:46:58 +02:00
Nicolas Goaziou
a8d1469f9a
gnu: emacs-pyim: Update to 3.8.3.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.8.3.
2021-07-05 08:46:51 +02:00