Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions pkgs/development/libraries/qt-6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ let
revert = true;
hash = "sha256-cjB2sC4cvZn0UEc+sm6ZpjyC78ssqB1Kb5nlZQ15M4A=";
})
# CVE-2023-51714: Potential Integer Overflow in Qt's HTTP2 implementation
# https://www.qt.io/blog/security-advisory-potential-integer-overflow-in-qts-http2-implementation
(fetchpatch2 {
url = "https://download.qt.io/official_releases/qt/6.5/0001-CVE-2023-51714-qtbase-6.5.diff";
hash = "sha256-0Xnolq9dWkKUrmLUlv15uQ9nkZXrY3AsmvChaLX8P2I=";
})
(fetchpatch2 {
url = "https://download.qt.io/official_releases/qt/6.6/0002-CVE-2023-51714-qtbase-6.6.diff";
hash = "sha256-+/u3vy5Ci6Z4jy00L07iYAnqHvVdqUzqVnT9uVIqs60=";
})
];
};
env = callPackage ./qt-env.nix { };
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-6/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/ -A '*.tar.xz' )
WGET_ARGS=( https://download.qt.io/official_releases/qt/6.6/6.6.2/submodules/ -A '*.tar.xz' )
6 changes: 4 additions & 2 deletions pkgs/development/libraries/qt-6/modules/qtmqtt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

qtModule rec {
pname = "qtmqtt";
version = "6.6.1";
version = "6.6.2";

src = fetchFromGitHub {
owner = "qt";
repo = "qtmqtt";
rev = "v${version}";
hash = "sha256-6jQrUT1wLk6rhDIns0ubdUCZ7e/m38Oqvl8c1/sfWxI=";
hash = "sha256-R8B7Vt/XzI7+17DDZ+TVbqfGKdEfUMiLa1BqzIbo4OM=";
};

propagatedBuildInputs = [ qtbase ];
}
9 changes: 0 additions & 9 deletions pkgs/development/libraries/qt-6/modules/qtwayland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,11 @@
, wayland
, pkg-config
, libdrm
, fetchpatch
}:

qtModule {
pname = "qtwayland";
propagatedBuildInputs = [ qtbase qtdeclarative ];
buildInputs = [ wayland libdrm ];
nativeBuildInputs = [ pkg-config ];
patches = [
# Fix potential crash issues when some submenus are expanded
# https://codereview.qt-project.org/c/qt/qtwayland/+/519344/
(fetchpatch {
url = "https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=aae65c885d8e38d8abc2959cded7b5e9e5fc88b3";
hash = "sha256-FD1VaiTgl9Z1y+5EDpWYShM1ULoFdET86FoFfqDmjyo=";
})
];
}
4 changes: 0 additions & 4 deletions pkgs/development/libraries/qt-6/modules/qtwebengine.nix
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ qtModule {

# Override locales install path so they go to QtWebEngine's $out
../patches/qtwebengine-locales-path.patch

# Cherry-pick libxml 2.12 build fix
# FIXME: remove for 6.7
../patches/qtwebengine-libxml-2.12.patch
];

postPatch = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Subject: [PATCH 02/11] qtbase: qmake: fix mkspecs for darwin
6 files changed, 1 insertion(+), 415 deletions(-)

diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf
index 61bea952b22..9909dae7260 100644
index 61bea952b2..9909dae726 100644
--- a/mkspecs/common/mac.conf
+++ b/mkspecs/common/mac.conf
@@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \
Expand All @@ -26,7 +26,7 @@ index 61bea952b22..9909dae7260 100644

QMAKE_LFLAGS_REL_RPATH =
diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf
index f364716717c..3b40328304d 100644
index 0b64a586b9..3b40328304 100644
--- a/mkspecs/features/mac/default_post.prf
+++ b/mkspecs/features/mac/default_post.prf
@@ -1,9 +1,5 @@
Expand All @@ -39,12 +39,13 @@ index f364716717c..3b40328304d 100644
contains(TEMPLATE, .*app) {
!macx-xcode:if(isEmpty(BUILDS)|build_pass) {
# Detect changes to the platform SDK
@@ -15,269 +11,10 @@ contains(TEMPLATE, .*app) {
@@ -15,270 +11,10 @@ contains(TEMPLATE, .*app) {

QMAKE_EXTRA_INCLUDES += $$shell_quote($$PWD/sdk.mk)
}
-
- # Detect incompatible SDK versions
- # The CMake equivalent is in cmake/QtPublicAppleHelpers.cmake.
-
- isEmpty(QT_MAC_SDK_VERSION_MIN): \
- QT_MAC_SDK_VERSION_MIN = $$QT_MAC_SDK_VERSION
Expand Down Expand Up @@ -310,7 +311,7 @@ index f364716717c..3b40328304d 100644
generate_xcode_project.commands = @$(QMAKE) -spec macx-xcode \"$(EXPORT__PRO_FILE_)\" $$QMAKE_ARGS
generate_xcode_project.target = xcodeproj
diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
index e3534561a56..3b01424e67b 100644
index e3534561a5..3b01424e67 100644
--- a/mkspecs/features/mac/default_pre.prf
+++ b/mkspecs/features/mac/default_pre.prf
@@ -1,60 +1,2 @@
Expand Down Expand Up @@ -375,7 +376,7 @@ index e3534561a56..3b01424e67b 100644
-xcode_copy_phase_strip_setting.value = NO
-QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting
diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk
index a32ceacb6ce..e69de29bb2d 100644
index a32ceacb6c..e69de29bb2 100644
--- a/mkspecs/features/mac/sdk.mk
+++ b/mkspecs/features/mac/sdk.mk
@@ -1,27 +0,0 @@
Expand Down Expand Up @@ -407,7 +408,7 @@ index a32ceacb6ce..e69de29bb2d 100644
- endif
-endif
diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
index 3a9c2778bbe..e69de29bb2d 100644
index 3a9c2778bb..e69de29bb2 100644
--- a/mkspecs/features/mac/sdk.prf
+++ b/mkspecs/features/mac/sdk.prf
@@ -1,61 +0,0 @@
Expand Down Expand Up @@ -473,7 +474,7 @@ index 3a9c2778bbe..e69de29bb2d 100644
- cache($$tool_variable, set stash, $$tool)
-}
diff --git a/mkspecs/features/mac/toolchain.prf b/mkspecs/features/mac/toolchain.prf
index df191eb13c4..e69de29bb2d 100644
index df191eb13c..e69de29bb2 100644
--- a/mkspecs/features/mac/toolchain.prf
+++ b/mkspecs/features/mac/toolchain.prf
@@ -1,5 +0,0 @@
Expand All @@ -482,6 +483,3 @@ index df191eb13c4..e69de29bb2d 100644
-sdk: load(sdk)
-
-load(toolchain)
--
2.42.0

Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Subject: [PATCH 08/11] qtbase: allow translations outside prefix
cmake/QtBuild.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 1dc576d27af..4348eb97c37 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -30,7 +30,7 @@ function(qt_configure_process_path name default docstring)
diff --git a/cmake/QtBuildPathsHelpers.cmake b/cmake/QtBuildPathsHelpers.cmake
index edc43f2f14..78fa219515 100644
--- a/cmake/QtBuildPathsHelpers.cmake
+++ b/cmake/QtBuildPathsHelpers.cmake
@@ -134,7 +134,7 @@ function(qt_configure_process_path name default docstring)
set(rel_path ".")
elseif(rel_path MATCHES "^\.\./")
# INSTALL_SYSCONFDIR is allowed to be outside the prefix.
Expand All @@ -20,6 +20,3 @@ index 1dc576d27af..4348eb97c37 100644
message(FATAL_ERROR
"Path component '${name}' is outside computed install prefix: ${rel_path} ")
return()
--
2.42.0

This file was deleted.

Loading