me
/
guix
Archived
1
0
Fork 0
Commit Graph

134774 Commits (f4dcf3018ebe2f14e5872d6462a45ba817a5f38d)

Author SHA1 Message Date
Zheng Junjie fa2fe542c3
gnu: Add qtsensors.
* gnu/packages/qt.scm (qtsensors): New variable.

Change-Id: I5d5bf3902f3340d6e73dc8889e27d4e5bf28b058
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
Zheng Junjie 83da3a13bf
gnu: qtsensors: Rename package to qtsensors-5.
* gnu/packages/qt.scm (qtsensors): Rename to qtsensors-5
* gnu/packages/qt.scm (python-pyqt, python-pyside-2)
* gnu/packages/geo.scm (openorienteering-mapper)
* gnu/packages/kde-plasma.scm (kscreen)
* gnu/packages/education.scm (gcompris-qt)
Adjust inputs.

Change-Id: Ie18fdf82881e508ecc25c535088672d1a89f19ba
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
Zheng Junjie e2d1eaef29
gnu: python-shiboken-6: Update to 6.6.2.
* gnu/packages/qt.scm (python-shiboken-6, python-pyside-6): Update to 6.6.2.
(python-shiboken-6)[properties]: Set upstream-name.
(python-pyside-6)[arguments]<#:configure-flags>: Set CMAKE_INSTALL_RPATH.

Change-Id: I098481f860c3bc97a629cca719305b2d00c3eace
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
Zheng Junjie 8dad48c804
gnu: qtwebengine: Update to 6.6.2.
* gnu/packages/qt.scm (qtwebengine): Update to 6.6.2.
(qtwebengine)[source]: Adjust snippet.
[arguments]<#:configure-flags>: Adjust it.
<#:phases>: Add 'delete-installed-tests phase.

Change-Id: If60f91e27464a80a927f459cc627a7a5ae3f229a
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
Zheng Junjie 63c21f90b4
gnu: qtremoteobjects: Update to 6.6.2.
* gnu/packages/qt.scm (qtremoteobjects): Update to 6.6.2.

Change-Id: I8c0bf3b125dc8a2c319caf2f0b9be381e4521b8c
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
Zheng Junjie 31119e1255
gnu: qtnetworkauth: Update to 6.6.2.
* gnu/packages/qt.scm (qtnetworkauth): Update to 6.6.2.

Change-Id: I5fac372916ce516cd2ac3e7dbd83a32fc77024ec
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 3e32a76a4e
gnu: qtpositioning: Update to 6.6.2.
* gnu/packages/qt.scm (qtpositioning): Update to 6.6.2.

Change-Id: I86ba435616033922d9a26f86614ffcfd0cb6ef03
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 9666be7cd3
gnu: qttranslations: Update to 6.6.2.
* gnu/packages/qt.scm (qttranslations): Update to 6.6.2.

Change-Id: I1136bf3027303ea79a872605189290ca28670ce8
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 478037a051
gnu: qttools: Update to 6.6.2.
* gnu/packages/qt.scm (qttools): Update to 6.6.2.
[inputs]: Add zstd:lib.
Change-Id: I8d5ea1b3135809e28e2d159e8050ee9642c66d27

Change-Id: I7b78392d11fc7d3e5e9319fd60f4fcf57b0e9c2d
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 008e459645
gnu: qtlottie: Update to 6.6.2.
* gnu/packages/qt.scm (qtlottie): Update to 6.6.2.

Change-Id: I82903a9593c7536bf9f38165b596774cf88994c6
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 6fbd865e49
gnu: qtlanguageserver: Update to 6.6.2.
* gnu/packages/qt.scm (qtlanguageserver): Update to 6.6.2.

Change-Id: I08eb5329f3ee52b86002a9f3eb75f5b8672972d9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie 969ee39315
gnu: qtwebchannel: Update to 6.6.2.
* gnu/packages/qt.scm (qtwebchannel): Update to 6.6.2.

Change-Id: If488f765e1373f2886eed2cc4e76f34350283682
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:08 -04:00
Zheng Junjie fb231039f7
gnu: qtwayland: Update to 6.6.2.
* gnu/packages/qt.scm (qtwayland): Update to 6.6.2.
[arguments]<#:phases>: Adjust 'set-test-environment phase.
Change-Id: I9aeaed2aa2c3f4d7275ea7a516baf6ff8fbf81ca

Change-Id: I106db86ced2ecfcb98892603a723f0ad11f48477
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:07 -04:00
Zheng Junjie d560cedfc0
gnu: qtmultimedia: Update to 6.6.2.
* gnu/packages/qt.scm (qtmultimedia): Update to 6.6.2.
[arguments]<#:phases>: Adjust 'disable-integration-tests phase.

Change-Id: I8dd6e4767b40436199e4d45a0b75c4bd3136b386
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:07 -04:00
Zheng Junjie 3805adb785
gnu: qtshadertools: Update to 6.6.2.
* gnu/packages/qt.scm (qtshadertools): Update to 6.6.2.

Change-Id: Iaba081f9a576c12b9e9cb4a8002376c8326a30cb
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:07 -04:00
Zheng Junjie 09ed6bdc28
gnu: qtwebsockets: Update to 6.6.2.
* gnu/packages/qt.scm (qtwebsockets): Update to 6.6.2.

Change-Id: I10bfabe99fd53b47e2ec1dc50757ad89fd3f3b96
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:07 -04:00
Zheng Junjie 2202f440e6
gnu: qtdeclarative: Update to 6.6.2.
* gnu/packages/qt.scm (qtdeclarative): Update to 6.6.2.
[arguments]<#:phases>: Disable flaky tst_qmltyperegistrar test.  Disable
failing tst_qquickiconimage test.
* gnu/packages/patches/qtdeclarative-disable-qmlcache.patch: Adjust it.

Change-Id: Ic7ddb603524ff07916d57b2ce92b7ffa407a5004
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:07 -04:00
Zheng Junjie 4605bc67d3
gnu: qtimageformats: Update to 6.6.2.
* gnu/packages/qt.scm (qtimageformats): Update to 6.6.2.

Change-Id: I111f67258116f1bd4e0e3029d38afaf0ed024435
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:06 -04:00
Zheng Junjie e36d111e76
gnu: qtsvg: Update to 6.6.2.
* gnu/packages/qt.scm (qtsvg): Update to 6.6.2.

Change-Id: Ibd80b03bb776cdbe2084e8be65ddd1ccc0edb6ad
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:06 -04:00
Zheng Junjie ae5d5bb3f5
gnu: qt5compat: Update to 6.6.2.
* gnu/packages/qt.scm (qt5compat): Update to 6.6.2.

Change-Id: I9bdb9fbe880cabbc39d7928340e54ba2793131db
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:06 -04:00
Zheng Junjie 074ddc321c
gnu: qtbase: Update to 6.6.2.
* gnu/packages/qt.scm (qtbase): Update to 6.6.2.
[source]: Unbundle pcre2, md4c. Remove qtbase-use-TZDIR.patch. Add
qtbase-find-tools-in-PATH.patch,
qtbase-qmake-fix-includedir.patch,
[arguments]<#:phases>: Adjust 'patch-more-paths phase, skip tst_selftests test.
[inputs]: Add libb2

* gnu/packages/patches/qtbase-use-TZDIR.patch: Remove this.
* gnu/packages/patches/qtbase-find-tools-in-PATH.patch: New file.
* gnu/packages/patches/qtbase-qmake-fix-includedir.patch: New file.

* gnu/local.mk (dist_patch_DATA): Remove qtbase-use-TZDIR.patch.
Register qtbase-find-tools-in-PATH.patch,
qtbase-qmake-fix-includedir.patch.

Change-Id: I72af9c8f2e930bcae18f36ceca18a0a53f5c3e15
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:06 -04:00
Leo Famulari 629614c7a3
gnu: libarchive: Fix a potential security issue.
https://github.com/libarchive/libarchive/pull/2101

* gnu/packages/backup.scm (libarchive)[replacement]: New field.
(libarchive/fixed): New variable.
* gnu/packages/patches/libarchive-remove-potential-backdoor.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: I939e9b842b10d1a78125da4a4599c38d9c037079
2024-04-03 17:59:25 -04:00
John Kehayias 9b560fee23
gnu: xorg-server: Update to 21.1.12 [security fixes].
Fixes CVE-2024-31080, CVE-2024-31081, CVE-2024-31081, and CVE-2024-31083.  See
the X.Org Security Advisory,
<https://lists.x.org/archives/xorg/2024-April/061615.html>, for details.

* gnu/packages/xorg.scm (xorg-server): Update to 21.1.12.

Change-Id: I384b91344f122f02e6261e2061bc45439cb03f7c
2024-04-03 17:42:59 -04:00
John Kehayias e8dba8afff
gnu: xorg-server-xwayland: Update to 23.2.5 [security fixes].
Fixes CVE-2024-31080, CVE-2024-31081, and CVE-2024-31083.  See the X.Org
Security Advisory, <https://lists.x.org/archives/xorg/2024-April/061615.html>,
for details.

* gnu/packages/xorg.scm (xorg-server-xwayland): Update to 23.2.5.

Change-Id: I8d6b8f65bb6d06374a1ea925b5ff2a399a3efeac
2024-04-03 15:54:03 -04:00
Christopher Baines c9cd16c630
store: database: Rename a couple of procedures.
These names should be more descriptive.

* guix/store/database.scm (path-id): Rename to select-valid-path-id.
(sqlite-register): Rename to register-valid-path.
(register-items): Update accordingly.

Change-Id: I6d4a14d4cde9d71ab34d6ffdbfbfde51b2c0e1db
2024-04-03 17:30:53 +01:00
Christopher Baines c6cc9aeb87
store: database: Refactor sqlite-register.
The update-or-insert procedure name was unhelpfully generic, and these changes
should improve the code readability.

* guix/store/database.scm (update-or-insert): Remove procedure and inline
functionality in to sqlite-register.

Change-Id: Ifab0cdb7972d095460cc1f79b8b2f0e9b958059c
2024-04-03 17:30:43 +01:00
Christopher Baines 511d68c71d
store: database: Stop finalizing prepared statements.
Especially since we're asking for these to be cached.

Management of prepared statements isn't trivial, since you don't want to keep
them forever as this can lead to poor query performance, but I don't think
that finalizing them immediately is the right solution.

Change-Id: I61706b4d09d771835bb8f074b8f6a6ee871f5e2d

* guix/store/database.scm (sqlite-step-and-reset): New procedure.
(last-insert-row, path-id, update-or-insert, add-references): Don't finalize
prepared statements.

Change-Id: I2a2c6deb43935d67df9e43000a5105343d72b3e6
2024-04-03 17:18:39 +01:00
Christopher Baines cdd4a0c3c9
store: database: Inline SQL to where it's used.
This makes the code easier to read, as you don't have to keep jumping between
the two places.

* guix/store/database.scm (path-id-sql, update-sql, insert-sql,
add-reference-sql): Remove variables.
(path-id, update-or-insert, add-references): Include SQL.

Change-Id: I53b4ab973be8d0cd10a0f35ba25972f1c9680353
2024-04-03 17:18:39 +01:00
Christopher Baines b914fb9b70
store: database: Remove with-statement and associated code.
I think using dynamic-wind to finalize all statements is the wrong
approach. Firstly it would be good to allow reseting statements rather than
finalizing them. Then for the problem of handling errors, the approach I've
settled on in the build coordinator is to close the database connection, since
that'll trigger guile-sqlite3 to finalize all the cached statements.

This reverts commit 5d6e225528.

* .dir-locals.el (scheme-mode): Remove with-statement.
* guix/store/database.scm (call-with-statement): Remove procedure.
(with-statement): Remove syntax rule.
(call-with-transaction, last-insert-row-id, path-id, update-or-insert,
add-references): Don't use with-statement.

Change-Id: I2fd976b3f12ec8105cc56350933a953cf53647e8
2024-04-03 17:18:38 +01:00
Christopher Baines 22fa92cf28
store: database: Remove call-with-savepoint and associated code.
While care does need to be taken with making updates or inserts to the
ValidPaths table, I think that trying to ensure this within update-or-insert
is the wrong approach. Instead, when working with the store database, only one
connection should be used to make changes to the database and those changes
should happen in transactions that ideally begin immediately.

This reverts commit 37545de4a3.

* .dir-locals.el (scheme-mode): Remove entries for call-with-savepoint and
call-with-retrying-savepoint.
* guix/store/database.scm (call-with-savepoint, call-with-retrying-savepoint):
Remove procedures.
(update-or-insert): Remove use of call-with-savepoint.

Change-Id: I2f986e8623d8235a90c40d5f219c1292c1ab157b
2024-04-03 17:18:38 +01:00
Christopher Baines ecbab97f07
scripts: substitute: Replace some leave calls with raise.
These calls happen inside of with-error-handling, so the effect should be the
same, but this opens up the possibility of using this code in a program that
doesn't want to exit when one of these error conditions is met.

Change-Id: I15d963615d85d419559fa0f4333fa4dc1dfbfd3b

* guix/scripts/substitute.scm (download-nar, process-substitution): Use raise
formatted-message rather than leave.

Change-Id: Idd0880206b69e3903e19e0536b87d65a52c200d5
2024-04-03 17:18:38 +01:00
Christopher Baines dcf0cca8d7
scripts: substitute: Allow not using with-timeout in download-nar.
I don't think the approach of using SIGALARM here for the timeout will work
well in all cases (e.g. when using Guile Fibers), so make it possible to avoid
this.

* guix/scripts/substitute.scm (download-nar): Pass the fetch timeout in as an
option.

Change-Id: I8cbe6cdfa10cdaa7d41974cbea56a95f5efecfe6
2024-04-03 17:18:38 +01:00
Christopher Baines d9276a46bf
scripts: substitute: Remove side effect warning from network-error?.
Instead, display the warning from process-substitution and
process-substitution/fallback in the relevant places.

I'm looking at this because I want to make the substitute code less tied to
the script and usable in the Guile guix-daemon.

* guix/scripts/substitute.scm (network-error?): Move warning to…
(process-substitution/fallback, process-substitution): here.

Change-Id: I082b482c0e6ec7e02a8d437ba22dcefca5c40787
2024-04-03 17:18:38 +01:00
Christopher Baines ac19e038b4
Switch order of the default substitute servers.
The aim here is to improve the user experience.  There's anecdotal evidence
that the network performance for bordeaux is better compared to ci at least
for some users, and I don't know of any issues with rate limiting or access
restriction for bordeaux compared to ci.  It also has IPv6 support.

Additionally, bordeaux generally had more substitutes than ci, particularly
for aarch64-linux and armhf-linux.  This change will offer a very slight
speedup for those substitutes that only bordeaux has.

Bordeaux has been a default substitute server for nearly 3 years now and I
think this change is overdue.  I'm also hopeful that we'll be able to build on
the testing regarding mirrors for bordeaux, and that'll allow potentially
improving the hosting setup (through providing more redundancy) and further
improving substitute fetching for users who currently have issues with
substitute access.

* config-daemon.ac: Switch substitute urls order.
* doc/guix.texi: Ditto.
* etc/guix-install.sh: Ditto.
* gnu/installer/newt/network.scm (wait-service-online): Ditto.
* guix/store.scm (%default-substitute-urls): Ditto.

Change-Id: I4f6d93ae1fc8b03d80b47b18b5749a51f1fde17b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-03 17:18:38 +01:00
Christopher Baines d439deae12
gnu: sonata: Add gvfs as an input.
I'm getting the following error and this change resolves it:

  /gnu/store/rw6n86c008xqdbjs3nk4i7ggf6srdpgs-python-wrapper-3.10.7/bin/python:
  symbol lookup error:
  /run/current-system/profile/lib/gio/modules/libgvfsdbus.so: undefined
  symbol: g_task_set_static_name

Change-Id: I6f74a5a867ba7c3b3d7b233916af0e75d9e5501f
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-03 17:18:35 +01:00
Janneke Nieuwenhuizen df64d48e6f
maint: Fix help2man for guix subcommands with `make V=2'.
* doc/local.mk ($(srcdir)/%D%/guix-%.1): Use AM_V_HELP2MAN and cater for
make's `@' silencing at the start of the command.

Change-Id: Id80c48f0d7697167fea64700a7fe140003732d28
2024-04-03 16:19:47 +02:00
Liliana Marie Prikler 1dbe492b99
gnu: emacs-magit: Fix generation of autoloads.
* gnu/packages/emacs-xyz.scm (emacs-magit)[#:phases]: Replace ‘make-autoloads’
like the others.

Fixes: Magit autoloads are missing <https://bugs.gnu.org/70121>
Change-Id: Iec1d89b167211889743ed1e7e64a9f866ea4c2eb
Signed-off-by: Clément Lassieur <clement@lassieur.org>
2024-04-03 12:36:41 +02:00
Maxim Cournoyer f26b42f6c0
gnu: qt-creator: Fix patch-perfparser phase.
This is a follow-up to f83bdd7e00 ("gnu: qt-creator: Patch file names of
demangling libraries.")

* gnu/packages/qt.scm (qt-creator)
[phases] <patch-perfparser>: Adjust demangler.cpp file name.

Change-Id: I72c517636bf866b57daa5d56dd8db643b0669a88
2024-04-02 23:51:05 -04:00
Maxim Cournoyer 1a237ebc73
gnu: Add hotspot.
* gnu/packages/linux.scm (hotspot): New variable.

Change-Id: Id6a0baae459bccf78c80d17f884f3fa7344ff1ac
2024-04-02 21:30:36 -04:00
Maxim Cournoyer 98bc6d705e
gnu: Add kddockwidgets-1.
* gnu/packages/qt.scm (kddockwidgets-1): New variable.

Change-Id: Id766646155e02d412ea87932a79aae95a943ff9b
2024-04-02 21:30:36 -04:00
Maxim Cournoyer 9d4e274eb4
gnu: Add kddockwidgets.
* gnu/packages/qt.scm (kddockwidgets): New variable.

Change-Id: I0598b16da4f027f9c42584f30a49fcbba2f5a78e
2024-04-02 21:30:36 -04:00
Maxim Cournoyer f83bdd7e00
gnu: qt-creator: Patch file names of demangling libraries.
* gnu/packages/qt.scm (qt-creator)
[phases] {patch-perfparser}: New phase.

Change-Id: I65f84158af05ae866680b21e2e9b8e24a2b71bc2
2024-04-02 21:30:36 -04:00
Maxim Cournoyer 4a8f265b17
gnu: cqfd: Update to 5.5.0.
* gnu/packages/docker.scm (cqfd): Update to 5.5.0.

Change-Id: Ib8ba9ee06744869efc1489beb4e2d56fe0cc06e0
2024-04-02 21:30:36 -04:00
Janneke Nieuwenhuizen 049273bb8c
maint: Add perl to the manifest.
* manifest.scm: Add perl.

Change-Id: Ie70cea1eb4d62f2a649292209391a92abdae2288
2024-04-02 23:28:58 +02:00
Attila Lendvai 4d994f98a4
gnu: gpaste: Update to 44.1.
* gnu/packages/gnome-xyz.scm (gpaste): Update to 44.1.
[native-inputs]: Replace GCR-3 with GCR.
[inputs]: Replace GTK with GTK+. Add DESKTOP-FILE-UTILS. Remove LIBARCHIVE.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I9e9548a9e3393dfa4b9e7b64978418106fb25db1
2024-04-02 15:04:26 -04:00
Eugen Stan e82dc389f5
gnu: clojure-tools: Update to 1.11.1.1413.
* gnu/packages/clojure.scm (clojure-tools): Update to 1.11.1.1413.
[inputs]: Add clojure-tools-deps.  Remove clojure-tools-deps-alpha.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I52fda6af441d1cd2ba271153f87eb0c35bce31cb
2024-04-02 21:08:40 +03:00
Eugen Stan 7375c5aa1b
gnu: Add clojure-tools-deps.
* gnu/packages/crates-io.scm (clojure-tools-deps): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ic02349bfe5b899874ff8e6067e790ca9d9f1f96e
2024-04-02 21:07:42 +03:00
Andy Tai 1999197630
gnu: icewm: Update to 3.4.7.
* gnu/packages/wm.scm (icewm): Update to 3.4.7.

Change-Id: I6daa66be92a01ae587efec2bf3f0ac4769ae797a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-04-02 16:26:48 +03:00
Rodion Goritskov e85734f6dd
gnu: clifm: Update to 1.18.
* gnu/packages/clifm.scm (clifm): Update to 1.18.

Change-Id: Ic0c2a307dbbcca06cfffe60248234849dca2f726
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-04-02 16:19:17 +03:00
Leo Nikkilä a88b0c23c3
gnu: gtk: Fix tests on aarch64.
* gnu/packages/gtk.scm (gtk)[arguments]<#:configure-flags>: Skip more
failing tests known to fail.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I34d0f7521224b41072fcc0c35321935d1db927e0
2024-04-02 16:19:16 +03:00