Commit graph

62469 commits

Author SHA1 Message Date
Ludovic Courtès
eef859e853
git-authenticate: 'commit-authorized-keys' properly handles orphan commits.
Previously it would trigger a wrong-number-of-arguments error for
'lset-intersection'.

* guix/git-authenticate.scm (commit-authorized-keys): Add case for when
'commit-parents' returns the empty list.
2020-06-09 00:34:52 +02:00
Ludovic Courtès
72357e2170
git: 'commit-difference' really excludes the ancestors of #:excluded.
* guix/git.scm (commit-difference): Initialize VISITED to the closure of
OLD and EXCLUDED, as written in the docstring.
* tests/git.scm ("commit-difference, excluded commits"): Adjust
accordingly.
2020-06-09 00:34:52 +02:00
Ludovic Courtès
5d95ac9178
maint: 'make authenticate' starts from v1.0.0.
* Makefile.am (commit_v1_0_1): Remove.
(commit_v1_0_0): New variable.
(authenticate): Use it.
2020-06-09 00:34:52 +02:00
Tobias Geerinckx-Rice
9084fc2e90
gnu: znc: Update to 1.8.1.
* gnu/packages/messaging.scm (znc): Update to 1.8.1.
2020-06-08 23:03:08 +02:00
Tobias Geerinckx-Rice
c34a7dc2bb
gnu: v4l2loopback-linux-module: Really disable tests.
Commit fdcd193744 was a botched by-hand
‘merge’ that caused the default check phase to run, and fail.

* gnu/packages/linux.scm (v4l2loopback-linux-module)[arguments]:
Set #:tests? to #f.
2020-06-08 23:01:54 +02:00
Vagrant Cascadian
076779c4d4
gnu: Add linux-libre-arm-generic-5.7.
* gnu/packages/linux (linux-libre-arm-generic): New variable.
2020-06-08 13:05:51 -07:00
Vagrant Cascadian
637b64ce7c
gnu: Add linux-libre-arm64-generic-5.7.
* gnu/packages/linux (linux-libre-arm64-generic): New variable.
2020-06-08 13:05:48 -07:00
Vagrant Cascadian
21569e53b2
gnu: Add linux-libre 5.7.1.
* gnu/packages/linux (deblob-scripts-5.7): New variable.
  (linux-libre-5.7-version): New variable.
  (linux-libre-5.7-pristine-source): New variable.
  (linux-libre-5.7-source): New variable.
  (linux-libre-headers-5.7): New variable.
2020-06-08 13:05:44 -07:00
Maxim Cournoyer
838c4b10e9
gnu: opensmtpd: Patch bug in 'smtpctl encrypt'.
* gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New
phase.
2020-06-08 15:43:07 -04:00
Leo Famulari
933abfba36
gnu: Blender: Update to 2.83.0.
* gnu/packages/graphics.scm (blender): Update to 2.83.0.
2020-06-08 14:32:50 -04:00
Marius Bakke
d79ec4fd34
gnu: calibre: Update to 4.18.0.
* gnu/packages/patches/calibre-remove-test-bs4.patch,
gnu/packages/patches/calibre-msgpack-compat.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/ebook.scm (calibre): Update to 4.18.0.
[source](patches): Remove obsolete patches.
[source](snippet): Disable test for bundled odfpy.
[inputs]: Add HUNSPELL, HYPHEN, PYTHON2-BEAUTIFULSOUP4, PYTHON2-PYQTWEBENGINE,
and QTWEBENGINE.
[arguments]: Add phase 'patch-more-shebangs'.  Adjust configure phase to set
HOME and make fonts available.  Simplify one substitution, and provide the
absolute file name of 'sip'.
2020-06-08 19:18:05 +02:00
Marius Bakke
7b7b3cef7e
gnu: python-html5-parser: Update to 0.4.9.
* gnu/packages/python-web.scm (python-html5-parser): Update to 0.4.9.
2020-06-08 19:14:35 +02:00
Marius Bakke
5ded8494ca
gnu: Add python2-pyqtwebengine.
* gnu/packages/qt.scm (python2-pyqtwebengine): New public variable.
2020-06-08 19:13:28 +02:00
Marius Bakke
4c1ca82487
gnu: python2-pyqt: Propagate requireed inputs.
* gnu/packages/qt.scm (python2-pyqt)[propagated-inputs]: Add PYTHON2-SIP and
PYTHON-ENUM34.  New field.
2020-06-08 19:12:31 +02:00
Marius Bakke
dd2d3ed2d3
Merge branch 'master' into staging 2020-06-08 19:05:56 +02:00
Marius Bakke
1fd2c00efb
gnu: font-liberation: Update to 2.1.1.
* gnu/packages/fonts.scm (font-liberation): Update to 2.1.1.
2020-06-08 19:01:41 +02:00
Marius Bakke
087e760e29
gnu: Add python-mechanize.
* gnu/packages/python-xyz.scm (python2-mechanize): Rename to ...
(python-mechanize): ... this.  Update to 0.4.5.
[arguments]: Remove.
[propagated-inputs]: Add PYTHON-HTML5LIB.
[home-page]: Update to current.
[license]: Set to LICENSE:BSD-3.
(python2-mechanize): Define in terms of PACKAGE-WITH-PYTHON2.
2020-06-08 19:01:41 +02:00
Marius Bakke
183858d938
gnu: python-regex: Update to 2020.6.8.
* gnu/packages/python-xyz.scm (python-regex): Update to 2020.6.8.
[arguments]: New field.
2020-06-08 19:01:41 +02:00
Marius Bakke
a8a7a2c797
gnu: python-netifaces: Update to 0.10.9.
* gnu/packages/python-xyz.scm (python-netifaces): Update to 0.10.9.
2020-06-08 19:01:40 +02:00
Marius Bakke
59e646ab4e
gnu: python-cssselect: Update to 1.1.0.
* gnu/packages/python-web.scm (python-cssselect): Update to 1.1.0.
[source]: Change to GIT-FETCH.
[arguments]: Remove #:tests?.  Add #:phases.
[native-inputs]: Add PYTHON-LXML and PYTHON-PYTEST.
[home-page]: Update to current.
2020-06-08 19:01:40 +02:00
Marius Bakke
b470122f67
gnu: python-odfpy: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-odfpy): Update to 1.4.1.
[arguments]: Remove #:modules.  Rewrite test phase to use pytest.
[native-inputs]: Add PYTHON-PYTEST.
[propagated-inputs]: Add PYTHON-DEFUSEDXML.
2020-06-08 19:01:40 +02:00
Jan (janneke) Nieuwenhuizen
4a6974667e
gnu: openssh: Remove exception to build without xauth for the Hurd.
* gnu/packages/ssh.scm (openssh)[inputs]: Unconditionally include xauth;
for the Hurd: use openssh-sans-x for now.
2020-06-08 16:50:40 +02:00
Jan (janneke) Nieuwenhuizen
8176ce6fde
gnu: guix: Update to ab9e30039d.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.ab9e30039d.
2020-06-08 16:50:09 +02:00
Jan (janneke) Nieuwenhuizen
ab9e30039d
syscalls: set-thread-name, thread-name: Fix thinko.
* guix/build/syscalls.scm (set-thread-name, thread-name): Oops, fix thinko.
2020-06-08 16:49:03 +02:00
Jan (janneke) Nieuwenhuizen
835b3d893f
gnu: guix: Update to 68d8c09465.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.68d8c09465.
2020-06-08 14:45:40 +02:00
Jan (janneke) Nieuwenhuizen
68d8c09465
gnu: services: Add %hurd-startup-service.
This decouples startup of the Hurd from the "hurd" package, moving the RC
script into SYSTEM.

* gnu/packages/hurd.scm (hurd)[inputs]: Remove hurd-rc-script.
[arguments]: Do not substitute it.  Update "runsystem.sh" to parse kernel
arguments and exec into --system=SYSTEM/rc.
(hurd-rc-script): Move to...
* gnu/services.scm (%hurd-rc-file): ...this new variable.
(hurd-rc-entry): New procedure.
(%hurd-startup-service): Use it in new variable.
* gnu/system.scm (hurd-default-essential-services): Use it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
b37c544196
hurd-boot: Further cleanup of "rc".
* gnu/packages/hurd.scm (hurd-rc-script): Move implementation to ...
* gnu/build/hurd-boot.scm (boot-hurd-system): ...here, new file.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Move there likewise.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
11e4200fee
system: hurd: Populate services.
* gnu/system/hurd.scm (%base-services/hurd): Add hurd-console-service,
hurd-getty-services, guix-service.  Also add sylog and loopback, needed for
...
* gnu/system.scm (hurd-default-essential-services): ... add
%shepherd-root-service with dependencies: %boot-service, %activation-service,
user-processes, root-file-system-service, file-system-service,
pam-root-service.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
7ccd471c71
services: Add `hurd-getty-service-type'.
* gnu/services/hurd.scm (<hurd-gettty-configuration>): New record.
(hurd-ttys-shepherd-service): New procedure.
(hurd-getty-service-type): New variable.
* doc/guix.texi (Hurd Services): Document it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
f9c04580bf
services: Add `hurd-console-service-type'.
* gnu/services/hurd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Hurd Services): Document it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
97c94fc2c2
gnu: hurd: Create minimal "runsystem" script to invoke "rc".
This moves towards a regular Guix startup, loading SYSTEM/boot to activate the
system and start the shepherd.

* gnu/packages/hurd.scm (hurd-rc-script): Update to handle "runsystem" tasks.
Load system/boot to activate the system and start the shepherd.  Create /hurd
symlink.
(hurd)[arguments]: Add 'create-runsystem' phase.  Do not substitute now unused
init.c, runsystem.hurd.  Substitute "/hurd/" for the fixed 'out + "/hurd/"' in
boot.c, console-run.c and startup.c.  Also substitute
_HURD_STARTUP ("/hurd/startup") to the fixed 'out + "/hurd/startup"' in
libdiskfs/boot-start.c and libdiskfs/opts-std-startup.c.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen
c03e513a41
services: hurd: Populate system profile.
* gnu/system.scm (hurd-default-essential-services): Populate profile with
packages.
2020-06-08 14:26:13 +02:00
Jan (janneke) Nieuwenhuizen
f5ca79d2a2
services: Support etc-service for the Hurd.
* gnu/system.scm (operating-system-etc-service): Cater for missing nsswitch
and missing sudoers-file.  For the Hurd, add "login" and "motd".
(hurd-default-essential-services): Add operating-system-etc-service.
2020-06-08 14:12:29 +02:00
Jan (janneke) Nieuwenhuizen
c3fd2df705
system: Support activation service for the Hurd.
* gnu/build/activation.scm (boot-time-system): Use "command-line" for the
Hurd.
* gnu/system.scm (hurd-default-essential-services): Add %boot-service and
%activation-service.
2020-06-08 14:12:20 +02:00
Jan (janneke) Nieuwenhuizen
59bcffa314
system: examples: Add bare-hurd.tmpl.
* gnu/system/hurd.scm (%hurd-def%hurd-default-operating-system-kernel,
%hurd-default-operating-system): New exported variables.
* gnu/system/examples/bare-hurd.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* tests/guix-system.sh: Add --target=i586-pc-gnu when testing it.
2020-06-08 13:51:19 +02:00
Jan (janneke) Nieuwenhuizen
e6cd8581c1
system: Use 'hurd' package in label.
* gnu/system.scm (kernel->boot-label): Add keyword parameter 'hurd'.  If set,
use it for label.
(operating-system-default-label): Call with it with operating-system-hurd.
2020-06-08 13:51:19 +02:00
Jan (janneke) Nieuwenhuizen
1244491a0d
bootloader: grub: Add support for multiboot.
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for
multiboot.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
912b857ede
system: Add 'multiboot-modules' field to <boot-parameters>.
* gnu/system.scm (<boot-parameters>)[multiboot-modules]: New field.
(read-boot-parameters): Initialize it.
(operating-system-multiboot-modules, hurd-multiboot-modules): New procedure.
(operating-system-boot-parameters): Cater for multiboot the Hurd and
initialize it; avoid initrd in that case.
(operating-system-kernel-file): Cater for for Gnumach (the Hurd) besides Linux.
(boot-parameters->menu-entry): Use it to support a multiboot <menu-entry>.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
21acd8d6c1
bootloader: Extend `<menu-entry>' for multiboot.
* gnu/bootloader.scm (<menu-entry>)[multiboot-kernel,multiboot-arguments,
multiboot-modules]: New fields.
[linux,initrd]: Add default value '#f'.
(menu-entry->sexp, sexp->menu-entry): Support multiboot entry.
* doc/guix.texi (Bootloader Configuration): Document them.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
2018fb2afe
system: Add 'hurd' field to <operating-system>.
* gnu/system.scm (<operating-system>)[hurd]: New field.
* doc/guix.texi (operating-system Reference): Document 'hurd'.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
45b2cb439d
system: hurd: Add hurd-default-essential-services.
* gnu/system.scm (hurd-default-essential-services): New procedure.
2020-06-08 13:51:18 +02:00
Mathieu Othacehe
c77b92859f
image: Add Hurd support.
* gnu/system/image.scm (hurd-disk-image): New exported variable,
(root-offset, root-label): new variables,
(esp-partition, root-partition): adapt accordingly,
(find-image): add Hurd support.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
6cea61f2fa
linux-boot: Update 'make-hurd-device-nodes'.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Avoid de-duplication of
device mount points; also create mount points for /servers/.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen
1428926f1f
syscalls: set-thread-name, thread-name: Stub for the Hurd.
Avoid crash

    Backtrace:
    guix/build/syscalls.scm:405:8: In procedure prctl: Function not implemented

because of missing prctl on the Hurd.

* guix/build/syscalls.scm (set-thread-name, thread-name): Rename to ...
(set-thread-name!/linux,thread-name/linux): ...this.
(set-thread-name, thread-name): Swtich between linux implementation and or
stub.
2020-06-08 13:51:17 +02:00
Jan (janneke) Nieuwenhuizen
4c26229ccb
gnu: hurd: Update to upstream Hurd-reserved xattr index.
This enables setting (and reading) passive translators when preparing a Hurd
file system from GNU/Linux.

* gnu/packages/patches/hurd-xattr.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (hurd): Use it.
2020-06-08 13:51:17 +02:00
Michael Rohleder
bec45e6ddb
gnu: x265: Build with assembly files.
* gnu/packages/video.scm (x265)[native-inputs]: Add nasm.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-06-08 13:03:30 +03:00
Mathieu Othacehe
0dddaa7b01
system: bare-bones: Remove dependency to X libraries.
Use "openssh-sans-x" to prevent the inclusion of X libraries to the bare-bones
system closure.

* gnu/system/examples/bare-bones.tmpl (operating-system)[services]: Use
openssh-sans-x instead of openssh.
2020-06-08 11:03:11 +02:00
Mathieu Othacehe
65c8512f9c
gnu: Add openssh-sans-x.
* gnu/packages/ssh.scm (openssh-sans-x): New variable.
2020-06-08 11:02:43 +02:00
Mathieu Othacehe
173d22a1c0
gnu: sudo: Separate Python output.
The Python plugin of "sudo" drags the Python interpreter to the closure of
Guix System. Put it in a separate output.

* gnu/packages/admin.scm (sudo)[arguments]: Add a 'separate-python-output
phase, that's populating ...
[outputs]: ... the new "python" output.
2020-06-08 10:53:11 +02:00
Mathieu Othacehe
ea5d9bf991
system: install: Add default libcs to gc-roots.
During the installation, it may be needed to build locales that are not
covered by glibc-utf8-locales. Make sure that the libraries required to build
locales are available.

This is a follow-up of 0eed771275.

* gnu/system/install.scm (installation-os)[services]: Add
%default-locale-libcs to gc-root-service-type.
2020-06-08 10:52:53 +02:00