Commit graph

66877 commits

Author SHA1 Message Date
Florian Pelz fbc15e5485
news: Fix typo in ‘fr’ translation.
* etc/news.scm: Update ‘fr’ translation.
2020-09-29 06:29:57 +00:00
Efraim Flashner e86e049305
gnu: quaternion: Add debug output.
* gnu/packages/messaging.scm (quaternion)[outputs]: Add debug output.
2020-09-29 09:25:20 +03:00
Efraim Flashner 5323d59c6a
gnu: dino: Add debug output.
* gnu/packages/messaging.scm (dino)[outputs]: Add debug output.
2020-09-29 08:55:49 +03:00
Leo Prikler e7cacc91e6
gnu: ppsspp: Update to 1.10.3.
* gnu/packages/emulators.scm (ppsspp): Update to 1.10.3.
[snippet]: Update the snippet, that strips glslang from build.
[inputs]: Update lang.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 08:19:54 +03:00
Leo Prikler 3cbf359f70
gnu: komikku: Update to 0.21.1.
* gnu/packages/gnome.scm (komikku): Update to 0.21.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 08:13:29 +03:00
Eric Bavier d8934360d2
tests: Simplify shell exit status negation;
* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh: Use the shell '!' keyword to negate command exit status
in place of 'if ...; then false; else true; fi'
2020-09-28 21:06:36 -05:00
Nicolas Goaziou 9380b0a075
gnu: Add missing module.
* gnu/packages/emulators.scm: Add missing module.
2020-09-28 23:01:40 +02:00
Nicolas Goaziou 63d69215e4
gnu: scummvm: Update to 2.2.0.
* gnu/packages/emulators.scm (scummvm): Update to 2.2.0.
[arguments]: Remove unnecessary phase.
[inputs]: Add fribidi.
2020-09-28 22:59:59 +02:00
Zhu Zihao 981cdc9011
gnu: icecat: Remove duplicate find-files call.
* gnu/packages/gnuzilla.scm (icecat)[arguments]<phases>: In the
patch-cargo-checksums phase, replace the inner "find-files" call
with the already found file name.

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:27 -04:00
Zhu Zihao f0648a4b67
gnu: icecat: Use system icu4c.
* gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Add icu4c-67.
[arguments]<configure-flags>: Add "--with-system-icu".

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:25 -04:00
Jonathan Brielmaier e648533311
gnu: Remove icecat-68 source.
It was necessary for icedove@68 which is now based on icecat@78.

* gnu/packages/gnuzilla.scm (mozilla-68-compare-locales): Remove.
(all-mozilla-68-locales): Remove.
(%icecat-68-version): Remove.
(icecat-68-source): Remove.
* gnu/packages/patches/icecat-68-makeicecat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Modified-By: Mark H Weaver <mhw@netris.org>
Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:23 -04:00
Jonathan Brielmaier 597aa644af
gnu: icedove: Update to 78.3.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.3.0.
[source]: Use source from Icecat 78.
[arguments]: Use more flexible approach for generating cargo checksums
from icecat. Update files in 'rename-to-icedove phase. Remove gone
configure flags and rename `--disable-ion` to `--disable-jit`.
[inputs]: Update icu4c to version 67 and nss to 3.56.
[native-inputs]: Use ESR 78 mercurial repo for thunderbird soruces.
Update rust and cargo to 1.41, rust-cbindgen to 0.14 and
node to 10.22.

Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:20 -04:00
Jonathan Brielmaier 1896c0c6ea
gnu: Add nss@3.56.
Icedove 78 requires nss > 3.53. This version is the only one building
out-of-the-box.

* gnu/packages/nss.scm (nss-3.56): New variable.
* gnu/packages/patches/nss-3.56-pkgconfig.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:18 -04:00
Mark H Weaver 002c7a4f54
gnu: libpng-apng: Update to 1.6.37.
* gnu/packages/image.scm (libpng-apng): Update to 1.6.37.
(libpng): Add comment: a reminder to keep libpng-apng updated.
2020-09-28 14:45:10 -04:00
Andreas Enge 4c09ec43db
gnu: cm: Update to 0.3.1.
* gnu/packages/algebra.scm (cm): Update to 0.3.1.
2020-09-28 19:39:23 +02:00
Mathieu Othacehe 0221048733
gnu: cuirass: Update to 0.0.1-48.0ffcb80.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-48.0ffcb80.
2020-09-28 18:08:23 +02:00
Roel Janssen 871539f3ad
gnu: r-chippeakanno: Update to 3.22.4.
* gnu/packages/bioconductor.scm (r-chippeakanno): Update to 3.22.4.
2020-09-28 17:06:56 +02:00
Tobias Geerinckx-Rice 4c698cd512
services: Add elogind ‘handle-lid-switch-external-power’.
* gnu/services/desktop.scm <elogind-configuration>: Add an
handle-lid-switch-external-power field, mapping to the
HandleLidSwitchExternalPower logind.conf setting.
* doc/guix.texi (Desktop Services): ‘Document’ it.
2020-09-28 16:00:49 +02:00
Greg Hogan a32c581a1d
gnu: openssh: Update to 8.4p1.
* gnu/packages/ssh.scm (openssh): Update to 8.4p1.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-28 13:54:05 +02:00
Ludovic Courtès be49f1133d
news: Add ‘fr’ translations.
* etc/news.scm: Add ‘fr’ translations.
2020-09-28 11:58:08 +02:00
Ludovic Courtès 09ffacd455
doc: Clarify how to choose a user account shell.
* doc/guix.texi (User Accounts): Add example with custom shell and
custom home directory.  Add examples of shell gexps.
2020-09-28 11:43:47 +02:00
Mathieu Othacehe af56f60ef0
gnu: guile-lzlib: Update to 0.0.2.
* gnu/packages/guile.scm (guile-lzlib): Update to 0.0.2.
2020-09-28 11:39:31 +02:00
Florian Pelz 2f7b3cb4bd
news: Add ‘de’ translations.
* etc/news.scm: Add ‘de’ translations.
2020-09-28 08:53:17 +00:00
Marius Bakke 709d2fddf7
gnu: libxkbcommon: Specify CPE name.
* gnu/packages/xdisorg.scm (libxkbcommon)[properties]: New field.
2020-09-28 00:46:21 +02:00
Marius Bakke cb2769f999
gnu: jasper: Update to 2.0.21 [fixes CVE-2018-19541].
* gnu/packages/image.scm (jasper): Update to 2.0.21.
2020-09-28 00:46:21 +02:00
Marius Bakke 9f89779e1f
gnu: libspiro: Replace with 20200505 [fixes CVE-2019-19847].
* gnu/packages/fontutils.scm (libspiro)[replacement]: New field.
(libspiro-20200505): New variable.
2020-09-28 00:46:21 +02:00
Marius Bakke 7d366a8387
gnu: libsndfile: Replace with 1.0.30 [security fixes].
This replacement fixes CVE-2017-17456, CVE-2017-17457, CVE-2018-19661,
CVE-2018-19662, CVE-2018-19758, and CVE-2019-3832.

* gnu/packages/pulseaudio.scm (libsndfile)[replacement]: New field.
(libsndfile-1.0.30): New variable.
2020-09-28 00:46:21 +02:00
Ludovic Courtès 6f04c0b702
news: Add news entry for '--without-tests'.
* etc/news.scm: Add entry.
2020-09-27 23:24:42 +02:00
Ludovic Courtès db17af70f6
news: Add entry for deep graph rewriting.
* etc/news.scm: Add entry.
2020-09-27 23:24:41 +02:00
Nicolas Goaziou b09ad2ccc1
gnu: emacs-orgalist: Update to 1.13.
* gnu/packages/emacs-xyz.scm (emacs-orgalist): Update to 1.13.
2020-09-27 23:11:53 +02:00
Michael Rohleder b0cd4e049b
gnu: qjackctl: Update to 0.6.3.
* gnu/packages/audio.scm (qjackctl): Update to 0.6.3.
[inputs]: Add portaudio.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-27 22:52:43 +02:00
Kyle Meyer ee4f9c2cd4
gnu: Add grokmirror.
* gnu/packages/version-control.scm (grokmirror): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-27 22:50:17 +02:00
Ludovic Courtès 8e2d5a0c0d
doc: Move channel @cindex within their nodes.
* doc/guix.texi (Channels): Move @cindex at the beginning of the node
they refer to from the end of the previous node.
2020-09-27 22:42:40 +02:00
Ludovic Courtès 3b7bd8cc90
doc: Move "Primary URL" after "Specifying Channel Authorizations".
* doc/guix.texi (Primary URL): Move after "Specifying Channel
Authorizations" since the audience is channel authors who've already
taken care of authorizations.
2020-09-27 22:39:49 +02:00
zimoun 12871cc8db
doc: Promote "Channels" as chapter and reorder.
The sectioning becomes:

1.  Specifying Additional Channels     (was 3.)
2.  Using a Custom Guix Channel        (was 2.)
3.  Replicating Guix                   (was 9.)
4.  Channel Authentication             (was 1.)
5.  Primary URL                        (was 7.)
6.  Creating a Channel                 (reworded)
7.  Package Modules in a Sub-directory (was 5.)
8.  Declaring Channel Dependencies     (was 4.)
9.  Specifying Channel Authorizations  (was 6.)
10. Writing Channel News               (was 8.)

* doc/guix.texi (Channels): Move section to chapter.
Reorder the chapter.
Minor tweaks to keep uniformity.
Update the master menu.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-27 22:35:03 +02:00
zimoun fa18db48ae
doc: Update the master menu.
* doc/guix.texi: Update the master menu.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-27 22:34:55 +02:00
Ludovic Courtès 8819551c8d
packages: 'package-input-rewriting' has a #:deep? parameter.
* guix/packages.scm (package-input-rewriting): Add #:deep? and pass it
to 'package-mapping'.
[replacement-property]: New variable.
[rewrite]: Check it.
[cut?]: New procedure.
* tests/packages.scm ("package-input-rewriting"): Pass #:deep? #f and
ensure implicit inputs were not rewritten.  Avoid 'eq?' comparisons.
("package-input-rewriting, deep"): New test.
* gnu/packages/guile.scm (package-for-guile-2.0, package-for-guile-3.0):
Pass #:deep? #f.
2020-09-27 21:41:15 +02:00
Ludovic Courtès b3fc03ee26
packages: 'package-mapping' correctly recurses into 'replacement'.
Previously, something like:

  guix build glib --with-graft=glibc=glibc@2.29

would produce a result showing that rewriting rules were not applied to
libx11@1.6.A (a replacement).

* guix/packages.scm (package-mapping): Call REPLACE instead of PROC to
'replacement'.
* tests/packages.scm ("package-input-rewriting/spec, graft"): New test.
2020-09-27 21:41:11 +02:00
Ludovic Courtès 2bf6f962b9
packages: 'package-input-rewriting/spec' can rewrite implicit dependencies.
With this change, '--with-input', '--with-graft', etc. also apply to
implicit dependencies.  Thus, it's now possible to do:

  guix build python-itsdangerous --with-input=python-wrapper=python@2

or:

  guix build hello --with-graft=glibc=glibc@2.29

Additionally, before, implicit inputs were not rewritten, which could
lead to duplicates in the output of 'bag-transitive-inputs' (packages
that are not 'eq?' but lead to the same derivation).  This in turn would
lead to unnecessary rebuilds when using '--with-input' & co.  This
change fixes it by ensuring even implicit inputs are rewritten.

Fixes <https://bugs.gnu.org/42156>.

* guix/packages.scm (package-input-rewriting/spec): Add #:deep?
defaulting to #true, and pass it to 'package-mapping'.
[replacement-property]: New variable.
[rewrite]: Check that property and set it on the result of PROC.
[cut?]: New procedure.
* tests/packages.scm ("package-input-rewriting/spec"): Ensure implicit
inputs were unchanged.
("package-input-rewriting/spec, partial match"): Pass #:deep? #f.
("package-input-rewriting/spec, deep")
("package-input-rewriting/spec, no duplicates"): New tests.
(package/inherit): Move before use.
* tests/guix-build.sh: Add tests.
* tests/scripts-build.scm ("options->transformation, with-graft"):
Compare dependencies by package name or derivation file name.
* doc/guix.texi (Defining Packages): Adjust accordingly.
2020-09-27 21:41:08 +02:00
Ludovic Courtès ff39361c80
packages: 'package-mapping' can recurse on implicit inputs.
* guix/packages.scm (build-system-with-package-mapping): New procedure.
(package-mapping): Add #:deep? and honor it.
* tests/packages.scm ("package-mapping"): Compare the direct inputs of
the bag of P0 and that of P1.
("package-mapping, deep"): New test.
2020-09-27 21:41:05 +02:00
Ludovic Courtès f458cfbcc5
guix build: Add '--without-tests'.
* guix/scripts/build.scm (transform-package-tests): New procedure.
(%transformations, %transformation-options)
show-transformation-options-help): Add it.
* tests/scripts-build.scm ("options->transformation, without-tests"):
New test.
* doc/guix.texi (Package Transformation Options): Document it.
2020-09-27 21:32:09 +02:00
Pierre Neidhardt d753aee0be
gnu: bbswitch-module: Fix build on Linux >= 5.6.
* gnu/packages/linux.scm (bbswitch-module): Update to 20200526.
2020-09-27 17:29:31 +02:00
Nicolas Goaziou f1f076c9dc
gnu: emacs-mood-line: Fix license.
* gnu/packages/emacs-xyz.scm (emacs-mood-line)[license]: Switch to GPL2+.
2020-09-27 14:23:07 +02:00
AuPath 0bf662b35b
gnu: Add emacs-mood-line.
* gnu/packages/emacs-xyz.scm (emacs-mood-line): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-09-27 14:17:03 +02:00
Stefan 740fd97ebe
doc: Document new bootloader grub-efi-netboot-bootloader.
* doc/guix.texi (Bootloader Configuration)[bootloader]: Add
grub-efi-netboot-bootloader.
[target]: Document TFTP root directory for grub-efi-netboot-bootloader.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-09-27 13:39:28 +02:00
Stefan c85f316ae9
gnu: grub: Support for network boot via TFTP.
* gnu/bootloader/grub.scm (grub-efi-netboot-bootloader): New variable.
(install-grub-efi-netboot): New procedure.
(grub-root-search): Update comment.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-09-27 13:38:35 +02:00
Efraim Flashner 59223c5bc6
gnu: gama: Update to 2.10.
* gnu/packages/gps.scm (gama): Update to 2.10.
2020-09-27 08:50:26 +03:00
Vinicius Monego 6854b44602
gnu: cozy: Update to 0.7.1.
* gnu/packages/ebook.scm (cozy): Update to 0.7.1.
[arguments]: Substitute only the Exec line in the desktop file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-26 23:13:23 +02:00
Ludovic Courtès 6c5197226d
gnu: lzlib: Don't build static library.
* gnu/packages/compression.scm (lzlib)[arguments]: Pass "--disable-static".
2020-09-26 23:07:03 +02:00
Ludovic Courtès 31dcc27276
gnu: lzlib: Support cross-compilation.
Until now, since lzlib's 'configure' ignores '--host', we'd always end
up building it natively.

* gnu/packages/compression.scm (lzlib)[arguments]: Use (cc-for-target)
instead of "gcc".
2020-09-26 23:07:03 +02:00