Commit graph

104807 commits

Author SHA1 Message Date
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
Liliana Marie Prikler d09a4cc7c7
gnu: Remove last reference to fortune-mod.
Since fortune-mod was removed in 6b6b947b61,
it makes no sense to mention it in the description of bsd-games.

* gnu/packages/games.scm (bsd-games): Remove reference to fortune-mod.
2022-11-20 09:22:36 +01:00
(unmatched-parenthesis 8cef05bab6
gnu: Add go-github-com-kyoh86-xdg.
* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-19 23:45:29 -05:00
Philip McGrath ac09fcb955
gnu: racket-vm-cs: Avoid duplicate work.
Only configure with '--enable-racket' for cross-compilation: otherwise,
it effectively overrides '--enable-scheme' and bootstraps Chez Scheme
again. This change saves a couple minutes of build time. See upstream
discussion at <https://github.com/racket/racket/issues/4492>.

* gnu/packages/racket.scm (racket-vm-cs)[native-inputs]: Only supply a
Racket VM when cross-compiling.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-11-20 02:22:18 +01:00
Philip McGrath d9f51000ca
gnu: chez-scheme-for-racket: Support riscv64.
Use the new native backend instead of "portable bytecode".

* gnu/packages/chez.scm (target-chez-arch): Support riscv64-linux-gnu.
(%chez-features-table): Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-11-20 02:22:18 +01:00
Philip McGrath fca5e1a507
gnu: racket: Update to 8.7.
Also, update 'chez-scheme-for-racket' to 9.5.9.8.

Note that racket-backport-8.6-cross-install.patch,
racket-backport-8.6-docindex-write.patch, and
racket-backport-8.6-hurd.patch were missing from dist_patch_DATA.

* gnu/packages/patches/racket-backport-8.6-cross-install.patch,
gnu/packages/patches/racket-backport-8.6-docindex-write.patch,
gnu/packages/patches/racket-backport-8.6-hurd.patch,
gnu/packages/patches/racket-backport-8.6-zuo.patch: Remove patches.
* gnu/packages/patches/racket-backport-8.7-pkg-strip.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket.scm (%racket-origin)[patches]: Likewise.
(%racket-version): Update to 8.7.
(racket)[inputs]: Add 'scheme-doc' source package from '%racket-origin'.
(racket)[inputs]<compatibility, db, deinprogramm, draw, drracket>
<eopl, errortrace, gui, htdp, mzscheme, parser-tools, pict, plai, plot>
<r6rs, redex, scribble, slideshow, snip, typed-racket, srfi>
<string-constants>: Update checksums.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.5.9.8.
[arguments]: Enable tests.
[description]: Update.
(chez-scheme-for-racket-bootstrap-bootfiles)[arguments]: Update path to
'rktboot'.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-11-20 02:22:18 +01:00
Marius Bakke bd0ff2d39b
gnu: Remove coin3D@3.
* gnu/packages/graphics.scm (coin3D): Take the body from ...
(coin3D-4): ... this now-deprecated variable.
* gnu/packages/engineering.scm (freecad)[inputs]: Change from COIN3D-4 to COIN3D.
* gnu/packages/python-xyz.scm (python-pivy)[inputs]: Likewise.
* gnu/packages/qt.scm (soqt)[inputs]: Likewise.
2022-11-19 22:07:34 +01:00
Marius Bakke cac47a0768
gnu: FreeCAD: Build with coin3D@4.
* gnu/packages/engineering.scm (freecad)[inputs]: Change from COIN3D to COIN3D-4.
2022-11-19 22:07:34 +01:00
Marius Bakke cd9161372a
gnu: make-lld-wrapper: Inherit version, license and home-page from LLD.
* gnu/packages/llvm.scm (make-lld-wrapper): Inherit from the provided LLD.
2022-11-19 22:07:33 +01:00