me
/
guix
Archived
1
0
Fork 0
Commit Graph

113759 Commits (870f2d40e055d57659dff0dc20b903522f055bb0)

Author SHA1 Message Date
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
Mădălin Ionel Patrașcu 7c75228c8b
gnu: Add bpp-phyl-omics.
* gnu/packages/bioinformatics.scm (bpp-phyl-omics): New variable.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu 722a8b2296
gnu: Add bpp-seq-omics.
* gnu/packages/bioinformatics.scm (bpp-seq-omics): New variable.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu 5107a8a1a3
gnu: bpp-phyl: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-phyl): 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 and out-of-source.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
[synopsis]: Use proper capitalization.
2023-04-21 12:56:39 +02:00
Mădălin Ionel Patrașcu 627049872b
gnu: bpp-seq: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-seq): 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 and out-of-source.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 12:56:38 +02:00
Mădălin Ionel Patrașcu 51ef858c94
gnu: bpp-core: Update to 2.4.1.
* gnu/packages/bioinformatics.scm (bpp-core): Update to 2.4.1.

[source]: Remove the commit and use the release version. Changed to the github
stored sources.
[arguments]: Remove the disabled parallel-build.
[home-page]: Changed to new host Université Claude-Bernard Lyon 1.
2023-04-21 12:56:38 +02:00
Nicolas Goaziou 7cfc226d1e
gnu: luakit: Further improve style.
This is a followup to d3bc56da04.

* gnu/packages/web-browsers.scm (luakit)[arguments]<#:phases>: Remove
unnecessary INPUTS key.
[inputs]: Sort alphabetically.
2023-04-21 12:42:36 +02:00
Nicolas Goaziou d3bc56da04
gnu: luakit: Improve package style.
* gnu/packages/web-browsers.scm (luakit)[arguments]<#:tests?>: Properly
disable tests instead of deleting CHECK phase.
<#:make-flags, #:phases>: Use G-expressions.  Remove trailing #T.
<#:test-targes>: Add it, for the record.
[inputs]: Remove labels.
2023-04-21 11:18:56 +02:00
Yovan Naumovski 1027f10199
gnu: Add alienblaster.
* gnu/packages/games.scm (alienblaster): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Antero Mejr 2662f074a0
gnu: Add clog.
* gnu/packages/parallel.scm (clog): New variable.
* gnu/packages/patches/clog-fix-shared-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Andy Tai 9d7ba42dbf
gnu: a2ps: Update to 4.15.4
* gnu/packages/pretty-print.scm (a2ps): Update to 4.15.4

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:55 +02:00
Eidvilas Markevičius 1322672667
gnu: kakoune: update to 2022.10.31.
* gnu/packages/text-editors.scm (kakoune): Update to 2022.10.31.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
Andy Tai 482196a855
gnu: terminator: Update to 2.1.3
* gnu/packages/gnome.scm (terminator): Update to 2.1.3

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
kiasoc5 c3f51e1599
gnu: wlr-randr: Update to 0.3.0.
* gnu/packages/wm.scm (wlr-randr): Update to 0.3.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
kiasoc5 87e37ac723
gnu: mpdevil: Update to 1.10.2.
* gnu/packages/mpd.scm (mpdevil): Update to 1.10.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:54 +02:00
Andy Tai 74e2ac6a0e
gnu: icewm: Update to 3.3.3.
* gnu/packages/wm.scm (icewm): Update to 3.3.3.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00
Brendan Tildesley 604f911d2c
gnu: python-txtorcon: Fix build.
gnu/packages/python-crypto.scm (python-txtorcon): Fix build failure.
[propagated-inputs]: Add PYTHON-PYOPENSSL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-04-21 10:50:53 +02:00