Commit graph

60975 commits

Author SHA1 Message Date
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
Tobias Geerinckx-Rice
b3200505ef
gnu: python-apipkg: Update to 1.5.
* gnu/packages/python-xyz.scm (python-apipkg): Update to 1.5.
[native-inputs]: Add python-setuptools-scm.
2020-05-21 06:02:10 +02:00
Tobias Geerinckx-Rice
0523ab2cb2
gnu: python-apipkg: Remove Python 2 variant.
* gnu/packages/python-xyz.scm (python2-apipkg): Remove variable.
2020-05-21 06:02:10 +02:00
Tobias Geerinckx-Rice
5098b90bf5
gnu: python-pytest-sugar: Update to 0.9.3.
* gnu/packages/check.scm (python-pytest-sugar): Update to 0.9.3.
2020-05-21 06:02:10 +02:00
Tobias Geerinckx-Rice
102fd8c7f4
gnu: criu: Update to 3.14.
* gnu/packages/virtualization.scm (criu): Update to 3.14.
2020-05-21 06:02:10 +02:00
Tobias Geerinckx-Rice
3da3ec93a3
gnu: uhttpmock: Update to 0.5.2.
* gnu/packages/web.scm (uhttpmock): Update to 0.5.2.
2020-05-21 06:02:10 +02:00
Mark H Weaver
498e2e669d
gnu: linux-libre: Update 5.4.42.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update 5.4.42.
(linux-libre-5.4-pristine-source): Update hash.
2020-05-20 19:14:37 -04:00
Mark H Weaver
efcdb47501
gnu: linux-libre@5.6: Update 5.6.14.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update 5.6.14.
(linux-libre-5.6-pristine-source): Update hash.
2020-05-20 19:14:05 -04:00