Commit graph

82864 commits

Author SHA1 Message Date
Ludovic Courtès
8531997d2a
packages: Add 'package-definition-location'.
Suggested by Maxime Devos <maximedevos@telenet.be>.

* guix/packages.scm (current-definition-location): New syntax parameter.
(define-public*): New macro.
(<package>)[definition-location]: New field.
(package-definition-location): New procedure.
* tests/packages.scm ("package-definition-location"): New test.
2021-09-13 12:31:10 +02:00
Ludovic Courtès
10c981b135
packages: Store 'location' field as a literal vector.
This is slightly more efficient than storing an alist in terms of .go
file size (< 1% smaller) and load time.

* guix/packages.scm (current-location-vector): New macro.
(sanitize-location): New procedure.
(<package>)[location]: Change 'default' and add 'sanitize'.
(package-location): New procedure.
2021-09-13 12:31:10 +02:00
Christine Lemmer-Webber
53f54d4aa2
Thank Christine under her updated name. 2021-09-12 22:52:58 -04:00
Vinicius Monego
518bb41e16
gnu: shotcut: Update to 21.08.29.
* gnu/packages/video.scm (shotcut): Update to 21.08.29.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-09-12 22:59:47 +03:00
Efraim Flashner
b4843738c2
gnu: rust-winreg-0.7: Skip build.
* gnu/packages/crates-io.scm (rust-winreg-0.7)[arguments]: Skip build.
2021-09-12 22:59:47 +03:00
Efraim Flashner
979b41a894
gnu: rust-winapi-x86-64-pc-windows-gnu@0.4: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu)[source]:
Add snippet to delete bundled libraries.
2021-09-12 22:59:47 +03:00
Efraim Flashner
b359ebec23
gnu: rust-winapi-i686-pc-windows-gnu@0.4: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu)[source]:
Add snippet to delete bundled libraries.
2021-09-12 22:59:43 +03:00
Oleg Pykhalov
9d9759f3ae
gnu: Add bird.
* gnu/packages/networking.scm (bird): New variable.
2021-09-12 22:44:06 +03:00
Leo Famulari
93fba676ba
gnu: btrfs-progs: Update to 5.14.
* gnu/packages/linux.scm (btrfs-progs): Update to 5.14.
2021-09-12 10:37:23 -04:00
Felix Gruber
3e9d717e54
gnu: pioneer: Update to 20210723.
* gnu/packages/games.scm (pioneer): Update to 20210723.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-09-12 16:04:28 +02:00
Tobias Geerinckx-Rice
ca23fd62f1
linux-boot: Remove mummified comment.
* gnu/build/linux-boot.scm (configure-qemu-networking): Delete 2014
comment about not doing something here.
2021-09-12 14:12:29 +02:00
Tobias Geerinckx-Rice
716448d7ab
gnu: Remove duplicate libxml++ packages.
Reported-by: Guillaume Le Vaillant <glv@posteo.net>

* gnu/packages/engineering.scm (freecad)[inputs]:
Replace libxmlplusplus-2 with libxml++-2.
* gnu/packages/music.scm (tascam-gtk)[inputs]:
Replace libxmlplusplus with libxml++.
* gnu/packages/xml.scm (libxmlplusplus, libxmlplusplus-2.4):
Remove unused variables.
2021-09-12 14:12:29 +02:00
Tobias Geerinckx-Rice
acbb904c67
gnu: libxml++: Update to 3.2.0.
…by merging the duplicate ‘libxmlplusplus’ package definition back into
‘libxml++’.

Reported-by: Guillaume Le Vaillant <glv@posteo.net>

* gnu/packages/gnome.scm (libxml++): Update to 3.2.0.
[source]: Build from git.
[home-page]: Adjust accordingly.
[arguments]: Add a 'fix-documentation phase.
[native-inputs]: Add autoconf, automake, doxygen, docbook-xml,
docbook-xsl, graphviz, libtool, libxslt, and mm-common.
(libxml++-2)[source]: Follow suit by building from git.
No other changes.
2021-09-12 14:12:29 +02:00
Raghav Gururajan
ff64cba2cc
gnu: Add python-django-localflavor.
* gnu/packages/django.scm (python-django-localflavor): New variable.

Co-authored-by: jgart <jgart@dismail.de>
2021-09-11 19:59:17 -04:00
Raghav Gururajan
73f68c1a45
gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs.
* gnu/packages/python-web.scm (python-wtforms)[version]: Update to 2.3.3.
[phases](remove-django-test): Remove phase.
(check): Replace with custom phase.
[native-inputs]: Remove unzip. Add python-coverage, python-dateutil,
python-pep8 and python-sqlalchemy.
[propagated-inputs]: Add python-babel, python-email-validaor and
python-markupsafe.

Co-authored-by: jgart <jgart@dismail.de>
2021-09-11 19:45:05 -04:00
Liliana Marie Prikler
87ec1ae95c
gnu: komikku: Update to 0.31.0.
* gnu/packages/gnome.scm (komikku): Update to 0.31.0.
2021-09-12 00:39:43 +02:00
Nicolas Goaziou
e02984ac4e
gnu: nauty: Update to 2.7r3.
* gnu/packages/maths.scm (nauty): Update to 2.7r3.
2021-09-11 23:15:02 +02:00
Nicolas Goaziou
8000f9aa9c
gnu: emacs-yasnippet-snippets: Update to 1.0.
* gnu/packages/emacs-xyz.scm (emacs-yasnippet-snippets): Update to 1.0.
2021-09-11 23:12:34 +02:00
Nicolas Goaziou
2496707aca
gnu: emacs-typescript-mode: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-typescript-mode): Update to 0.4.
2021-09-11 23:11:06 +02:00
Nicolas Goaziou
87bfea0cd5
gnu: emacs-evil-matchit: Update to 2.4.0.
* gnu/packages/emacs-xyz.scm (emacs-evil-matchit): Update to 2.4.0.
2021-09-11 23:09:55 +02:00
Nicolas Goaziou
f2bfb14585
gnu: emacs-consult-notmuch: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-consult-notmuch): Update to 0.5.
2021-09-11 23:02:34 +02:00
Nicolas Goaziou
3965ab882d
gnu: emacs-debbugs: Update to 0.29.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.29.
2021-09-11 23:01:14 +02:00
Nicolas Goaziou
5770f0954d
gnu: emacs-csv-mode: Update to 1.16.
* gnu/packages/emacs-xyz.scm (emacs-csv-mode): Update to 1.16.
2021-09-11 23:01:07 +02:00
Nicolas Goaziou
c8cb76e17e
gnu: castor: Update to 0.8.18.
* gnu/packages/web.scm (castor): Update to 0.8.18.
2021-09-11 22:58:26 +02:00
Leo Famulari
547256f29e
gnu: blanket: Update to 0.4.1.
* gnu/packages/task-management.scm (blanket): Update to 0.4.1.
2021-09-11 13:44:41 -04:00
Xinglu Chen
9875f9bca3
import: elpa: Don't hardcode default branch to 'master'.
Otherwise, remotes without a branch named 'master' will cause an error when
importing.

* guix/import/elpa (git-repository->origin): Fallback to HEAD instead of the
  'master' branch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-10 17:30:55 +02:00
Philip McGrath
87da416308
gnu: racket: suppress build stamp
The `build-stamp` configuration key should generally be set to an empty
string for a release build. The automatically inferred build stamp is
especially unhelpful with Guix, since it ends up being the Unix epoch.

* gnu/packages/racket.scm (racket-minimal)[arguments]: Adjust the
'initialize-config.rktd phase to set 'build-stamp to "".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-10 17:30:55 +02:00
Philip McGrath
fd22921490
gnu: racket: fix raco exe with non-minimal Racket
This commit backports an upstream repair for a bug exposed by Guix's
change in Racket 8.2 to make the `racket` package a layered/tethered
installation that chains to the `racket-minimal` package. When using a
layered/tethered installation, the `setup/variant` library would fail to
recognize the default Racet variant (CS, 3M, or CGC), leading to
confusing failures from `raco exe`, `create-embedding-executable`, and
other clients.

For further details, see <https://issues.guix.gnu.org/50118> and
<https://github.com/racket/racket/issues/3969>.

* gnu/packages/patches/racket-minimal-backport-1629887.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/racket.scm (racket-minimal)[source]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-10 17:30:55 +02:00
Ludovic Courtès
60b42bec84
swh: 'swh-download' reports revision lookup failures.
* guix/swh.scm (swh-download): Log lookup failures.
2021-09-10 17:30:54 +02:00
Ludovic Courtès
ff613c2b68
swh: Adjust to new vault API.
Previously the path to query the vault or request cooking of a directory
was /api/1/vault/directory/ID.  It is now deprecated in favor if
/api/1/vault/flat/SWHID.  This commit adjusts code accordingly and also
prepares for 'git-bare' support.

* guix/swh.scm (vault-url): New procedure.
(query-vault, request-cooking): Make 'kind' optional, and add #:archive-type.
Use 'vault-url'.
(vault-fetch): Make 'kind' optional and add #:archive-type.  Adjust
'query-vault' and 'request-cooking' calls accordingly.
2021-09-10 17:30:54 +02:00
Ludovic Courtès
163d6385fd
lint: archival: Warn about non-origin sources.
* guix/lint.scm (check-archival): Warn about non-origin sources.
2021-09-10 17:30:54 +02:00
Ludovic Courtès
cb06f7c61e
base32: Provide an open-coded 'bit-field'.
This improves the throughput of 'bytevector->base32-string' a bit.

* guix/base32.scm (bit-field): New macro.
2021-09-10 17:30:54 +02:00
Maxime Devos
a87d8c912d
base16: Reduce GC pressure in bytevector->base16-string.
This makes bytevector->base16-string two times faster.

* guix/base16.scm (bytevector->base16-string): Use utf8->string
  and iteration instead of string-concatenate and named let.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-10 17:30:54 +02:00
Ludovic Courtès
e11830d36e
gnu: llvm-for-rocm: Move to llvm.scm.
This removes a cross-module top-level reference, which could lead to
build errors when importing (gnu packages rocm) in another module.

* gnu/packages/rocm.scm (llvm-for-rocm): Move to...
* gnu/packages/llvm.scm (llvm-for-rocm): ... here.
2021-09-10 17:30:54 +02:00
Andreas Enge
eb319663d9
gnu: mpfrcx: Update to 0.6.3.
* gnu/packages/algebra.scm (mpfrcx): Update to 0.6.3.
2021-09-10 17:28:13 +02:00
Sarah Morgensen
63cc4dd579
gnu: go-github-com-urfave-cli-v2: Fix tests when building with Go 1.17.
* gnu/packages/patches/go-github-com-urfave-cli-v2-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/golang.scm (go-github-com-urfave-cli-v2)[origin]: Apply it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
f161f111e0
gnu: go-github-com-urfave-cli: Fix tests when building with Go 1.17.
* gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/golang.scm (go-github-com-urfave-cli)[origin]: Apply it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
4e1adbc3b0
gnu: go-github-com-sevlyar-go-daemon: Fix tests when building with Go 1.17.
* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon)[source]:
Add snippet to fix tests for go@1.17.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
49c6145b97
gnu: go-github-com-keybase-go-ps: Fix tests when building with Go 1.17.
* gnu/packages/golang.scm (go-github-com-keybase-go-ps)[arguments]
<#:phases>{fix-tests}: Remove extraneous build line to appease go@1.17.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:41 -04:00
Maxim Cournoyer
173b6f6f15
gnu: mailutils: Update to 3.13.
* gnu/packages/patches/mailutils-fix-uninitialized-variable.patch: Remove
patch.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/mail.scm (mailutils): Update to 3.13.  Remove the 2013
--with-sql option TODO comment; if someone needs that, they can send a patch.
[source]: Remove above patch.
[phases]{prepare-test-suite}: Also patch shell shebang in
'libmailutils/tests/lock.at' and 'imap4d/tests/testclient.c'.
[parallel-tests?]: Reinstate parallel tests.
[inputs]: Move m4 to...
[native-inputs]: ... here.  Add the autoconf, automake, gettext and libtool
quartet.
2021-09-09 20:48:31 -04:00
Maxim Cournoyer
d8a184f086
gnu: mailutils: Add a listing of the commands it contains.
To ease discovery of said commands.

* gnu/packages/mail.scm (mailutils)[description]: Include a listing of the
commands it contains.
2021-09-09 20:48:31 -04:00
Nicolas Goaziou
370d1cdb61
Revert "gnu: python-pikepdf: Update to 3.0.0."
This reverts commit 14bcd6804f. The library
fails to build.
2021-09-09 23:40:34 +02:00
Leo Famulari
cf4ccde47d
gnu: go-1.17: Update to 1.17.1.
* gnu/packages/golang.scm (go-1.17): Update to 1.17.1.
2021-09-09 16:54:05 -04:00
Sarah Morgensen
d36c73b8a8
gnu: Add go-1.17.
* gnu/packages.golang.scm (go-1.17): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 16:38:23 -04:00
Sarah Morgensen
14d8413fc5
gnu: go-1.16: Update to 1.16.8.
* gnu/packages/golang.scm (go-1.16): Update to 1.16.8.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 16:27:42 -04:00
Daniel Meißner
bae57cc7d2
gnu: python-decorator: Update to 5.0.9.
* gnu/packages/python-xyz.scm (python-decorator): Update to 5.0.9.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-09-09 22:26:13 +05:30
Alice BRENON
77674643a3
gnu: ghc-pandoc-types: Update home page.
* gnu/packages/haskell-xyz.scm (ghc-pandoc-types)[home-page]: Update.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-09-09 21:30:59 +05:30
Nicolas Goaziou
14bcd6804f
gnu: python-pikepdf: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 3.0.0.
2021-09-09 17:54:43 +02:00
Leo Famulari
73121dd88a
gnu: linux-libre 5.10: Update to 5.10.63.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.63.
(linux-libre-5.10-pristine-source): Update hash.
2021-09-09 09:58:55 -04:00
Leo Famulari
29c257047b
gnu: linux-libre: Update to 5.13.15.
* gnu/packages/linux.scm (linux-libre-5.13-version): Update to 5.13.15.
(linux-libre-5.13-pristine-source): Update hash.
2021-09-09 09:58:55 -04:00