Commit graph

92606 commits

Author SHA1 Message Date
jgart
d6824f6de4
gnu: Add cl-snakes.
* gnu/packages/lisp-xyz.scm (cl-snakes, ecl-snakes, sbcl-snakes): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-02-03 10:37:43 +01:00
jgart
9dbbf4ba48
gnu: Add cl-css-lite.
* gnu/packages/lisp-xyz.scm (cl-css-lite, ecl-css-lite, sbcl-css-lite): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-02-03 10:28:40 +01:00
Marius Bakke
0cadd09ad3
gnu: ungoogled-chromium: Don't use the bundled libc++.
This partially reverts f01ec472b9.

* gnu/packages/chromium.scm (%preserved-third-party-files): Unbundle libcxx,
re2, and jsoncpp.
(%debian-patches): Add 'system/jsoncpp.patch'.
(ungoogled-chromium-snippet): Replace re2 GN files.
(ungoogled-chromium)[arguments]: Add use_custom_libcxx, rtc_build_json, and
rtc_jsoncpp_root to #:configure-flags.  Don't override CPLUS_INCLUDE_PATH.
Add substitution.
[inputs]: Add JSONCPP and RE2.
2022-02-03 00:26:47 +01:00
Marius Bakke
f38d8e050e
gnu: dia: Update to 0.97.3-3.0997887.
* gnu/packages/gnome.scm (dia): Update to 0.97.3-3.0997887.
[arguments]: Remove #:meson.  Add #:parallel-build?.
[inputs]: Remove PYTHON-2.  Add PYTHON.
[native-inputs]: Remove INTLTOOL.  Add GETTEXT-MINIMAL.
2022-02-03 00:26:47 +01:00
Marius Bakke
906b4609d8
gnu: python-idna: Remove 2.7.
* gnu/packages/python-xyz.scm (python-idna-2.7): Remove variable.
2022-02-03 00:26:47 +01:00
Leo Famulari
97d97d7da1
gnu: linux-libre 5.4: Update to 5.4.176.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.176.
(linux-libre-5.4-pristine-source): Update hash.
2022-02-02 13:49:45 -05:00
Leo Famulari
2585dd2e93
gnu: linux-libre 5.10: Update to 5.10.96.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.96.
(linux-libre-5.10-pristine-source): Update hash.
2022-02-02 13:49:45 -05:00
Leo Famulari
999a448861
gnu: linux-libre 5.15: Update to 5.15.19.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.19.
(linux-libre-5.15-pristine-source): Update hash.
2022-02-02 13:49:45 -05:00
Leo Famulari
34de7f0d95
gnu: linux-libre 5.16: Update to 5.16.5.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.5.
(linux-libre-5.16-pristine-source): Update hash.
2022-02-02 13:49:44 -05:00
Christopher Baines
6be1d5565c
gnu: guix-build-coordinator: Update to 0-48.f8acb62.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-48.f8acb62.
2022-02-02 18:41:05 +00:00
Christopher Baines
d1c076a68d
gnu: nar-herder: Update to 0-2.f016f37.
* gnu/packages/package-management.scm (nar-herder): Update to 0-2.f016f37.
2022-02-02 18:39:49 +00:00
Christopher Baines
1d07213d23
gnu: guile-fibers: Add version 1.1.0.
This release looks to break a few packages, so keep using fibers 1.0 to build
things, and provide the new version to allow switching to when packages are
compatible.

* gnu/packages/guile-xyz.scm (guile-fibers-1.1): New variable.
(guile-fibers): Inherit from guile-fibers-1.1.
(guile2.0-fibers): Rename to guile2.2-fibers, and inherit from
guile-fibers-1.1.
2022-02-02 18:36:09 +00:00
Christopher Baines
108e7576c0
services: patchwork: Set DEFAULT_AUTO_FIELD in settings.
This resolves some warnings with Django 3.2.

This was added by upstream to the base settings
43e5c4a0ac

* gnu/services/web.scm (patchwork-settings-module-compiler): Specify
DEFAULT_AUTO_FIELD in the settings module.
2022-02-02 18:27:10 +00:00
Leo Famulari
6cced3f1e6
gnu: Syncthing: Update to 1.19.0.
* gnu/packages/syncthing.scm (syncthing): Update to 1.19.0.
2022-02-02 12:45:40 -05:00
Ludovic Courtès
9408a4edcb
news: Add entry about 'guix deploy -x'.
* etc/news.scm: Add entry.
2022-02-02 18:43:08 +01:00
Ludovic Courtès
5c13484646
deploy: Add '--execute'.
* guix/scripts/deploy.scm (show-help, %options): Add '--execute'.
(invoke-command): New procedure.
(guix-deploy): Break arguments at "--" and handle '-x' and associated
command.
* doc/guix.texi (Invoking guix deploy): Document it.
2022-02-02 18:35:00 +01:00
Michael Rohleder
f553de6e0e
gnu: cgdb: Update to 0.8.0.
* gnu/packages/debug.scm (cgdb): Update to 0.8.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-02 18:34:32 +01:00
Michael Rohleder
4eada1b45a
gnu: rr: Update to 5.5.0.
* gnu/packages/debug.scm (rr): Update to 5.5.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-02 18:16:21 +01:00
Felix Gruber
f89bd6949a
gnu: oil: Update to 0.9.7.
* gnu/packages/shells.scm (oil): Update to 0.9.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-02 18:13:29 +01:00
Ludovic Courtès
9679123ce0
guix system: 'describe' shows the running system, not the current one.
* guix/profiles.scm (generation-number): Add optional 'base-profile'
parameter and use it.
* guix/scripts/system.scm (process-command): Add "/run/current-system"
as first argument to 'generation-number'.
* doc/guix.texi (Invoking guix system): Clarify that 'guix system
describe' shows the running system.
2022-02-02 18:12:22 +01:00
Yovan Naumovski
62e3ba78af
gnu: openttd: Update to 12.1.
* gnu/packages/games.scm (openttd-engine): Update ot 12.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-02 18:08:25 +01:00
Pierre-Henry Fröhring
82a00693b7
gnu: Add python-types-dataclasses.
* gnu/packages/python-xyz.scm (python-types-dataclasses): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-02 18:06:20 +01:00
Ludovic Courtès
9cdce964ca
gnu: luminance-hdr: Remove input labels.
* gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Remove
labels.
2022-02-02 17:58:21 +01:00
Ludovic Courtès
bbc26afd61
gnu: luminance-hdr: Fix compilation.
Reported by Leo Famulari <leo@famulari.name>.

* gnu/packages/image-viewers.scm (luminance-hdr)[arguments]: In
'add-ilmbase-include-path' phase, set C_INCLUDE_PATH and be more
specific about the include directory searched for.
2022-02-02 17:58:21 +01:00
Ludovic Courtès
00762a4c4c
import: pypi: Display a hint upon "no source release" errors.
Fixes <https://issues.guix.gnu.org/49083>.

* guix/import/pypi.scm (pypi->guix-package): Upon
'missing-source-error?', raise a compound condition with a hint.
2022-02-02 17:58:21 +01:00
Ludovic Courtès
31ca569ca5
import: pypi: Use 'with-error-handling'.
* guix/scripts/import/pypi.scm (guix-import-pypi): Wrap body in
'with-error-handling'.
2022-02-02 17:58:20 +01:00
Ludovic Courtès
2178692c93
gnu: perf: Remove input labels.
* gnu/packages/linux.scm (perf)[native-inputs, inputs]: Remove labels.
2022-02-02 17:58:20 +01:00
Ludovic Courtès
d040b627b1
gnu: perf: Help 'perf report --symfs' find separate debug info files.
* gnu/packages/linux.scm (perf)[arguments]: In 'configure' phase, modify
"util/dso.c".
2022-02-02 17:58:20 +01:00
Josselin Poiret
4943ac86e4
installer: Use system-wide guix for system init.
* gnu/installer.scm (installer-program): Remove dependency on the guix
package for the PATH.
* gnu/installer/final.scm (install-system): Set PATH inside container
to /run/current-system/profile/bin/.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
ad55ccf9b1
installer: Make dump archive creation optional and selective.
* gnu/installer.scm (installer-program): Let the installer customize
the dump archive.
* gnu/installer/dump.scm (prepare-dump, make-dump): Split make-dump in
prepare-dump, which copies the files necessary for the dump, and
make-dump which creates the archive.
* gnu/installer/record.scm (installer): Add report-page field.  Change
documented return value of exit-error.
* gnu/installer/newt.scm (exit-error): Change arguments to be a string
containing the error.  Let the user choose between exiting and
initiating a dump.
(report-page): Add new variable.
* gnu/installer/newt/page.scm (run-dump-page): New variable.
* gnu/installer/newt/dump.scm: Delete it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
112ef30b84
installer: Turn passwords into opaque records.
* gnu/installer/user.scm (<secret>, secret?, make-secret,
secret-content): Add opaque <secret> record that boxes its contents,
with a custom printer that doesn't display anything.
* gnu/installer/newt/user.scm (run-user-add-page, run-user-page): Box
it.
* gnu/installer/final.scm (create-user-database): Unbox it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
41eb0f01fc
installer: Use dynamic-wind to setup installer.
* gnu/installer.scm (installer-program): Use dynamic-wind, so that
completely uncaught exceptions can be printed properly.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
7cbd95a9f6
installer: Add error page when running external commands.
* gnu/installer/newt.scm (newt-run-command): Add it.
* gnu/installer/newt/page.scm (%ok-button, %exit-button,
%default-buttons, make-newt-buttons, run-textbox-page): Add them.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
726d0bd2f3
installer: Use named prompt to abort or break installer steps.
* gnu/installer/steps.scm (run-installer-steps): Set up
'installer-step prompt.
* gnu/installer/newt/ethernet.scm (run-ethernet-page)
* gnu/installer/newt/final.scm (run-config-display-page,
run-install-failed-page)
* gnu/installer/newt/keymap.scm (run-layout-page, run-variant-page)
* gnu/installer/newt/locale.scm (run-language-page,
run-territory-page, run-codeset-page, run-modifier-page,
run-locale-page)
* gnu/installer/newt/network.scm (run-technology-page,
wait-service-online)
* gnu/installer/newt/page.scm (run-listbox-selection-page,
run-checkbox-tree-page)
* gnu/installer/newt/partition.scm (button-exit-action)
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page,
run-networking-cbt-page, run-other-services-cbt-page,
run-network-management-page)
* gnu/installer/newt/timezone.scm (run-timezone-page)
* gnu/installer/newt/user.scm (run-user-page)
* gnu/installer/newt/welcome.scm (run-menu-page)
* gnu/installer/newt/wifi.scm (run-wifi-page): Use the 'installer-step
prompt to abort.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:44 +01:00
Josselin Poiret
59fec4a1a2
installer: Add nano to PATH.
* gnu/installer.scm (installer-program): Add nano to the installer
PATH.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
ed6567abbf
installer: Replace run-command by invoke in newt/page.scm.
* gnu/installer/newt/page.scm (edit-file): Replace it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
dad9a1c0b2
installer: Fix run-file-textbox-page when edit-button is #f.
* gnu/installer/newt/page.scm (run-file-textbox-page): Check if
edit-button is #f.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
0a74509a69
installer: Raise condition when mklabel fails.
* gnu/installer/parted.scm (mklabel): Do it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
af59e53631
installer: Use run-command-in-installer in (gnu installer parted).
* gnu/installer/parted.scm (remove-logical-devices,
create-btrfs-file-system, create-ext4-file-system,
create-fat16-file-system, create-fat32-file-system,
create-jfs-file-system, create-ntfs-file-system,
create-xfs-file-system, create-swap-partition, luks-format-and-open,
luks-close): Use run-command-in-installer.
(with-null-output-ports): Remove.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
408427a36c
installer: Add installer-specific run command process.
* gnu/installer/record.scm (installer)[run-command]: Add field.
* gnu/installer/utils.scm (run-command-in-installer): Add parameter.
* gnu/installer.scm (installer-program): Parameterize
run-command-in-installer with current installer's run-command.
* gnu/installer/newt.scm (newt-run-command): New variable.
(newt-installer): Use it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
0b9fbbb4dd
installer: Capture external commands output.
* gnu/installer/utils.scm (run-external-command-with-handler,
run-external-command-with-line-hooks): New variables.
(run-command): Use run-external-command-with-line-hooks.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
c57ec6ed1e
installer: Remove specific logging code.
* gnu/installer/final.scm (install-system): Remove command logging to
syslog, as this is taken care of by the new facilities.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
2f7f1d11e9
installer: Keep PATH inside the install container.
* gnu/installer/final.scm (install-system): Set PATH inside the
container.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
438bf9b840
installer: Un-export syslog syntax.
* gnu/installer/utils.scm (syslog): Remove export.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
4f2fd33b4f
installer: Use new installer-log-line everywhere.
* gnu/installer.scm (installer-program)
* gnu/installer/final.scm (install-locale)
* gnu/installer/newt.scm (init)
* gnu/installer/newt/final.scm (run-final-page)
* gnu/installer/newt/page.scm (run-form-with-clients)
* gnu/installer/newt/partition.scm (run-partitioning-page)
* gnu/installer/parted.scm (eligible-devices, mkpart,
luks-format-and-open, luks-close, mount-user-partitions,
umount-user-partitions, free-parted):
* gnu/installer/steps.scm (run-installer-steps):
* gnu/installer/utils.scm (run-command, send-to-clients): Use it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
7251b15d30
installer: Generalize logging facility.
* gnu/installer/utils.scm (%syslog-line-hook, open-new-log-port,
installer-log-port, %installer-log-line-hook, %display-line-hook,
%default-installer-line-hooks, installer-log-line): Add new
variables.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:43 +01:00
Josselin Poiret
4a68a00c8b
installer: Use define instead of let at top-level.
* gnu/installer.scm (installer-program): Improve readability by using
define at top-level.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-02-02 16:46:42 +01:00
Mathieu Othacehe
0d37a5df7e
installer: Add crash dump upload support.
Suggested-by: Josselin Poiret <dev@jpoiret.xyz>

* gnu/installer/dump.scm: New file.
* gnu/installer/newt/dump.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add them.
* gnu/installer/record.scm (<installer>)[dump-page]: New field.
* gnu/installer/steps.scm (%current-result): New variable.
(run-installer-steps): Update it.
* gnu/installer.scm (installer-program): Add tar and gip to the installer
path. Add guile-webutils and gnutls to the Guile extensions. Generate and send
the crash dump report.
* gnu/installer/newt.scm (exit-error): Add a report argument. Display the
report id.
(dump-page): New procedure.
(newt-installer): Update it.
2022-02-02 16:46:42 +01:00
jgart
8f58508327
gnu: utf-8-lineseparator: Update to cj8.
* gnu/packages/textutils.scm (utf-8-lineseparator): Update to cj8.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-02 14:44:01 +02:00
Efraim Flashner
5783091d66
gnu: texlive-latex-base: Skip JIT formats on riscv64-linux.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Adjust custom
'build phase to also skip the jit formats on riscv64-linux.
2022-02-02 12:21:24 +02:00