Commit graph

99561 commits

Author SHA1 Message Date
Ludovic Courtès
cce7427f95
download: 'url-fetch' closes its HTTP/HTTPS port.
* guix/build/download.scm (url-fetch)[fetch]: In the http/https case,
close PORT before returning.
2022-08-01 14:08:07 +02:00
Ricardo Wurmus
dc3ad40c6b
gnu: python-bbknn: Set NUMBA_CACHE_DIR.
* gnu/packages/bioinformatics.scm (python-bbknn)[arguments]: Add phase
'set-numba-cache-dir.
2022-08-01 12:46:19 +02:00
Ricardo Wurmus
9b1a2dcd5b
gnu: python-umap-learn: Disable unreliable test.
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Disable
test_densmap_trustworthiness_on_iris_supervised.
2022-08-01 12:46:19 +02:00
Ricardo Wurmus
a69f2cd076
gnu: python-umap-learn: Set NUMBA_CACHE_DIR.
* gnu/packages/machine-learning.scm (python-umap-learn)[arguments]: Add phase
to set NUMBA_CACHE_DIR.
2022-08-01 12:46:19 +02:00
Maxim Cournoyer
3a656ea836
gnu: jami: Apply upstream patch that fixes a usability issue.
* gnu/packages/patches/jami-fix-esc-bug.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (%jami-sources): Apply it.
2022-07-31 23:08:51 -04:00
Maxim Cournoyer
ccf6401d05
gnu: jami: Update to 20220726.1515.da8d1da.
* gnu/packages/jami.scm (jami): Update to 20220726.1515.da8d1da.
[configure-flags]: New argument.
[phases]{fix-version-string}: Adjust file name.
{use-desktop-opengl}: Delete obsolete phase.
{patch-source}: New phase.
[native-inputs]: Add googletest and vulkan-headers.  Replace qttools-5 with
qttools.
[inputs]: Add libxkbcommon, qt5compat, qtnetworkauth, qtpositioning and
vulkan-loader.  Remove qtwebengine-5, qtwebchannel-5, qtgraphicaleffects,
qtquickcontrols-5 and qtquickcontrols2-5.  Update qtsvg-5, qtmultimedia-5 and
qtdeclarative-5 to their Qt 6 equivalent.
2022-07-31 21:55:50 -04:00
Maxim Cournoyer
f80f1667f1
gnu: Deprecate jami-gnome for jami.
* gnu/packages/jami.scm (jami-gnome): Delete package, deprecating it for jami.
2022-07-31 21:55:50 -04:00
Maxim Cournoyer
46f5623cc1
gnu: Remove jami-libclient.
* gnu/packages/jami.scm (jami-libclient): Delete variable.
(libringclient): Likewise.
(jami-gnome)[inputs]: Remove jami-libclient.
(jami)[inputs]: Likewise.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
3d812fea06
gnu: libjami: Enable test agent.
* gnu/packages/jami.scm (libjami)[configure-flags]: Add '--enable-agent' and
remove FIXME.
[tests?]: Update comment.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
bdf0fce88e
gnu: libjami: Update to 20220726.1515.da8d1da.
* gnu/packages/patches/jami-fix-crash-on-quit.patch: Delete file.
* gnu/packages/patches/jami-images-loading.patch: Likewise.
* gnu/packages/patches/jami-libclient-audio-managers.patch: Likewise.
* gnu/packages/patches/jami-memory-usage.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register removed patches.
* gnu/packages/jami.scm (%jami-version): Update to 20220726.1515.da8d1da.
(libjami)[configure-flags]: Add '--disable-static'.
(jami-apply-custom-patches): Adjust for top directory renaming.
(%ffmpeg-default-configure-flags): Add muxer support
for g726 and g726le.  Add demuxer support for g723_1, g726 and g726le.  Add
encoder/decoder support for g726, g726le and g723_1.  Add decoder support for
g729.
(ffmpeg-jami)[patches]: Add 'libopusenc-reload-packet-loss-at-encode'.
(jami-libclient)[native-inputs]: New field.
[inputs]: Add ffmpeg-jami and libxkbcommon.
[propagated-inputs]: Replace qtbase-5 with qtbase.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
1f466ed6be
build: qt: Add qtbase argument and wrap Qt environment variables exactly.
* guix/build-system/qt.scm (default-qtbase): New variable.
(lower) <#:qtbase>: Add argument...
[build-inputs]: ... and propagate it here.
(qt-build): Add qtbase argument.
(qt-cross-build): Likewise.
* guix/build/qt-utils.scm (%default-qt-major-version): New variable.
(variables-for-wrapping): Add qt-major-version argument, and use it to format
the various path prefixes.  Wrap QT environment variables exactly.
(wrap-qt-program*): Add qt-major-version argument, and pass it to
variables-for-wrapping.
(wrap-qt-program): Add qt-major-version argument, and pass it to
wrap-qt-program*.
(wrap-all-qt-programs): Add qtbase argument, and extract the major version
from it, passing it to wrap-qt-program*.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
a13a687989
gnu: Add qtpositioning.
* gnu/packages/qt.scm (qtpositioning): New variable.
2022-07-31 21:55:49 -04:00
Maxim Cournoyer
d9e8d7f4aa
gnu: Add qtnetworkauth, version 6.3.1.
* gnu/packages/qt.scm (qtnetworkauth): New variable.
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
2e27ccec83
gnu: qtnetworkauth: Rename to qtnetworkauth-5.
Automated with:

  git grep -l qtnetworkauth | xargs sed 's/\bqtnetworkauth\b/\0-5/g' -i
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
a4784b3273
gnu: Add qttools, version 6.3.1.
* gnu/packages/qt.scm (qttools): New variable.
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
eef8e2ec46
gnu: qttools: Rename to qttools-5.
Automated with:

  git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:48 -04:00
Maxim Cournoyer
de20b74fc2
gnu: Add qt5compat.
* gnu/packages/qt.scm (qt5compat): New variable.
2022-07-31 21:55:47 -04:00
Maxim Cournoyer
f1e126c03b
gnu: Add qtwebengine, version 6.3.1.
* gnu/packages/qt.scm (qtwebengine): New variable.
2022-07-31 21:55:47 -04:00
Maxim Cournoyer
a0beb297a3
gnu: qtwebengine: Rename to qtwebengine-5.
Automated with:

  git grep -l qtwebengine | xargs sed 's/\bqtwebengine\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:47 -04:00
Maxim Cournoyer
ef648459df
gnu: Add qtwebchannel, version 6.3.1.
* gnu/packages/qt.scm (qtwebchannel): New variable.
2022-07-31 21:55:46 -04:00
Maxim Cournoyer
0938c3e34a
gnu: qtwebchannel: Rename to qtwebchannel-5.
Automated via:

  git grep -l qtwebchannel | xargs sed 's/\bqtwebchannel\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:46 -04:00
Maxim Cournoyer
573055b7ef
gnu: Add qtwebsockets, version 6.3.1.
* gnu/packages/qt.scm (qtwebsockets): New variable.
2022-07-31 21:55:46 -04:00
Maxim Cournoyer
d15258d991
gnu: qtwebsockets: Rename to qtwebsockets-5.
Automated via:

  git grep -l qtwebsockets | xargs sed 's/\bqtwebsockets\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:46 -04:00
Maxim Cournoyer
d90031f799
gnu: qtquickcontrols2: Define as obsoleted by qtdeclarative.
* gnu/packages/qt.scm (qtquickcontrols2): New variable.
2022-07-31 21:55:45 -04:00
Maxim Cournoyer
1130fc5991
gnu: qtquickcontrols2: Rename to qtquickcontrols2-5.
Automated via:

  git grep -l qtquickcontrols2 | xargs sed 's/\bqtquickcontrols2\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:45 -04:00
Maxim Cournoyer
65e5e85d28
gnu: qtquickcontrols: Rename to qtquickcontrols-5.
Automated via:

  git grep -l qtquickcontrols | xargs sed 's/\bqtquickcontrols\b/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:45 -04:00
Maxim Cournoyer
397d05a4bf
gnu: Add qtdeclarative, version 6.3.1.
* gnu/packages/qt.scm (qtdeclarative): New variable.
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
735d340ae4
gnu: qtdeclarative: Rename to qtdeclarative-5.
Automated via the following commands:

  git grep -l '\bqtdeclarative\b' | xargs sed -E 's/qtdeclarative/\0-5/g' -i
  git checkout NEWS
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
983a061e98
gnu: Add qtmultimedia, version 6.3.1.
* gnu/packages/qt.scm (qtmultimedia): New variable.
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
5f22854339
gnu: qtmultimedia: Rename to qtmultimedia-5.
Automated via:

  git grep -l qtmultimedia | xargs sed 's/qtmultimedia/qtmultimedia-5/g' -i
  git checkout NEWS
2022-07-31 21:55:44 -04:00
Maxim Cournoyer
1d65ff8fde
gnu: Add qtshadertools.
* gnu/packages/qt.scm (qtshadertools): New variable.
2022-07-31 21:55:43 -04:00
Maxim Cournoyer
6165dd3c72
gnu: qpwgraph: Migrate to Qt 6 and add libxkbcommon input.
* gnu/packages/audio.scm (qpwgraph)[inputs]: Replace qtbase-5 with qtbase,
qtsvg-5 with qtsvg.  Add libxkbcommon.
2022-07-31 21:55:43 -04:00
Maxim Cournoyer
49f673415f
gnu: Add qtsvg, version 6.3.1.
* gnu/packages/qt.scm (qtsvg): New variable.
2022-07-31 21:55:43 -04:00
Maxim Cournoyer
580b033a50
gnu: qtsvg-5: Fix indentation.
* gnu/packages/qt.scm (qtsvg-5): Fix indentation.
2022-07-31 21:55:43 -04:00
Maxim Cournoyer
1ef04fb228
gnu: qtsvg: Rename variable to qtsvg-5.
This is in preparation of the qtsvg update to version 6.

This change was automated via the following command:

  git grep -l '\bqtsvg\b' | xargs sed 's/qtsvg/qtsvg-5/g' -i
2022-07-31 21:55:43 -04:00
Maxim Cournoyer
4af9984a4e
gnu: qtbase: Revert to gtk+ (3) instead of gtk (4).
This revert the upgrade from GTK 3 to 4 in
8d7fdbe261.  Qt doesn't yet support GTK 4.

* gnu/packages/qt.scm (qtbase)[native-inputs]: Remove gtk.
[inputs]: Do not replace gtk+ by gtk.
2022-07-31 21:55:42 -04:00
Maxim Cournoyer
de6f155426
gnu: qtbase: Enable test suite.
* gnu/packages/qt.scm (qtbase)[tests?]: Delete argument.
[configure-flags]: Add "-DQT_BUILD_TESTS=ON".
[phases]{check}: Move after the patch-prl-files phase and override.
[native-inputs]: Add xvfb-run.
2022-07-31 21:55:42 -04:00
Maxim Cournoyer
d48c98cd12
gnu: qtbase: Honor CMAKE_PREFIX_PATH.
* gnu/packages/qt.scm (qtbase)[phases]{honor-CMAKE_PREFIX_PATH}: New phase.
2022-07-31 21:55:42 -04:00
Maxim Cournoyer
663f12ea24
gnu: qtbase: Patch /bin/pwd in executable scripts.
* gnu/packages/qt.scm (qtbase)[phases]{patch-paths}: Patch /bin/pwd.
[inputs]: Add coreutils-minimal.
2022-07-31 21:55:42 -04:00
Ludovic Courtès
ab59155c5a
gnu: mtd-utils: Disable parallel tests.
This is a followup to 7a409a217c.

* gnu/packages/linux.scm (mtd-utils)[arguments]: Add #:parallel-tests?.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
7d0ebc467f
services: rottlog: More convenient default options for <log-rotation>.
* gnu/services/admin.scm (%default-log-rotation-options): New variable.
(%default-rotations): Use it.
* gnu/services/cuirass.scm (cuirass-log-rotations): Likewise.
* doc/guix.texi (Log Rotation): Adjust accordingly.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
4de445f3da
guix gc: '--delete-generations' now deletes old Home generations.
This reverts commit 24c0518dd4,
thereby reinstating ba22560627, with an
additional fix in (guix self).

Fixes <https://issues.guix.gnu.org/56722>.
Reported by "(" <paren@disroot.org>.

* guix/scripts/gc.scm (guix-gc)[delete-generations]: Add call to
'home-generation-base'.
* guix/self.scm (compiled-guix)[*core-cli-modules*]: Remove (guix
scripts gc).
* doc/guix.texi (Invoking guix gc): Document the change.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
61db74a687
home: Add 'home-generation-base'.
This reverts commit 670818a404,
thereby reinstating 5df8f7802e.

* gnu/home.scm (%profile-generation-rx): New variable.
(home-generation-base): New procedure.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
a3a6931c75
gnu: rottlog: Remove input labels.
* gnu/packages/admin.scm (rottlog)[arguments]: In 'tweak-rc-weekly', use
'search-input-file' instead of 'assoc-ref'.
[inputs]: Remove labels.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
e5a6900baf
services: rottlog: Keep important /var/log files for 16 weeks.
The default "rotate" value is 1 as of rottlog 0.72.2, meaning that only
one rotated file would be kept in addition to the active file.

* gnu/services/admin.scm (%default-rotations): Add "rotate" option for
%ROTATED-FILES.
2022-08-01 00:02:04 +02:00
Ludovic Courtès
bfe3fdbc75
services: tor: Do not write to /var/log/tor.log.
The service uses syslog and additionally shepherd 0.9 captures its
stdout/stderr, so there's no point in passing #:log-file.

* gnu/services/networking.scm (tor-shepherd-service): Remove #:log-file
argument to 'make-forkexec-constructor'.
(%tor-log-rotation): Remove.
(tor-service-type): Remove ROTTLOG-SERVICE-TYPE extension.
2022-08-01 00:02:03 +02:00
Nicolas Goaziou
7c1010f326
gnu: emacs-dtrt-indent: Update to 1.8.
* gnu/packages/emacs-xyz.scm (emacs-dtrt-indent): Update to 1.8.
2022-08-01 00:00:00 +02:00
Nicolas Goaziou
4d02b9c334
gnu: emacs-pabbrev: Update to 4.2.2.
* gnu/packages/emacs-xyz.scm (emacs-pabbrev): Update to 4.2.2.
[source]<origin>: Change file extension.
2022-07-31 23:58:19 +02:00
Nicolas Goaziou
0114c7b2df
gnu: emacs-org-jira: Update to 4.4.0.
* gnu/packages/emacs-xyz.scm (emacs-org-jira): Update to 4.4.0.
2022-07-31 23:56:19 +02:00
Nicolas Goaziou
218add33da
gnu: emacs-devdocs: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-devdocs): Update to 0.5.
2022-07-31 23:54:40 +02:00