me
/
guix
Archived
1
0
Fork 0
Commit Graph

76926 Commits (72bba784865579171e71cfca13e43dde396321d6)

Author SHA1 Message Date
Morgan Smith bad0654d4f
gnu: gnu-standards: Update to 2020-11-25.
* gnu/packages/gnu-doc.scm (gnu-standards): Update to 2020-11-25.
[source]: Make file-name more descriptive. Use version variable for
revision.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-13 14:19:36 +03:00
Paul Garlick 995f685e4d
gnu: Add texlive-xcharter.
* gnu/packages/tex.scm: New variable.
2021-04-13 11:33:49 +01:00
Mathieu Othacehe 822eacc6bb
tests: halt: Fix it.
This fixes: <https://issues.guix.gnu.org/47727>.  The OCR prompt detection is
failing, so remove it altogether.  It looks like the test doesn't need the
prompt detection delay to work properly.

* gnu/tests/base.scm (run-halt-test): Remove failing OCR detection.
2021-04-13 10:02:46 +02:00
Christopher Baines c311147bd1
services: postgresql: Change service default socket directory.
Fixes <https://bugs.gnu.org/46737>.

PostgreSQL running with a different socket directory to the default one in the
package itself breaks some services, this commit restores the previous
behaviour where PostgreSQL by default will run with a socket directory that
matches the default used by PostgreSQL packaged for Guix.

Switching to a different default value can happen, but only alongside changing
the PostgreSQL package.

* gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]:
Change default to #false.
* doc/guix.texi (Database Services): Update documentation, and specify a
different value for disabling connections via sockets.
* gnu/tests/guix.scm (%guix-data-service-os): Use default PostgreSQL
behaviour.
* gnu/tests/monitoring.scm (%zabbix-os): Likewise.
* gnu/tests/web.scm (patchwork-os): Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-12 19:12:46 -04:00
Ricardo Wurmus 1bbed20332
gnu: guile-picture-language: Update to 0.0.1-5.a1322bf.
* gnu/packages/guile-xyz.scm (guile-picture-language): Update to
0.0.1-5.a1322bf.
2021-04-12 21:51:38 +02:00
Morgan Smith a6ac141ebb
etc/committer: Add missing newline.
* etc/committer.scm.in (main): Add newline to message.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 21:42:15 +02:00
Morgan Smith d375eddda0
etc/committer: Use git plumbing instead of porcelain.
* etc/committer.scm.in (diff-info): Use "git diff-files" instead of "git diff".
(old-sexp): Use "git cat-file" instead of "git show".

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 21:42:15 +02:00
Ludovic Courtès d14f21389c
doc: Document 'gnu-build-system' keyword parameters.
* doc/guix.texi (Build Systems): Document keyword parameters of
'gnu-build-system'.
2021-04-12 18:44:09 +02:00
Ludovic Courtès eb613eff58
doc: Move list of build phases to "Build Phases".
Before this change, the 'gnu-build-system' phases were listed in the
"Build Systems" section, and then summarized in the "Build Phases"
section.  This moves everything to "Build Phases".

* doc/guix.texi (Build Systems): Move phase table to...
(Build Phases): ... here.  Rearrange surrounding text.
2021-04-12 18:44:09 +02:00
Ludovic Courtès a514b4ab19
channels: Build user channels with '-O1'.
This should noticeably speed up compilation for channels with many files.

* guix/channels.scm (standard-module-derivation)[build]: Define
'optimizations-for-level' and '-O1'.  Pass #:optimization-options to
'compile-files'.
2021-04-12 18:44:09 +02:00
Ludovic Courtès 4d0d6d8626
services: ipfs: Tweak description.
* gnu/services/networking.scm (ipfs-service-type)[description]: Avoid
abbreviation.
2021-04-12 18:44:09 +02:00
Maxime Devos 68c9e0a56e
gnu: tests: Test basic funtionality of the IPFS service.
It is tested whether the IPFS service listens
at the gateway and API ports and whether it
is possible to upload and download a bytevector.

* gnu/tests/networking.scm
  (%ipfs-os): New variable.
  (run-ipfs-test): New procedure.
  (%test-ipfs): New system test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:23 +02:00
Maxime Devos 3332f4365b
tests: Support package extensions in the backdoor REPL.
* gnu/tests.scm
  (<marionette-configuration>): Add 'extensions' field.
  (marionette-shepherd-service): Honour the field.
  (with-import-modules-and-extensions): Define a combination
  of 'with-import-modules' and 'with-extensions'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
Ludovic Courtès b18f45c21f
Add (guix ipfs).
This module allows for communicating with the IPFS
gateway over the HTTP interface.  The commit has been
cherry-picked from <https://issues.guix.gnu.org/33899>.

The procedures for adding and restoring file trees have
been removed as according to a reply issue 33899, a different
format will be used.  The procedure 'add-data' has been
exported as it will be used in the system test for IPFS.

* guix/ipfs.scm: New file.
* Makefile.am (MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
Maxime Devos 2978832b92
services: Add ipfs-service-type
* gnu/services/networking.scm (ipfs-service-type)
  (%ipfs-home-mapping, %ipfs-environment)
  (%ipfs-accounts, %ipfs-home): New variables.
  (ipfs-configuration, ipfs-configuration?)
  (ipfs-configuration-package, ipfs-configuration-gateway)
  (ipfs-configuration-api, ipfs-shepherd-service)
  (ipfs-binary, %ipfs-activation): New procedures.
* doc/guix.texi (Networking Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
Philip McGrath 834aa48504
gnu: racket: Don't inject store paths into Racket files.
Apparently, during grafting, Guix can somehow mangle compiled
Racket CS files (.zo) such that Racket will refuse to load them.
(Maybe it has something to do with compression?)
So, we stop patching Racket sources with absolute paths to store
files (i.e. for foreign libraries to dlopen).
Instead, we put them in a data file that doesn't get compiled or,
in one case, embed it in C.

Fixes https://issues.guix.gnu.org/47064

* gnu/packages/patches/racket-sh-via-rktio.patch: New file.
Adds a special case at the C level, controlled by a preprocessor macro,
to handle attempts to execute "/bin/sh".
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (racket)[source](patches): Apply it.
(racket)[arguments](#:configure-flags): Add the CPP flag to enable it.
(racket)[arguments](#:modules): Use srfi-1.
(racket)[arguments](#:phases): Remove 'patch-/bin/sh and 'pre-configure.
Change 'pre-configure-minimal to just change directory.
Add 'patch-config.rktd-lib-search-dirs after 'build and before 'install
to configure Racket's "lib-search-dirs".
(racket, racket-minimal)[inputs]: Add bash-minimal as an explicit input.
(racket-minimal)[source]: Adjust to inherit patches from racket.
(racket-minimal)[arguments]: Inherit from racket: changes no longer needed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 18:42:22 +02:00
hli eb8da54170
gnu: Add r-txdb-dmelanogaster-ucsc-dm6-ensgene.
* gnu/packages/bioconductor.scm (r-txdb-dmelanogaster-ucsc-dm6-ensgene):
New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 18:25:40 +02:00
Ricardo Wurmus a247f5c753
services: Support DELETE in MODIFY-SERVICES macro.
* gnu/services.scm (%modify-service): Add clause for DELETE syntax.
(modify-services): Use FILTER-MAP; adjust docstring.
* doc/guix.texi (System Services): Mention alternative syntax.
(X Window): Use MODIFY-SERVICES syntax.
2021-04-12 17:49:07 +02:00
Adam Kandur c1ed3b048d
gnu: Add cl-bodge-queue.
* gnu/packages/lisp-xyz.scm (sbcl-bodge-queue, cl-bodge-queue,
  ecl-bodge-queue): New variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-04-12 17:06:31 +02:00
Nicolas Goaziou 7b04bdaba8
gnu: hydrogen: Update to 1.0.2.
* gnu/packages/music.scm (hydrogen): Update to 1.0.2.
2021-04-12 16:06:51 +02:00
Ekaitz Zarraga f53ec9d99b
gnu: Add openvdb.
* gnu/packages/graphics.scm (openvdb): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-04-12 16:03:51 +02:00
Paul Garlick e698843442
gnu: Add texlive-newtx.
* gnu/packages/tex.scm: New variable.
2021-04-12 14:21:23 +01:00
Julien Lepiller ac3bf4e4da
gnu: java-eclipse-jetty-util: Update to 9.4.39 [security fixes].
Fixes CVE-2021-28165 - jetty server high CPU when client send data length >
17408, CVE-2021-28164 - Normalize ambiguous URIs and CVE-2021-28163 - Exclude
webapps directory from deployment scan.

* gnu/packages/java.scm (java-eclipse-jetty-util): Update to 9.4.39.
(java-eclipse-jetty-util-ajax): New variable.
(java-eclipse-jetty-util, java-eclipse-jetty-io, java-eclipse-jetty-http)
(java-eclipse-jetty-jmx, java-eclipse-jetty-server)
(java-eclipse-jetty-security, java-eclipse-jetty-servlet)
(java-eclipse-jetty-xml, java-eclipse-jetty-webapp): Disable tests.
[native-inputs]: Remove test dependencies.
2021-04-12 15:12:09 +02:00
Efraim Flashner 29f205f7e0
gnu: hangups: Run test suite.
* gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
phase.
2021-04-12 15:16:58 +03:00
Efraim Flashner 2323a38b01
gnu: hangups: Loosen version restrictions further.
* gnu/packages/messaging.scm (hangups)[arguments]: Adjust custom
'relax-dependencies phase to allow more dependency versions.
2021-04-12 15:16:58 +03:00
Ekaitz Zarraga 5414617120
gnu: python-mechanicalsoup: Update to 1.0.0.
* gnu/packages/python-web.scm (python-mechanicalsoup): Update to
1.0.0.
[arguments]: Enable tests.
[native-inputs]: Add python-pytest-flake8, python-pytest-httpbin,
python-pytest-cov, python-pytest-mock, python-pytest-runner,
python-requests-mock.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-12 15:16:57 +03:00
Mathieu Othacehe e1a4652099
tests: docker: Increase VM building memory size to 1024MiB.
This fixes the following error when running the "docker-system" test:

In ice-9/ftw.scm:
   553:30  1 (_ #<directory stream db6660>)
In unknown file:
           0 (readdir #<directory stream db6660>)

ERROR: In procedure readdir:
In procedure readdir: Cannot allocate memory

* gnu/tests/docker.scm (%test-docker-system): Bump image building VM memory
size to 1024 MiB.
2021-04-12 14:12:49 +02:00
Mathieu Othacehe 98bf60bf4f
system: vm: Add a memory-size argument to system-docker-image.
* gnu/system/vm.scm (system-docker-image): Add a memory-size argument and pass
it to expression->derivation-in-linux-vm.
2021-04-12 14:12:49 +02:00
Leo Prikler 331666862c
gnu: renpy: Update to 7.4.4.
* gnu/packages/game-development.scm (python2-renpy): Update to 7.4.4.
(python2-pygame-sdl2)[renpy-version]: Likewise.
2021-04-12 13:13:11 +02:00
methuselah-0 f890bf6392
gnu: nginx: Enable stream module.
* gnu/packages/web.scm (nginx)[arguments]: Add --with-stream option in the 'configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:51:15 +02:00
methuselah-0 b9986cac3e
gnu: Add prips.
gnu/packages/admin.scm (prips): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:51:11 +02:00
Ludovic Courtès f67663d669
gnu: blis: Add deprecated aliases.
Add deprecated aliases for packages removed in the parent commit.

* gnu/packages/maths.scm (blis-sandybridge, blis-haswell, blis-knl): New
variables.
2021-04-12 12:38:01 +02:00
Philip McGrath 969adb235e
gnu: blis: Update to 0.8.1.
* gnu/packages/maths.scm (make-blis): Remove internal function.
Inline into ...
(bliss): ... this variable. Update to 0.8.1.
[native-inputs]: Add "python" and "perl".
[arguments]: Adjust 'configure' phase to take advantage of new support
for "configuration families" with runtime hardware detection. Select
configuration automatically based on target systems, and allow
"--blis-config=" in #:configure-flags to override the default.
When building for x86_64, include all supported microarchetecture
specializations. Add "--enable-verbose-make" configure flag for better
build logs. Stop ignoring other flags from #:configure-flags.
Remove explicit #:substitutable? argument: the package is now always
substitutable. Add (srfi srfi-1) to #:modules.
(blis/x86_64): Remove internal macro.
(blis-sandybridge): Remove package: included in 'blis'.
(blis-haswell): Remove package: included in 'blis'.
(blis-knl): Remove package: included in 'blis'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-04-12 12:38:01 +02:00
Mathieu Othacehe fc37346ff4
ci: Fix system-tests subset.
* gnu/ci.scm (system-test-jobs): Make sure that "all-system-tests" is also
covered by the "current-guix-package" parameter.
2021-04-12 11:55:41 +02:00
Guillaume Le Vaillant 05aa5f9f39
gnu: monero-gui: Update to 0.17.2.0.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.2.0.
2021-04-12 11:17:59 +02:00
Guillaume Le Vaillant 3c1cfd7d32
gnu: monero: Update to 0.17.2.0.
* gnu/packages/finance.scm (monero): Update to 0.17.2.0.
2021-04-12 11:17:59 +02:00
Morgan Smith 8799369983
gnu: newlib-nano: Fix nano lib and header paths.
* gnu/packages/embedded.scm (newlib-nano-arm-none-eabi)[arguments]: Hard link
library files from *.a to *_nano.a. Hard link newlib.h to a common location.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-04-12 11:22:21 +03:00
Guillaume Le Vaillant c901ec27d7
gnu: electron-cash: Add missing input.
Fixes <https://bugs.gnu.org/47654>.

* gnu/packages/finance.scm (electron-cash)[inputs]: Add python-pathvalidate.
2021-04-12 10:16:07 +02:00
Guillaume Le Vaillant 5c1f673554
gnu: Add python-pathvalidate.
* gnu/packages/python-xyz.scm (python-pathvalidate): New variable.
2021-04-12 10:12:09 +02:00
Guillaume Le Vaillant bceca1ff58
gnu: Add python-allpairspy.
* gnu/packages/python-check.scm (python-allpairspy): New variable.
2021-04-12 09:50:54 +02:00
Mark H Weaver e18e2e458f
scripts: system: Default to -v3 when building a system.
This is a followup to 8f9052d543.

* guix/scripts/system.scm (verbosity-level): Change the default
from 2 to 3 when building a system.
2021-04-11 22:13:17 -04:00
Leo Famulari ed3ef756f5
gnu: Syncthing: Update to 1.15.1 [fixes CVE-2021-21404].
* gnu/packages/syncthing.scm (syncthing): Update to 1.15.1.
[source]: Use bundled dependencies.
[inputs]: Remove field.
[arguments]: Adjust the custom 'build' and 'install' phases for 1.15.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-04-11 21:52:34 -04:00
Tobias Geerinckx-Rice f5898781e2
gnu: python-cython: Update to 0.29.22.
* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.22.
2021-04-12 01:24:46 +02:00
Tobias Geerinckx-Rice 9b34c9167b
gnu: python-fastimport: Update to 0.9.9.
* gnu/packages/python-xyz.scm (python-fastimport): Update to 0.9.9.
2021-04-12 00:51:49 +02:00
Tobias Geerinckx-Rice e737e74ec0
gnu: minetest: Update to 5.4.1.
* gnu/packages/games.scm (minetest, minetest-data): Update to 5.4.1.
2021-04-12 00:24:02 +02:00
Tobias Geerinckx-Rice 1135b347db
gnu: ghq: Update to 1.1.7.
* gnu/packages/version-control.scm (ghq): Update to 1.1.7.
2021-04-12 00:03:15 +02:00
Tobias Geerinckx-Rice 5661cdce25
gnu: lagrange: Update to 1.3.2.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.3.2.
2021-04-11 23:59:37 +02:00
Tobias Geerinckx-Rice 40707f2e0b
gnu: irssi: Update to 1.2.3.
* gnu/packages/irc.scm (irssi): Update to 1.2.3.
2021-04-11 23:55:17 +02:00
Tobias Geerinckx-Rice 9d7577d5d8
gnu: edgar: Update to 1.34.
* gnu/packages/games.scm (edgar): Update to 1.34.
2021-04-11 23:46:30 +02:00
Tobias Geerinckx-Rice d286ea6d5b
gnu: libime: Update to 1.0.6.
* gnu/packages/fcitx5.scm (libime): Update to 1.0.6.
2021-04-11 23:39:17 +02:00