Commit graph

134495 commits

Author SHA1 Message Date
Zheng Junjie
ca92295971
gnu: python-pyqt-6: Update to 6.6.1.
* gnu/packages/qt.scm (python-pyqt-6): Update to 6.6.1.

Change-Id: Ie2de2267eca8a164a3bda86c69b41b9371d758a1
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:13 -04:00
Zheng Junjie
2083a4e310
gnu: python-sip: Update to 6.8.3.
* gnu/packages/qt.scm (python-sip): Update to 6.8.3.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Add python-tomli. Remove python-toml, python-ply.

Change-Id: I03fcec79a8124a545c9bb5fcfe0d0bb9de88434e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:13 -04:00
Maxim Cournoyer
0a2d7d4a84
gnu: kpackage: Disable plasma-query test.
* gnu/packages/kde-frameworks.scm (kpackage)
[arguments]: Remove #:parallel-tests? argument.
<phases>: Add disable-problematic-tests phase.

Change-Id: Ie79a7742bb62bb59fe16af3a2b9a0c4a5c925ee3
2024-04-03 18:05:13 -04:00
Maxim Cournoyer
6e76ecde2d
gnu: kimageannotator: Update to 0.7.1.
* gnu/packages/kde-frameworks.scm (kimageannotator): Update to 0.7.1.

Change-Id: I847a08e2b36b138a135998a77c7e27449679766c
2024-04-03 18:05:13 -04:00
Maxim Cournoyer
cbf60a9122
gnu: kcolorpicker: Update to 0.3.1.
* gnu/packages/kde-frameworks.scm (kcolorpicker): Update to 0.3.1.

Change-Id: I61d133663b7f820ee3f28c1b03291a5ba427542f
2024-04-03 18:05:12 -04:00
Maxim Cournoyer
64e1797e21
gnu: jami: Update to 20240325.0.
* gnu/packages/jami.scm
(libjami): Update to 20240325.0.
[make-flags]: Reinstate ut_media_player test.
[phases]: Remove obsolete extend-scheduler-test-timeout phase.
(jami): Update to 20240325.0.
[source]: Remove jami-qml-tests-discovery patch.  Add jami-qwindowkit and
jami-tests-qtwebengine-ifdef-to-if patches.
[configure-flags]: Add -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS.
Replace -DENABLE_TESTS=ON with -DBUILD_TESTING=ON.
[phases] <check>: Update comment for QML test suite.
[native-inputs]: Add qthttpserver and qtwebsockets.
[inputs]: Add qwindowkit.
* gnu/packages/patches/jami-qml-tests-discovery.patch: Delete file.
* gnu/packages/patches/jami-unbundle-dependencies.patch: Update patch.
* gnu/packages/patches/jami-qwindowkit.patch: New file.
* gnu/packages/patches/jami-tests-qtwebengine-ifdef-to-if.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Change-Id: I5d47bdfd2aabab5baff44db8436051a9890cba6d
2024-04-03 18:05:12 -04:00
Maxim Cournoyer
4a301dae2b
gnu: Add qthttpserver.
* gnu/packages/qt.scm (qthttpserver): New variable.

Change-Id: I5413984d1eeb5ab99f7e52aabc805751e1b127fb
2024-04-03 18:05:12 -04:00
Maxim Cournoyer
95757e062f
gnu: Add qwindowkit.
* gnu/packages/qt.scm (qwindowkit): New variable.

Change-Id: Ie1a05de4db23f353b47bc32a4ea66c6e3612415a
2024-04-03 18:05:12 -04:00
Maxim Cournoyer
713ac1fe47
gnu: Add qmsetup.
* gnu/packages/cmake.scm (qmsetup): New variable.

Change-Id: Iea83c59498fe7da97a01725a293915669e6714f9
2024-04-03 18:05:12 -04:00
Maxim Cournoyer
06755dca11
gnu: Add syscmdline.
* gnu/packages/cpp.scm (syscmdline): New variable.

Change-Id: I721b0eb5358cf41eade23c093b506b4750c53082
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
af1000a9bf
gnu: ffmpeg-jami: Apply patch adding pipewire support.
* gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/video.scm (ffmpeg-jami) [source]: Apply it.

Change-Id: I93efcda6e688cea46d8a878b5a436422f1827ec3
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
022a31e045
gnu: dhtnet: Update to 0.0.1-2.024c46f.
* gnu/packages/networking.scm (dhtnet): Update to 0.0.1-2.024c46f.
[phases] <delete-problematic-tests>: Reinstate the fileutils test.  Disable
the new 'tests_ice' tests.

Change-Id: I15f7e76cd7a777fc9f537dec752b45f4b5ed4e92
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
e5aebf8a59
gnu: pjproject-jami: Update to 2.13.1-1.e12ea3b.
* gnu/packages/telephony.scm (pjproject-jami): Update to 2.13.1-1.e12ea3b.

Change-Id: Idd6c60a4795e7b2661963358568005162705679f
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
625fa5745e
gnu: qtbase: Disable the tst_qxmlstream test on powerpc64-le.
* gnu/packages/qt.scm (qtbase) [phases] <check>
[ppc64le]: Disable tst_qxmlstream test.

Change-Id: Ie15b5cc78d0a99906ed6c2ca1e16810bdedf27c2
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
470ca56110
gnu: qtbase: Replace QML2_IMPORT_PATH with QML_IMPORT_PATH.
* gnu/packages/qt.scm (qtbase) [native-search-paths]: Replace QML2_IMPORT_PATH
with QML_IMPORT_PATH, preferred for Qt 6 and up.
[phases] <check>: Likewise.
(qtdeclarative, qtwebsockets, qtwebchannel, qtscxml)
(qtremoteobjects, qtspeech): Likewise.

Change-Id: Ib64fce15a4333cdf36a41330c13987d867329c9c
2024-04-03 18:05:11 -04:00
Maxim Cournoyer
cfcd5df74d
gnu: qtbase: Have qmlimportscanner honor QML_IMPORT_PATH.
* gnu/packages/qt.scm (qtbase) [source]: Apply
qtbase-qmlimportscanner-qml-import-path.patch patch.
* gnu/packages/patches/qtbase-qmlimportscanner-qml-import-path.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I256939aa30a5d158ac0a78b85670b9f287c920ca
2024-04-03 18:05:10 -04:00
Maxim Cournoyer
a499d1772d
build: qt-utils: Use QML_IMPORT_PATH for Qt 6.
* guix/build/qt-utils.scm (variables-for-wrapping): Use QML_IMPORT_PATH
instead of QML2_IMPORT_PATH when the major version is greater or equal to 6.

Change-Id: I3480b540d3c0caafd3cc3d6574442dc97f540953
2024-04-03 18:05:10 -04:00
Maxim Cournoyer
0ca33051f3
gnu: qtscxml: Update to 6.6.2.
* gnu/packages/qt.scm (qtscxml): Update to 6.6.2.

Change-Id: I5562573f2ce4b3f803a6463855b60d7a9a502a35
2024-04-03 18:05:10 -04:00
Zheng Junjie
288b040a6f
gnu: qt-creator: Update to 12.0.2.
* gnu/packages/qt.scm (qt-creator): Update to 12.0.2.

Change-Id: Ibd753a2bafa6d4427c03d5ab657544571892b930
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:10 -04:00
Zheng Junjie
b07346c34b
gnu: Add qtspeech.
* gnu/packages/qt.scm (qtspeech): New variable.

Change-Id: I99294321514e7e3908d2f25812ceaa76d60bf060
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:10 -04:00
Zheng Junjie
ed940fb223
gnu: qtspeech: Rename package to qtspeech-5.
* gnu/packages/qt.scm (qtspeech): Rename to qtspeech-5.
(python-pyside-2)
* gnu/packages/games.scm (chessx)
* gnu/packages/kde-frameworks.scm (knotifications, ktextwidgets)
* gnu/packages/kde-pim.scm (kdepim-runtime, kpimtextedit)
* gnu/packages/kde-utils.scm (kmouth)
* gnu/packages/kde.scm (okular)
* gnu/packages/radio.scm (sdrangel): Adjust inputs accordingly..

Change-Id: I65ae1f4e3601f0caa8304cea6fb12f991f8e52a1
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-03 18:05:09 -04:00
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