Commit Graph

268 Commits

Author SHA1 Message Date
Christoph Neidahl
bfc75c7491
libsForQt5.qtsystems: init at unstable-2019-01-03 (#214179) 2023-04-15 00:42:03 +02:00
Weijia Wang
02c564de3c qt5.qtwebengine: fix build on aarch64-darwin 2023-04-12 20:03:30 +03:00
K900
da5f04dd9e qt5/qtwayland: drop merged patch 2023-04-05 12:38:45 +03:00
Vladimír Čunát
a53bfc01dc
Merge #219427: qt5: make overrriding with separate debug info useful
...into staging
2023-03-25 13:27:33 +01:00
Guillaume Girol
b237f5b637 qt5: make overriding separatedebuginfo useful
qmake strips before we separate the debuginfo
2023-03-19 12:00:00 +00:00
Weijia Wang
de7f43e787
Merge pull request #220893 from mrene/fix-sdrangel-darwin
sdrangel: fix darwin build
2023-03-18 19:26:49 +02:00
K900
a5a292c7a8 treewide: clear out remaining qt5 conditionals 2023-03-18 02:10:20 +03:00
Mathieu Rene
ab570e4a42 sdrangel: fix darwin build
Tested and changed the platform metadata for the dependent libs.
2023-03-12 17:41:55 -04:00
Mathieu Rene
8df017265e qt5.qtwebengine: fix Qt version number in cmake
Previously fixed in 97904f8424
and #118084, but the fix was only applied to linux platforms.

This fixes libraries that depend on qtwebengine under darwin platforms.
2023-03-12 16:12:45 -04:00
Adam Joseph
773dfa2228 qt5/qtbase.nix: add mysqlSupport
This commit switches `libmysqlclient`-enablement from `!=null`-style
to `fooSupport`-style, by adding an additional boolean parameter `mysqlSupport`.

This parameter defaults to
`stdenv.hostPlatform==stdenv.buildPlatform`, so there should be no
change in behavior for the non-cross-compiling case.

Co-authored-by: Artturi <Artturin@artturin.com>
2023-03-09 21:37:13 -08:00
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
226e149145 treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
John Ericson
6ff065a44c qt5.qtbase: Add meta.pkgConfigModules and test 2023-02-11 11:02:58 -05:00
Weijia Wang
a37e8e1a3e qt5.qtwebengine: unbreak on aarch64-darwin 2023-01-26 02:12:49 +01:00
K900
7c8ab8cb3b qt5: remove remaining version 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
Sandro Jäckel
1b84946f07
qt5.qtbase: remove ? null asserts 2022-12-21 23:35:56 +01:00
Weijia Wang
b91a56cc61 qt515.qt3d: fix build on aarch64-darwin 2022-12-03 00:24:59 +01:00
Robert Schütz
523a65c91e libsForQt5.qtwebengine: build using python3 2022-11-24 10:15:41 -08:00
github-actions[bot]
ad6918218b
Merge master into staging-next 2022-11-19 06:01:10 +00:00
Vladimír Čunát
d10e3216b8
qt*.qtwayland: fix build of versions before 5.15
/cc the PR adding this patch: #200872
2022-11-18 17:24:02 +01:00
Martin Weinelt
a505704e8f
qtwebkit: Mark known vulnerable
The browser engine is based off an old Webkit version, receives no
security backports, does no releases.

The WebKitGTK people have counted over 500 CVEs they fixed since 2016.

Adding known vulnerable to make people aware they're using a browser
engine that is not up to todays standards and could very likely be
easily compromised.

Projects are recomended to migrate to qtwebengine instead.

https://blogs.gnome.org/mcatanzaro/2017/02/08/an-update-on-webkit-security-updates/
https://github.com/qutebrowser/qutebrowser/issues/4039#issue-338246939
https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/
2022-11-13 14:41:26 +01:00
Lorenz Brun
fd94629a32 qt5/qtwayland: fix popups being placed outside the screen
QT 5 did not set layout constraints on their popups. This causes some
compositors like GNOME to place the popups partially outside the screen.
This change backports the corresponding fix, but with an exclusion for
KDE as its current version does not work well with layout constraints.
2022-11-12 16:30:40 +01:00
Weijia Wang
79f5174455 licenses: remove fdl13 2022-10-27 22:48:13 +02:00
Weijia Wang
c1fbfda9b2
qt5.qtwebengine: mark as broken on darwin (#197131) 2022-10-23 00:08:32 -04:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +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
github-actions[bot]
fff1023111
Merge staging-next into staging 2022-05-22 12:02:07 +00:00
Thomas Tuegel
339c5dc5db
Merge pull request #170399 from chuangzhu/qtbase
qtbase: use -pthread instead of -lpthread
2022-05-22 06:57:58 -05:00
Ben Wolsieffer
6e769a6a95 libsForQt5.qtspeech: add speechd dependency
Without a speech synthesizer, qtspeech is useless.
2022-05-21 20:38:59 -04:00
Vladimír Čunát
cec6e7362c
Merge branch 'master' into staging-next-2022-04-23 2022-05-01 14:26:52 +02:00
github-actions[bot]
dc0ace8d6e
Merge master into staging-next 2022-05-01 06:01:14 +00:00
Adam Joseph
cf3d9c3cf1 qtwebengine: implement meta.platforms correctly 2022-04-30 17:17:06 -07:00
Chuang Zhu
235c1c1766 qtbase: use -pthread instead of -lpthread
This fixes "undefined reference to `__atomic_*'" errors when building
qt5.qtdeclarative on riscv64-linux.
2022-04-28 12:54:49 +08:00
Artturi
785373a76f
Merge pull request #166605 from siraben/remove-redundant-stdenv 2022-04-22 20:25:38 +03:00
Andrew Childs
85020dcbda qtmultimedia: restrict libpulseaudio to linux
libpulseaudio doesn't currently build on darwin after a recent
upgrade (#160097). When looking closely at the darwin build, it
appeared that it wasn't being used at all.

❯ nix log $(nix-build --no-out-link  channel:nixpkgs-unstable --argstr system x86_64-darwin -A qt512.qtmultimedia) | grep PulseAudio
Checking for PulseAudio >= 0.9.10... no
  PulseAudio ............................. no

❯ nix log $(nix-build --no-out-link  channel:nixpkgs-unstable --argstr system x86_64-darwin -A qt514.qtmultimedia) | grep PulseAudio
Checking for PulseAudio >= 0.9.10... no
  PulseAudio ............................. no

❯ nix log $(nix-build --no-out-link  channel:nixpkgs-unstable --argstr system x86_64-darwin -A qt515.qtmultimedia) | grep PulseAudio
Checking for PulseAudio >= 0.9.10... no
  PulseAudio ............................. no
2022-04-20 00:01:14 +03:00
Ben Siraphob
259fa13d53 treewide: remove nativeBuildInputs that are in stdenv 2022-04-16 21:46:46 +03:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
Minor conflicts; I hope I didn't mess up:
	pkgs/development/tools/misc/binutils/default.nix
	pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
Thomas Tuegel
45f6ec7332
Merge pull request #166933 from ttuegel/staging-qt-5-patches
Update Qt 5.15 patches
2022-04-13 09:04:42 -05:00
Adam Joseph
8660a09197 qtbase: use more than one core to build qmake
The qtbase package's `configurePhase` builds the `qmake` tool.  In the
current nixpkgs expression it does this single-threadedly, by invoking
`make` without a `-j` flag.

Let's thread `NIX_BUILD_CORES` through to `./configure`'s invocation
of `make` via the `MAKEFLAGS` variable.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-12 13:33:51 -07:00
Adam Joseph
bd3b4c5483
qtwebengine: honor pipewireSupport (#161018) 2022-04-12 00:47:41 +02:00
Thomas Tuegel
35e673dda2
qtwayland: include app_id patch in module definition 2022-04-06 08:53:47 -05:00
Thomas Tuegel
40b789cfbb
qtbase: build with libdrm
qtwayland requires qtbase to be built with libdrm support, and other modules
might benefit from it, too.
2022-04-06 08:53:47 -05:00
Vladimír Čunát
db57a90dcc
qt5*.qtwayland: deconflict patching
This fixes build in qt514 case.

The usual way here is to provide patches for each qt5 version
separately.  No other module adds them in this generic way.
The problem is when you combine the approaches; qtModule will only
take the list from the module and ignore the version-specific list.
2022-04-05 15:11:56 +02:00