Commit graph

884 commits

Author SHA1 Message Date
Robert Schütz 5344965f85 libsForQt5.wrapQtAppsHook: fix cross 2022-06-13 06:40:45 +00: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
Fabián Heredia Montiel fb73942a4e qt5: inherit stdenv for modules and override gcc version for qt512 and qt514 2022-04-16 10:56:03 -05:00
github-actions[bot] 795332a20e
Merge staging-next into staging 2022-04-14 18:01:48 +00: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
Will Cohen c55f61061e libsForQt5.qt5.qtserialbus: enable for qt 5.14 2022-04-13 17:18:24 -04: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
Thomas Tuegel dc7f25926e
qtModule: allow shared patches
Allow modules to include version-independent patches in addition to
version-dependent packages. Prior to this change, modules could only provide
version-independent patches _instead of_ version-dependent patches.
2022-04-06 08:52:10 -05:00
Thomas Tuegel a4fbb92be0
qt515: update KDE patches 2022-04-06 08:52:07 -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
github-actions[bot] fc17fe6417
Merge master into staging-next 2022-04-02 18:01:07 +00:00
Alyssa Ross fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Martin Weinelt dd6b901a38
qt515.qtwebengine: drop obsoleted patch regarding glibc2.34 compat
It does not apply anymore, which makes the build fail.
2022-03-14 14:36:43 +01:00
Maximilian Bosch 940f4547fe
Merge pull request #150262 from Ma27/qtwayland-app_id
qtwayland: declare proper `app_id` for wrapped executables
2022-03-14 12:23:41 +01:00
Maximilian Bosch 7605d492a7
qt512.qtwebengine: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163120450
2022-02-27 10:26:55 +01:00
Maximilian Bosch 0caf7e5f0c
qt514.qtwebengine: fix build w/glibc-2.34
Same problem here as with QT 5.15.

Failing Hydra build: https://hydra.nixos.org/build/153224604
2022-02-27 10:25:37 +01:00
Maximilian Bosch b9078e581b
qt515.qtwebengine: fix build w/glibc-2.34
Derived from Fedora 35: d122c01163?branch=rawhide
Failing Hydra build: https://hydra.nixos.org/build/153232768
2022-02-27 10:25:37 +01:00
github-actions[bot] dafecf1c6d
Merge staging-next into staging 2022-02-11 18:01:48 +00:00
Thomas Tuegel df046661ac
Merge pull request #158144 from gbpdt/fix/qtwebkit_python3
qtwebkit: use python38 to build instead of python2
2022-02-11 10:41:14 -06:00
Luna Nova adb8208581
qt515: Update KDE Qt 5.15 patches (20220208)
https://invent.kde.org/qt/qt/qtwayland/-/merge_requests/35
2022-02-08 17:01:56 -08:00
Luna Nova a4e8f00de1
qt515: Update KDE Qt 5.15 patches (20220205) 2022-02-08 16:25:05 -08:00
Luna Nova f730b8fa36
qt515: Update KDE Qt 5.15 patches 2022-02-08 16:25:05 -08:00
Luna Nova 6f0ae5f6f3
qt515 qtwayland: update to latest KDE patch 2022-02-08 16:25:05 -08:00
Luna Nova db3df8802c
qt515: Update KDE Qt 5.15 patches 2022-02-08 16:25:05 -08:00
Jonathan Ringer 4bcdfdfc71
qt5.qtwebengine: pin ffmpeg to 4.x 2022-02-06 17:38:57 -08:00
github-actions[bot] c69fbb8dc5
Merge master into staging-next 2022-02-05 00:01:49 +00:00
Graham Bennett 52ea4e5e58 qtwebkit: use python38 to build instead of python2
python38 appears to work just as well, so it seems better to use that rather
than python2.  This also resolves some build flakiness seen due to parallel
invocations of python2 that are fixed in python3.

Note that the scripts aren't compatible with python39 or later, some patching
would be required to resolve that.
2022-02-04 10:33:00 -05:00
Martin Weinelt 184d6ba76b
Merge pull request #142593 from toonn/linux-llvm-bump 2022-02-01 22:56:55 +01:00
rnhmjoj 00f80f36d2
qtwebengine: 5.15.7 -> 5.15.8 2022-02-01 21:09:46 +01:00
Will Cohen 7ec99ea7cf
qt5.qtwebkit: add disambiguate handle for darwin (#156809) 2022-01-27 13:00:11 -05:00
toonn 4f1480eb29
Qt5: WebEngine turn off warning causing errors 2022-01-17 13:29:46 +01:00
Jan Tojnar f7aa55946b Merge branch 'staging-next' into staging
; Conflicts:
;	nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
;	nixos/doc/manual/release-notes/rl-2205.section.md
;	pkgs/build-support/libredirect/default.nix
2022-01-10 01:26:05 +01:00
Thomas Tuegel 61c158b34d
Merge pull request #153133 from veprbl/pr/qtbase_darwin_without_gtk
qt5.qtbase: build without GTK support on darwin
2022-01-08 10:36:00 -06:00
Ben Wolsieffer f3386ca8cc qt5: apply makeScope overrides to qtModule
qtModule was defined outside of addPackages, which caused it to use a self
variable that isn't affected by updates using overrideScope. This caused
overrides to qtbase to be incompletely applied. I also entirely removed the
outer self variable to prevent it from being accidently used again.
2022-01-08 01:08:23 -05:00
Renaud 944a2dc835
Treewide: fix some permanent redirects on homepages
(#153213)
Issue #60004
2022-01-03 16:53:12 +01:00
Dmitry Kalinkin 9820587b93
qt5.qtbase: build without GTK support on darwin 2022-01-01 19:09:59 -05:00
Pavol Rusnak 5581f0f82f
qt5.qtwebengine: clarify on which platform is the package broken 2021-12-25 18:48:44 +01:00