forked from mirrors/nixpkgs
qt59: Remove package sets
Nothing depends on Qt 5.9 any more
This commit is contained in:
parent
dcfc821c6c
commit
f70c47a901
|
@ -1,179 +0,0 @@
|
||||||
/*
|
|
||||||
|
|
||||||
# Updates
|
|
||||||
|
|
||||||
Before a major version update, make a copy of this directory. (We like to
|
|
||||||
keep the old version around for a short time after major updates.) Add a
|
|
||||||
top-level attribute to `top-level/all-packages.nix`.
|
|
||||||
|
|
||||||
1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
|
|
||||||
2. From the top of the Nixpkgs tree, run
|
|
||||||
`./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
|
|
||||||
3. Check that the new packages build correctly.
|
|
||||||
4. Commit the changes and open a pull request.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
{
|
|
||||||
newScope,
|
|
||||||
stdenv, fetchurl, fetchpatch, makeSetupHook, makeWrapper,
|
|
||||||
bison, cups ? null, harfbuzz, libGL, perl,
|
|
||||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
|
||||||
|
|
||||||
# options
|
|
||||||
developerBuild ? false,
|
|
||||||
decryptSslTraffic ? false,
|
|
||||||
debug ? false,
|
|
||||||
}:
|
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
qtCompatVersion = srcs.qtbase.version;
|
|
||||||
|
|
||||||
mirror = "http://download.qt.io";
|
|
||||||
srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
|
|
||||||
|
|
||||||
patches = {
|
|
||||||
qtbase = [
|
|
||||||
./qtbase.patch
|
|
||||||
./qtbase-fixguicmake.patch
|
|
||||||
./qtbase-openssl_1_1.patch
|
|
||||||
];
|
|
||||||
qtdeclarative = [ ./qtdeclarative.patch ];
|
|
||||||
qtscript = [
|
|
||||||
./qtscript.patch
|
|
||||||
# needed due to changes in gcc 8.3, see https://bugreports.qt.io/browse/QTBUG-74196
|
|
||||||
# fixed in qtscript 5.12.2
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/qt/qtscript/commit/97ec1d1882a83c23c91f0f7daea48e05858d8c32.diff";
|
|
||||||
sha256 = "0khrapq13xzvxckzc9l7gqyjwibyd98vyqy6gmyhvsbm2kq8n6wi";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
qtserialport = [ ./qtserialport.patch ];
|
|
||||||
qttools = [ ./qttools.patch ];
|
|
||||||
qtwebengine = [
|
|
||||||
./qtwebengine-no-build-skip.patch
|
|
||||||
# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/707
|
|
||||||
# https://bugreports.qt.io/browse/QTBUG-77037
|
|
||||||
(fetchpatch {
|
|
||||||
name = "fix-build-with-pulseaudio-13.0.patch";
|
|
||||||
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951";
|
|
||||||
sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am";
|
|
||||||
})
|
|
||||||
] ++ optional stdenv.cc.isClang ./qtwebengine-clang-fix.patch
|
|
||||||
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
|
|
||||||
|
|
||||||
qtwebkit = [ ./qtwebkit.patch ];
|
|
||||||
qtvirtualkeyboard = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2018-19865-A.patch";
|
|
||||||
url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=61780a113f02b3c62fb14516fe8ea47d91f9ed9a";
|
|
||||||
sha256 = "0jd4nzaz9ndm9ryvrkav7kjs437l661288diklhbmgh249f8gki0";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2018-19865-B.patch";
|
|
||||||
url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=c0ac7a4c684e2fed60a72ceee53da89eea3f95a7";
|
|
||||||
sha256 = "0yvxrx5vx6845vgnq8ml3q93y61py5j0bvhqj7nqvpbmyj1wy1p3";
|
|
||||||
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2018-19865-C.patch";
|
|
||||||
url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=a2e7b8412f56841e12ed20a39f4a38e32d3c1e30";
|
|
||||||
sha256 = "1yijysa9gy5xbxndx5ri0dkfrjqja0d1bsx52qz4mhzi4pkbib02";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
qtModule =
|
|
||||||
import ../qtModule.nix
|
|
||||||
{
|
|
||||||
inherit perl;
|
|
||||||
inherit (stdenv) lib;
|
|
||||||
# Use a variant of mkDerivation that does not include wrapQtApplications
|
|
||||||
# to avoid cyclic dependencies between Qt modules.
|
|
||||||
mkDerivation =
|
|
||||||
import ../mkDerivation.nix
|
|
||||||
{ inherit (stdenv) lib; inherit debug; wrapQtAppsHook = null; }
|
|
||||||
stdenv.mkDerivation;
|
|
||||||
}
|
|
||||||
{ inherit self srcs patches; };
|
|
||||||
|
|
||||||
addPackages = self: with self;
|
|
||||||
let
|
|
||||||
callPackage = self.newScope { inherit qtCompatVersion qtModule srcs; };
|
|
||||||
in {
|
|
||||||
|
|
||||||
mkDerivationWith =
|
|
||||||
import ../mkDerivation.nix
|
|
||||||
{ inherit (stdenv) lib; inherit debug; inherit (self) wrapQtAppsHook; };
|
|
||||||
|
|
||||||
mkDerivation = mkDerivationWith stdenv.mkDerivation;
|
|
||||||
|
|
||||||
qtbase = callPackage ../modules/qtbase.nix {
|
|
||||||
inherit (srcs.qtbase) src version;
|
|
||||||
patches = patches.qtbase;
|
|
||||||
inherit bison cups harfbuzz libGL;
|
|
||||||
withGtk3 = true; inherit dconf gtk3;
|
|
||||||
inherit developerBuild decryptSslTraffic;
|
|
||||||
};
|
|
||||||
|
|
||||||
qtcharts = callPackage ../modules/qtcharts.nix {};
|
|
||||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
|
||||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
|
||||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
|
||||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
|
||||||
qtimageformats = callPackage ../modules/qtimageformats.nix {};
|
|
||||||
qtlocation = callPackage ../modules/qtlocation.nix {};
|
|
||||||
qtmacextras = callPackage ../modules/qtmacextras.nix {};
|
|
||||||
qtmultimedia = callPackage ../modules/qtmultimedia.nix {
|
|
||||||
inherit gstreamer gst-plugins-base;
|
|
||||||
};
|
|
||||||
qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
|
|
||||||
qtquick1 = null;
|
|
||||||
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
|
|
||||||
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
|
|
||||||
qtscript = callPackage ../modules/qtscript.nix {};
|
|
||||||
qtsensors = callPackage ../modules/qtsensors.nix {};
|
|
||||||
qtserialport = callPackage ../modules/qtserialport.nix {};
|
|
||||||
qtsvg = callPackage ../modules/qtsvg.nix {};
|
|
||||||
qttools = callPackage ../modules/qttools.nix {};
|
|
||||||
qttranslations = callPackage ../modules/qttranslations.nix {};
|
|
||||||
qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
|
|
||||||
qtwayland = callPackage ../modules/qtwayland.nix {};
|
|
||||||
qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
|
|
||||||
qtwebengine = callPackage ../modules/qtwebengine.nix {};
|
|
||||||
qtwebkit = callPackage ../modules/qtwebkit.nix {};
|
|
||||||
qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
|
|
||||||
qtx11extras = callPackage ../modules/qtx11extras.nix {};
|
|
||||||
qtxmlpatterns = callPackage ../modules/qtxmlpatterns.nix {};
|
|
||||||
|
|
||||||
env = callPackage ../qt-env.nix {};
|
|
||||||
full = env "qt-full-${qtbase.version}" ([
|
|
||||||
qtcharts qtconnectivity qtdeclarative qtdoc qtgraphicaleffects
|
|
||||||
qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2
|
|
||||||
qtscript qtsensors qtserialport qtsvg qttools qttranslations
|
|
||||||
qtvirtualkeyboard qtwebchannel qtwebengine qtwebkit qtwebsockets
|
|
||||||
qtx11extras qtxmlpatterns
|
|
||||||
] ++ optional (!stdenv.isDarwin) qtwayland
|
|
||||||
++ optional (stdenv.isDarwin) qtmacextras);
|
|
||||||
|
|
||||||
qmake = makeSetupHook {
|
|
||||||
deps = [ self.qtbase.dev ];
|
|
||||||
substitutions = {
|
|
||||||
fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;
|
|
||||||
};
|
|
||||||
} ../hooks/qmake-hook.sh;
|
|
||||||
|
|
||||||
wrapQtAppsHook = makeSetupHook {
|
|
||||||
deps =
|
|
||||||
[ self.qtbase.dev makeWrapper ]
|
|
||||||
++ optional stdenv.isLinux self.qtwayland.dev;
|
|
||||||
} ../hooks/wrap-qt-apps-hook.sh;
|
|
||||||
};
|
|
||||||
|
|
||||||
self = makeScope newScope addPackages;
|
|
||||||
|
|
||||||
in self
|
|
|
@ -1 +0,0 @@
|
||||||
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.9/5.9.7/submodules/ )
|
|
|
@ -1,30 +0,0 @@
|
||||||
diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
index 0bbc871..3673634 100644
|
|
||||||
--- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
@@ -286,7 +286,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
|
||||||
macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
|
||||||
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
|
||||||
|
|
||||||
- set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
|
|
||||||
+ set(imported_location \"${PLUGIN_LOCATION}\")
|
|
||||||
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
|
|
||||||
set_target_properties(Qt5::${Plugin} PROPERTIES
|
|
||||||
\"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
|
|
||||||
diff --git a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
|
||||||
index 5baf0fd..3583745 100644
|
|
||||||
--- a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
|
||||||
+++ b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
|
||||||
@@ -2,10 +2,10 @@
|
|
||||||
add_library(Qt5::$$CMAKE_PLUGIN_NAME MODULE IMPORTED)
|
|
||||||
|
|
||||||
!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
|
||||||
-_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
|
|
||||||
+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
|
|
||||||
!!ENDIF
|
|
||||||
!!IF !isEmpty(CMAKE_DEBUG_TYPE)
|
|
||||||
-_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
|
|
||||||
+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
|
|
||||||
!!ENDIF
|
|
||||||
|
|
||||||
list(APPEND Qt5$${CMAKE_MODULE_NAME}_PLUGINS Qt5::$$CMAKE_PLUGIN_NAME)
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,33 +0,0 @@
|
||||||
diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp
|
|
||||||
index ee5b38717..bbccef8c4 100644
|
|
||||||
--- a/src/qml/qml/qqmlimport.cpp
|
|
||||||
+++ b/src/qml/qml/qqmlimport.cpp
|
|
||||||
@@ -1678,6 +1678,15 @@ QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e)
|
|
||||||
QString installImportsPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath);
|
|
||||||
addImportPath(installImportsPath);
|
|
||||||
|
|
||||||
+ // Add import paths derived from PATH
|
|
||||||
+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
|
|
||||||
+ const QString qmldir = QStringLiteral("../" NIXPKGS_QML2_IMPORT_PREFIX);
|
|
||||||
+ for (const QString &path: paths) {
|
|
||||||
+ if (!path.isEmpty()) {
|
|
||||||
+ addImportPath(QDir::cleanPath(path + QDir::separator() + qmldir));
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
// env import paths
|
|
||||||
if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) {
|
|
||||||
const QByteArray envImportPath = qgetenv("QML2_IMPORT_PATH");
|
|
||||||
diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
|
|
||||||
index 330da358b..cdf570205 100644
|
|
||||||
--- a/tools/qmlcachegen/qmlcache.prf
|
|
||||||
+++ b/tools/qmlcachegen/qmlcache.prf
|
|
||||||
@@ -44,7 +44,7 @@ defineReplace(qmlCacheOutputFileName) {
|
|
||||||
}
|
|
||||||
|
|
||||||
qmlcacheinst.base = $$QMLCACHE_DESTDIR
|
|
||||||
-qmlcacheinst.path = $$[QT_INSTALL_QML]/$$TARGETPATH
|
|
||||||
+qmlcacheinst.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
|
||||||
qmlcacheinst.CONFIG = no_check_exist
|
|
||||||
|
|
||||||
qmlcachegen.input = CACHEGEN_FILES
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
|
||||||
index 1f6d25e..087c3fb 100644
|
|
||||||
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
|
||||||
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
|
||||||
@@ -81,7 +81,7 @@
|
|
||||||
#include <pthread.h>
|
|
||||||
#elif PLATFORM(GTK)
|
|
||||||
#include <wtf/gtk/GOwnPtr.h>
|
|
||||||
-typedef struct _GMutex GMutex;
|
|
||||||
+typedef union _GMutex GMutex;
|
|
||||||
typedef struct _GCond GCond;
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
diff --git a/src/serialport/qtudev_p.h b/src/serialport/qtudev_p.h
|
|
||||||
index af2dab2..8e17f64 100644
|
|
||||||
--- a/src/serialport/qtudev_p.h
|
|
||||||
+++ b/src/serialport/qtudev_p.h
|
|
||||||
@@ -111,9 +111,17 @@ inline QFunctionPointer resolveSymbol(QLibrary *udevLibrary, const char *symbolN
|
|
||||||
inline bool resolveSymbols(QLibrary *udevLibrary)
|
|
||||||
{
|
|
||||||
if (!udevLibrary->isLoaded()) {
|
|
||||||
+#ifdef NIXPKGS_LIBUDEV
|
|
||||||
+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 1);
|
|
||||||
+#else
|
|
||||||
udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 1);
|
|
||||||
+#endif
|
|
||||||
if (!udevLibrary->load()) {
|
|
||||||
+#ifdef NIXPKGS_LIBUDEV
|
|
||||||
+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 0);
|
|
||||||
+#else
|
|
||||||
udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 0);
|
|
||||||
+#endif
|
|
||||||
if (!udevLibrary->load()) {
|
|
||||||
qWarning("Failed to load the library: %s, supported version(s): %i and %i", qPrintable(udevLibrary->fileName()), 1, 0);
|
|
||||||
return false;
|
|
|
@ -1,71 +0,0 @@
|
||||||
diff --git a/src/assistant/help/Qt5HelpConfigExtras.cmake.in b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
|
||||||
index 3b97923a..63336bd5 100644
|
|
||||||
--- a/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
|
||||||
+++ b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
|
||||||
@@ -2,11 +2,10 @@
|
|
||||||
if (NOT TARGET Qt5::qcollectiongenerator)
|
|
||||||
add_executable(Qt5::qcollectiongenerator IMPORTED)
|
|
||||||
|
|
||||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ENDIF
|
|
||||||
+ if(NOT EXISTS \"${imported_location}\")
|
|
||||||
+ set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
|
||||||
+ endif()
|
|
||||||
_qt5_Help_check_file_exists(${imported_location})
|
|
||||||
|
|
||||||
set_target_properties(Qt5::qcollectiongenerator PROPERTIES
|
|
||||||
@@ -17,11 +16,7 @@ endif()
|
|
||||||
if (NOT TARGET Qt5::qhelpgenerator)
|
|
||||||
add_executable(Qt5::qhelpgenerator IMPORTED)
|
|
||||||
|
|
||||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ENDIF
|
|
||||||
_qt5_Help_check_file_exists(${imported_location})
|
|
||||||
|
|
||||||
set_target_properties(Qt5::qhelpgenerator PROPERTIES
|
|
||||||
diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
|
||||||
index 4318b16f..d60db4ff 100644
|
|
||||||
--- a/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
|
||||||
+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
|
||||||
@@ -44,11 +44,7 @@ endmacro()
|
|
||||||
if (NOT TARGET Qt5::lrelease)
|
|
||||||
add_executable(Qt5::lrelease IMPORTED)
|
|
||||||
|
|
||||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ENDIF
|
|
||||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
|
||||||
|
|
||||||
set_target_properties(Qt5::lrelease PROPERTIES
|
|
||||||
@@ -59,11 +55,7 @@ endif()
|
|
||||||
if (NOT TARGET Qt5::lupdate)
|
|
||||||
add_executable(Qt5::lupdate IMPORTED)
|
|
||||||
|
|
||||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ENDIF
|
|
||||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
|
||||||
|
|
||||||
set_target_properties(Qt5::lupdate PROPERTIES
|
|
||||||
@@ -74,11 +66,7 @@ endif()
|
|
||||||
if (NOT TARGET Qt5::lconvert)
|
|
||||||
add_executable(Qt5::lconvert IMPORTED)
|
|
||||||
|
|
||||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
|
|
||||||
-!!ENDIF
|
|
||||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
|
||||||
|
|
||||||
set_target_properties(Qt5::lconvert PROPERTIES
|
|
|
@ -1,38 +0,0 @@
|
||||||
Fix a following build error:
|
|
||||||
|
|
||||||
In file included from ../../3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:7:
|
|
||||||
In file included from ../../3rdparty/chromium/base/bind.h:8:
|
|
||||||
../../3rdparty/chromium/base/bind_internal.h:214:31: error: cannot initialize a parameter of type 'NSError *' with an lvalue of type 'const long'
|
|
||||||
return (receiver.*method)(std::forward<RunArgs>(args)...);
|
|
||||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
../../3rdparty/chromium/base/bind_internal.h:285:20: note: in instantiation of function template specialization 'base::internal::FunctorTraits<void (device::BluetoothRemoteGat
|
|
||||||
tCharacteristicMac::*)(NSError *), void>::Invoke<device::BluetoothRemoteGattCharacteristicMac *, const long &>' requested here
|
|
||||||
return Traits::Invoke(std::forward<Functor>(functor),
|
|
||||||
^
|
|
||||||
../../3rdparty/chromium/base/bind_internal.h:361:43: note: in instantiation of function template specialization 'base::internal::InvokeHelper<false, void>::MakeItSo<void (devi
|
|
||||||
ce::BluetoothRemoteGattCharacteristicMac::*const &)(NSError *), device::BluetoothRemoteGattCharacteristicMac *, const long &>' requested here
|
|
||||||
return InvokeHelper<is_weak_call, R>::MakeItSo(
|
|
||||||
^
|
|
||||||
../../3rdparty/chromium/base/bind_internal.h:339:12: note: in instantiation of function template specialization 'base::internal::Invoker<base::internal::BindState<void (device::BluetoothRemoteGattCharacteristicMac::*)(NSError *), base::internal::UnretainedWrapper<device::BluetoothRemoteGattCharacteristicMac>, long>, void ()>::RunImpl<void (device::BluetoothRemoteGattCharacteristicMac::*const &)(NSError *), const std::__1::tuple<base::internal::UnretainedWrapper<device::BluetoothRemoteGattCharacteristicMac>, long> &, 0, 1>' requested here
|
|
||||||
return RunImpl(storage->functor_,
|
|
||||||
^
|
|
||||||
../../3rdparty/chromium/base/bind.h:62:45: note: in instantiation of member function 'base::internal::Invoker<base::internal::BindState<void (device::BluetoothRemoteGattCharacteristicMac::*)(NSError *), base::internal::UnretainedWrapper<device::BluetoothRemoteGattCharacteristicMac>, long>, void ()>::Run' requested here
|
|
||||||
PolymorphicInvoke invoke_func = &Invoker::Run;
|
|
||||||
^
|
|
||||||
../../3rdparty/chromium/base/bind.h:77:10: note: in instantiation of function template specialization 'base::BindRepeating<void (device::BluetoothRemoteGattCharacteristicMac::*)(NSError *), base::internal::UnretainedWrapper<device::BluetoothRemoteGattCharacteristicMac>, long>' requested here
|
|
||||||
return BindRepeating(std::forward<Functor>(functor),
|
|
||||||
^
|
|
||||||
../../3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:241:15: note: in instantiation of function template specialization 'base::Bind<void (device::BluetoothRemoteGattCharacteristicMac::*)(NSError *), base::internal::UnretainedWrapper<device::BluetoothRemoteGattCharacteristicMac>, long>' requested here
|
|
||||||
base::Bind(&BluetoothRemoteGattCharacteristicMac::DidWriteValue,
|
|
||||||
|
|
||||||
--- a/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
|
||||||
+++ b/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
|
||||||
@@ -239,7 +239,7 @@ void BluetoothRemoteGattCharacteristicMac::WriteRemoteCharacteristic(
|
|
||||||
base::ThreadTaskRunnerHandle::Get()->PostTask(
|
|
||||||
FROM_HERE,
|
|
||||||
base::Bind(&BluetoothRemoteGattCharacteristicMac::DidWriteValue,
|
|
||||||
- base::Unretained(this), nil));
|
|
||||||
+ base::Unretained(this), nullptr));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
|
|
||||||
--- a/mkspecs/features/configure.prf
|
|
||||||
+++ b/mkspecs/features/configure.prf
|
|
||||||
@@ -194,9 +194,6 @@ defineTest(runConfigure) {
|
|
||||||
} else {
|
|
||||||
log("Native Spellchecker .............. Not enabled (Default, enable with WEBENGINE_CONFIG+=use_native_spellchecker)$${EOL}")
|
|
||||||
}
|
|
||||||
- !isMinOSXSDKVersion(10, 10, 3) {
|
|
||||||
- log(" Force Touch API usage .............. Not enabled (Because the OS X SDK version to be used \"$${WEBENGINE_OSX_SDK_PRODUCT_VERSION}\" is lower than the required \"10.10.3\")$${EOL}")
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
|
|
||||||
--- a/mkspecs/features/functions.prf
|
|
||||||
+++ b/mkspecs/features/functions.prf
|
|
||||||
@@ -38,10 +38,6 @@ defineTest(isPlatformSupported) {
|
|
||||||
return(false)
|
|
||||||
}
|
|
||||||
} else:osx {
|
|
||||||
- !isMinXcodeVersion(5, 1) {
|
|
||||||
- skipBuild("Using XCode version $$QMAKE_XCODE_VERSION, but at least version 5.1 is required to build Qt WebEngine.")
|
|
||||||
- return(false)
|
|
||||||
- }
|
|
||||||
!clang|intel_icc {
|
|
||||||
skipBuild("Qt WebEngine on macOS requires Clang.")
|
|
||||||
return(false)
|
|
||||||
@@ -52,10 +48,6 @@ defineTest(isPlatformSupported) {
|
|
||||||
skipBuild("Qt WebEngine requires OS X version 10.10 or newer.")
|
|
||||||
return(false)
|
|
||||||
}
|
|
||||||
- !isMinOSXSDKVersion(10, 10): {
|
|
||||||
- skipBuild("Qt WebEngine requires an OS X SDK version of 10.10 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
|
|
||||||
- return(false)
|
|
||||||
- }
|
|
||||||
} else {
|
|
||||||
skipBuild("Unknown platform. Qt WebEngine only supports Linux, Windows, and OS X.")
|
|
||||||
return(false)
|
|
||||||
diff --git a/src/core/config/mac_osx.pri b/src/core/config/mac_osx.pri
|
|
||||||
--- a/src/core/config/mac_osx.pri
|
|
||||||
+++ b/src/core/config/mac_osx.pri
|
|
||||||
@@ -5,8 +5,6 @@ load(functions)
|
|
||||||
# otherwise query for it.
|
|
||||||
QMAKE_MAC_SDK_VERSION = $$eval(QMAKE_MAC_SDK.$${QMAKE_MAC_SDK}.SDKVersion)
|
|
||||||
isEmpty(QMAKE_MAC_SDK_VERSION) {
|
|
||||||
- QMAKE_MAC_SDK_VERSION = $$system("/usr/bin/xcodebuild -sdk $${QMAKE_MAC_SDK} -version SDKVersion 2>/dev/null")
|
|
||||||
- isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for \'$${QMAKE_MAC_SDK}\'")
|
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CLANG_DIR = "/usr"
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/qtwebengine.pro b/qtwebengine.pro
|
|
||||||
--- a/qtwebengine.pro
|
|
||||||
+++ b/qtwebengine.pro
|
|
||||||
@@ -5,7 +5,7 @@ runConfigure()
|
|
||||||
|
|
||||||
!isEmpty(skipBuildReason) {
|
|
||||||
SUBDIRS =
|
|
||||||
- log($${skipBuildReason}$${EOL})
|
|
||||||
+ error($${skipBuildReason}$${EOL})
|
|
||||||
log(QtWebEngine will not be built.$${EOL})
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,64 +0,0 @@
|
||||||
diff --git a/Source/WebCore/plugins/qt/PluginPackageQt.cpp b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
|
||||||
index a923d49aa..46772a4bb 100644
|
|
||||||
--- a/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
|
||||||
+++ b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
|
||||||
@@ -136,7 +136,11 @@ static void initializeGtk(QLibrary* module = 0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+#ifdef NIXPKGS_LIBGTK2
|
|
||||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGTK2), 0);
|
|
||||||
+#else
|
|
||||||
QLibrary library(QLatin1String("libgtk-x11-2.0"), 0);
|
|
||||||
+#endif
|
|
||||||
if (library.load()) {
|
|
||||||
typedef void *(*gtk_init_check_ptr)(int*, char***);
|
|
||||||
gtk_init_check_ptr gtkInitCheck = (gtk_init_check_ptr)library.resolve("gtk_init_check");
|
|
||||||
diff --git a/Source/WebCore/plugins/qt/PluginViewQt.cpp b/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
|
||||||
index de06a2fea..86fe39ef1 100644
|
|
||||||
--- a/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
|
||||||
+++ b/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
|
||||||
@@ -697,7 +697,11 @@ static Display *getPluginDisplay()
|
|
||||||
// support gdk based plugins (like flash) that use a different X connection.
|
|
||||||
// The code below has the same effect as this one:
|
|
||||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
|
||||||
+#ifdef NIXPKGS_LIBGDK2
|
|
||||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
|
|
||||||
+#else
|
|
||||||
QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
|
||||||
+#endif
|
|
||||||
if (!library.load())
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
diff --git a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
||||||
index 8de65216b..38f5c05e5 100644
|
|
||||||
--- a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
||||||
+++ b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
||||||
@@ -53,7 +53,11 @@ static void messageHandler(QtMsgType type, const QMessageLogContext&, const QStr
|
|
||||||
|
|
||||||
static bool initializeGtk()
|
|
||||||
{
|
|
||||||
+#ifdef NIXPKGS_LIBGTK2
|
|
||||||
+ QLibrary gtkLibrary(QLatin1String(NIXPKGS_LIBGTK2), 0);
|
|
||||||
+#else
|
|
||||||
QLibrary gtkLibrary(QLatin1String("libgtk-x11-2.0"), 0);
|
|
||||||
+#endif
|
|
||||||
if (!gtkLibrary.load())
|
|
||||||
return false;
|
|
||||||
typedef void* (*gtk_init_ptr)(void*, void*);
|
|
||||||
diff --git a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
|
||||||
index d734ff684..0f6ff63d1 100644
|
|
||||||
--- a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
|
||||||
+++ b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
|
||||||
@@ -64,7 +64,11 @@ static Display* getPluginDisplay()
|
|
||||||
// The code below has the same effect as this one:
|
|
||||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
|
||||||
|
|
||||||
+#ifdef NIXPKGS_LIBGDK2
|
|
||||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
|
|
||||||
+#else
|
|
||||||
QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
|
||||||
+#endif
|
|
||||||
if (!library.load())
|
|
||||||
return 0;
|
|
||||||
|
|
|
@ -1,333 +0,0 @@
|
||||||
# DO NOT EDIT! This file is generated automatically by fetch-kde-qt.sh
|
|
||||||
{ fetchurl, mirror }:
|
|
||||||
|
|
||||||
{
|
|
||||||
qt3d = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qt3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0skdp72jlfy97cw9lpa3l2ivs6f5x9w53978sf2xbkl9k1ai268l";
|
|
||||||
name = "qt3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtactiveqt = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtactiveqt-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "01yp0railyc80ldvpiy36lpsdk26rs8vfp78xca9jy1glm4cmaik";
|
|
||||||
name = "qtactiveqt-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtandroidextras = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtandroidextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1bl05hr0zm23z7qig3kxhzyvm440wfrjfgsxvpmlvk9pbb8h2q63";
|
|
||||||
name = "qtandroidextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtbase = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtbase-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "004gs95ig51jv2wz64kwzl4rvqqzs4rln3kqmzjs3sh6y1s9bp9n";
|
|
||||||
name = "qtbase-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtcanvas3d = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtcanvas3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "131zwqddjns7cpkdbr33jahqgvnw6f8gdcr1b2hmadi0p2shrcwq";
|
|
||||||
name = "qtcanvas3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtcharts = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtcharts-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1rkj4lkpgdqk4ygxivkj7gc8mlccb5sgi9mfr0xwvq5j85r3dk8n";
|
|
||||||
name = "qtcharts-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtconnectivity = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtconnectivity-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0f7g2lfnfgsjka7y5hdf0lbzpfxlxh8bfhdxix44cwlmwzjizy3l";
|
|
||||||
name = "qtconnectivity-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtdatavis3d = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdatavis3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "08anm8byxcym7h1n49j3cbxkh3kh3xjlxd3b8vi8fxyqqhvll4lv";
|
|
||||||
name = "qtdatavis3d-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtdeclarative = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdeclarative-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0p26c96fb33khbf7ws91ha73n72lwmn714v8spg0bla9m1jkfhk8";
|
|
||||||
name = "qtdeclarative-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtdoc = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdoc-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1vs6dy0mdcn65fhpl8nib0pjw9bliqkjnaahqm833ayvxr15vzyj";
|
|
||||||
name = "qtdoc-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtgamepad = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtgamepad-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0242683h9jz6b0n11s4m4ii2691dbws0gkj45n6sx6z513blfx9f";
|
|
||||||
name = "qtgamepad-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtgraphicaleffects = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtgraphicaleffects-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1yhxa3i3jvfnc9l6a3q3pyk7y702a3pp87ypshb63607xvrxrv2d";
|
|
||||||
name = "qtgraphicaleffects-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtimageformats = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtimageformats-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1an0k3rzxjc4x4rscnibdk36zff6g1n41lh5dasys4jc05k3w1b2";
|
|
||||||
name = "qtimageformats-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtlocation = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtlocation-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0lp6zn630px1lj7623shq47dlv02nr0aj7iqscrk0yzhygbv7dc2";
|
|
||||||
name = "qtlocation-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtmacextras = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtmacextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0b0znccbach41la226cmps9aaigpz8mj940xj890arjf8hn4jd97";
|
|
||||||
name = "qtmacextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtmultimedia = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtmultimedia-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "060gic3gl27r7k4vw4n550384b4wadqfn3biajbq6lbyj3zhgxxx";
|
|
||||||
name = "qtmultimedia-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtnetworkauth = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtnetworkauth-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "14n8wzsyq7bw67r1k442widfvszawgi5sh0b10h2jcrp5aikqr0p";
|
|
||||||
name = "qtnetworkauth-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtpurchasing = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtpurchasing-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1qvxsi0ar04qy0zajbhvwj5blldhfq2mn3laq15g0xxy1xh4m46i";
|
|
||||||
name = "qtpurchasing-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtquickcontrols = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtquickcontrols-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1jkz2b2wzxzmskvwwb4afqxz0yp0siaf3yhj2i01y865sp6q1wz0";
|
|
||||||
name = "qtquickcontrols-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtquickcontrols2 = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtquickcontrols2-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0w9rq77a8vc9avhbwbx7swg7zw7jn21wd7si59822rw9ln1p6zb0";
|
|
||||||
name = "qtquickcontrols2-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtremoteobjects = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtremoteobjects-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1ninscf4jkframv585zzi76fml1lyz0mhb091r2r54lrf66wl3lw";
|
|
||||||
name = "qtremoteobjects-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtscript = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtscript-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0mv33a1mjaahq7ixfasvjasc881bprfbkjhx8pn3z5f0l8213m67";
|
|
||||||
name = "qtscript-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtscxml = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtscxml-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0xz2q2bl1n43gxx00nrzyc0bsnq4wch0k2rkj3prc9gsgmpq0bih";
|
|
||||||
name = "qtscxml-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtsensors = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtsensors-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0pfh4lr9zxsh9winzx1lmcgl2hgp9lr45smcvslr4an93z6mbf8r";
|
|
||||||
name = "qtsensors-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtserialbus = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtserialbus-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0n6z56axm0gbrxmnwbz8fv40ar9mw1rlfvmpqvpg5xb9031qil1b";
|
|
||||||
name = "qtserialbus-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtserialport = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtserialport-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "05qy4m1p5j5bh6af7d97iblsmgy9kppm5wif3bl63p6yghn319sh";
|
|
||||||
name = "qtserialport-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtspeech = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtspeech-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0nnbqnh18vw26vphancs38vjr816xha8m6wl389kjqi01kjrcz70";
|
|
||||||
name = "qtspeech-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtsvg = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtsvg-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0r2mqy6lb2ypmilf83zyp73v5d9ars314jfm6f0fv5if8yw253v2";
|
|
||||||
name = "qtsvg-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qttools = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qttools-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "18b7jg25434p80yr929nfihk0i124bxpd2dv9mqdcicnv5q0ybnn";
|
|
||||||
name = "qttools-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qttranslations = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qttranslations-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "051a3igp1qnd7d7bg2dvjaqwh6f67fvkn19jdfjzrdis7kcsfvdk";
|
|
||||||
name = "qttranslations-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtvirtualkeyboard = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtvirtualkeyboard-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1qcj6ncg53rv4pg4ijdq7vbkzgzfr9bn40aif7g4dndykj0zwla7";
|
|
||||||
name = "qtvirtualkeyboard-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwayland = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwayland-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0y6ky1ipg42gq390ibgr4nns9i4j648yb7bkmx6b7lhsi7mvnp2n";
|
|
||||||
name = "qtwayland-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebchannel = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebchannel-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "189qkfxixddfblwkaf46yrqjp91vhmw90gpafjryqfmd2141r8qj";
|
|
||||||
name = "qtwebchannel-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebengine = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebengine-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0kzpgks5h19rm7gbhr688lr5f5d9ykf062kj91q7wf6fk7qd72v2";
|
|
||||||
name = "qtwebengine-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebkit = {
|
|
||||||
version = "5.9.1";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-opensource-src-5.9.1.tar.xz";
|
|
||||||
sha256 = "1ksjn1vjbfhdm4y4rg08ag4krk87ahp7qcdcpwll42l0rnz61998";
|
|
||||||
name = "qtwebkit-opensource-src-5.9.1.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebkit-examples = {
|
|
||||||
version = "5.9.1";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-examples-opensource-src-5.9.1.tar.xz";
|
|
||||||
sha256 = "1l2l7ycgqql6rf4gx6sjhsqjapdhvy6vxaxssax3l938nkk4vkp4";
|
|
||||||
name = "qtwebkit-examples-opensource-src-5.9.1.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebsockets = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebsockets-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1qqvd6qf7m2xq71mdaidwabj5c03cbbi1hwc7p95fvbnz9crz79x";
|
|
||||||
name = "qtwebsockets-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwebview = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebview-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1zwqkmzik4f83hdffmw0hz90mzga34hkyz7d0skfbdp25y278r12";
|
|
||||||
name = "qtwebview-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtwinextras = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwinextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "1a57v7krglfdi4gizm402jn9pg7fqpcma7xk6sm68zg1siv11a6x";
|
|
||||||
name = "qtwinextras-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtx11extras = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtx11extras-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "02jdiw94dasnkszi5w1pysfgz8xrr71pzah37nbnqg0knn4dzich";
|
|
||||||
name = "qtx11extras-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qtxmlpatterns = {
|
|
||||||
version = "5.9.7";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtxmlpatterns-opensource-src-5.9.7.tar.xz";
|
|
||||||
sha256 = "0j0rxkpyww5cgcjhy0332jsyka1d811wf6zmr16d5fdkbryp7d65";
|
|
||||||
name = "qtxmlpatterns-opensource-src-5.9.7.tar.xz";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -13533,22 +13533,6 @@ in
|
||||||
developerBuild = true;
|
developerBuild = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
qt59 = recurseIntoAttrs (makeOverridable
|
|
||||||
(import ../development/libraries/qt-5/5.9) {
|
|
||||||
inherit newScope;
|
|
||||||
inherit stdenv fetchurl fetchpatch makeSetupHook makeWrapper;
|
|
||||||
bison = bison2; # error: too few arguments to function 'int yylex(...
|
|
||||||
inherit cups;
|
|
||||||
harfbuzz = harfbuzzFull;
|
|
||||||
inherit libGL;
|
|
||||||
inherit perl;
|
|
||||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
|
||||||
inherit gtk3;
|
|
||||||
inherit (gnome3) dconf;
|
|
||||||
});
|
|
||||||
|
|
||||||
libsForQt59 = lib.makeScope qt59.newScope mkLibsForQt5;
|
|
||||||
|
|
||||||
qt511 = recurseIntoAttrs (makeOverridable
|
qt511 = recurseIntoAttrs (makeOverridable
|
||||||
(import ../development/libraries/qt-5/5.11) {
|
(import ../development/libraries/qt-5/5.11) {
|
||||||
inherit newScope;
|
inherit newScope;
|
||||||
|
|
Loading…
Reference in a new issue