diff --git a/pkgs/development/libraries/kde-frameworks-5.6/default.nix b/pkgs/development/libraries/kde-frameworks-5.6/default.nix new file mode 100644 index 000000000000..2a2dc9fa9380 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/default.nix @@ -0,0 +1,188 @@ +# Maintainer's Notes: +# +# Minor updates: +# 1. Edit ./manifest.sh to point to the updated URL. Upstream sometimes +# releases updates that include only the changed packages; in this case, +# multiple URLs can be provided and the results will be merged. +# 2. Run ./manifest.sh and ./dependencies.sh. +# 3. Build and enjoy. +# +# Major updates: +# We prefer not to immediately overwrite older versions with major updates, so +# make a copy of this directory first. After copying, be sure to delete ./tmp +# if it exists. Then follow the minor update instructions. + +{ autonix, fetchurl, pkgs, qt5, stdenv, debug ? false }: + +with stdenv.lib; with autonix; + +let + + mkDerivation = drv: + stdenv.mkDerivation + (drv // { + src = fetchurl drv.src; + + setupHook = ./setup-hook.sh; + + enableParallelBuilding = drv.enableParallelBuilding or true; + cmakeFlags = + (drv.cmakeFlags or []) + ++ [ "-DBUILD_TESTING=OFF" + "-DKDE_DEFAULT_HOME=.kde5" + "-DKDE4_DEFAULT_HOME=.kde" + ] + ++ optional debug "-DCMAKE_BUILD_TYPE=Debug"; + + meta = drv.meta or + { + license = with stdenv.lib.licenses; [ + lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12 + ]; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ ttuegel ]; + homepage = "http://www.kde.org"; + }; + }); + + renames = builtins.removeAttrs (import ./renames.nix {}) ["Backend" "CTest"]; + + scope = + # packages in this collection + (mapAttrs (dep: name: kf5."${name}") renames) // + # packages pinned to this version of Qt 5 + { + Phonon4Qt5 = pkgs.phonon_qt5.override { inherit qt5; }; + Qt5 = qt5; + Qt5Core = qt5; + Qt5DBus = qt5; + Qt5Test = qt5; + Qt5Widgets = qt5; + Qt5X11Extras = qt5; + dbusmenu-qt5 = pkgs.libdbusmenu_qt5.override { inherit qt5; }; + } // + # packages from the nixpkgs collection + (with pkgs; + { + inherit cmake; + Boost = boost; + GIF = giflib; + GLIB2 = glib; + Gpgme = gpgme; + JPEG = libjpeg; + LibGcrypt = libgcrypt; + LibGit2 = libgit2; + LibIntl = gettext; + LibLZMA = lzma; + NetworkManager = networkmanager; + Perl = perl; + PythonInterp = python; + QImageBlitz = qimageblitz; + SharedMimeInfo = shared_mime_info; + ZLIB = zlib; + } + ); + + mirror = "mirror://kde"; + + preResolve = super: + fold (f: x: f x) super + [ + (userEnvPkg "SharedMimeInfo") + (userEnvPkg "SharedDesktopOntologies") + ]; + + postResolve = super: + super // { + extra-cmake-modules = { + inherit (super.extra-cmake-modules) name src; + + propagatedNativeBuildInputs = with pkgs; [ cmake pkgconfig ]; + cmakeFlags = ["-DBUILD_TESTING=OFF"]; + patches = + [ + ./extra-cmake-modules/0001-libdir-default.patch + ./extra-cmake-modules/0002-qt5-plugin-dir.patch + ]; + meta = { + license = with stdenv.lib.licenses; [ bsd2 ]; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ ttuegel ]; + homepage = "http://www.kde.org"; + }; + }; + + kauth = with pkgs; super.kauth // { + buildInputs = super.kauth.buildInputs ++ [polkit_qt5]; + patches = [./kauth/kauth-policy-install.patch]; + }; + + kcmutils = super.kcmutils // { + patches = + [./kcmutils/kcmutils-pluginselector-follow-symlinks.patch]; + }; + + kconfigwidgets = super.kconfigwidgets // { + patches = + [./kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch]; + }; + + kdelibs4support = with pkgs; super.kdelibs4support // { + buildInputs = + super.kdelibs4support.buildInputs + ++ [networkmanager xlibs.libSM]; + cmakeFlags = + (super.kdelibs4support.cmakeFlags or []) + ++ [ + "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" + "-DDocBookXML4_DTD_VERSION=4.5" + ]; + }; + + kdoctools = with pkgs; super.kdoctools // { + cmakeFlags = + (super.kdoctools.cmakeFlags or []) + ++ [ + "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" + "-DDocBookXML4_DTD_VERSION=4.5" + "-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook" + ]; + patches = [./kdoctools/kdoctools-no-find-docbook-xml.patch]; + }; + + ki18n = with pkgs; super.ki18n // { + propagatedNativeBuildInputs = + super.ki18n.propagatedNativeBuildInputs ++ [gettext python]; + }; + + kimageformats = with pkgs; super.kimageformats // { + NIX_CFLAGS_COMPILE = + (super.kimageformats.NIX_CFLAGS_COMPILE or "") + + " -I${ilmbase}/include/OpenEXR"; + }; + + kinit = super.kinit // { patches = [ ./kinit/kinit-libpath.patch ]; }; + + kservice = super.kservice // { + buildInputs = super.kservice.buildInputs ++ [kf5.kwindowsystem]; + patches = + [ + ./kservice/kservice-kbuildsycoca-follow-symlinks.patch + ./kservice/kservice-kbuildsycoca-no-canonicalize-path.patch + ]; + }; + + /* + plasma-framework = super.plasma-framework // { + patches = [ ./plasma-framework/plasma-framework-external-paths.patch ]; + }; + */ + }; + + kf5 = generateCollection ./. { + inherit mirror mkDerivation preResolve postResolve renames scope; + }; + +in + + kf5 // { inherit mkDerivation qt5 scope; } diff --git a/pkgs/development/libraries/kde-frameworks-5.6/dependencies.nix b/pkgs/development/libraries/kde-frameworks-5.6/dependencies.nix new file mode 100644 index 000000000000..608bff01b921 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/dependencies.nix @@ -0,0 +1,500 @@ +# DO NOT EDIT! This file is generated automatically. +{ }: +{ + attica = { + buildInputs = [ "ECM" "Qt5" "Qt5Widgets" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + extra-cmake-modules = { + buildInputs = [ "AGG" "Blitz" "BlueZ" "ENCHANT" "Eigen2" "FFmpeg" "Flac" "Flex" "GObject" "GStreamer" "LCMS" "LibArt" "OpenEXR" "PCRE" "QCA2" "QImageBlitz" "Qt5Core" "Qt5LinguistTools" "Sqlite" "Strigi" "USB" "Xine" "Xmms" ]; + nativeBuildInputs = [ "LibXslt" "QCOLLECTIONGENERATOR_EXECUTABLE" "SPHINX_EXECUTABLE" "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + frameworkintegration = { + buildInputs = [ "ECM" "KF5Config" "KF5ConfigWidgets" "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5Notifications" "KF5WidgetsAddons" "OxygenFont" "Qt5" "Qt5Test" "XCB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5IconThemes" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kactivities = { + buildInputs = [ "Boost" "ECM" "KF5" "KF5Config" "KF5CoreAddons" "KF5DBusAddons" "KF5Declarative" "KF5GlobalAccel" "KF5I18n" "KF5KCMUtils" "KF5KIO" "KF5Service" "KF5WindowSystem" "KF5XmlGui" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kapidox = { + buildInputs = [ ]; + nativeBuildInputs = [ "PythonInterp" "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + karchive = { + buildInputs = [ "BZip2" "ECM" "KF5Archive" "LibLZMA" "Qt5Core" "Qt5Test" "ZLIB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kauth = { + buildInputs = [ "ECM" "KF5CoreAddons" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5CoreAddons" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kbookmarks = { + buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5CoreAddons" "KF5IconThemes" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5IconThemes" "KF5XmlGui" "Qt5Widgets" "Qt5Xml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kcmutils = { + buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5Service" "KF5XmlGui" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5IconThemes" "KF5ItemViews" "KF5Service" "KF5XmlGui" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kcodecs = { + buildInputs = [ "ECM" "Qt5Core" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kcompletion = { + buildInputs = [ "ECM" "KF5Config" "KF5WidgetsAddons" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Config" "KF5WidgetsAddons" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kconfig = { + buildInputs = [ "ECM" "Qt5" "Qt5Concurrent" "Qt5Core" "Qt5Gui" "Qt5Test" "Qt5Xml" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Xml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kconfigwidgets = { + buildInputs = [ "ECM" "KF5Auth" "KF5Codecs" "KF5Config" "KF5CoreAddons" "KF5DocTools" "KF5GuiAddons" "KF5I18n" "KF5WidgetsAddons" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Auth" "KF5Codecs" "KF5Config" "KF5GuiAddons" "KF5I18n" "KF5WidgetsAddons" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kcoreaddons = { + buildInputs = [ "ECM" "FAM" "Qt5" "Qt5Test" "Qt5Widgets" "SharedMimeInfo" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ "SharedMimeInfo" ]; + }; + + kcrash = { + buildInputs = [ "ECM" "KF5CoreAddons" "KF5WindowSystem" "Qt5" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "X11" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5CoreAddons" "KF5WindowSystem" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdbusaddons = { + buildInputs = [ "ECM" "Qt5DBus" "Qt5Test" "Qt5X11Extras" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5DBus" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdeclarative = { + buildInputs = [ "ECM" "KF5" "KF5Config" "KF5GlobalAccel" "KF5GuiAddons" "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5KIO" "Qt5Qml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kded = { + buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5DocTools" "KF5Init" "KF5Service" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdelibs4support = { + buildInputs = [ "AGG" "Blitz" "BlueZ" "DocBookXML4" "ECM" "ENCHANT" "Eigen2" "FFmpeg" "Flac" "GObject" "GStreamer" "KDEWin" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5Crash" "KF5DesignerPlugin" "KF5DocTools" "KF5GlobalAccel" "KF5GuiAddons" "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5Notifications" "KF5Parts" "KF5Service" "KF5TextWidgets" "KF5UnitConversion" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "LCMS" "LibArt" "NetworkManager" "OpenEXR" "OpenSSL" "PCRE" "QCA2" "QImageBlitz" "QNtrack" "Qt5" "Qt5X11Extras" "Sqlite" "USB" "X11" "Xine" "Xmms" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KDEWin" "KF5Auth" "KF5ConfigWidgets" "KF5CoreAddons" "KF5Crash" "KF5DesignerPlugin" "KF5DocTools" "KF5Emoticons" "KF5GuiAddons" "KF5IconThemes" "KF5Init" "KF5ItemModels" "KF5KDELibs4Support" "KF5Notifications" "KF5Parts" "KF5TextWidgets" "KF5UnitConversion" "KF5WindowSystem" "Qt5DBus" "Qt5PrintSupport" "Qt5Xml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdesignerplugin = { + buildInputs = [ "ECM" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5CoreAddons" "KF5DocTools" "KF5IconThemes" "KF5ItemViews" "KF5KIO" "KF5Plotting" "KF5Sonnet" "KF5TextWidgets" "KF5WebKit" "KF5WidgetsAddons" "KF5XmlGui" "Qt5Core" "Qt5Designer" "Qt5Test" "Qt5Widgets" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdesu = { + buildInputs = [ "ECM" "KF5CoreAddons" "KF5Pty" "KF5Service" "Qt5Core" "X11" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Pty" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdewebkit = { + buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5JobWidgets" "KF5KIO" "KF5Parts" "KF5Service" "KF5Wallet" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5WebKitWidgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdnssd = { + buildInputs = [ "Avahi" "DNSSD" "ECM" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Network" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kdoctools = { + buildInputs = [ "DocBookXML4" "DocBookXSL" "ECM" "KF5Archive" "KF5DocTools" "KF5I18n" "LibXml2" "Qt5Core" ]; + nativeBuildInputs = [ "LibXslt" "cmake" ]; + propagatedBuildInputs = [ "KF5Archive" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kemoticons = { + buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5CoreAddons" "KF5Service" "Qt5" "Qt5Test" "Qt5Xml" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Archive" "KF5Service" "Qt5Gui" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kglobalaccel = { + buildInputs = [ "ECM" "Qt5" "X11" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5DBus" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kguiaddons = { + buildInputs = [ "ECM" "Qt5" "Qt5Gui" "Qt5X11Extras" "X11" "XCB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Gui" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + khtml = { + buildInputs = [ "ECM" "GIF" "JPEG" "KDEWin" "KF5Archive" "KF5Codecs" "KF5GlobalAccel" "KF5I18n" "KF5IconThemes" "KF5JS" "KF5KIO" "KF5Notifications" "KF5Parts" "KF5Sonnet" "KF5TextWidgets" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "OpenSSL" "PNG" "Phonon4Qt5" "Qt5" "Qt5Test" "Qt5X11Extras" "X11" ]; + nativeBuildInputs = [ "Perl" "cmake" ]; + propagatedBuildInputs = [ "KF5Archive" "KF5Bookmarks" "KF5GlobalAccel" "KF5I18n" "KF5IconThemes" "KF5JS" "KF5KIO" "KF5Notifications" "KF5Parts" "KF5Sonnet" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + ki18n = { + buildInputs = [ "ECM" "LibIntl" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kiconthemes = { + buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5I18n" "KF5ItemViews" "KF5WidgetsAddons" "Qt5" "Qt5DBus" "Qt5Svg" "Qt5Widgets" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5I18n" "KF5ItemViews" "KF5WidgetsAddons" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kidletime = { + buildInputs = [ "ECM" "Qt5" "X11" "X11_XCB" "XCB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kimageformats = { + buildInputs = [ "ECM" "Jasper" "OpenEXR" "Qt5Gui" "Qt5PrintSupport" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kinit = { + buildInputs = [ "ECM" "KF5Config" "KF5Crash" "KF5DocTools" "KF5I18n" "KF5KIO" "KF5Service" "KF5WindowSystem" "Libcap" "Qt5" "X11" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kio = { + buildInputs = [ "ACL" "ECM" "GSSAPI" "KF5Archive" "KF5Bookmarks" "KF5Codecs" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5CoreAddons" "KF5DBusAddons" "KF5DocTools" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5JobWidgets" "KF5Notifications" "KF5Service" "KF5Solid" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "LibXml2" "OpenSSL" "Qt5" "Qt5Concurrent" "Qt5Core" "Qt5Script" "Qt5Test" "Qt5Widgets" "Strigi" "X11" "ZLIB" ]; + nativeBuildInputs = [ "LibXslt" "cmake" ]; + propagatedBuildInputs = [ "KF5Bookmarks" "KF5Completion" "KF5ItemViews" "KF5JobWidgets" "KF5Service" "KF5Solid" "KF5XmlGui" "Qt5Network" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kitemmodels = { + buildInputs = [ "ECM" "Grantlee" "Qt5" "Qt5Core" "Qt5Script" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kitemviews = { + buildInputs = [ "ECM" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kjobwidgets = { + buildInputs = [ "ECM" "KF5CoreAddons" "KF5WidgetsAddons" "Qt5" "Qt5X11Extras" "X11" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5CoreAddons" "KF5WidgetsAddons" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kjs = { + buildInputs = [ "ECM" "PCRE" "Qt5Core" "Qt5Test" ]; + nativeBuildInputs = [ "Perl" "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kjsembed = { + buildInputs = [ "ECM" "KF5DocTools" "KF5I18n" "KF5JS" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5I18n" "KF5JS" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kmediaplayer = { + buildInputs = [ "ECM" "KF5Parts" "KF5XmlGui" "Qt5DBus" "Qt5Test" "Qt5Widgets" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Parts" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + knewstuff = { + buildInputs = [ "ECM" "KF5Archive" "KF5Attica" "KF5Completion" "KF5Config" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5KIO" "KF5TextWidgets" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Archive" "KF5Attica" "KF5KIO" "KF5XmlGui" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + knotifications = { + buildInputs = [ "ECM" "KF5Codecs" "KF5Config" "KF5CoreAddons" "KF5IconThemes" "KF5Service" "KF5WindowSystem" "Phonon4Qt5" "Qt5" "Qt5X11Extras" "X11" "dbusmenu-qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5WindowSystem" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + knotifyconfig = { + buildInputs = [ "ECM" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5I18n" "KF5KIO" "KF5Notifications" "KF5Service" "KF5WidgetsAddons" "KF5XmlGui" "Phonon4Qt5" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5I18n" "KF5KIO" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kpackage = { + buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5CoreAddons" "KF5DocTools" "KF5I18n" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kparts = { + buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5JobWidgets" "KF5KIO" "KF5Notifications" "KF5Service" "KF5TextWidgets" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5Test" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5KIO" "KF5Notifications" "KF5TextWidgets" "KF5XmlGui" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kplotting = { + buildInputs = [ "ECM" "Qt5" "Qt5Widgets" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kpty = { + buildInputs = [ "ECM" "KF5CoreAddons" "KF5I18n" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5CoreAddons" "KF5I18n" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kross = { + buildInputs = [ "ECM" "KF5Completion" "KF5CoreAddons" "KF5DocTools" "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5Parts" "KF5Service" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5Parts" "KF5WidgetsAddons" "Qt5Script" "Qt5Widgets" "Qt5Xml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + krunner = { + buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5I18n" "KF5KIO" "KF5Plasma" "KF5Service" "KF5Solid" "KF5ThreadWeaver" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Plasma" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kservice = { + buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5DocTools" "KF5I18n" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Config" "KF5CoreAddons" "KF5DBusAddons" "KF5I18n" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + ktexteditor = { + buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5GuiAddons" "KF5I18n" "KF5KIO" "KF5Parts" "KF5Sonnet" "LibGit2" "Qt5" ]; + nativeBuildInputs = [ "Perl" "cmake" ]; + propagatedBuildInputs = [ ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + ktextwidgets = { + buildInputs = [ "ECM" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5I18n" "KF5IconThemes" "KF5Service" "KF5Sonnet" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Completion" "KF5ConfigWidgets" "KF5I18n" "KF5IconThemes" "KF5Service" "KF5Sonnet" "KF5WindowSystem" "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kunitconversion = { + buildInputs = [ "ECM" "KF5I18n" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Config" "KF5I18n" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kwallet = { + buildInputs = [ "ECM" "Gpgme" "KF5Config" "KF5CoreAddons" "KF5DBusAddons" "KF5Gpgmepp" "KF5I18n" "KF5IconThemes" "KF5Notifications" "KF5Service" "KF5WidgetsAddons" "KF5WindowSystem" "LibGcrypt" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Config" "KF5WindowSystem" "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kwidgetsaddons = { + buildInputs = [ "ECM" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kwindowsystem = { + buildInputs = [ "ECM" "Qt5" "Qt5WinExtras" "X11" "XCB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Widgets" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + kxmlgui = { + buildInputs = [ "ECM" "KF5Attica" "KF5Config" "KF5ConfigWidgets" "KF5GlobalAccel" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5TextWidgets" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "KF5Attica" "KF5Config" "KF5ConfigWidgets" "KF5GlobalAccel" "KF5IconThemes" "KF5ItemViews" "KF5TextWidgets" "KF5WindowSystem" "Qt5DBus" "Qt5Xml" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + networkmanager-qt = { + buildInputs = [ "ECM" "KF5NetworkManagerQt" "NetworkManager" "Qt4" "Qt5" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + plasma-framework = { + buildInputs = [ "ECM" "EGL" "Gpgme" "KActivities" "KCoreAddons" "KDE4Support" "KDESu" "KDeclarative" "KF5" "KF5Activities" "KF5Archive" "KF5Auth" "KF5Bookmarks" "KF5Codecs" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5Declarative" "KF5DocTools" "KF5GlobalAccel" "KF5GuiAddons" "KF5I18n" "KF5IconThemes" "KF5IdleTime" "KF5Init" "KF5ItemModels" "KF5ItemViews" "KF5JS" "KF5JobWidgets" "KF5KArchive" "KF5KAuth" "KF5KBookmarks" "KF5KCodecs" "KF5KCompletion" "KF5KConfig" "KF5KConfigWidgets" "KF5KCoreAddons" "KF5KCrash" "KF5KDBusAddons" "KF5KDE4Support" "KF5KDESu" "KF5KDeclarative" "KF5KDocTools" "KF5KF5GlobalAccel" "KF5KGuiAddons" "KF5KI18n" "KF5KIO" "KF5KIconThemes" "KF5KIdleTime" "KF5KInit" "KF5KJS" "KF5KJobWidgets" "KF5KNotifications" "KF5KParts" "KF5KService" "KF5KTextWidgets" "KF5KUnitConversion" "KF5KWallet" "KF5KWidgetsAddons" "KF5KWindowSystem" "KF5Kross" "KF5NO_MODULE" "KF5Notifications" "KF5Package" "KF5Parts" "KF5Service" "KF5Solid" "KF5Sonnet" "KF5Su" "KF5TextWidgets" "KF5ThreadWeaver" "KF5UnitConversion" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "KdepimLibs" "OpenGL" "QCA2" "Qt5" "Qt5Test" "Qt5Widgets" "Solid" "X11" "XCB" ]; + nativeBuildInputs = [ "SH" "cmake" ]; + propagatedBuildInputs = [ "KF5Package" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + solid = { + buildInputs = [ "ECM" "IOKit" "MediaPlayerInfo" "Qt5" "Qt5Qml" "UDev" ]; + nativeBuildInputs = [ "BISON" "FLEX" "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + sonnet = { + buildInputs = [ "ASPELL" "ECM" "ENCHANT" "HSPELL" "HUNSPELL" "Qt5" "Qt5Test" "ZLIB" ]; + nativeBuildInputs = [ "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + + threadweaver = { + buildInputs = [ "ECM" "KF5ThreadWeaver" "Qt5" "Qt5Core" "Qt5Test" "Qt5Widgets" ]; + nativeBuildInputs = [ "SNIPPETEXTRACTOR" "cmake" ]; + propagatedBuildInputs = [ "Qt5Core" ]; + propagatedNativeBuildInputs = [ ]; + propagatedUserEnvPkgs = [ ]; + }; + +} diff --git a/pkgs/development/libraries/kde-frameworks-5.6/dependencies.sh b/pkgs/development/libraries/kde-frameworks-5.6/dependencies.sh new file mode 100755 index 000000000000..2b220244c596 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/dependencies.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# This script rebuilds dependencies.nix. +# You must run manifest.sh first to download the packages. + +# Without arguments, this will use the version of autonix-deps-kf5 in nixpkgs. +# If you are working on the packages, this is probably what you want. + +# You can also pass the path to a source tree where you have built +# autonix-deps-kf5 yourself. If you are working on autonix-deps-kf5, this is +# probably what you want. + +manifestXML=$(nix-build -E 'with (import ../../../.. {}); autonix.writeManifestXML ./manifest.nix') + +autonixDepsKf5="" +if [[ -z $1 ]]; then + autonixDepsKF5=$(nix-build ../../../.. -A haskellngPackages.autonix-deps-kf5)/bin +else + autonixDepsKF5="$1/dist/build/kf5-deps" +fi + +exec ${autonixDepsKF5}/kf5-deps "${manifestXML}" diff --git a/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0001-libdir-default.patch b/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0001-libdir-default.patch new file mode 100644 index 000000000000..faed0e6edc92 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0001-libdir-default.patch @@ -0,0 +1,55 @@ +From f1e22a65f94a231edfe01ac6a3fcf30d95b6329f Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 31 Dec 2014 07:16:45 -0600 +Subject: [PATCH 1/2] libdir default + +--- + kde-modules/KDEInstallDirs.cmake | 31 +------------------------------ + 1 file changed, 1 insertion(+), 30 deletions(-) + +diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake +index e255e87..a79a12a 100644 +--- a/kde-modules/KDEInstallDirs.cmake ++++ b/kde-modules/KDEInstallDirs.cmake +@@ -162,37 +162,8 @@ + # (To distribute this file outside of extra-cmake-modules, substitute the full + # License text for the above reference.) + +-# Figure out what the default install directory for libraries should be. +-# This is based on the logic in GNUInstallDirs, but simplified (the +-# GNUInstallDirs code deals with re-configuring, but that is dealt with +-# by the _define_* macros in this module). ++# The default library directory on NixOS is *always* /lib. + set(_LIBDIR_DEFAULT "lib") +-# Override this default 'lib' with 'lib64' iff: +-# - we are on a Linux, kFreeBSD or Hurd system but NOT cross-compiling +-# - we are NOT on debian +-# - we are on a 64 bits system +-# reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf +-# For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if +-# CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu" +-# See http://wiki.debian.org/Multiarch +-if((CMAKE_SYSTEM_NAME MATCHES "Linux|kFreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "GNU") +- AND NOT CMAKE_CROSSCOMPILING) +- if (EXISTS "/etc/debian_version") # is this a debian system ? +- if(CMAKE_LIBRARY_ARCHITECTURE) +- set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}") +- endif() +- else() # not debian, rely on CMAKE_SIZEOF_VOID_P: +- if(NOT DEFINED CMAKE_SIZEOF_VOID_P) +- message(AUTHOR_WARNING +- "Unable to determine default LIB_INSTALL_LIBDIR directory because no target architecture is known. " +- "Please enable at least one language before including KDEInstallDirs.") +- else() +- if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") +- set(_LIBDIR_DEFAULT "lib64") +- endif() +- endif() +- endif() +-endif() + + # Macro for variables that are relative to another variable. We store an empty + # value in the cache (for documentation/GUI cache editor purposes), and store +-- +2.1.4 + diff --git a/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0002-qt5-plugin-dir.patch b/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0002-qt5-plugin-dir.patch new file mode 100644 index 000000000000..5982aa8a06f0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/extra-cmake-modules/0002-qt5-plugin-dir.patch @@ -0,0 +1,25 @@ +From e4fb9d880cefa743df2b5da3a67db617d66faf63 Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 31 Dec 2014 07:23:59 -0600 +Subject: [PATCH 2/2] qt5 plugin dir + +--- + kde-modules/KDEInstallDirs.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake +index a79a12a..70dbe02 100644 +--- a/kde-modules/KDEInstallDirs.cmake ++++ b/kde-modules/KDEInstallDirs.cmake +@@ -315,7 +315,7 @@ if(KDE_INSTALL_USE_QT_SYS_PATHS) + "QtQuick2 imports" + QML_INSTALL_DIR) + else() +- _define_relative(QTPLUGINDIR LIBDIR "plugins" ++ _define_relative(QTPLUGINDIR LIBDIR "qt5/plugins" + "Qt plugins" + QT_PLUGIN_INSTALL_DIR) + +-- +2.1.4 + diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kauth/kauth-policy-install.patch b/pkgs/development/libraries/kde-frameworks-5.6/kauth/kauth-policy-install.patch new file mode 100644 index 000000000000..340155256f28 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kauth/kauth-policy-install.patch @@ -0,0 +1,13 @@ +diff --git a/KF5AuthConfig.cmake.in b/KF5AuthConfig.cmake.in +index e859ec7..9a8ab18 100644 +--- a/KF5AuthConfig.cmake.in ++++ b/KF5AuthConfig.cmake.in +@@ -4,7 +4,7 @@ set(KAUTH_STUB_FILES_DIR "${PACKAGE_PREFIX_DIR}/@KF5_DATA_INSTALL_DIR@/kauth/") + + set(KAUTH_BACKEND_NAME "@KAUTH_BACKEND_NAME@") + set(KAUTH_HELPER_BACKEND_NAME "@KAUTH_HELPER_BACKEND_NAME@") +-set(KAUTH_POLICY_FILES_INSTALL_DIR "@KAUTH_POLICY_FILES_INSTALL_DIR@") ++set(KAUTH_POLICY_FILES_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions") + set(KAUTH_HELPER_INSTALL_DIR "@KAUTH_HELPER_INSTALL_DIR@") + + find_dependency(KF5CoreAddons "@KF5_DEP_VERSION@") diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kcmutils/kcmutils-pluginselector-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.6/kcmutils/kcmutils-pluginselector-follow-symlinks.patch new file mode 100644 index 000000000000..47b8dfad1800 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kcmutils/kcmutils-pluginselector-follow-symlinks.patch @@ -0,0 +1,13 @@ +diff --git a/src/kpluginselector.cpp b/src/kpluginselector.cpp +index c63241b..2243f94 100644 +--- a/src/kpluginselector.cpp ++++ b/src/kpluginselector.cpp +@@ -304,7 +304,7 @@ void KPluginSelector::addPlugins(const QString &componentName, + QStringList desktopFileNames; + const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, componentName + QStringLiteral("/kpartplugins"), QStandardPaths::LocateDirectory); + Q_FOREACH (const QString &dir, dirs) { +- QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories); ++ QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); + while (it.hasNext()) { + desktopFileNames.append(it.next()); + } diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.6/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch new file mode 100644 index 000000000000..3bd946cbd842 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch @@ -0,0 +1,13 @@ +diff --git a/src/khelpclient.cpp b/src/khelpclient.cpp +index 53a331e..80fbb01 100644 +--- a/src/khelpclient.cpp ++++ b/src/khelpclient.cpp +@@ -48,7 +48,7 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname) + QString docPath; + const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation); + Q_FOREACH (const QString &dir, desktopDirs) { +- QDirIterator it(dir, QStringList() << appname + QLatin1String(".desktop"), QDir::NoFilter, QDirIterator::Subdirectories); ++ QDirIterator it(dir, QStringList() << appname + QLatin1String(".desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); + while (it.hasNext()) { + const QString desktopPath(it.next()); + KDesktopFile desktopFile(desktopPath); diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kdoctools/kdoctools-no-find-docbook-xml.patch b/pkgs/development/libraries/kde-frameworks-5.6/kdoctools/kdoctools-no-find-docbook-xml.patch new file mode 100644 index 000000000000..4e3a33efab32 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kdoctools/kdoctools-no-find-docbook-xml.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5c4863c..f731775 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -46,7 +46,6 @@ set_package_properties(LibXml2 PROPERTIES + ) + + +-find_package(DocBookXML4 "4.5") + + set_package_properties(DocBookXML4 PROPERTIES + TYPE REQUIRED diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kinit/kinit-libpath.patch b/pkgs/development/libraries/kde-frameworks-5.6/kinit/kinit-libpath.patch new file mode 100644 index 000000000000..a6ccb2085d32 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kinit/kinit-libpath.patch @@ -0,0 +1,30 @@ +diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp +index 3c3c913..f510620 100644 +--- a/src/kdeinit/kinit.cpp ++++ b/src/kdeinit/kinit.cpp +@@ -652,15 +652,17 @@ static pid_t launch(int argc, const char *_name, const char *args, + if (!libpath.isEmpty()) { + if (!l.load()) { + if (libpath_relative) { +- // NB: Because Qt makes the actual dlopen() call, the +- // RUNPATH of kdeinit is *not* respected - see +- // https://sourceware.org/bugzilla/show_bug.cgi?id=13945 +- // - so we try hacking it in ourselves +- QString install_lib_dir = QFile::decodeName( +- CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/"); +- libpath = install_lib_dir + libpath; +- l.setFileName(libpath); ++ // Use QT_PLUGIN_PATH to find shared library directories ++ // For KF5, the plugin path is /lib/plugins, so the kdeinit5 ++ // shared libraries should be in /lib/plugins/../ ++ const QRegExp pathSepRegExp(QString::fromLatin1("[:\b]")); ++ const QString up = QString::fromLocal8Bit("/../"); ++ const QStringList paths = QString::fromLocal8Bit(qgetenv("QT_PLUGIN_PATH")).split(pathSepRegExp, QString::KeepEmptyParts); ++ Q_FOREACH (const QString &path, paths) { ++ l.setFileName(path + up + libpath); + l.load(); ++ if (l.isLoaded()) break; ++ } + } + } + if (!l.isLoaded()) { diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-follow-symlinks.patch new file mode 100644 index 000000000000..e9bc418544ab --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-follow-symlinks.patch @@ -0,0 +1,13 @@ +diff --git a/src/kbuildsycoca/kbuildsycoca.cpp b/src/kbuildsycoca/kbuildsycoca.cpp +index 69b1427..9c37a49 100644 +--- a/src/kbuildsycoca/kbuildsycoca.cpp ++++ b/src/kbuildsycoca/kbuildsycoca.cpp +@@ -227,7 +227,7 @@ bool KBuildSycoca::build() + QStringList relFiles; + const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, g_resourceSubdir, QStandardPaths::LocateDirectory); + Q_FOREACH (const QString &dir, dirs) { +- QDirIterator it(dir, QDirIterator::Subdirectories); ++ QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); + while (it.hasNext()) { + const QString filePath = it.next(); + Q_ASSERT(filePath.startsWith(dir)); // due to the line below... diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch b/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch new file mode 100644 index 000000000000..7e21ebfe86f2 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch @@ -0,0 +1,13 @@ +diff --git a/src/kbuildsycoca/vfolder_menu.cpp b/src/kbuildsycoca/vfolder_menu.cpp +index 2eb1275..e39a36f 100644 +--- a/src/kbuildsycoca/vfolder_menu.cpp ++++ b/src/kbuildsycoca/vfolder_menu.cpp +@@ -412,7 +412,7 @@ VFolderMenu::absoluteDir(const QString &_dir, const QString &baseDir, bool keepR + } + + if (!relative) { +- QString resolved = QDir(dir).canonicalPath(); ++ QString resolved = QDir::cleanPath(dir); + if (!resolved.isEmpty()) { + dir = resolved; + } diff --git a/pkgs/development/libraries/kde-frameworks-5.6/manifest.nix b/pkgs/development/libraries/kde-frameworks-5.6/manifest.nix new file mode 100644 index 000000000000..f8933d2f596f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/manifest.nix @@ -0,0 +1,382 @@ +# This file is generated automatically. DO NOT EDIT! +{ mirror }: +[ + { + url = "${mirror}/stable/frameworks/5.6/kdbusaddons-5.6.0.tar.xz"; + sha256 = "1gn4dm983d1nw7s8x3v9iq95glk0kpyj5zblylk76q8zjnxrx63r"; + name = "kdbusaddons-5.6.0.tar.xz"; + store = "/nix/store/l77sb2fblas9qd9g1fc01n53yipsg6fz-kdbusaddons-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kitemmodels-5.6.0.tar.xz"; + sha256 = "0b40hyzp9rdgm2lr2nnqq229zy6xc3y04xgz47h4cngyz2ykiidm"; + name = "kitemmodels-5.6.0.tar.xz"; + store = "/nix/store/vzbgb344m8j1rsmwmvz08rrqswjqf2kn-kitemmodels-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kded-5.6.0.tar.xz"; + sha256 = "16zl0a1yr5vy18gds1kvw5g1ndl4rv3xgfgwy4bnys65rqw9j4nh"; + name = "kded-5.6.0.tar.xz"; + store = "/nix/store/2cwmng27rxxnkilf5rl61nfmv7f5dwgh-kded-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/attica-5.6.0.tar.xz"; + sha256 = "1qw3fg2pm1zwjc64dmwgqf3w6bn9nhbwa4j1r2mxmsgdvm3m6y80"; + name = "attica-5.6.0.tar.xz"; + store = "/nix/store/1z5gs5p4riv2rzc83np3z2lch6lscbif-attica-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kimageformats-5.6.0.tar.xz"; + sha256 = "0g09cvgr7l4lfhmwscyri2ivndl3kp9w7rnwx9kmqyrbpaq7a5p6"; + name = "kimageformats-5.6.0.tar.xz"; + store = "/nix/store/6fw40sn37h6kb9z58cj08fi0gafpm7il-kimageformats-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kxmlgui-5.6.0.tar.xz"; + sha256 = "18d4bbvygrgxln54xwk3cas8ncpxapwxr4566c2402fm03y1j3zw"; + name = "kxmlgui-5.6.0.tar.xz"; + store = "/nix/store/cz3994azp3y1c9pkybjb6n7vq1fvrrdx-kxmlgui-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kunitconversion-5.6.0.tar.xz"; + sha256 = "1zwmw4m5fa5r48cf28bpygwy3x8vap2xsld1ixnydzzbwc4ry3ix"; + name = "kunitconversion-5.6.0.tar.xz"; + store = "/nix/store/2kx18zpi5vd0j7mdg9yrrqciqqa48bzk-kunitconversion-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kcompletion-5.6.0.tar.xz"; + sha256 = "0zk50qbm7yfjh01c89xg19yc3qji1qdlan60ggwjqabdwfx097vj"; + name = "kcompletion-5.6.0.tar.xz"; + store = "/nix/store/hs0amwz5nrzzx9gc4qlvw23dvacd12ys-kcompletion-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kwallet-5.6.0.tar.xz"; + sha256 = "032yi352fdigdbvlqf6pci9srl6hcfc5gq10s90hvfp25xvyvn1k"; + name = "kwallet-5.6.0.tar.xz"; + store = "/nix/store/6cy8nbhblz788i0sq19vddgmm7kw3vkh-kwallet-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kservice-5.6.0.tar.xz"; + sha256 = "1amwp6vzr4br6a37q2d8krhsvnnhvk2pvccizgml8pmk2kg1jndf"; + name = "kservice-5.6.0.tar.xz"; + store = "/nix/store/cfy088igxfx9p3w0npffidyd53qcf1qz-kservice-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kiconthemes-5.6.0.tar.xz"; + sha256 = "1q06hlgs1sxnklrhdw7qxyfi4fxxjhza4nwc02p2ym1mfgj76afq"; + name = "kiconthemes-5.6.0.tar.xz"; + store = "/nix/store/alg2frgkj7jjy0rgq8d9c9s7ayhsxgmb-kiconthemes-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/threadweaver-5.6.0.tar.xz"; + sha256 = "1ilwwcfczhz60542ivyvr4a1723fliz5mxv75nb0a3nsd8qh662j"; + name = "threadweaver-5.6.0.tar.xz"; + store = "/nix/store/22135n73yf5bgxhpfigk4vbajgqbv8za-threadweaver-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/sonnet-5.6.0.tar.xz"; + sha256 = "0pkc7sck4lpl1ig8xqam91809s49rr70wqhqjmyd823m35134k88"; + name = "sonnet-5.6.0.tar.xz"; + store = "/nix/store/7m3a4g6jbbkqssm1xjzq4qc0axmdlzvw-sonnet-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kcrash-5.6.0.tar.xz"; + sha256 = "0ismn2phd1802hb0vpdc5fn3x8h8p8lzdx1zgg1j5mqx3jddhskz"; + name = "kcrash-5.6.0.tar.xz"; + store = "/nix/store/hbv92rvbxwhb4mbf7skqfq7hv23v39hy-kcrash-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kio-5.6.0.tar.xz"; + sha256 = "06kxl1x96nxkf6pn0hqm5jlpgvj0nzj16d4s3yqh80y8mb3qmy5x"; + name = "kio-5.6.0.tar.xz"; + store = "/nix/store/2p8kx9b47zxcgar5n6cfllxrmxc68k8j-kio-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kapidox-5.6.0.tar.xz"; + sha256 = "1jai9na4v2brvlcb4bc7dghwbii326lp01qn97n4k2gs6gbaz72d"; + name = "kapidox-5.6.0.tar.xz"; + store = "/nix/store/a1wj3qs2a7p9xbhpv1lnj0fp28wbrk0a-kapidox-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdewebkit-5.6.0.tar.xz"; + sha256 = "18q7z8ly3dgn3vnl42swlaqqhf2ajfa8azz5pjswmfhfnxdh1dw7"; + name = "kdewebkit-5.6.0.tar.xz"; + store = "/nix/store/vigpp6rha2r1062nlkld92cg1kdvdqk4-kdewebkit-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/plasma-framework-5.6.0.tar.xz"; + sha256 = "16xfhqkq29jw9wx3h6s8m3alamqqfff676qdik9kh5xxm9kyf3rq"; + name = "plasma-framework-5.6.0.tar.xz"; + store = "/nix/store/6xm3arrwlsl0w3xrcjxwl55fvhpqy34a-plasma-framework-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kwidgetsaddons-5.6.0.tar.xz"; + sha256 = "179pjyjc8raiga5wv44dwpcjw68b3sc0pyv19rkwdbbym6rwx34d"; + name = "kwidgetsaddons-5.6.0.tar.xz"; + store = "/nix/store/59s52d30qcmlvhrbvzbhkxdm0vbq66k5-kwidgetsaddons-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kglobalaccel-5.6.0.tar.xz"; + sha256 = "12wgv3nhr2c54vh17mqm96hyfvzjbfmm335dqh2ajqg79w7bk46v"; + name = "kglobalaccel-5.6.0.tar.xz"; + store = "/nix/store/yg49hswx9kr7y4rby96yl62cg8qggcld-kglobalaccel-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kparts-5.6.0.tar.xz"; + sha256 = "1fd8kmfg6vyii8s5fx968x404wmmly29xfjlgpc2y5phw26v0jm1"; + name = "kparts-5.6.0.tar.xz"; + store = "/nix/store/mlb24addakwmg79h8j42yaiavfdw3xcj-kparts-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdesignerplugin-5.6.0.tar.xz"; + sha256 = "0nnxcqzsr4x7z08hz54n30lrbsxcnc14yc64lf8avpjs1cbgg2f6"; + name = "kdesignerplugin-5.6.0.tar.xz"; + store = "/nix/store/9bk81cvs0y7nicnf4z2hggpc2s2iw9mq-kdesignerplugin-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kidletime-5.6.0.tar.xz"; + sha256 = "1byyj89iy20mwy373z5rxhkjc1adbpjjl14a3vqvc80f87x08hd5"; + name = "kidletime-5.6.0.tar.xz"; + store = "/nix/store/8pqylp14nd42qyh42rxhszgnby8dzz69-kidletime-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/ki18n-5.6.0.tar.xz"; + sha256 = "0g9qzisi9hlz61l6qls5xwqkj98h26f5gnphh8pha3rxkh1nzrzm"; + name = "ki18n-5.6.0.tar.xz"; + store = "/nix/store/zhg3dfsqm51137kyvyc0i1qda7vjb82n-ki18n-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kinit-5.6.0.tar.xz"; + sha256 = "1k9frj2myzzjjgg98hh5003zqkch4id3nkc0kqdx113g7walm2xy"; + name = "kinit-5.6.0.tar.xz"; + store = "/nix/store/kwr5nfpm93ngvsp10h1spsz93bb92l07-kinit-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/extra-cmake-modules-1.6.0.tar.xz"; + sha256 = "08nad0mb2bxp2alh562qvpma6f4mkhznfla9p1skdb06kb0gz5s6"; + name = "extra-cmake-modules-1.6.0.tar.xz"; + store = "/nix/store/r6qshq5hxyrrddg7gwgwkpvbci6sxrgi-extra-cmake-modules-1.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/knewstuff-5.6.0.tar.xz"; + sha256 = "0h60fhpc3p4l8889spj33lvwzcqplnlbf2clbwiyjpa1j86sfdf0"; + name = "knewstuff-5.6.0.tar.xz"; + store = "/nix/store/m465k9rzic6ax36m3wpv22wr90d6sm9w-knewstuff-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kitemviews-5.6.0.tar.xz"; + sha256 = "0mjwvi0n55x8xwnbmqw1z6av7vc0gfrs9ljpgi1na4mmk84yqhdd"; + name = "kitemviews-5.6.0.tar.xz"; + store = "/nix/store/vj0ssv01sn36280g64k2dk0pwgzbff9l-kitemviews-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kpackage-5.6.0.tar.xz"; + sha256 = "1wpvg5s0y31iad874xpyw1z78r72b7w56lxbn732imp5bzajmq2v"; + name = "kpackage-5.6.0.tar.xz"; + store = "/nix/store/iq9739r7pzk7zfzvk0599liylkwn9ml4-kpackage-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kcmutils-5.6.0.tar.xz"; + sha256 = "0wzzxq3nid80q4a4wzz2yd3vfc6mzjxbdair263kw1xkxcb2l3ng"; + name = "kcmutils-5.6.0.tar.xz"; + store = "/nix/store/gsamabw9mhda9d3b7zwravfhvviym7gd-kcmutils-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdeclarative-5.6.0.tar.xz"; + sha256 = "049bknjd383vc4jlmahjrs2mnwdn0jrvz3pkjywlwx7v7ja69l5l"; + name = "kdeclarative-5.6.0.tar.xz"; + store = "/nix/store/zna6r1vkms0ysigsw1xcp0brwmrkkj00-kdeclarative-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kcodecs-5.6.0.tar.xz"; + sha256 = "1l647c89rs3w6laal28hx25s1215jhl911q85jyzhz528rkd1jx6"; + name = "kcodecs-5.6.0.tar.xz"; + store = "/nix/store/iq1vxp7qbyrfdqh1jvfi0iq9zg17bzrm-kcodecs-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdesu-5.6.0.tar.xz"; + sha256 = "0agr28m80b5rnk3l4sjfcwq9cx4krs8f7nxl9ll13zx62gknwjlk"; + name = "kdesu-5.6.0.tar.xz"; + store = "/nix/store/8vnnjbbpnr52av5cga5y8i5iphmv73r6-kdesu-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/extra-cmake-modules-1.6.1.tar.xz"; + sha256 = "1ri6zvhd6k721y0wigl1928dwhg7bvcqs0ifaddvhn8ql694qvgz"; + name = "extra-cmake-modules-1.6.1.tar.xz"; + store = "/nix/store/vpcwwg988l2647laz0mm4j65szby7yya-extra-cmake-modules-1.6.1.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/karchive-5.6.0.tar.xz"; + sha256 = "0ldgwzzl70k4kvhmzp70r63akyprspcrpdnlafa5irdmfcc3sfzj"; + name = "karchive-5.6.0.tar.xz"; + store = "/nix/store/m75chqjl74piz0miwxj14szwb6834r3z-karchive-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kwindowsystem-5.6.0.tar.xz"; + sha256 = "04qgai4ib2jm2xsmpzm2iszrkma4ns6fn8nkn8m5lbihsrfp6lmz"; + name = "kwindowsystem-5.6.0.tar.xz"; + store = "/nix/store/4a0hdrjz0s172vqnxwz7khysp0yz8pd7-kwindowsystem-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/knotifications-5.6.0.tar.xz"; + sha256 = "1fz0kq8azwc3gdvbr7p07zsrpdsb707cksnzjgnddxm741wzvfr0"; + name = "knotifications-5.6.0.tar.xz"; + store = "/nix/store/r9p9h0ma9v57jpz1iv4gy66jd3wmi0jn-knotifications-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kactivities-5.6.0.tar.xz"; + sha256 = "1mr375w83y8ivcq9fvswwr637ilyrikyv56bkkchyb18y34f1v1i"; + name = "kactivities-5.6.0.tar.xz"; + store = "/nix/store/0yazfjf3kwj7yqh60napp8i1gwp7vssm-kactivities-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdoctools-5.6.0.tar.xz"; + sha256 = "02vbw530gy1d6mygzrpd5pqdqjww2749q0rkj4dl14va7rw9ksx5"; + name = "kdoctools-5.6.0.tar.xz"; + store = "/nix/store/73xzy82hqayfb303cxxvb0pd1xsm68qi-kdoctools-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/frameworkintegration-5.6.0.tar.xz"; + sha256 = "0kh57h2sxpz8my1wb5xx8xhxsa08nfdg3551dphvabl6mpg1jsqh"; + name = "frameworkintegration-5.6.0.tar.xz"; + store = "/nix/store/vljg38z53y37xafjvv7xhfnhb2cfhwby-frameworkintegration-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kauth-5.6.0.tar.xz"; + sha256 = "0rnwh9cnn3nsk980grl1ycldpr61ihksmphcvq1jj0lpdgw80zan"; + name = "kauth-5.6.0.tar.xz"; + store = "/nix/store/khb8pfz5qn40mrfh859n4fp6qcv593ib-kauth-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/knotifyconfig-5.6.0.tar.xz"; + sha256 = "0ifsnj9gm7fgwd2rb34xqnfy4hxyxr2wgyjd8ryywnp1zf4b6hfi"; + name = "knotifyconfig-5.6.0.tar.xz"; + store = "/nix/store/3mn9094lflb8larwzgz7p8hgf40kgq1a-knotifyconfig-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/solid-5.6.0.tar.xz"; + sha256 = "1lnn6134s2zagcy1qcyxsr4nv31fxafmyk2cil70a0pmpq7ywyw4"; + name = "solid-5.6.0.tar.xz"; + store = "/nix/store/550z8fj4vabpds4d3kzn04mmhi6rb813-solid-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/networkmanager-qt-5.6.0.tar.xz"; + sha256 = "0iwdzb75psvw4b1rg7ijrgz9kijiik7n4grryyib2nvwwgzna3lv"; + name = "networkmanager-qt-5.6.0.tar.xz"; + store = "/nix/store/m48q6fc34yxmiv02qmww8xdh2nrpzk6g-networkmanager-qt-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/khtml-5.6.0.tar.xz"; + sha256 = "1i6v3m7wkdj8cpqdp74mxhyyhq1qq8k80vsxjm1nzaqxgwq8gfvq"; + name = "khtml-5.6.0.tar.xz"; + store = "/nix/store/mlrqylbwp2bj7l70fxlkw0a6dcgd3q6x-khtml-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/kmediaplayer-5.6.0.tar.xz"; + sha256 = "0z66a2yb4i9q2mk14szs4z8832jl33awaqima9b9xsdh5w4q6llk"; + name = "kmediaplayer-5.6.0.tar.xz"; + store = "/nix/store/47908hvamfll3wn0rbacp455zvs0sv4g-kmediaplayer-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/kjsembed-5.6.0.tar.xz"; + sha256 = "08g3ac02c4vi010036kz0jgsmhv7c0s4xxk05pmkm6i7hrnslv7g"; + name = "kjsembed-5.6.0.tar.xz"; + store = "/nix/store/m0is4ahl2rsv4gzwarim4bw1jzzrddmm-kjsembed-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/kross-5.6.0.tar.xz"; + sha256 = "0pwscrk89apvysfgr596yb9vywdc6l6dsrhgxmmsplh6v3nqknph"; + name = "kross-5.6.0.tar.xz"; + store = "/nix/store/54p2ms8fjiikpcz15amg1kkip7ddpqfq-kross-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/krunner-5.6.0.tar.xz"; + sha256 = "09c11c43pw4hm59h1nixs2bqs22iwvc728fgm7hhmp76xv8vw5sf"; + name = "krunner-5.6.0.tar.xz"; + store = "/nix/store/2bbpl3pkd9h9di2ihlj3ab8gaxjvkfx5-krunner-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/kjs-5.6.0.tar.xz"; + sha256 = "0gizs498q2rjmlqgpwh7p1kb3bwdfif28fscya1i6jakdgl8s94c"; + name = "kjs-5.6.0.tar.xz"; + store = "/nix/store/2y2dd7s775c1699g13fbaz5b3pgb079g-kjs-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/portingAids/kdelibs4support-5.6.0.tar.xz"; + sha256 = "057zvf1b6k8gfs19yz90fxj1jzyc2f1pyh03mhbj3a77sph82qc9"; + name = "kdelibs4support-5.6.0.tar.xz"; + store = "/nix/store/flmn2ls5rqyj6hh98c2vvvzmb7lx36a3-kdelibs4support-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kcoreaddons-5.6.0.tar.xz"; + sha256 = "07z29viwijwmgashwxhz3j9pw9ksvsjywz88871nmggbw8544x0r"; + name = "kcoreaddons-5.6.0.tar.xz"; + store = "/nix/store/8j6zx7269w1z64wblpg0p8f9kc046qrn-kcoreaddons-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kemoticons-5.6.0.tar.xz"; + sha256 = "1hq1dqhnj8zvna37pbi9xavc3ad41q5ayxb4gn6rn4hglg94fv68"; + name = "kemoticons-5.6.0.tar.xz"; + store = "/nix/store/63488dvgv4qpf60wkhmwrwylq09gnkq2-kemoticons-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kdnssd-5.6.0.tar.xz"; + sha256 = "0cpfazdq7l9v29bjq08dj6kf8d1g8fjfq4aqljqzlzn4grsmjksq"; + name = "kdnssd-5.6.0.tar.xz"; + store = "/nix/store/rwdp52gpbyaak9r89lkj27mgbjhk8dhn-kdnssd-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kplotting-5.6.0.tar.xz"; + sha256 = "0hj66zshpnaabvjhi4183fh4xhqg95sv8jjlmzwdzac7ipn09r0c"; + name = "kplotting-5.6.0.tar.xz"; + store = "/nix/store/4jrjvkz1dclccnwhqzh0sjia79d0bs4s-kplotting-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kconfigwidgets-5.6.0.tar.xz"; + sha256 = "0fb1sxjcqfgvli5ndm03sqadrhqgsk841y6cql0grpyyx42b2s3s"; + name = "kconfigwidgets-5.6.0.tar.xz"; + store = "/nix/store/40sc8j052cpqsk663icz6x426jac6v2b-kconfigwidgets-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kpty-5.6.0.tar.xz"; + sha256 = "02n2i4q2wasjkrivc80srs208zlgkhi0v7xxcx49xv2djhcm71nb"; + name = "kpty-5.6.0.tar.xz"; + store = "/nix/store/zw7lvzy73w9ffv79jmckr52bw7xsgza6-kpty-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kbookmarks-5.6.0.tar.xz"; + sha256 = "00qn6jgz1zzz0bbj0z6ki7wcb4q611szvnmif1n7sdmmcczd2b3l"; + name = "kbookmarks-5.6.0.tar.xz"; + store = "/nix/store/qbi1yankzvx098cfksx8wdxh0zv0jqx3-kbookmarks-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/ktexteditor-5.6.0.tar.xz"; + sha256 = "1s57bpr7bb2c4xw384lkik7pbwa21v1ma4vriv3dz91q029qjxgs"; + name = "ktexteditor-5.6.0.tar.xz"; + store = "/nix/store/c4hfl2yny47mxa8iil5xxqwrzwwlfqpl-ktexteditor-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kguiaddons-5.6.0.tar.xz"; + sha256 = "08md1bch0cdd9ywc1g46ia1h1vqv74s36ar5x9if12jfkhiss13i"; + name = "kguiaddons-5.6.0.tar.xz"; + store = "/nix/store/1riwgwy3yw3n0zi1q7k3rnf3s37d397f-kguiaddons-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/ktextwidgets-5.6.0.tar.xz"; + sha256 = "0b6q7mbdfjfzi3hb2qbjqnmdhycabsiqnrz66l2xa78phmwydvss"; + name = "ktextwidgets-5.6.0.tar.xz"; + store = "/nix/store/442l5jhr4vij2gnnbhf30q98xmyzd6m2-ktextwidgets-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kjobwidgets-5.6.0.tar.xz"; + sha256 = "16l2xhlqvavzjf9hfjdz3pssa3sjdv6bvmk9dp9prf7j39pxhnw6"; + name = "kjobwidgets-5.6.0.tar.xz"; + store = "/nix/store/9hxzz693csamkrx8x6m7lrm5m76vx0nb-kjobwidgets-5.6.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.6/kconfig-5.6.0.tar.xz"; + sha256 = "06rx3hwc3hay0g8pnzm9l7mdwk4pqy3waspncdlknabaxcvqmf0a"; + name = "kconfig-5.6.0.tar.xz"; + store = "/nix/store/26q4zhd6m4jjshknmd2r0dgxmscbgncr-kconfig-5.6.0.tar.xz"; + } +] diff --git a/pkgs/development/libraries/kde-frameworks-5.6/manifest.sh b/pkgs/development/libraries/kde-frameworks-5.6/manifest.sh new file mode 100755 index 000000000000..d6d7ccae6a5e --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/manifest.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ $# -eq 0 ]; then + + # The extra slash at the end of the URL is necessary to stop wget + # from recursing over the whole server! (No, it's not a bug.) + $(nix-build ../../../.. -A autonix.manifest) \ + http://download.kde.org/stable/frameworks/5.6/ \ + -A '*.tar.xz' + +else + + $(nix-build ../../../.. -A autonix.manifest) -A '*.tar.xz' "$@" + +fi diff --git a/pkgs/development/libraries/kde-frameworks-5.6/plasma-framework/plasma-framework-external-paths.patch b/pkgs/development/libraries/kde-frameworks-5.6/plasma-framework/plasma-framework-external-paths.patch new file mode 100644 index 000000000000..9a22c0bdbcd5 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/plasma-framework/plasma-framework-external-paths.patch @@ -0,0 +1,13 @@ +diff --git a/src/plasma/package.cpp b/src/plasma/package.cpp +index 07b3c90..84417e3 100644 +--- a/src/plasma/package.cpp ++++ b/src/plasma/package.cpp +@@ -791,7 +791,7 @@ PackagePrivate::PackagePrivate() + servicePrefix("plasma-applet-"), + fallbackPackage(0), + metadata(0), +- externalPaths(false), ++ externalPaths(true), + valid(false), + checkedValid(false) + { diff --git a/pkgs/development/libraries/kde-frameworks-5.6/renames.nix b/pkgs/development/libraries/kde-frameworks-5.6/renames.nix new file mode 100644 index 000000000000..58ade4e62ac0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/renames.nix @@ -0,0 +1,68 @@ +# DO NOT EDIT! This file is generated automatically. +{ }: +{ +"Backend" = "plasma-framework"; +"CTest" = "attica"; +"ECM" = "extra-cmake-modules"; +"KDED" = "kded"; +"KF5Activities" = "kactivities"; +"KF5Archive" = "karchive"; +"KF5Attica" = "attica"; +"KF5Auth" = "kauth"; +"KF5Bookmarks" = "kbookmarks"; +"KF5Codecs" = "kcodecs"; +"KF5Completion" = "kcompletion"; +"KF5Config" = "kconfig"; +"KF5ConfigWidgets" = "kconfigwidgets"; +"KF5CoreAddons" = "kcoreaddons"; +"KF5Crash" = "kcrash"; +"KF5DBusAddons" = "kdbusaddons"; +"KF5DNSSD" = "kdnssd"; +"KF5Declarative" = "kdeclarative"; +"KF5DesignerPlugin" = "kdesignerplugin"; +"KF5DocTools" = "kdoctools"; +"KF5Emoticons" = "kemoticons"; +"KF5FrameworkIntegration" = "frameworkintegration"; +"KF5GlobalAccel" = "kglobalaccel"; +"KF5GuiAddons" = "kguiaddons"; +"KF5I18n" = "ki18n"; +"KF5IconThemes" = "kiconthemes"; +"KF5IdleTime" = "kidletime"; +"KF5Init" = "kinit"; +"KF5ItemModels" = "kitemmodels"; +"KF5ItemViews" = "kitemviews"; +"KF5JS" = "kjs"; +"KF5JobWidgets" = "kjobwidgets"; +"KF5JsEmbed" = "kjsembed"; +"KF5KCMUtils" = "kcmutils"; +"KF5KDE4Support" = "kdelibs4support"; +"KF5KDELibs4Support" = "kdelibs4support"; +"KF5KHtml" = "khtml"; +"KF5KIO" = "kio"; +"KF5Kross" = "kross"; +"KF5MediaPlayer" = "kmediaplayer"; +"KF5NetworkManagerQt" = "networkmanager-qt"; +"KF5NewStuff" = "knewstuff"; +"KF5Notifications" = "knotifications"; +"KF5NotifyConfig" = "knotifyconfig"; +"KF5Package" = "kpackage"; +"KF5Parts" = "kparts"; +"KF5Plasma" = "plasma-framework"; +"KF5PlasmaQuick" = "plasma-framework"; +"KF5Plotting" = "kplotting"; +"KF5Pty" = "kpty"; +"KF5Runner" = "krunner"; +"KF5Service" = "kservice"; +"KF5Solid" = "solid"; +"KF5Sonnet" = "sonnet"; +"KF5Su" = "kdesu"; +"KF5TextEditor" = "ktexteditor"; +"KF5TextWidgets" = "ktextwidgets"; +"KF5ThreadWeaver" = "threadweaver"; +"KF5UnitConversion" = "kunitconversion"; +"KF5Wallet" = "kwallet"; +"KF5WebKit" = "kdewebkit"; +"KF5WidgetsAddons" = "kwidgetsaddons"; +"KF5WindowSystem" = "kwindowsystem"; +"KF5XmlGui" = "kxmlgui"; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.6/setup-hook.sh b/pkgs/development/libraries/kde-frameworks-5.6/setup-hook.sh new file mode 100644 index 000000000000..a8d9b7e0e36f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/setup-hook.sh @@ -0,0 +1 @@ +addToSearchPath XDG_DATA_DIRS @out@/share diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c2f1e36e0ff5..5f2c372446f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5814,7 +5814,10 @@ let kf55 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.5 { stdenv = overrideGCC stdenv gccStdInc; }); - kf5_latest = kf55; + kf56 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.6 { + stdenv = overrideGCC stdenv gccStdInc; + }); + kf5_latest = kf56; kf5_stable = kf55; krb5 = callPackage ../development/libraries/kerberos/krb5.nix {