Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.09] libsForQt5X.qtquickcontrols: disable #101027

Closed
wants to merge 10 commits into from
4 changes: 2 additions & 2 deletions pkgs/applications/audio/kid3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, pkgconfig, cmake, python, ffmpeg_3, phonon, automoc4
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
, id3lib, taglib, mp4v2, flac, libogg, libvorbis
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols2
, wrapQtAppsHook
}:

Expand All @@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
[ pkgconfig cmake python ffmpeg_3 phonon automoc4
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
id3lib taglib mp4v2 flac libogg libvorbis zlib readline
qtbase qttools qtmultimedia qtquickcontrols ];
qtbase qttools qtmultimedia qtquickcontrols2 ];

cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/kde/konquest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
, kdoctools
, kdelibs4support
, libkdegames
, qtquickcontrols
, qtquickcontrols2
}:

mkDerivation {
name = "konquest";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kdelibs4support libkdegames qtquickcontrols ];
buildInputs = [ kdelibs4support libkdegames qtquickcontrols2 ];
meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ lheckemann ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/misc/cool-retro-term/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, mkDerivation, qtbase, qtquick1, qmltermwidget
, qtquickcontrols, qtgraphicaleffects, qmake }:
{ stdenv, fetchFromGitHub, mkDerivation, qtbase, qmltermwidget
, qtquickcontrols2, qtgraphicaleffects, qmake }:

mkDerivation rec {
version = "1.1.1";
Expand All @@ -16,7 +16,7 @@ mkDerivation rec {
sed -i -e '/qmltermwidget/d' cool-retro-term.pro
'';

buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
buildInputs = [ qtbase qmltermwidget qtquickcontrols2 qtgraphicaleffects ];
nativeBuildInputs = [ qmake ];

installFlags = [ "INSTALL_ROOT=$(out)" ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, fetchFromGitHub
# Dynamic libraries
, dbus, glib, libGL, libX11, libXfixes, libuuid, libxcb, qtbase, qtdeclarative
, qtgraphicaleffects, qtimageformats, qtlocation, qtquickcontrols
, qtgraphicaleffects, qtimageformats, qtlocation
, qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel
, qtwebengine
# Runtime
Expand Down Expand Up @@ -41,7 +41,7 @@ in mkDerivation {

buildInputs = [
dbus glib libGL libX11 libXfixes libuuid libxcb faac qtbase
qtdeclarative qtgraphicaleffects qtlocation qtquickcontrols qtquickcontrols2
qtdeclarative qtgraphicaleffects qtlocation qtquickcontrols2
qtscript qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/pyotherside/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub
, python3, qmake, qtbase, qtquickcontrols, qtsvg, ncurses }:
, python3, qmake, qtbase, qtquickcontrols2, qtsvg, ncurses }:

stdenv.mkDerivation rec {
pname = "pyotherside";
Expand All @@ -14,7 +14,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ qmake ];
buildInputs = [
python3 qtbase qtquickcontrols qtsvg ncurses
python3 qtbase qtquickcontrols2 qtsvg ncurses
];

patches = [ ./qml-path.patch ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.12/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ let
};
qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
qtquick1 = null;
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
qtquickcontrols = null;
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
qtscript = callPackage ../modules/qtscript.nix {};
qtsensors = callPackage ../modules/qtsensors.nix {};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.14/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ let
};
qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
qtquick1 = null;
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
qtquickcontrols = null;
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
qtscript = callPackage ../modules/qtscript.nix {};
qtsensors = callPackage ../modules/qtsensors.nix {};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.15/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ let
};
qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
qtquick1 = null;
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
qtquickcontrols = null;
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
qtscript = callPackage ../modules/qtscript.nix {};
qtsensors = callPackage ../modules/qtsensors.nix {};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/qt-5/modules/qtwayland.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ qtModule, qtbase, qtquickcontrols, wayland, pkgconfig }:
{ qtModule, qtbase, qtquickcontrols2, wayland, pkgconfig }:

qtModule {
name = "qtwayland";
qtInputs = [ qtbase qtquickcontrols ];
qtInputs = [ qtbase qtquickcontrols2 ];
buildInputs = [ wayland ];
nativeBuildInputs = [ pkgconfig ];
outputs = [ "out" "dev" "bin" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/qt-5/modules/qtwebengine.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ qtModule, qtCompatVersion,
qtdeclarative, qtquickcontrols, qtlocation, qtwebchannel
qtdeclarative, qtquickcontrols2, qtlocation, qtwebchannel

, bison, coreutils, flex, git, gperf, ninja, pkgconfig, python2, which

Expand All @@ -22,7 +22,7 @@ with stdenv.lib;

qtModule {
name = "qtwebengine";
qtInputs = [ qtdeclarative qtquickcontrols qtlocation qtwebchannel ];
qtInputs = [ qtdeclarative qtquickcontrols2 qtlocation qtwebchannel ];
nativeBuildInputs = [
bison coreutils flex git gperf ninja pkgconfig python2 which gn
] ++ optional stdenv.isDarwin xcbuild;
Expand Down
14 changes: 7 additions & 7 deletions pkgs/development/tools/qtcreator/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ mkDerivation, lib, fetchurl, fetchgit, fetchpatch
, qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake, llvmPackages_8
, withDocumentation ? false, withClangPlugins ? true
, qtbase, qtquickcontrols2, qtscript, qtdeclarative, qmake, llvmPackages_8
, withDocumentation ? false, withClangPlugins ? true
}:

with lib;
Expand Down Expand Up @@ -28,17 +28,17 @@ mkDerivation rec {
sha256 = "0ibn7bapw7m26nmxl26dns1hnpawfdqk1i1mgg0gjssja8famszg";
};

buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ] ++
optionals withClangPlugins [ llvmPackages_8.libclang
clang_qt_vendor
buildInputs = [ qtbase qtscript qtquickcontrols2 qtdeclarative ] ++
optionals withClangPlugins [ llvmPackages_8.libclang
clang_qt_vendor
llvmPackages_8.llvm ];

nativeBuildInputs = [ qmake ];

# 0001-Fix-clang-libcpp-regexp.patch is for fixing regexp that is used to
# find clang libc++ library include paths. By default it's not covering paths
# like libc++-version, which is default name for libc++ folder in nixos.
# ./0002-Dont-remove-clang-header-paths.patch is for forcing qtcreator to not
# ./0002-Dont-remove-clang-header-paths.patch is for forcing qtcreator to not
# remove system clang include paths.
patches = [ ./0001-Fix-clang-libcpp-regexp.patch
./0002-Dont-remove-clang-header-paths.patch ];
Expand All @@ -53,7 +53,7 @@ mkDerivation rec {

preConfigure = ''
substituteInPlace src/plugins/plugins.pro \
--replace '$$[QT_INSTALL_QML]/QtQuick/Controls' '${qtquickcontrols}/${qtbase.qtQmlPrefix}/QtQuick/Controls'
--replace '$$[QT_INSTALL_QML]/QtQuick/Controls' '${qtquickcontrols2}/${qtbase.qtQmlPrefix}/QtQuick/Controls'
'' + optionalString withClangPlugins ''
# Fix paths for llvm/clang includes directories.
substituteInPlace src/shared/clang/clang_defines.pri \
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21371,7 +21371,7 @@ in
klettres klines
kmag kmines kmix kmplot
knavalbattle knetwalk knights
kollision kolourpaint kompare konsole
kollision kolourpaint kompare konsole konquest
krdc kreversi krfb
kshisen ksquares ksystemlog
kteatime ktimer ktouch kturtle
Expand Down