Commit graph

66810 commits

Author SHA1 Message Date
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
Oleg Pykhalov
d868655a7d
gnu: Add ipset.
* gnu/packages/linux.scm (ipset): New variable.
2020-09-26 23:18:42 +03:00
Oleg Pykhalov
3876ed32f2
gnu: Add webssh.
* gnu/packages/ssh.scm (webssh): New variable.
2020-09-26 21:47:38 +03:00
Tim Howes
0939462e3f
gnu: emacs-ess: Update to 18.10.2-0.24da603.
* gnu/packages/statistics.scm (emacs-ess): Update to 18.10.2-0.24da603.
[version]: Use version-revision-commit for version numbering.
[source]: Fix snippet for removing julia-mode.  Remove snippet to modify
roxy-preview-Rd-test.  Add snippet to modify r-help-mode test.  Add
snippet to fix install target to install files to correct directories.
Correct Makefile so that ess-autoloads.el is not built twice.
[arguments]: Add flag to specify INFODIR.  Remove patch modifying SHELL.
[license]: License is now GPLv3+.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-09-26 11:58:25 +02:00
Nicolas Goaziou
22b12e3ec2
gnu: emacs-auctex: Update to 12.2.5.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 12.2.5.
2020-09-26 11:25:39 +02:00
Nicolas Goaziou
c9f70031b3
gnu: emacs-edit-indirect: Update to 0.1.6.
* gnu/packages/emacs-xyz.scm (emacs-edit-indirect): Update to 0.1.6.
2020-09-26 11:20:03 +02:00
Nicolas Goaziou
094871fe73
gnu: emacs-edit-indirect: Fix license field.
* gnu/packages/emacs-xyz.scm (emacs-edit-indirect): Fix license field.
2020-09-26 11:14:21 +02:00
Ludovic Courtès
a0d4aa2457
doc: Use @var for meta-syntactic variables.
* doc/guix.texi (Transparent Emulation with QEMU): Use @var instead of
angle brackets for meta-syntactic variables.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
e71d7b5e23
doc: Remove "--hda" from non-volatile childhurd example.
Reported by Andreas Enge.

* doc/guix.texi (Transparent Emulation with QEMU): Remove "--hda" in
'image' example.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
13a2272d1a
doc: Explain how to connect to a childhurd.
* doc/guix.texi (The Hurd in a Virtual Machine): Add instructions for
VNC and SSH access.  Mention childhurd secrets and /etc/childhurd.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
4e896da45d
gnu: nyacc: Add 1.03.0.
* gnu/packages/mes.scm (nyacc): Rename to...
(nyacc-0.99): ... this.
(nyacc): New variable.
(mes)[propagated-inputs]: Replace NYACC with NYACC-0.99.
(mes-rb5)[native-inputs]: Likewise.
* gnu/packages/commencement.scm (mes-boot)[native-inputs]: Likewise.
(tcc-boot0)[native-inputs]: Likewise.
2020-09-25 23:26:22 +02:00
Pierre Langlois
2bab532fdf
gnu: rust: Fix install phase for non-x86_64 platforms.
* gnu/packages/rust.scm (rust-1.20)[arguments]: Replace hardcoded x86_64
triplet with nix-system->gnu-triplet-for-rust in 'delete-install-logs phase.
2020-09-25 20:24:46 +01:00
Leo Famulari
73e7a42447
gnu: linux-libre 4.4: Update to 4.4.237.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.237.
(linux-libre-4.4-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
fff9209444
gnu: linux-libre 4.9: Update to 4.9.237.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.237.
(linux-libre-4.9-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
76aa30100b
gnu: linux-libre 4.14: Update to 4.14.199.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.199.
(linux-libre-4.14-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
b328d55702
gnu: linux-libre 4.19: Update to 4.19.147.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.147.
(linux-libre-4.19-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
ce59a1397d
gnu: linux-libre 5.4: Update to 5.4.67.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.67.
(linux-libre-5.4-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
55d4259dff
gnu: linux-libre: Update to 5.8.11.
* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.11.
(linux-libre-5.8-pristine-source): Update hash.
2020-09-25 13:16:15 -04:00