Commit graph

104865 commits

Author SHA1 Message Date
Ludovic Courtès 82bde985f4
style: '-f' reads input files as UTF-8 by default.
Reported by mirai on #guix.

* guix/scripts/style.scm (format-whole-file): Wrap body in
'with-fluids'.  Pass #:guess-encoding to 'call-with-input-file'.
2022-11-20 23:20:31 +01:00
Ricardo Wurmus 238d983b4e
gnu: bchoppr: Update to 1.12.0.
* gnu/packages/music.scm (bchoppr): Update to 1.12.0.
2022-11-20 21:48:42 +01:00
Ricardo Wurmus c585b4bc68
file-systems: Always do recursive bind mounts.
Fixes <https://issues.guix.gnu.org/59185>.

* guix/build/syscalls.scm (MS_REC): New variable.
* gnu/build/file-systems.scm (mount-flags->bit-mask): Set MS_REC bit when
bind-mounting.
2022-11-20 21:27:10 +01:00
Marius Bakke 4416e94e51
gnu: xmlsec-openssl: Remove input labels.
* gnu/packages/xml.scm (xmlsec-openssl)[inputs]: Remove labels.
2022-11-20 21:08:08 +01:00
Marius Bakke 127314f5cc
gnu: xmlsec-nss: Remove input labels.
* gnu/packages/xml.scm (xmlsec-nss)[native-inputs, inputs]: Remove labels.
2022-11-20 21:08:08 +01:00
Marius Bakke 49a7232c5d
gnu: oath-toolkit: Fix test failure with new xmlsec.
* gnu/packages/patches/oath-toolkit-xmlsec-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/authentication.scm (oath-toolkit)[source](patches): New field.
2022-11-20 21:08:08 +01:00
Marius Bakke 225dc9dc63
gnu: xmlsec: Update to 1.2.36.
* gnu/packages/xml.scm (xmlsec): Update to 1.2.36.
2022-11-20 21:08:08 +01:00
Marius Bakke 5284887524
gnu: xmlsec: Add 'upstream-name' property.
* gnu/packages/xml.scm (xmlsec)[properties]: New field.
2022-11-20 21:08:08 +01:00
Marius Bakke 351bada950
services: mysql: Run mariadb-install-db instead of hard coding schemas.
* gnu/services/databases.scm (mysql-install): Run "mariadb-install-db" instead
of a hard coded set of SQL commands.
(mysql-upgrade-wrapper): Explicitly run as mysql user.
2022-11-20 17:54:05 +01:00
Marius Bakke 3323ffa66d
services: mysql: Remove mysql-install-service in favor of wrapper.
* gnu/services/databases.scm (mysql-with-install-lock): Remove variable.
(mysql-start): Rename to ...
(mysqld-wrapper): ... this.  Do the preliminary initialization steps and call
out to MYSQL-INSTALL when necessary.
(mysql-install): Only initialize table schemas.
(mysql-install-shepherd-service): Remove.
(mysql-service)[requirement]: Remove 'mysql-install.  Add 'user-processes.
[start]: Don't pass #:user and #:group.
(mysql-shepherd-services): Remove MYSQL-INSTALL-SHEPHERD-SERVICE.
2022-11-20 17:54:05 +01:00
Marius Bakke e4a74f38df
services: mysql-upgrade: Add log file.
* gnu/services/databases.scm (mysql-upgrade-shepherd-service)[start]: Pass
 #:log-file.
2022-11-20 17:54:05 +01:00
Marius Bakke 6ac97bb503
services: mysql-upgrade: Support custom datadir.
* gnu/services/databases.scm (mysql-upgrade-wrapper): Take service
configuration as argument, and pass the config file to mysql_upgrade.
(mysql-upgrade-shepherd-service): Pass CONFIG instead of just socket and
executable to MYSQL-UPGRADE-WRAPPER.
2022-11-20 17:54:05 +01:00
Ellen Papsch c7b266fdf2
gnu: mysql: Support custom data dir.
* gnu/services/databases.scm (mysql-configuration): Add datadir property.
* gnu/services/databases.scm (mysql-configuration-file): Replace hard coded
data dir with property from config.
* gnu/services/databases.scm (%mysql-activation): Remove activation, it runs
before PID 1. The data dir may reside on a file system not mounted at this
time.
* gnu/services/databases.scm (mysql-install-shepherd-service): Create service
which replaces the activation. Provide mysql-install.
* gnu/services/databases.scm (mysql-shepherd-service): Move invocation of
mysqld to mysql-start program-file, because the invocation gotten more
complex. Require mysql-install.
* gnu/services/databases.scm (mysql-start): Invoke mysqld only if a lock file
appears.
* gnu/services/databases.scm (mysql-shepherd-services): Prepend the install
service before the normal service.
* gnu/services/databases.scm (mysql-upgrade-wrapper): Increase timeout to
  20s to let the mysql install procedure finish.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-11-20 17:54:04 +01:00
Marius Bakke 96efebed24
tests: mysql: Wait for the socket before running queries.
* gnu/tests/databases.scm (run-mysql-test): Add socket test.
2022-11-20 17:54:04 +01:00
Marius Bakke fe0a1b49c1
gnu: postgresql@10: Update to 10.23.
* gnu/packages/databases.scm (postgresql-10): Update to 10.23.
2022-11-20 17:54:04 +01:00
Marius Bakke a4e74cf344
gnu: postgresql@11: Update to 11.18.
* gnu/packages/databases.scm (postgresql-11): Update to 11.18.
2022-11-20 17:54:04 +01:00
Marius Bakke 5e861c1aee
gnu: postgresql@13: Update to 13.9.
* gnu/packages/databases.scm (postgresql-13): Update to 13.9.
2022-11-20 17:54:04 +01:00
Marius Bakke bb9837f66c
gnu: postgresql: Add 15.1.
* gnu/packages/databases.scm (postgresql-15): New variable.
(postgresql-14): Inherit from it.
2022-11-20 17:54:04 +01:00
pelzflorian (Florian Pelz) da6c6763fa
scripts: Use translations for guix.pot for service descriptions.
Previously, service descriptions appeared in both guix.pot and
packages.pot, but only translations of packages.pot were used.
Now, translations are only done with guix.pot.

This is better, because translators are more likely to translate
guix.pot, and is also easier, because files in gnu/{home/,}services
need to be in po/guix/POTFILES.in anyway and po/guix/Makevars
already acts on the 'description' keyword because of lint checkers.

* guix/scripts/home.scm (service-type-description-string):
Use translations from guix.pot.
* guix/scripts/system/search.scm (service-type-description-string)
(service-type->recutils): Likewise.
* po/packages/POTFILES.in: Move files in gnu/services to ...
* po/guix/POTFILES.in: ... here.
2022-11-20 16:01:08 +01:00
Marius Bakke 44f087fcc7
gnu: inkbox: Fix build.
* gnu/packages/ebook.scm (inkbox)[arguments]: Use G-expression.
2022-11-20 15:15:33 +01:00
Marius Bakke e994412c19
gnu: inkbox: Update home-page and source URI.
* gnu/packages/ebook.scm (inkbox)[home-page]: Set to repository, as the
previous was NXDOMAIN.
[source](uri): Use HOME-PAGE.
2022-11-20 15:15:33 +01:00
Marius Bakke 20d5b8b4d5
gnu: fmit: Remove input labels.
* gnu/packages/music.scm (fmit)[native-inputs]: Remove labels.
2022-11-20 15:15:33 +01:00
Marius Bakke 9b808922e9
gnu: fmit: Fix build.
* gnu/packages/music.scm (fmit)[arguments]: Adjust for label changes.
2022-11-20 15:15:33 +01:00
Marius Bakke d56b1cea91
gnu: openal: Add upstream-name property.
* gnu/packages/audio.scm (openal)[properties]: New field.
2022-11-20 15:15:33 +01:00
Marius Bakke 3258eae9ee
gnu: qtcolorwidgets: Update to 2.2.0.
* gnu/packages/qt.scm (qtcolorwidgets): Update to 2.2.0.
2022-11-20 15:15:33 +01:00
Marius Bakke 39de9fd90c
gnu: gzochi: Add missing dependency.
* gnu/packages/game-development.scm (gzochi)[inputs]: Add GMP.
[native-inputs]: Remove label while at it.
2022-11-20 15:15:33 +01:00
Marius Bakke 3a91ee3b88
gnu: protobuf@2: Fix build.
* gnu/packages/protobuf.scm (protobuf-2)[build-system]: Set to GNU-BUILD-SYSTEM.
[arguments]: Clear.
[outputs]: Remove "static".
2022-11-20 15:15:33 +01:00
(unmatched-parenthesis 7343bb8325
gnu: Add go-github-com-jaytaylor-html2text.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): New
  variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:54:11 -05:00
(unmatched-parenthesis 4fb0b075e4
gnu: Add go-github-com-gogs-chardet.
* gnu/packages/golang.scm (go-github-com-gogs-chardet): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:54:11 -05:00
(unmatched-parenthesis a2af6352e3
gnu: Add go-github-com-ssor-bom.
* gnu/packages/golang.scm (go-github-com-ssor-bom): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:54:11 -05:00
(unmatched-parenthesis 9290e943cf
gnu: Add go-github-com-rivo-tview.
* gnu/packages/golang.scm (go-github-com-rivo-tview): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:54:11 -05:00
Guillaume Le Vaillant 52fdcf299d
gnu: cl-virality: Don't install examples.
* gnu/packages/lisp-xyz.scm (sbcl-virality)[arguments]: Add 'delete-examples'
  phase.
2022-11-20 14:45:00 +01:00
Paul A. Patience c8f406056f
gnu: Add cl-simplified-types.
* gnu/packages/lisp-xyz.scm (sbcl-simplified-types, cl-simplified-types,
  ecl-simplified-types): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-20 14:45:00 +01:00
Paul A. Patience 46a2e98ca9
gnu: Add cl-pp-toml.
* gnu/packages/lisp-xyz.scm (sbcl-pp-toml, cl-pp-toml, ecl-pp-toml): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-20 14:45:00 +01:00
Sharlatan Hellseher 9c2d6ddfbe
gnu: Add cl-virality.
* gnu/packages/lisp-xyz.scm (cl-virality, sbcl-virality): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-20 14:45:00 +01:00
(unmatched-parenthesis ae90aaa60c
gnu: Rename go-golang-org-colorful to go-github-com-lucasb-eyer-go-colorful.
* gnu/packages/golang.scm (go-golang-org-colorful): Deprecate and rename to...
(go-github-com-lucasb-eyer-go-colorful): ...this.
(go-github-com-gdamore-tcell)[inputs]: Rename go-golang-org-colorful to
go-github-com-lucasb-eyer-go-colorful.
(go-github-com-muesli-termenv)[inputs]: Likewise.
(go-github-com-charmbracelet-glamour)[inputs]: Likewise.
(go-github-com-charmbracelet-bubbletea)[inputs]: Likewise.
* gnu/packages/configuration-management.scm (chezmoi)[native-inputs]: Rename
go-golang-org-colorful to go-github-com-lucasb-eyer-go-colorful.
* gnu/packages/image-viewers.scm (pixterm)[inputs]: Likewise.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:31:05 -05:00
(unmatched-parenthesis 35cbf0c04a
gnu: Add go-github-com-go-ini-ini.
* gnu/packages/golang.scm (go-github-com-go-ini-ini): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-20 08:31:05 -05:00
( cfec9f0552
gnu: go-github-com-zenhack-go-notmuch: Use ungexp-native.
* gnu/packages/golang.scm (go-github-com-zenhack-go-notmuch)
[arguments]<#:phases>{'unpack-test-fixtures}: Use ungexp-native with
notmuch-fixtures.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-20 12:00:04 +00:00
jgart 670d30972f
import: egg: Fix typo in docstring.
* gnu/import/egg.scm (Commentary): Fix typo in Commentary docstring.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-20 12:00:04 +00:00
Leo Nikkilä d072bcebbf
gnu: Fix copyright line.
This is a follow-up to commit 9ad311ec15.

* gnu/packages/virtualization.scm: Remove copyright line.
* gnu/services/virtualization.scm: Add copyright line.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-20 12:00:04 +00:00
Christopher Baines dafab37110
services: guix-build-coordinator: Remove duplicate log timestamp.
* gnu/services/guix.scm (guix-build-coordinator-shepherd-services,
guix-build-coordinator-agent-shepherd-services,
guix-build-coordinator-queue-builds-shepherd-services): Set
%current-logfile-date-format to "".

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-20 12:00:04 +00:00
Marius Bakke b8fd2877c9
gnu: python-pbkdf2: Don't use python-pycrypto.
* gnu/packages/python-xyz.scm (python-pbkdf2)[propagated-inputs]: Remove.
2022-11-20 12:17:30 +01:00
Marius Bakke 0985bba557
gnu: python-flask-restful: Remove unused dependency.
* gnu/packages/python-web.scm (python-flask-restful)[propagated-inputs]:
Remove PYTHON-PYCRYPTO.
2022-11-20 12:17:30 +01:00
Marius Bakke 92be7e088d
gnu: ansible-core: Build with python-pycryptodome.
* gnu/packages/admin.scm (ansible-core)[native-inputs]: Replace
PYTHON-PYCRYPTO with PYTHON-PYCRYPTODOME.
2022-11-20 12:17:30 +01:00
Marius Bakke 39d607796b
gnu: python-pycryptodome: Update to 3.15.0.
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.15.0.
(python-pycryptodomex): Update hash.
2022-11-20 12:17:30 +01:00
kiasoc5 4727f45d04
gnu: iwd: Update to 2.0.
* gnu/packages/networking.scm (iwd): Update to 2.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-20 11:02:03 +02:00
kiasoc5 904decf7c0
gnu: ell: Update to 0.54.
* gnu/packages/linux.scm (ell): Update to 0.54.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-20 11:01:51 +02:00
Andy Tai 8db67a3854
gnu: lightning: Update to 2.2.0.
gnu/packages/assembly.scm (lightning): Update to 2.2.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-20 10:50:22 +02:00
Adam Faiz 923be63b44
gnu: chipmunk: Use gexps.
* gnu/packages/game-development.scm (chipmunk)[arguments]: Use gexps.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-20 10:47:29 +02:00
Adam Faiz 3d1a5a3ec7
gnu: chipmunk: Fix build.
* gnu/packages/game-development.scm (chipmunk)[source]: Don't include
the <sys/sysctl.h> header. It has been removed in glibc since 2.32.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-20 10:46:30 +02:00