Archived
1
0
Fork 0
Commit graph

82371 commits

Author SHA1 Message Date
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
Chris Marusich
68b0e0d511
gnu: Disable more LuaJIT components on powerpc64le systems.
Fixes: <https://bugs.gnu.org/49218>.

* gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add
"--disable-luajithbtex" on powerpc64le systems.
(texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-formats
list on powerpc64le systems.
2021-07-06 17:54:20 -07: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
Efraim Flashner
4407ad0fd7
gnu: bc: Don't duplicate bootstrap phase.
* gnu/packages/algebra.scm (bc)[arguments]: Use custom 'autoconf phase
to replace standard 'bootstrap phase.
2021-07-06 12:49:52 +03:00
Ludovic Courtès
eeedb328da
gnu: gcc: Fix cross-compilation.
This fixes cross-compilation of GCC, as in:

  guix build --target=aarch64-linux-gnu -e '(@ (gnu packages gcc) gcc-10)'

* gnu/packages/gcc.scm (gcc-canadian-cross-objdump-snippet): New variable.
(gcc-5)[source]: Use it instead of inline 'snippet'.
(gcc-8)[source]: Add 'modules' and 'snippet'.
(gcc-9)[source]: Likewise.
(gcc-10)[source]: Likewise.
(gcc-11)[source]: Likewise.
2021-07-06 08:50:31 +02: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
Ludovic Courtès
dbacdb8c03
gnu: bootstrap-tarballs: Turn builder into a gexp.
* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Turn
 #:builder into a gexp.
2021-07-05 23:57:20 +02: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
Ludovic Courtès
8740a62b6b
gnu: bootstrap-tarballs: Fix build.
* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Make
'use-modules' the first expression.  Failing that, 'match' would not be
properly expanded when running on Guile 3.0.
2021-07-05 22:18:23 +02:00
Ludovic Courtès
6265c004cb
gnu: texlive: Fix Texinfo markup in descriptions.
* gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix
Texinfo markup.
(texlive-generic-etexcmds)[description]: Likewise.
(texlive-generic-kvdefinekeys)[description]: Likewise.
2021-07-05 16:54:25 +02: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
Ludovic Courtès
87d37a02f7
tests: Fix typo in 'tests/store.scm'.
This typo had always been there since the test was introduced in commit
ce72c78074.  Presumably, it became visible
with 9e5812ac59, where caching was no
longer global and thus the 'store' argument of 'package-derivation' was
actually being used.

* tests/store.scm ("current-build-output-port, UTF-8"): Refer to
'%store' rather than 's' in 'package-derivation' call.
2021-07-05 16:43:37 +02:00
Ludovic Courtès
7d8c8b3194
build-system/trivial: Honor build inputs when cross-compiling.
Fixes a regression introduced in
7d873f194c whereby host inputs would be
missing altogether from '%build-inputs', which broke cross-compilation.

* guix/build-system/trivial.scm (trivial-cross-build): Append
HOST-INPUTS to the 'with-build-variables' argument.
2021-07-05 16:26:54 +02:00
Ludovic Courtès
9ac9df25a1
ci: Change "core" subset to include the latest GCC and Guile.
* gnu/ci.scm (%core-packages): Replace GCC-7 by GCC-11 and GUILE-2.0 by
GUILE-3.0.
2021-07-05 16:09:03 +02:00
Ludovic Courtès
d8fdd1c74a
tests: Adjust Python "sanity" check tests.
This is a followup to 09448c0994.

The 'check-build-failure' procedure would not actually check anything
since it did not call 'build-derivations'.  However, it was throwing an
exception for unrelated reasons, so the tests would pass.

* tests/builders.scm (check-build-failure): Use 'guard' instead of
'false-if-exception'.  Call 'build-derivations' to actually check for
build failures.
2021-07-05 15:41:45 +02:00
Ludovic Courtès
99ea6a2996
tests: Unset NIX_STORE_DIR when running external tests.
This is a followup to cfcead2e51 and
47a6a938c3, which made (guix packages)
dependent on the value of NIX_STORE_DIR.

* guix/tests.scm (call-with-external-store): Unset NIX_STORE_DIR before
calling PROC.
2021-07-05 15:34:24 +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
Sarah Morgensen
5318bade32
gnu: custom-gcc: Update regex for removing executables.
Do not match "gccgo". Match "gcov-dump" and "gcov-tool", as well as
"lto-dump" (which was introduced in GCC 10).

* gnu/packages/gcc.scm (custom-gcc)[arguments]: Update regex used for
matching broken or conflicting executables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-05 13:12:03 +02:00
Ludovic Courtès
a159586f8a
gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.
* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags
on non-x86 platforms.
2021-07-05 12:53:05 +02:00
Ludovic Courtès
8a48302318
build-system/gnu: Define '%build-inputs' when cross-compiling.
Reported by Maxime Devos.

* guix/build-system/gnu.scm (gnu-cross-build)[builder]: Define
'%build-inputs' as it existed before
7d873f194c.
2021-07-05 12:35:29 +02:00
Thiago Jung Bauermann
04f9f9158d
build-system/texlive: Change default format to pdftex
LuaTeX has a bug where sometimes it corrupts the heap and aborts. This
causes the build of texlive packages to fail at random. The problem is
being tracked at https://issues.guix.gnu.org/48064.

While a fix isn't found, switch the default TeX format (and consequently
also the engine) to pdftex to avoid the issue.

* guix/build-system/texlive.scm (texlive-build): Change default value of
the ‘tex-format’ key parameter to “pdftex”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-05 11:13:46 +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