Commit graph

60982 commits

Author SHA1 Message Date
Caleb Ristvedt
9af90aafdf
gnu: guile-fibers: Add patch to fix resource leak.
guile-fibers@1.0.0 has a resource leak where run-fibers will only destroy one
scheduler, but it creates as many as there are cpu cores by default (see
https://github.com/wingo/fibers/issues/36).  This causes the tests to fail on
systems with many cores, and can cause guile to crash under certain
circumstances.  This fixes that resource leak.  At present neither git master
nor the latest release has fixed this yet.

* gnu/packages/patches/guile-fibers-destroy-peer-schedulers.patch: New patch.
* gnu/local.mk: Add it to the list of patches.
* gnu/packages/guile-xyz.scm (guile-fibers): Use it.
2020-05-22 14:32:07 -05:00
Ludovic Courtès
50ea3135e0
gnu: bash: Do not autoload (gcrypt hash).
Fixes <https://bugs.gnu.org/41457>.
Reported by Matias Jose Seco Baccanelli <matias_jose_seco@autoproduzioni.net>.

* gnu/packages/bash.scm: Avoid #:autoload for (gcrypt hash).  On Guile 2.2,
autoloading would bring it not only the 'port-sha256' binding (as on
3.0) but also the 'sha256' binding.  As a result, use of 'sha256' in the
'origin' form wouldn't match.
2020-05-22 18:49:50 +02:00
Vinicius Monego
21051eb79e
gnu: Add glabels.
* gnu/packages/gnome.scm (glabels): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-05-22 17:45:19 +02:00
Jan Nieuwenhuizen
cd5d5f5322
doc: Update 'Bootstrapping' for further binary seed reduction.
* doc/images/gcc-core-mesboot0-graph.dot: New image, replacing
* doc/images/gcc-mesboot0-bag-graph.dot: ... remove file.
* doc/local.mk (DOT_FILES): Update for new image file.
* doc/guix.texi (Reduced Binary Seed Bootstrap): Use it in updated description
of further reduction of the trusted computing base.
2020-05-22 16:11:52 +02:00
Efraim Flashner
d8feee9f18
gnu: freeipmi: Don't build static libraries.
This shrinks the size of the package by about 33%.

* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add configure-flag to
disable static libraries.
2020-05-22 11:00:06 +03:00
Efraim Flashner
0bdfae5363
gnu: freeipmi: Update to 1.6.5.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.6.5.
2020-05-22 10:55:09 +03:00
Ludovic Courtès
ef1d475b00
gnu: llvm: Remove unused 'package-elisp-from-package' procedure.
This private procedure had been unused since
3a3d4d9d54.

* gnu/packages/llvm.scm (package-elisp-from-package): Remove.
2020-05-22 01:30:10 +02:00
Ludovic Courtès
c7d2dd6900
upstream: Use 'origin-hash'.
* guix/upstream.scm (update-package-source): Use 'origin-hash' instead
of 'origin-sha256'.
2020-05-22 01:30:10 +02:00
Ludovic Courtès
feea1d0e62
lint: archival: Use 'origin-hash'.
* guix/lint.scm (check-archival): Use 'origin-hash' instead of
'origin-sha256', removing hard-coded "sha256".
2020-05-22 01:30:09 +02:00
Ludovic Courtès
ce0be5675b
packages: Introduce <content-hash> and use it in <origin>.
* guix/packages.scm (<content-hash>): New record type.
(define-content-hash-constructor, build-content-hash)
(content-hash): New macros.
(print-content-hash): New procedure.
(<origin>): Rename constructor to '%origin'.
[sha256]: Remove field.
[hash]: New field.  Adjust users.
(origin-compatibility-helper, origin): New macros.
(origin-sha256): New deprecated procedure.
(origin->derivation): Adjust accordingly.
* tests/packages.scm ("package-source-derivation, origin, sha512"): New
test.
* guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax
matching.
* tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users.
* tests/derivations.scm: Likewise.
* tests/store.scm: Likewise.
* tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field
with the right length.
* gnu/packages/aspell.scm (aspell-dictionary)
(aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for
proper syntax matching.
* gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'.
* gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'.
* gnu/packages/readline.scm (readline-patch): Likewise.
* gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to
'sha256-bv'.
* guix/import/utils.scm: Hide (gcrypt hash) 'sha256'.
2020-05-22 01:29:39 +02:00
Ludovic Courtès
56f7ca6e7c
packages: Add 'base64' macro.
* guix/packages.scm (define-compile-time-decoder): New macro.
(base32): Redefine in terms of it.
(base64): New macro.
2020-05-22 00:35:24 +02:00
Ludovic Courtès
0e4e9c8e76
guix hash, guix download: Support base64 format.
* guix/scripts/download.scm (show-help, %options): Support "base64"
format.
* guix/scripts/hash.scm (show-help, %options): Likewise.
* tests/guix-hash.sh: Test it.
* doc/guix.texi (Invoking guix hash): Document it.
2020-05-22 00:35:24 +02:00
Ludovic Courtès
18ae1ec3ec
guix hash, guix download: Add '--hash'.
* guix/scripts/download.scm (%default-options): Add 'hash-algorithm'.
(show-help, %options): Add "--hash".
(guix-download): Honor it.
* guix/scripts/hash.scm (%default-options): Add 'hash-algorithm'.
(show-help, %options): Add "--hash".
(guix-hash): Honor it.
* tests/guix-hash.sh: Test '-H sha512'.
* doc/guix.texi (Invoking guix download): Document it.
(Invoking guix hash): Document it.
2020-05-22 00:35:24 +02:00
Ludovic Courtès
9418aaa00d
tests: Test fixed-output derivations with several hash algorithms.
* tests/derivations.scm ("fixed-output derivation"): Test several hash
algorithms.
2020-05-22 00:35:23 +02:00
Ludovic Courtès
73b27eaa64
tests: Test 'add-to-store' with several hash algorithms.
* tests/store.scm ("add-to-store"): New test.
2020-05-22 00:35:23 +02:00
Ludovic Courtès
1ad5209d90
maint: Add "make check-channel-news".
* build-aux/check-channel-news.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(check-channel-news): New phony rule.
* doc/contributing.texi (Commit Access): Mention "make check-channel-news".
2020-05-22 00:35:23 +02:00
Ludovic Courtès
5e46b827cf
doc: Use "Alternatively" instead of "Alternately".
These two words have different meanings and we really meant
"alternatively" here.

* doc/guix.texi (System Installation):
(Preparing for Installation):
(Invoking guix refresh):
(Invoking guix challenge):
(Networking Services): "Alternatively", not "Alternately".
2020-05-22 00:35:23 +02:00
Tobias Geerinckx-Rice
1ce1583186
gnu: font-abattis-cantarell: Update to 0.201.
* gnu/packages/fonts.scm (font-abattis-cantarell): Update to 0.201.
[native-inputs]: Remove appstream-glib.
2020-05-21 22:14:40 +02:00
Tobias Geerinckx-Rice
0b7fd22539
gnu: liblcf: Update to 0.6.2.
* gnu/packages/easyrpg.scm (liblcf): Update to 0.6.2.
2020-05-21 22:14:40 +02:00
Tobias Geerinckx-Rice
6381565d9d
gnu: opensmtpd: Update to 6.7.1p1.
* gnu/packages/mail.scm (opensmtpd): Update to 6.7.1p1.
2020-05-21 22:14:40 +02:00
Tobias Geerinckx-Rice
d4d9f882a3
gnu: edgar: Update to 1.33.
* gnu/packages/games.scm (edgar): Update to 1.33.
2020-05-21 22:14:40 +02:00
Efraim Flashner
c743a9189c
gnu: kodi: Update to 18.7.
* gnu/packages/kodi.scm (kodi): Update to 18.7.
2020-05-21 23:08:53 +03:00
Marius Bakke
b4f04e0eff
gnu: cogl: Enable tests.
* gnu/packages/gnome.scm (cogl)[native-inputs]: Add XORG-SERVER-FOR-TESTS.
[arguments]: Remove #:tests?.  Add #:disallowed-references.  Add #:phases to
prepare test environment.
2020-05-21 21:55:23 +02:00
Marius Bakke
29f4bb2e91
gnu: cogl: Update to 1.22.6.
* gnu/packages/gnome.scm (cogl): Update to 1.22.6.
2020-05-21 21:55:22 +02:00
Marius Bakke
a011f67b07
gnu: ruby-fakefs: Fix lonely parens.
* gnu/packages/ruby.scm (ruby-fakefs)[arguments]: Move dangling parents up.
2020-05-21 21:55:22 +02:00
Efraim Flashner
c8b8e612dd
gnu: gnuastro: Don't build static libraries.
* gnu/packages/astronomy.scm (gnuastro)[arguments]: Add configure-flag
to skip building static libraries.
2020-05-21 16:52:04 +03:00
Efraim Flashner
276d711518
gnu: gnuastro: Update to 0.12.
* gnu/packages/astronomy.scm (gnuastro): Update to 0.12.
2020-05-21 16:52:04 +03:00
Tobias Geerinckx-Rice
f2de892b37
gnu: http-parser: Fix build [and guix pull!] on i686-linux.
This follows up on commit 5c30eb61d7.

* gnu/packages/web.scm (http-parser)[source]: Apply the armhf patch not
here…
[arguments]: …but in a phase & only on armhf-linux.
[native-inputs]: Add it on armhf-linux.
2020-05-21 14:54:48 +02:00
Tobias Geerinckx-Rice
1476ea0e55
gnu: mpop: Update to 1.4.9.
* gnu/packages/mail.scm (mpop): Update to 1.4.9.
2020-05-21 14:54:48 +02:00
Tobias Geerinckx-Rice
c1ab9e881a
gnu: uhttpmock: Don't use NAME in source URI.
* gnu/packages/web.scm (uhttpmock)[source]: Hard-code NAME.
2020-05-21 14:54:48 +02:00
Tobias Geerinckx-Rice
1ee8b7192c
gnu: criu: Download sources over HTTPS.
* gnu/packages/virtualization.scm (criu)[source]: Use HTTPS.
2020-05-21 14:54:48 +02:00
Paul Garlick
a7f89f97b7
gnu: ikiwiki: Add missing input.
* gnu/packages/web.scm (ikiwiki)[inputs]: Add perl-xml-feed.
[arguments]: Add 'pre-check' phase.
2020-05-21 13:23:41 +01:00
Paul Garlick
40b793fd51
gnu: perl-xml-feed: Propagate inputs.
* gnu/packages/xml.scm (perl-xml-feed)[inputs]: Move to...
[propagated-inputs]: ...here.
2020-05-21 13:23:40 +01:00
Paul Garlick
2ee918777b
gnu: perl-xml-feed: Enable tests.
* gnu/packages/xml.scm (perl-xml-feed)[arguments]: Remove field.
2020-05-21 13:23:39 +01:00
Paul Garlick
f2a53a4a9c
gnu: perl-xml-feed: Add missing inputs.
* gnu/packages/xml.scm (perl-xml-feed)[inputs]: Add
perl-datetime-format-flexible, perl-datetime-format-iso8601 and
perl-datetime-format-natural.
2020-05-21 13:23:38 +01:00
Paul Garlick
e5082a1e6a
gnu: Add perl-datetime-format-iso8601.
* gnu/packages/perl.scm (perl-datetime-format-iso8601): New variable.
2020-05-21 13:23:37 +01:00
Paul Garlick
ab82124f0e
gnu: Add perl-test-distribution.
* gnu/packages/perl-check.scm (perl-test-distribution): New variable.
2020-05-21 13:23:24 +01:00
Ekaitz Zarraga
cf1518f581
gnu: Add libfreenect.
* gnu/packages/openkinect.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2020-05-21 19:19:58 +08:00
Florian Pelz
fabfa9afb4
news: Add ‘de’ translation.
* etc/news.scm: Add a ‘de’ translation.
2020-05-21 09:54:48 +00:00
Pierre Neidhardt
0fadc00a1a
gnu: cl-cffi-gtk-gobject: Fix build with new sbcl-package->cl-source-package function.
* gnu/packages/lisp-xyz.scm (sbcl-cl-cffi-gtk-boot0)[inputs]: Add all inputs.
[arguments]: Patch whole source.
(sbcl-cl-cffi-gtk-glib)[inputs]: Remove glib.
(sbcl-cl-cffi-gtk-glib)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-gobject)[inputs]: Remove glib.
(sbcl-cl-cffi-gtk-gobject)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-gio)[inputs]: Remove glib.
(sbcl-cl-cffi-gtk-gio)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-cairo)[inputs]: Remove cairo.
(sbcl-cl-cffi-gtk-cairo)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-pango)[inputs]: Remove pango.
(sbcl-cl-cffi-gtk-pango)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-gdk-pixbuf)[inputs]: Remove gdk-pixbuf.
(sbcl-cl-cffi-gtk-gdk-pixbuf)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk-gdk-gdk)[inputs]: Remove gtk+.
(sbcl-cl-cffi-gtk-gdk-gdk)[arguments]: Reuse boot0 source.
(sbcl-cl-cffi-gtk)[arguments]: Reuse boot0 source.
2020-05-21 11:53:06 +02:00
Pierre Neidhardt
c6201ab9dc
gnu: cl-iolib: Propagate libfixposix or else it won't compile.
* gnu/packages/lisp-xyz.scm (cl-iolib)[propagated-inputs]: Add libfixposix.
2020-05-21 11:53:06 +02:00
Pierre Neidhardt
09db7f39ba
gnu: cl-dexador: Fix build with new sbcl-package->cl-source-package function.
* gnu/packages/lisp-xyz.scm (cl-dexador)[arguments]: Remove
  'reset-gzip-timestamps phase.
2020-05-21 11:53:06 +02:00
Pierre Neidhardt
c3f1f09586
build: asdf-build-system: Use SBCL source in CL packages.
* guix/build/asdf-build-system.scm (copy-files-to-output): Don't attempt to
  reset timestamps on files without write access.
  (install): When parent SBCL package is in the inputs, use its source.  This
  way we get possibly patched sources in CL packages as well (e.g. for FFI).
  This is also useful for sources that generate files on load-op, like cl-unicode.

* guix/build-system/asdf.scm (package-with-build-system): Forward the SBCL
  parent as a native input so that it can be used in the above install phase.
2020-05-21 11:53:06 +02:00
Efraim Flashner
a0828560b5
gnu: boost-for-mysql: Fix building.
Co-authored with Jonathan Brielmaier <jonathan.brielmaier@web.de>

* gnu/packages/boost.scm (boost-for-mysql)[arguments]: Replace inherited
'configure, phase remove references to python and update the substitute
regex for boost-1.59. Absorb 'more-bin-sh-patching into 'configure.Adjust
make-flags to always pass '--without-python'.
[native-inputs]: Remove python.
2020-05-21 11:34:38 +03:00
Tobias Geerinckx-Rice
8825a01b39
gnu: ncmpc: Update to 0.38.
* gnu/packages/mpd.scm (ncmpc): Update to 0.38.
2020-05-21 06:23:43 +02:00
Tobias Geerinckx-Rice
b82a45d804
gnu: shotwell: Update to 0.30.9.
* gnu/packages/gnome.scm (shotwell): Update to 0.30.9.
2020-05-21 06:02:11 +02:00
Tobias Geerinckx-Rice
3cc6412056
gnu: tuxguitar: Update to 1.5.4.
* gnu/packages/music.scm (tuxguitar): Update to 1.5.4.
2020-05-21 06:02:11 +02:00
Tobias Geerinckx-Rice
70f5cabc29
gnu: xfwm4: Update to 4.14.2.
* gnu/packages/xfce.scm (xfwm4): Update to 4.14.2.
2020-05-21 06:02:11 +02:00
Tobias Geerinckx-Rice
b91dcefda1
gnu: patchage: Update to 1.0.2.
* gnu/packages/audio.scm (patchage): Update to 1.0.2.
2020-05-21 06:02:11 +02:00
Tobias Geerinckx-Rice
32cde877ee
gnu: ganv: Update to 1.6.0.
* gnu/packages/gtk.scm (ganv): Update to 1.6.0.
[arguments]: Don't override #:python.
2020-05-21 06:02:11 +02:00