Commit graph

854 commits

Author SHA1 Message Date
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
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
Pavol Rusnak af8c095665
qt5{12,14,15}: mark broken on aarch64-darwin 2021-12-25 18:48:44 +01:00
Pavol Rusnak ca00abc407
qt5{12,14,15}: use default stdenv on darwin 2021-12-25 18:48:44 +01:00
github-actions[bot] 39d035c4cf
Merge master into staging-next 2021-12-22 00:01:35 +00:00
Dmitry Kalinkin 88171cca9b
qt5.qtbase: reinstate -Wno-error=unguarded-availability on darwin 2021-12-20 11:48:22 -05:00
Dmitry Kalinkin e1aaaa90fe
llvmPackages.libcxx: unset _LIBCPP_USE_AVAILABILITY_APPLE 2021-12-18 10:09:25 -05:00
Dmitry Kalinkin 12ba3bc6eb
qt5.qtgamepad: add darwin support 2021-12-17 13:25:28 -05:00
Dmitry Kalinkin 5f5bc79a1b
qt5{14,15}.qtbase: fix build on darwin 2021-12-15 09:57:32 -05:00
github-actions[bot] 0242879f3f
Merge master into staging-next 2021-12-14 12:01:17 +00:00
Sandro 2c2a09678c
Merge pull request #149461 from SuperSandro2000/fix-version-qtwebengine 2021-12-14 11:08:24 +01:00
github-actions[bot] c6ad49e2f0
Merge master into staging-next 2021-12-12 00:01:54 +00:00
Pavol Rusnak 1bc0716555
qt515.qtwebkit: fix build on darwin
This fixes the build on darwin by correcting the patch which no longer applies.
2021-12-11 20:23:50 +01:00
Sandro Jäckel 231b2661d0
qt5.qtwebengine: fix duplicated version 2021-12-07 22:34:27 +01:00
toonn 2a97abdc21 Qt5: WebEngine build with old LLVM
Qt Base is built with LLVM 5 on Darwin. LLVM 11 causes problems for
WebEngine because of the "version" includes in libc++abi. LLVM 7 would
work but since parts are built with LLVM 5 anyway it seemed like a more
straightforward option.
2021-11-24 15:17:13 -08:00
toonn b1b5b40c8d Qt5: WebEngine turn off warning causing errors
Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
2021-11-24 15:17:13 -08:00
Fabián Heredia Montiel 6b8044795e qtwebengine: 5.15.6 → 5.15.7 2021-11-21 11:53:19 -08:00
Kim Lindberger 855a211fd9
Merge pull request #145473 from talyz/qt512-big-sur-fix
qt512: Make apps work on macOS Big Sur
2021-11-15 19:46:52 +01:00
github-actions[bot] 0ca0546665
Merge master into staging-next 2021-11-14 06:01:05 +00:00
Dmitry Kalinkin b507efd2bc
qt51{4,5}.qtwebengine: mark as broken on darwin 2021-11-13 20:14:18 -05:00
talyz 39ce18a7ec
qt512: Make apps work on macOS Big Sur
Make Qt applications work on macOS Big Sur even if they're built with
an older version of the macOS SDK (<10.14 - we're currently using
10.12). This issue is fixed in 5.12.11, but it requires macOS SDK
10.13 to build. See https://bugreports.qt.io/browse/QTBUG-87014 for
more info.
2021-11-11 11:11:08 +01:00
Thomas Tuegel 5b22f14d38
qtbase: avoid rebuilding versions < 5.15 2021-10-31 12:02:20 -05:00
Thomas Tuegel 27b6cf2445
qtModule: combine conditionals inside evaluation brackets
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-31 11:38:56 -05:00
Thomas Tuegel de97acd190
qt515: consolidate bash set short options
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-31 11:37:54 -05:00
Thomas Tuegel 940e668914
qt515: remove unused file 2021-10-31 11:33:42 -05:00
Thomas Tuegel b9331fbad9
qt515: consolidate extra package sources 2021-10-31 10:59:30 -05:00
Thomas Tuegel 965fcab969
qt515: combine source locks into single JSON file 2021-10-31 10:53:48 -05:00
Thomas Tuegel 9e65eb4cee
qt515: 5.15.2 -> 5.15.3
Qt 5.15.3 does not have an official open source release, but the KDE team
maintains a collection of patches (pulled from Qt upstream) that they expect us
to carry.
2021-10-30 11:19:20 -05:00
Thomas Tuegel 42f44590e0
qtModule: say the magic words 2021-10-30 09:52:39 -05:00
Thomas Tuegel 8475a67e7d
qtbase: bootstrap with syncqt.pl 2021-10-30 09:52:38 -05:00
github-actions[bot] b7725a001d
Merge staging-next into staging 2021-10-04 18:01:44 +00:00