~ruther/guix-local

6fbd865e — Zheng Junjie 2 years ago
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>
969ee393 — Zheng Junjie 2 years ago
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>
fb231039 — Zheng Junjie 2 years ago
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>
d560cedf — Zheng Junjie 2 years ago
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>
3805adb7 — Zheng Junjie 2 years ago
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>
09ed6bdc — Zheng Junjie 2 years ago
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>
2202f440 — Zheng Junjie 2 years ago
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>
4605bc67 — Zheng Junjie 2 years ago
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>
e36d111e — Zheng Junjie 2 years ago
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>
ae5d5bb3 — Zheng Junjie 2 years ago
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>
074ddc32 — Zheng Junjie 2 years ago
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>
629614c7 — Leo Famulari 2 years ago
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
9b560fee — John Kehayias 2 years ago
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
e8dba8af — John Kehayias 2 years ago
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
c9cd16c6 — Christopher Baines 2 years ago
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
c6cc9aeb — Christopher Baines 2 years ago
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
511d68c7 — Christopher Baines 2 years ago
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
cdd4a0c3 — Christopher Baines 2 years ago
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
b914fb9b — Christopher Baines 2 years ago
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 5d6e2255286e591def122ec2f4a3cbda497fea21.

* .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
22fa92cf — Christopher Baines 2 years ago
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 37545de4a3bf59611c184b31506fe9a16abe4c8b.

* .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
Next