Commit graph

67853 commits

Author SHA1 Message Date
Maxim Cournoyer
5800d2aae2
maint: update-guix-package: Prevent accidentally breaking guix pull.
Fixes <https://issues.guix.gnu.org/43893>.

This changes the 'update-guix-package' tool so that it:

1. Always uses a clean checkout to compute the hash of the updated 'guix'
package.
2. Ensures the commit used in the updated 'guix' package definition has already
been pushed upstream.

* build-aux/update-guix-package.scm (%savannah-guix-git-repo-push-url): New
variable.
(with-input-pipe-to-string, with-temporary-git-worktree): New syntaxes.
(find-origin-remote, git-add-worktree): New procedures.
(commit-already-pushed?): New predicate.
(main): Check the commit used has already been pushed upstream and compute the
hash from a clean checkout.
* doc/contributing.texi (Updating the Guix Package): Document it.
* .dir-locals.el (scheme-mode): Fix indentation of with-temporary-git-worktree.
2020-10-19 14:02:53 -04:00
Christopher Baines
c949530b6f
import: crate: make-crate-sexp: Fix missing home-page handling.
* guix/import/crate.scm (make-crate-sexp): Replace 'null rather than '() with
the empty string for the home-page.
2020-10-19 18:48:33 +01:00
Tobias Geerinckx-Rice
fc316a585e
gnu: claws-mail: Update to 3.17.8.
* gnu/packages/mail.scm (claws-mail): Update to 3.17.8.
2020-10-19 18:05:59 +02:00
Guillaume Le Vaillant
324057e8d6
gnu: ffmpeg-3.4: Fix configuration.
ffmpeg-3.4 doesn't support "--enable-libsrt".

* gnu/packages/video.scm (ffmpeg-3.4)[arguments]: Remove "--enable-libsrt"
  from 'configure-flags'.
  [inputs]: Remove srt.
2020-10-19 13:58:43 +02:00
Guillaume Le Vaillant
a0e47fada7
gnu: monero-gui: Update to 0.17.1.1.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.1.1.
2020-10-19 13:46:19 +02:00
Ludovic Courtès
d66a4eac44
doc: Produce stylable HTML for @deftp, @deffn, etc.
'makeinfo --help' uses <strong> and <em> for those entries.  Replace
that with CSS classes.

* doc/build.scm (html-manual-identifier-index)[build]: Adjust to handle
rewritten forms of <dt> entries.
* doc/build.scm (syntax-highlighted-html)[build][syntax-highlight]:
Handle <dt> forms and replace them.
[highlight-definition, space?]: New procedures.
2020-10-19 13:28:38 +02:00
Helio Machado
a9105c2c4c
import: print: Fix deprecation warning for origin-sha256.
* guix/import/print.scm (source->code source version): Replace
'origin-sha256' by 'origin-hash' and handle non-SHA256 hashes.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-10-19 13:28:38 +02:00
BonfaceKilz
1f39175d1a
gnu: Add python-parallel.
* gnu/packages/python-xyz (python-parallel): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-19 10:52:04 +03:00
Nicolas Goaziou
5e7fa52841
gnu: python-pendulum: Update to 2.1.2.
* gnu/packages/time.scm (python-pendulum): Update to 2.1.2.
2020-10-19 09:45:18 +02:00
Guillaume Le Vaillant
2a02591266
gnu: monero: Update to 0.17.1.1.
* gnu/packages/finance.scm (monero): Update to 0.17.1.1.
2020-10-19 09:42:58 +02:00
Zhu Zihao
ef13b01a21
gnu: emacs-symbol-overlay: Update to 4.2.
* gnu/packages/emacs-xyz.scm(emacs-symbol-overlay): Update to 4.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-19 09:37:14 +02:00
Ryan Prior
7dc22e2c6a
gnu: esbuild: Update to 0.7.16.
* gnu/packages/web.scm (esbuild): Update to 0.7.16.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-19 10:15:03 +03:00
Vagrant Cascadian
fe6067fc24
gnu: u-boot: Update to 2020.10.
* gnu/packages/bootloaders (u-boot): Update to 2020.10.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Refresh patch.
2020-10-18 16:18:45 -07:00
Vinicius Monego
2a4f3c1711
gnu: Add libebur128.
* gnu/packages/audio.scm (libebur128): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Peng Mei Yu
6b98188171
gnu: Add ccal.
* gnu/packages/calendar.scm (ccal): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
094e234d30
gnu: Add authenticator.
* gnu/packages/gnome.scm (authenticator): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
2f115f56fa
gnu: Add python-pyzbar.
* gnu/packages/python-xyz.scm (python-pyzbar): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
945ec6c3ec
gnu: Add yoyo-migrations.
* gnu/packages/databases.scm (yoyo-migrations): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
6f8d776d25
gnu: Add python-pyotp.
* gnu/packages/python-crypto.scm (python-pyotp): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
48fe2e01d8
gnu: Add python-pyfavicon.
* gnu/packages/python-xyz.scm (python-pyfavicon): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
a8eb438e78
gnu: Add passwordsafe.
* gnu/packages/gnome.scm (passwordsafe): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Vinicius Monego
9cd6128905
gnu: libpwquality: Enable Python binding.
* gnu/packages/password-utils.scm (libpwquality)[arguments]: Enable Python binding.
[native-inputs]: Add python-wrapper.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Vinicius Monego
68d425cda8
gnu: Add python-pykeepass.
* gnu/packages/python-crypto.scm (python-pykeepass): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Joseph LaFreniere
474efc823b
gnu: Add python-grandalf.
* gnu/packages/python-xyz.scm (python-grandalf): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Marius Bakke
f01ec472b9
gnu: ungoogled-chromium: Update to 86.0.4240.75-0.c34a56d.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 86.
Include bundled libc++, jsoncpp, re2 and libvpx for now.
(gentoo-patch, chromium-gcc-patchset, %gentoo-patches, %gentoo-revision,
xcb-proto/python2): Remove variables.
(%debian-revision, %debian-patches): Update to debian/84.0.4147.105-1.  Remove
jsoncpp unbundling patch.
(%ungoogled-revision, %ungoogled-origin): Update to c34a56db4c121238fface560.
(%chromium-version, arch-patch, %arch-revision): New variables.
(%arch-patches): Add more patches.
(ungoogled-chromium-snippet): Don't apply GCC or Gentoo patches.  Don't
unbundle libvpx or re2.
(ungoogled-chromium): Update to 86.0.4240.75-0.c34a56d.
[arguments]: Adjust #:configure-flags and substitutions for 86.  Add
workaround for building with bundled libc++.  Adjust install phase to take a
hard coded list of files instead of using SCANDIR and REGEXP-EXEC.
[native-inputs]: Change from CLANG-10 to CLANG-11.
[inputs]: Remove JSONCPP, RE2 and XCB-PROTO/PYTHON2.
2020-10-19 00:12:32 +02:00
Marius Bakke
1c4cbeee36
gnu: gn: Update to 0.0-1819.e327ffd.
* gnu/packages/build-tools.scm (gn): Update to 0.0-1819.e327ffd.
2020-10-19 00:12:32 +02:00
Marius Bakke
8937cd05d3
gnu: lld: Update to 11.0.0.
* gnu/packages/llvm.scm (lld): Update to 11.0.0.
[inputs]: Change from LLVM-10 to LLVM-11.
2020-10-19 00:12:32 +02:00
Marius Bakke
7f79358def
gnu: LLVM, Clang: Add 11.0.0.
* gnu/packages/patches/clang-11.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (llvm-11, clang-runtime-11, clang-11,
clang-toolchain-11): New variables.
2020-10-19 00:12:31 +02:00
Marius Bakke
f1db068adb
gnu: llvm.scm: Reorder variables.
Keep all LLVM and Clang packages in order, define default versions last.
2020-10-19 00:12:31 +02:00
Marius Bakke
dcafa89cf0
gnu: extempore: Inline custom package variants.
Except novel ones without suitable replacements in Guix.

* gnu/packages/music.scm (portmidi-for-extempore): Remove variable, and move
to ...
(extempore)[inputs]: ... here.
* gnu/packages/llvm.scm (llvm-for-extempore): Likewise.
* gnu/packages/image.scm (stb-image-for-extempore): Likewise.
2020-10-19 00:12:31 +02:00
Miguel Ángel Arruga Vivas
d76b668cd6
installer: Call setlocale after init gettext.
* gnu/installer.scm (installer-program)[init-gettext]: Change locale
from C, installed at the program start.
2020-10-18 17:55:40 +02:00
Miguel Ángel Arruga Vivas
cfe9c7eceb
system: Use locale information in grub.cfg.
* gnu/bootloader/grub.scm (define-module): Add new dependency.
(grub-configuration-file): Add locale keyword.
(grub-configuration-file)[locale-config]: New variable with generated
locale configuration when locale parameter has been provided.
[builder]: Add locale-config.
2020-10-18 15:33:05 +02:00
Miguel Ángel Arruga Vivas
eaf0963983
system: Provide locale information to the bootloader.
* gnu/machine/ssh.scm (roll-back-managed-host): Use locale information
from boot-parameters.
* gnu/system.scm (operating-system-bootcfg): Provide locale information
to the bootloader.
* guix/system/script.scm (reinstall-bootloader): Use locale information
from boot-parameters.
2020-10-18 15:33:05 +02:00
Miguel Ángel Arruga Vivas
9d449b945b
system: Add locale to boot-parameters.
* gnu/system.scm (define-module)[export]: Add boot-parameters-locale.
(<boot-parameters>)[locale]: New field.
[boot-parameters-locale]: New accessor.
(read-boot-parameters): Read locale field.
(operating-system-boot-parameters): Provide operating-system locale to
boot-parameters record.
(opeating-system-boot-parameters-file): Likewise.
* Makefile.am (SCM_TESTS): Add tests/boot-parameters.scm.
* tests/boot-parameters.scm: New test file.
2020-10-18 15:32:54 +02:00
BonfaceKilz
1e30245406
gnu: Add python2-openpyxl.
* gnu/packages/python-xyz.scm (python2-openpyxl): New package.
(python-openpyxl)[properties]: Add reference to python2-openpyxl.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:31:23 +03:00
Jonathan Brielmaier
545441735a
gnu: Add hunspell-dict-de.
* gnu/packages/libreoffice.scm (hunspell-dict-de): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:19:34 +03:00
Jakub Kądziołka
fe5b5f8cd0
gnu: Add ispell.
* gnu/packages/aspell.scm (ispell): New variable.

Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:16:19 +03:00
Efraim Flashner
4d405914ed
gnu: newsboat-2.13: Build with json-c-0.13.
* gnu/packages/syndication.scm (newsboat-2.13)[inputs]: Replace json-c
with json-c@.013.
2020-10-18 10:14:02 +03:00
Efraim Flashner
d512990d15
gnu: vc-dwim: Update to 1.10.
* gnu/packages/version-control.scm (vc-dwim): Update to 1.10.
2020-10-18 09:37:54 +03:00
Ludovic Courtès
6be7146130
gexp: 'assume-valid-file-name' has files looked up under the CWD.
Fixes a bug introduced in 5d4ad8e1be,
whereby files enclosed in 'assume-valid-file-name' would be looked up
relative to the source directory instead of relative to the current
directory.

* guix/gexp.scm (local-file): In the 'assume-valid-file-name' case, look
up FILE relative to the current working directory.
2020-10-18 00:21:33 +02:00
Tobias Geerinckx-Rice
d14221bf65
gnu: ncmpc: Update to 0.41.
* gnu/packages/mpd.scm (ncmpc): Update to 0.41.
2020-10-17 23:21:58 +02:00
Magali Lemes
633b0242d0
gnu: Add r-calculus.
* gnu/packages/cran.scm (r-calculus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Aniket Patil
62fc3e375c
doc: Fix typo.
* doc/guix.texi (Invoking guix import): Fix typo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Helio Machado
f045a7a926
import: utils: Fix license name mismatches and define CUA-OPL-1.0.
* guix/licenses.scm (cua-opl1.0): New variable.
* guix/import/utils.scm (spdx-string->license): Rename licenses to fit
the internal names and add a notice pointing to guix/licenses.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Lars-Dominik Braun
21fdf429a7
gnu: xpra: Fix HTML server
* gnu/packages/patches/xpra-4.0.4-norequests.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xpra)[patches]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Ludovic Courtès
f54149062e
doc: cookbook: Balance parens in custom kernel examples.
* doc/guix-cookbook.texi (Customizing the Kernel): Add missing paren in
example.  Remove extra parens in other example.
2020-10-17 22:40:18 +02:00
Ludovic Courtès
97ce30cc1b
doc: Generate cross-references in code snippets to the Guile manual.
Occurrences of 'list', 'cons', etc. in code snippets now link to the
relevant section of the Guile manual.

* doc/build.scm (guile-manual, %guile-manual-base-url)
(guile-mono-node-indexes, guile-split-node-indexes): New variables.
(for-all-languages, merge-index-alists): New procedures.
<top level>: Rename 'mono-node-indexes' and 'split-node-indexes' to
'guix-mono-node-indexes' and 'guix-split-node-indexes' respectively.
Add 'mono-node-indexes' and 'split-node-indexes' defined as calls to
'merge-index-alists'.
2020-10-17 22:40:17 +02:00
Ludovic Courtès
db1d445357
doc: Allow code snippets in the cookbook to link to the manual.
Until now, only code snippets in the manual itself would contain links
to identifier definitions.  Now snippets in the cookbook also link to
definitions in the manual.

* doc/build.scm (html-manual): Add #:mono-node-indexes and #:multi-node-indexes
and pass it to 'syntax-highlighted-html'.
(pdf+html-manual): Likewise, and pass it to 'html-manual'.
<top level>: Factorize 'version' and 'source'.  Define 'guix-manual',
'mono-node-indexes', and 'split-node-indexes'.  Pass #:mono-node-indexes
and #:split-node-indexes to 'pdf+html-manual'.
2020-10-17 22:40:17 +02:00
Ludovic Courtès
0f7d0743ed
doc: Move manual index creation to a separate derivation.
* doc/build.scm (normalize-language-code, html-manual-identifier-index):
New procedures.
(syntax-highlighted-html): Add #:mono-node-indexes and #:split-node-indexes.
[build](underscore-decode, anchor-id->key, collect-anchors): Remove.
(language+node-anchors, mono-node-anchors, multi-node-anchors): New
variables.
Use them.
2020-10-17 22:40:17 +02:00
Ludovic Courtès
3cd1a7ac51
doc: Remove 'build.scm' from the source of the manual.
That way we no longer have to rebuild the whole manual when fiddling
with 'build.scm'.

* doc/build.scm <top level>: Define 'select?' and pass it to
'pdf+html-manual'.
2020-10-17 22:40:17 +02:00