Commit Graph

119 Commits

Author SHA1 Message Date
K900
53c4a1381f qt5: update patches
Pull in some qtbase security fixes
2023-05-28 14:05:33 +03:00
Christoph Neidahl
434cd1057f
libsForQt5.qtpim: init at unstable-2020-11-02 (#214164)
* libsForQt5.qtpim: init at unstable-2020-11-02

* libsForQt5.qtpim: Move to pkgs/development/libraries/qt-5

* libsForQt5.qtpim: unstable-2020-11-02 -> unstable-2021-04-09

By try reverting Qt6 commits instead of pulling in Qt5-compatible ones

* Revert "libsForQt5.qtpim: unstable-2020-11-02 -> unstable-2021-04-09"

This reverts commit 9384825791.
2023-05-25 21:44:39 +02:00
Weijia Wang
09aba852bf libsForQt5.qtconnectivity: fix build on darwin 2023-05-08 21:16:38 +03:00
K900
40cac1db49
Merge pull request #224356 from panicgh/qtdatavis3d
qt5.qtdatavis3d: init module
2023-05-05 09:55:57 +03:00
Nicolas Benes
df49d775de qt5.qtdatavis3d: init module 2023-04-24 18:22:03 +02:00
github-actions[bot]
7d385961eb
Merge master into staging-next 2023-04-23 18:01:26 +00:00
Sandro
87378fb42b
Merge pull request #223960 from OPNA2608/init/qtpositioning 2023-04-23 17:58:34 +02:00
Ryan Lahfa
1a689954ab
Merge pull request #225881 from matklad/makeBinaryWrapper
write-qt-apps-hook.sh: use make-binary-wrapper for significant speedups
2023-04-16 17:52:28 +02:00
github-actions[bot]
5f6ff7e8cf
Merge staging-next into staging 2023-04-15 00:02:38 +00:00
Christoph Neidahl
bfc75c7491
libsForQt5.qtsystems: init at unstable-2019-01-03 (#214179) 2023-04-15 00:42:03 +02:00
github-actions[bot]
ae00b7fb14
Merge staging-next into staging 2023-04-13 00:02:47 +00:00
Weijia Wang
02c564de3c qt5.qtwebengine: fix build on aarch64-darwin 2023-04-12 20:03:30 +03:00
Aleksey Kladov
e8ce8afd55 write-qt-apps-hook.sh: use make-binary-wrapper for significant speedups
QT apps tend to call makeWrapper with a lot of arguments, which causes
noticable slowdowns (+100ms for app startup). The slow down boils down
to two reasons:

- the required string processing is O(N^2)
- bash is slow at doing the processing

By using the binary wrapper, we fix the second point, brining the
overhead down from 100ms to just 4ms or thereabouts.

I tested this change by rebuilding my whole system with it (I use
plasma). It booted and it works (that's where I type this commit
message), but I am not 100% sure if this won't break anything else.

Closes: #225871
2023-04-12 12:02:19 +01:00
K900
8e166f4acd qtwebengine: 5.15.12 -> 5.15.13 2023-04-08 23:05:29 +03:00
K900
d616b23b9f qt5: 5.15.8 -> 5.15.9 2023-04-08 23:05:22 +03:00
K900
76973ae3b3 qt5: regularly scheduled patchset update 2023-04-03 20:55:53 +03:00
OPNA2608
ec6f63dae7 libsForQt5.qtpositioning: init at 5.15.2 2023-03-30 22:41:16 +02:00
Jan Tojnar
7c4188ac9a qt5.overrideScope': only add when allowAliases is enabled
Otherwise it will spam pkgs traversal (e.g. update.nix).

Introduced in 2cbbef006b
2023-03-24 19:13:48 +01:00
Artturin
2cbbef006b qt5: use makeScopeWithSplicing
if there is more than one qt5 attr and this file is copied then the arg
to generateSplicesForMkScope should be changed
2023-03-09 21:16:03 +02:00
Artturin
4e3dcf364e treewide: makeSetupHook deps -> propagatedBuildInputs 2023-02-07 21:02:00 +02:00
K900
a25786f76f qt5/qtwebengine: pick patch to fix build with gcc 12 2023-02-04 23:10:53 +03:00
K900
e2d48792c5 qt5/qtwebengine: 5.15.11 -> 5.15.12 2023-02-04 23:10:51 +03:00
github-actions[bot]
d7e7d75f99
Merge master into staging-next 2023-01-26 06:01:24 +00:00
Weijia Wang
a37e8e1a3e qt5.qtwebengine: unbreak on aarch64-darwin 2023-01-26 02:12:49 +01:00
Alyssa Ross
0ae87d514f treewide: add names to all setup hooks 2023-01-19 15:00:36 +00:00
Nick Cao
5d2dc46263
qt5: update source hashes to include submodules 2023-01-16 08:35:18 +08:00
Nick Cao
0567815a11
qt5: fetch submodules 2023-01-16 08:35:18 +08:00
Nick Cao
231d0821c7
Revert "qt5.qt3d: override src to include submodules"
This reverts commit 886104ad30e88fb37e2b93cac0fd41d469625860.
2023-01-16 08:35:17 +08:00
Nick Cao
c140730d40
qt5.qt3d: override src to include submodules 2023-01-15 17:15:21 +08:00
K900
251474b8cd qt5/qtwebengine: use homebrew version of python3 patches
It works on Mac
2023-01-12 11:34:40 +03:00
K900
3084056119 qt5/qtwebengine: try patching out more Darwin platform checks 2023-01-12 11:34:40 +03:00
K900
5802c30687 qt5: build with SDK 11.0 on all Darwins (hopefully) 2023-01-12 11:34:40 +03:00
K900
6159128386 qt5: 5.15.7 -> 5.15.8 2023-01-05 21:42:00 +03:00
Robert Schütz
523a65c91e libsForQt5.qtwebengine: build using python3 2022-11-24 10:15:41 -08:00
K900
202fff431f qt5.15: update to latest KDE patches 2022-11-17 20:18:35 +03:00
Sandro
fad5f168d2
Merge pull request #197010 from tpwrules/disable-qt-cache 2022-11-01 16:09:35 +01:00
K900
8fdc1765a9 qt5: 5.15.6 -> 5.15.7 2022-10-29 13:02:32 +03:00
Thomas Watson
8fb885a19e qt{5,6}: disable QML disk cache by default
Qt QML is a language for designing user interfaces. QML (and related
JavaScript) source files are compiled into bytecode at runtime before
execution. To save time, this bytecode is cached on disk.

The cache is keyed primarily off the application name and mtime of the
source file. Since application names rarely change, source files that
have passed through the store have their mtimes fixed at 1, and
SOURCE_DATE_EPOCH is also set to 1 during builds, compiled bytecode in
this cache for Qt programs built by Nix is rarely or never invalidated.

This results in programs running with QML bytecode that does not match
their source code, which manifests as a constant source of random and
unreproducible glitches, oddities, and crashes in Qt applications when
they are upgraded. For applications like SDDM and Plasma, the user may
be left with a completely broken system, and sometimes even rolling back
doesn't fix the issue.

This patch resolves the issue by simply patching Qt's QML module in all
supported versions to disable the disk cache by default as if the
environment variable QML_DISABLE_DISK_CACHE were always 1. Patching the
code ensures consistent behavior for all Qt applications in all
environments, including non-NixOS uses.

Simple benchmarking suggests an approximate 10% CPU time penalty when
launching QML-heavy applications, and no measurable penalty to booting
into Plasma. This is considerably more benign than the earlier behavior.

For testing or the performance conscious, use of the cache can be
re-enabled after understanding the risks by setting the environment
variable QML_FORCE_DISK_CACHE to 1. This can be done system-wide using
e.g. the `environment.sessionVariables` NixOS option.

Future work could change the cache key through source code changes or
automatic generation of an appropriate SOURCE_DATE_EPOCH. Until then,
this is a simple change which removes a large class of user frustration
and headache for little penalty.
2022-10-20 22:15:04 -05:00
Kazutoshi Noguchi
bf677a72e8 qt5.qtwebengine: 5.15.8 -> 5.15.11 2022-10-20 17:42:54 +09:00
Vladimír Čunát
7cce28d594
qt5.qtscript: drop the version override
It really was updated in commit 697a72e8a and refused to build.
(You can think of this as a revert of commit dd4afc7c0055.)
2022-10-09 08:16:59 +02:00
K900
697a72e8a9
qt5: 5.15.5 -> 5.15.6 2022-10-08 21:30:55 +02:00
Zaripov Kamil
10f06f9ae7 qtbase: remove mkspecs/features/mac/sdk.mk 2022-08-14 11:05:54 +03:00
Vladimír Čunát
9cfb24af2d
Merge #180327: qtbase: Fix build for aarch64-darwin
...into staging
2022-07-29 19:35:36 +02:00
Zaripov Kamil
940b020fe7 qtbase: Fix build for aarch64-darwin 2022-07-20 22:44:46 +03:00
Artturin
0da1362ff9 qt5.qtlottie: init 2022-07-20 18:26:50 +03:00
Dmitry Kalinkin
9cc2920558
qt515: fix on darwin 2022-07-18 23:08:31 -04:00
K900
e093226cfb qt5: refresh darwin patches 2022-07-15 11:04:50 +03:00
K900
dd4afc7c00 qt5.15: restore the version override
I am bad at this.
2022-07-13 14:57:10 +03:00
K900
091129a2ae qt5.15: update to latest KDE patchsets
Fixes a bunch of minor annoyances, especially around Wayland.
2022-07-11 19:15:04 +03:00
Robert Schütz
5344965f85 libsForQt5.wrapQtAppsHook: fix cross 2022-06-13 06:40:45 +00:00