me
/
guix
Archived
1
0
Fork 0
Commit Graph

113525 Commits (228c9308ffca333e7da842787fb3d7e2b8f51875)

Author SHA1 Message Date
Josselin Poiret 228c9308ff
gnu: zig: Fix build.
* gnu/packages/patches/zig-do-not-link-against-librt.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/zig.scm (zig-0.10): Use it.  Also force LLVM to be dynamically
linked, and set up the CC env variable.
(zig-0.9): Also use the above patch.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-04-22 13:50:20 +02:00
Guillaume Le Vaillant 5569971659
gnu: prusa-slicer: Update to 2.5.2.
* gnu/packages/patches/prusa-slicer-boost-fixes.patch: New file.
* gnu/packages/patches/prusa-slicer-fix-tests.patch: New file.
* gnu/packages/patches/prusa-slicer-with-cereal-1.3.1.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/engineering.scm (prusa-slicer): Update to 2.5.2.
  [source]: Use patches.
  [inputs]: Replace cereal-1.3.0 by cereal.
2023-04-22 12:57:03 +02:00
Guillaume Le Vaillant 6c91f65d09
gnu: libigl: Fix build.
* gnu/packages/engineering.scm (libigl)[inputs]: Add tbb.
2023-04-22 12:57:03 +02:00
Guillaume Le Vaillant 81cef273c0
gnu: embree: Update to 3.13.5.
* gnu/packages/graphics.scm (embree): Update to 3.13.5.
2023-04-22 12:57:03 +02:00
Andreas Enge 41e58649e1
gnu: python-genshi: Update to 0.7.7.
* gnu/packages/python-web.scm (python-genshi): Update to 0.7.7.
2023-04-22 11:03:59 +02:00
Andreas Enge 1c966023e8
gnu: python-stdnum: Update to 1.18.
* gnu/packages/finance.scm (python-stdnum): Update to 1.18.
2023-04-22 11:02:06 +02:00
Andreas Enge d1252b597d
Merge remote-tracking branch 'origin/master' into core-updates 2023-04-22 09:21:22 +02:00
Ludovic Courtès 3f7ae420d8
gnu: python-cffsubr: Depend on python-afdko@3.6.1.
This removes the dependency of GNOME on Java:

  gnome -> font-abattis-cantarell -> ... -> openjdk

Discussed at
<https://lists.gnu.org/archive/html/guix-devel/2022-10/msg00226.html>.

* gnu/packages/fontutils.scm (python-cffsubr)[inputs]: Switch to
PYTHON-AFDKO-3.6.1.
2023-04-21 23:01:18 +02:00
Ludovic Courtès cbf169608c
gnu: python-afdko: Add version 3.6.1.
* gnu/packages/fontutils.scm (python-afdko-3.6.1): New variable.
2023-04-21 23:01:18 +02:00
Ludovic Courtès 5c26e06efa
gnu: libotr: Fix compilation with glibc 2.35.
* gnu/packages/messaging.scm (libotr)[source]: Add 'snippet'.
2023-04-21 23:01:13 +02:00
Leo Famulari 040d35f088
Revert "gnu: lxqt-admin: Fix path for timezone file."
The timezone database should not be depended on by packages, but rather found at
runtime in the environment. Otherwise, this package will eventually report the
incorrect time, because time zones change regularly.

This reverts commit 99c1c7a30c.
2023-04-21 14:39:39 -04:00
Lars-Dominik Braun dc9c09023a
gnu: ghc-9.0: Make testsuite compatible with Python 3.10.
* gnu/packages/haskell.scm (ghc-9.0)[native-inputs]: Add patch and
snippet to ghc-testsuite input.
2023-04-21 20:26:00 +02:00
Saku Laesvuori 13ebf5e36c
doc: Update openssh-host documentation.
* doc/guix.texi (Secure Shell): Update openssh-host documentation to
match the code.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 17:09:51 +02:00
Saku Laesvuori 9043e23196
home: services: openssh: Add configuration option for jump proxies
Add a new 'proxy' field to openssh-host to allow ProxyCommand or
ProxyJump, but not both, to be configured. Configuring both would cause
the serialization order to determine which one is used. Deprecate the
'proxy-command' field because the 'proxy' field replaces it.

* gnu/home/services/ssh.scm (proxy-jump->string,
proxy-command-or-jump-list?, serialize-proxy-command-or-jump-list,
sanitize-proxy-command): New procedure.
(proxy-jump, proxy-command): New record type.
(openssh-host)[proxy-command]: Mark field as deprecated because OpenSSH
can't have ProxyCommand and ProxyJump configured at the same time.
* doc/guix.texi (Secure Shell): Update to match the changes to the
service.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 17:09:50 +02:00
Artyom V. Poptsov fb17c47efe
gnu: guile-dsv: Update to 0.5.2.
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.5.2.
  [native-inputs]: Add "help2man".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 17:09:50 +02:00
Juliana Sims 6a76811c59
gnu: Add emacs-gerbil-mode.
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 17:09:50 +02:00
Peter Polidoro 76cda17812
gnu: kicad: Update to 7.0.2.
* gnu/packages/engineering.scm (kicad): Update to 7.0.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 17:09:50 +02:00
Ludovic Courtès 1df54ceab3
packages: 'package-direct-sources' correctly handles non-origin sources.
Previously 'package-direct-sources' would trigger a wrong-type-arg error
when passed a package whose 'source' is not an origin, such as
'ruby-sorbet-runtime'.

* guix/packages.scm (package-direct-sources): Call 'expand' if and only
if (package-source package) is an origin.
2023-04-21 17:09:50 +02:00
Ludovic Courtès 61a6b05850
tests: Relax two tests that expected a non-zero error code.
* tests/guix-package-aliases.sh: "guix upgrade foo bar" has always
returned zero; adjust accordingly.
* tests/guix-refresh.sh: "guix refresh -t test idutils" and similar
return zero; adjust accordingly.
2023-04-21 17:09:46 +02:00
Andreas Enge de76f4545c
gnu: kdoctools: Compile with docbook-xml@4.5.
* gnu/packages/kde-frameworks.scm (kdoctools): Use docbook-xml-4.5 instead
of docbook-xml.
2023-04-21 16:48:54 +02:00
Eric Bavier 37dd69b445
tests: Fix checks for expected failures.
Addresses <https://issues.guix.gnu.org/62406>.

With 'set -e', a return status inverted with '!' does not cause the shell to
exit immediately.  Instead use '&& false' to indicate an expected failure.

* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh,
tests/guix-environment-container.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh,
tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with
'... && false' or `test ! ...` as appropriate.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-04-21 16:16:38 +02:00
Ludovic Courtès a09c7da8f8
tests: Fork and exec a new Guile for the marionette REPL.
By merely forking PID 1, details from PID 1 (shepherd) would leak into
the marionette process, such as the set of modules in scope and state
inherited from the shepherd process (<service> instances, fibers,
etc.).  Running a fresh Guile instance avoids that.

* gnu/tests.scm (marionette-program): New procedure.
(marionette-shepherd-service): Change 'start' to use
'make-forkexec-constructor', and run the result of 'marionette-program'.
2023-04-21 16:16:38 +02:00
Ludovic Courtès fb32e226ce
tests: Use the client 'start-service' procedure.
The previous code worked "by chance": 'start' from (shepherd service)
happened to be in scope because the marionette REPL is created by a mere
'primitive-fork', and 'start' happened to kinda work.

* gnu/tests/base.scm (run-basic-test): Use 'start-service' from (gnu
services herd), not 'start' from (shepherd service), which is not
supposed to work.
* gnu/tests/install.scm (run-install): Likewise.
2023-04-21 16:16:38 +02:00
Ludovic Courtès 95731b4ef1
services: herd: 'load-services/safe' is synonymous with 'load-services'.
This is a followup to 547965aa27.

* gnu/services/herd.scm (load-services/safe): Make an alias for
'load-services'.
2023-04-21 16:16:37 +02:00
Ludovic Courtès 9385c82c54
services: nscd: Depend on syslogd.
This gets rid of nscd debug messages on the console at boot time.

* gnu/services/base.scm (nscd-shepherd-service): Add dependency on
'syslogd'.
2023-04-21 16:16:37 +02:00
Ludovic Courtès e45306c198
services: postgresql: Add default package.
* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]:
Add default value, moved from...
(postgresql-service-type)[default-value]: ... here.
2023-04-21 16:16:37 +02:00
Ludovic Courtès 1fa038324d
services: knot: Add 'configuration' action.
* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
2023-04-21 16:16:37 +02:00
Ludovic Courtès 70677d8822
services: rsync: Add 'configuration' action.
* gnu/services/rsync.scm (rsync-shepherd-service): Add 'actions' field.
2023-04-21 16:16:37 +02:00
Ludovic Courtès 0ac2ada05a
services: redis: Add 'configuration' action.
* gnu/services/databases.scm (redis-shepherd-service): Add 'actions'
field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès 97f91aa4ac
services: mysql: Add 'configuration' action.
* gnu/services/databases.scm (mysql-shepherd-service): Add 'actions'
field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès a5fc3fc921
services: postgresql: Add 'configuration' action.
* gnu/services/databases.scm (postgresql-shepherd-service): Add
'actions' field.
2023-04-21 16:16:36 +02:00
Ludovic Courtès 7aaf278286
services: postgresql: Add the 'postgresql' Shepherd service name.
* gnu/services/databases.scm (postgresql-shepherd-service): Add
'postgresql' to 'provision'.
2023-04-21 16:16:36 +02:00
Maxim Cournoyer 0830059b9c
gnu: freerdp: Update to 2.2.0 [security fixes].
This fixes CVE-2022-39316, CVE-2022-39317, CVE-2022-39318, CVE-2022-39319,
CVE-2022-39320, CVE-2022-41877, CVE-2022-39347, CVE-2022-39282,
CVE-2022-39283, CVE-2021-41159 and CVE-2021-41160.

* gnu/packages/rdesktop.scm (freerdp): Update to 2.2.0.
[arguments]: Use gexps.  Do not set DOCBOOKXSL_DIR in #:configureflags.
2023-04-21 09:56:59 -04:00
Maxim Cournoyer 524b54ae58
gnu: freerdp: Update to 2.2.0 [security fixes].
This fixes CVE-2022-39316, CVE-2022-39317, CVE-2022-39318, CVE-2022-39319,
CVE-2022-39320, CVE-2022-41877, CVE-2022-39347, CVE-2022-39282,
CVE-2022-39283, CVE-2021-41159 and CVE-2021-41160.

* gnu/packages/rdesktop.scm (freerdp): Update to 2.2.0.
[arguments]: Use gexps.  Do not set DOCBOOKXSL_DIR in #:configureflags.
2023-04-21 09:55:51 -04:00
Maxim Cournoyer 2c1e17071d
services: syslog: Log auth.info to /var/log/secure in default configuration.
This causes authentication failures such as those generated by SSH brute force
attacks to appear in /var/log/secure, which is picked up by tools such as
fail2ban.

* gnu/services/base.scm (%default-syslog.conf): Add a auth.info selector for
the /var/log/secure log.

Series-to: 62802@debbugs.gnu.org
2023-04-21 09:04:40 -04:00
Maxim Cournoyer 9f890e39e4
services/syslog: Strip leading white space indent in syslog.conf.
This is a cosmetic change.

* gnu/services/base.scm (%default-syslog.conf): Add a comment referencing the
documentation.  Strip the extraneous leading trailing white space indent.
2023-04-21 09:04:40 -04:00
Maxim Cournoyer 2c67e98b37
services: syslog: Add a reload action.
* gnu/services/base.scm (syslog-service-type) [actions]: Add a reload action.
* doc/guix.texi (Base Services): Document it.
2023-04-21 09:04:40 -04:00
Maxim Cournoyer 1ae279d7c8
services: syslog: Move configuration to /etc/syslog.conf.
Having the configuration live at a static location makes it possible to
hot-reload it.

* gnu/services/base.scm (syslog.conf): New variable.
(syslog-etc, syslog-shepherd-service): New procedures.
(syslog-service-type): Rewrite using the above new variable and procedures,
extending etc-service-type with its configuration file.
2023-04-21 09:04:39 -04:00
Maxim Cournoyer e784cba423
gnu: libxml++: Remove fix-documentation phase.
* gnu/packages/gnome.scm (libxml++) [arguments]: Delete field.
2023-04-21 08:29:00 -04:00
Maxim Cournoyer 555e3a951f
gnu: opensp: Fix build.
This is a follow up commit to b84d0b81b2.

* gnu/packages/xml.scm (opensp) [arguments]: Properly quote.
2023-04-21 08:29:00 -04:00
Mădălin Ionel Patrașcu 184658e282
gnu: bppsuite: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bppsuite): Update to 2.4.1.
[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build.
[inputs]: Use list.
[home-page]: Changed to github page.
2023-04-21 14:01:25 +02:00
Mădălin Ionel Patrașcu 2a20acf24b
gnu: bpp-popgen: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-popgen): Update to 2.4.1.
[source]: Remove the commit and use the release version. Changed to the github
repo.
[arguments]: Remove the disabled parallel-build.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 14:01:22 +02:00
Mădălin Ionel Patrașcu 2babf3d7d7
gnu: Add maffilter.
* gnu/packages/bioinformatics.scm (maffilter): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2023-04-21 13:15:02 +02:00
Ricardo Wurmus 4065d9dfd5
gnu: tensorflow: Adjust for Python 3.10 compatibility.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Replace build
phase 'python3.9-compatibility with 'python3.10-compatibility; patch for move
from "collections" to "collections.abc"; add well-meaning but potentially
reckless patch to remove overwrite error for __or__ and __ror__ methods;
adjust farmhash sources to build with GCC 11; do not use distutils.sysconfig.
2023-04-21 13:10:33 +02:00
Ricardo Wurmus 95d26d8530
gnu: python-protobuf-3.6: Patch for Python 3.10.
* gnu/packages/protobuf.scm (python-protobuf-3.6)[arguments]: Patch
collections import.
[native-inputs]: Add python-setuptools-for-tensorflow.
2023-04-21 13:10:33 +02:00
Ricardo Wurmus e9f01bfc97
gnu: python-setuptools-for-tensorflow: Patch for Python 3.10 compatibility.
* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow)[arguments]:
Patch collections imports; remove wininst support.
2023-04-21 13:10:33 +02:00
Ricardo Wurmus 0ea5ef000d
gnu: grpc-1.16.1: Correct input modifications.
abseil-cpp is not part of the native-inputs but of the inputs.

* gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Only replace protobuf.
[inputs]: Replace abseil-cpp.
2023-04-21 13:10:33 +02:00
Ricardo Wurmus 54616b0bae
gnu: python-grpcio: Rebuild Cythonized source files.
* gnu/packages/rpc.scm (python-grpcio)[source]: Delete generated cpp file.
[build-system]: Use pyproject-build-system.
[arguments]: Patch setup.py to add grpc headers to search path.
[inputs]: Replace abseil-cpp with abseil-cpp-20211102.0; add
grpc-for-python-grpcio.
[native-inputs]: Add python-cython.
2023-04-21 13:10:33 +02:00
Ricardo Wurmus d0ca8f41c1
gnu: Add grpc-for-python-grpcio.
* gnu/packages/rpc.scm (grpc-for-python-grpcio): New variable.
2023-04-21 13:10:32 +02:00
Ricardo Wurmus 54db21b9f8
gnu: Add abseil-cpp-20211102.0.
* gnu/packages/cpp.scm (abseil-cpp-20211102.0): New variable.
2023-04-21 13:10:32 +02:00