diff --git a/pkgs/development/libraries/kde-frameworks-5.5/default.nix b/pkgs/development/libraries/kde-frameworks-5.5/default.nix new file mode 100644 index 000000000000..088c6a9b1216 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/default.nix @@ -0,0 +1,171 @@ +{ 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; + 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 scope; + }; + +in + + kf5 // { inherit mkDerivation qt5 scope; } diff --git a/pkgs/development/libraries/kde-frameworks-5.5/dependencies.nix b/pkgs/development/libraries/kde-frameworks-5.5/dependencies.nix new file mode 100644 index 000000000000..feafa94e81dd --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/dependencies.nix @@ -0,0 +1,484 @@ +# 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 = [ ]; + }; + + 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 = [ ]; + }; + + 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" "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 = [ ]; + 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.5/dependencies.sh b/pkgs/development/libraries/kde-frameworks-5.5/dependencies.sh new file mode 100755 index 000000000000..2b220244c596 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/extra-cmake-modules/0001-libdir-default.patch b/pkgs/development/libraries/kde-frameworks-5.5/extra-cmake-modules/0001-libdir-default.patch new file mode 100644 index 000000000000..faed0e6edc92 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/extra-cmake-modules/0002-qt5-plugin-dir.patch b/pkgs/development/libraries/kde-frameworks-5.5/extra-cmake-modules/0002-qt5-plugin-dir.patch new file mode 100644 index 000000000000..5982aa8a06f0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kauth/kauth-policy-install.patch b/pkgs/development/libraries/kde-frameworks-5.5/kauth/kauth-policy-install.patch new file mode 100644 index 000000000000..340155256f28 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kcmutils/kcmutils-pluginselector-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.5/kcmutils/kcmutils-pluginselector-follow-symlinks.patch new file mode 100644 index 000000000000..47b8dfad1800 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.5/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch new file mode 100644 index 000000000000..3bd946cbd842 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kdoctools/kdoctools-no-find-docbook-xml.patch b/pkgs/development/libraries/kde-frameworks-5.5/kdoctools/kdoctools-no-find-docbook-xml.patch new file mode 100644 index 000000000000..4e3a33efab32 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kinit/kinit-libpath.patch b/pkgs/development/libraries/kde-frameworks-5.5/kinit/kinit-libpath.patch new file mode 100644 index 000000000000..a6ccb2085d32 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kservice/kservice-kbuildsycoca-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.5/kservice/kservice-kbuildsycoca-follow-symlinks.patch new file mode 100644 index 000000000000..e9bc418544ab --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch b/pkgs/development/libraries/kde-frameworks-5.5/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch new file mode 100644 index 000000000000..7e21ebfe86f2 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/manifest.nix b/pkgs/development/libraries/kde-frameworks-5.5/manifest.nix new file mode 100644 index 000000000000..b22ea32ca284 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/manifest.nix @@ -0,0 +1,364 @@ +# This file is generated automatically. DO NOT EDIT! +{ mirror }: +[ + { + url = "${mirror}/stable/frameworks/5.5/extra-cmake-modules-1.5.0.tar.xz"; + sha256 = "0rhvrpakahylfrnwkw5n32xh95609b3ca40qjkd1bcqh9mw8s8n7"; + name = "extra-cmake-modules-1.5.0.tar.xz"; + store = "/nix/store/adn9n0xazi0wdmc7ffwfbxdbm05wvlg9-extra-cmake-modules-1.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdoctools-5.5.0.tar.xz"; + sha256 = "19pzafqinngzyk52c2a3l8llfxqh77y436sj3rvkir1falvg7jqi"; + name = "kdoctools-5.5.0.tar.xz"; + store = "/nix/store/i624z246bj0iy36r9fwzwnfanggkp7kj-kdoctools-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/knotifications-5.5.0.tar.xz"; + sha256 = "04fp1gkjv828464xs7y3wm5p8ww2n9alfds8bs76i49gpd42xjyh"; + name = "knotifications-5.5.0.tar.xz"; + store = "/nix/store/5dmvw3gp1hbq03pnp5llav77ggrya3qv-knotifications-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdesu-5.5.0.tar.xz"; + sha256 = "0m47ha6xwxv3w9hijdf6z4bb84rr0rw9p4sr5nmb9wdngzrmzcpd"; + name = "kdesu-5.5.0.tar.xz"; + store = "/nix/store/ixyfa6piyz5hcw8y9pkx75cg189y4qf8-kdesu-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdnssd-5.5.0.tar.xz"; + sha256 = "1j94162lvnc47y1nfjshpa28biaihyxghi7nz9rjdlr7cf40gp4r"; + name = "kdnssd-5.5.0.tar.xz"; + store = "/nix/store/z381zrhhyjk482arjnbra8pbwib9jrkp-kdnssd-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdewebkit-5.5.0.tar.xz"; + sha256 = "0y5d7mabkgc5676aax64hficjy06fqkm8a72jki1hl808pbapvwy"; + name = "kdewebkit-5.5.0.tar.xz"; + store = "/nix/store/xi41pfsfghkayasng6kqn5b65cfgs4vs-kdewebkit-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kparts-5.5.0.tar.xz"; + sha256 = "0l6na645j2ijais4nqir54jxzn13csigivcg098m6m0mpiz8j4w6"; + name = "kparts-5.5.0.tar.xz"; + store = "/nix/store/l5011v85i02gqnk2hfkif5d7cwq5zm0s-kparts-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdeclarative-5.5.0.tar.xz"; + sha256 = "1pb9dlggdr0vzy9bhzsjncnkalvdbrjhgbp1hzba9pyzpmmhx6pq"; + name = "kdeclarative-5.5.0.tar.xz"; + store = "/nix/store/7527cdligx3667bjbjqcjxk3m6ifqldc-kdeclarative-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/ktextwidgets-5.5.0.tar.xz"; + sha256 = "1iqssmpilzxgjs5b2q3f1dpcq4wrwa528an6z9h6rx66lrmbcwml"; + name = "ktextwidgets-5.5.0.tar.xz"; + store = "/nix/store/93xq5dl3xmb713rfv0imh261lb6jr3d8-ktextwidgets-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/solid-5.5.0.tar.xz"; + sha256 = "1vcphw9fj0hqxr612p4dv8ggbb6vh7bnpa8b7l216ixqpg3wg1gs"; + name = "solid-5.5.0.tar.xz"; + store = "/nix/store/knsf1bxiymf8nh65w65bakb1cvzjq2il-solid-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kpty-5.5.0.tar.xz"; + sha256 = "147zxsdyw4fwn0d99nkbjxgcs5vf6wzvgm9d9fpiyzq2747pmnin"; + name = "kpty-5.5.0.tar.xz"; + store = "/nix/store/yic1isk1ak0fwr9i3k3af986m1k8z87g-kpty-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/sonnet-5.5.0.tar.xz"; + sha256 = "0ck2li0y9z2vlby4axhva409bn5nw06g84mm4g3s86mfjypii3gm"; + name = "sonnet-5.5.0.tar.xz"; + store = "/nix/store/qgqxm6plb4vfj3yja62s4xa62nkbqmyj-sonnet-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kguiaddons-5.5.0.tar.xz"; + sha256 = "0wlhhwf59bwscj7c1skigglp1fchdxmi8y3rrmm4ss7avbpkbjvb"; + name = "kguiaddons-5.5.0.tar.xz"; + store = "/nix/store/iajck67nc69d2qcczd3hxz41flkb3d7v-kguiaddons-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kunitconversion-5.5.0.tar.xz"; + sha256 = "0h8rwnfd4dib56q0gndi4rjkrnmpq2bv0nbycsrnhjxvrzbxdfh0"; + name = "kunitconversion-5.5.0.tar.xz"; + store = "/nix/store/7dflp9jdaplbx4xjvy364kmy9h27yq67-kunitconversion-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kconfigwidgets-5.5.0.tar.xz"; + sha256 = "1816n5qzjh4kgcmkicmsmwv063rx81wxvn4flbnrqxw2nglwyx41"; + name = "kconfigwidgets-5.5.0.tar.xz"; + store = "/nix/store/jgsadidxnli619q5i9cs7qmgkgs8hgqz-kconfigwidgets-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kimageformats-5.5.0.tar.xz"; + sha256 = "0fhgk4pl8vx77p6jvcwx8vddzdn701rvbpjy3p0250zgzw9qjkin"; + name = "kimageformats-5.5.0.tar.xz"; + store = "/nix/store/qhy1ldzhhr1lij4bg5hp5w97fncqabhq-kimageformats-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/knewstuff-5.5.0.tar.xz"; + sha256 = "0w0j20jh10zpigm1s6x0n0jgpx9czwb72miyfl8cj3h2j07ghdpz"; + name = "knewstuff-5.5.0.tar.xz"; + store = "/nix/store/a49vair6af9159j7bsz9y0gn8q12i0np-knewstuff-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdbusaddons-5.5.0.tar.xz"; + sha256 = "1k2k1bwjiv1r5pbzn3ypydgva7kjj2z8csg01jc8p2qii221afjp"; + name = "kdbusaddons-5.5.0.tar.xz"; + store = "/nix/store/322m5kv9whdjgc21vlk2vcjaba8yfcbq-kdbusaddons-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kio-5.5.0.tar.xz"; + sha256 = "13y7chcln71wk32bcd3h6qld901gnafksd9f4kb0nmnahdv6z73z"; + name = "kio-5.5.0.tar.xz"; + store = "/nix/store/p0xphwbx522h8xacg8bar3dp8fhd26h8-kio-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kwindowsystem-5.5.0.tar.xz"; + sha256 = "1s243453d43fpnlykmv7ix6wzxhbyl92y8nrbyn73zfb5kc7z0yh"; + name = "kwindowsystem-5.5.0.tar.xz"; + store = "/nix/store/63g4qavmxcgw5njpy9fq2fji5p8ji804-kwindowsystem-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kcodecs-5.5.0.tar.xz"; + sha256 = "0wh5rcnvkq9c8vf8kll02jpqid5hix17w2ywwpsjfmgi2a4bkjz7"; + name = "kcodecs-5.5.0.tar.xz"; + store = "/nix/store/33fpi9a2ggbj8dfpnzhs1w3jgj6hzw78-kcodecs-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kcoreaddons-5.5.0.tar.xz"; + sha256 = "00fg1khdndacbd6msgjcz2yan04ib5h0l35a4l7bwpyd1crk6fdj"; + name = "kcoreaddons-5.5.0.tar.xz"; + store = "/nix/store/2p4mz7pxz94sddm7r4j82q4nriz16i3b-kcoreaddons-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/frameworkintegration-5.5.0.tar.xz"; + sha256 = "1781l1wzip4w4inz69si5cqy6gr0vcwx9vmhv93925jga44drpaz"; + name = "frameworkintegration-5.5.0.tar.xz"; + store = "/nix/store/6v1s33dyv1qvzv8x7m9ak4qn79g52ygz-frameworkintegration-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kwidgetsaddons-5.5.0.tar.xz"; + sha256 = "0s3aybvnlri8pdfms4dmbgzqan656pzlaghsy8065x19dn4hmwl2"; + name = "kwidgetsaddons-5.5.0.tar.xz"; + store = "/nix/store/4f6681v6fp9yzgclf9wbryy63xjvjfvc-kwidgetsaddons-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kidletime-5.5.0.tar.xz"; + sha256 = "0rb29aqv8npsq161nmkrsxz2kra0jdi1xv2zw9xyapb1yyg4qsk6"; + name = "kidletime-5.5.0.tar.xz"; + store = "/nix/store/1d96ca5sy906lhh16hmv122lr8s3xxrp-kidletime-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/ktexteditor-5.5.0.tar.xz"; + sha256 = "17sbdis5wnj13cxi713ncl1x4b61sdhx5i2j3fdk5gqycmrw93xf"; + name = "ktexteditor-5.5.0.tar.xz"; + store = "/nix/store/jy8cb6vscgzqb4gcsnh5b0b64f3pil0k-ktexteditor-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/knotifyconfig-5.5.0.tar.xz"; + sha256 = "1vj39fsxmypdq5bf1a5sdpld3dfy0hg7k8ikzhy4b83wh5mjzsfy"; + name = "knotifyconfig-5.5.0.tar.xz"; + store = "/nix/store/lc1gdg5j1qk7pjg8spyz2wkrcpwqw0c7-knotifyconfig-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/attica-5.5.0.tar.xz"; + sha256 = "10slxvfcfqxirrnwzfwdnbmlarkcc93d0rvb2110cfvghq3w676m"; + name = "attica-5.5.0.tar.xz"; + store = "/nix/store/53asp14pcyx5a47339g6sc3ni8wdh6l8-attica-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kxmlgui-5.5.0.tar.xz"; + sha256 = "13n8jp7krsbajnaq8r8135xlqja9sawis7fr1z0li54hskfz18x9"; + name = "kxmlgui-5.5.0.tar.xz"; + store = "/nix/store/mb1fqb5w5c05yg2fsi31jfcc24hvv1jh-kxmlgui-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kglobalaccel-5.5.0.tar.xz"; + sha256 = "1bkv7nn5x6im0d6mqr9v4grjc2p3vs481ckgcs6g28p7b4a0dfl3"; + name = "kglobalaccel-5.5.0.tar.xz"; + store = "/nix/store/i6dkz0bnw1yx9g8q49414pm9aszkvri3-kglobalaccel-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/plasma-framework-5.5.0.tar.xz"; + sha256 = "0rhmybncdyy1drg08pjvshmfmzd694skc0n9kk535bm90af4ir26"; + name = "plasma-framework-5.5.0.tar.xz"; + store = "/nix/store/jxi0gr530wj58d93hwd9zi5irxy3wrxh-plasma-framework-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kplotting-5.5.0.tar.xz"; + sha256 = "1gxmngxh1w7wqhy3p4l3lr6283zp8wzsj7sv8gbzd55s3z9vcvp8"; + name = "kplotting-5.5.0.tar.xz"; + store = "/nix/store/5nncccml3icr8i2rr7qc1ai5193wr4z6-kplotting-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kactivities-5.5.0.tar.xz"; + sha256 = "0ypd2cp82z7gabzg96hpz5s24nmzyd2c7a95k74xibasd2fxld73"; + name = "kactivities-5.5.0.tar.xz"; + store = "/nix/store/n6553bypqcqpnk2yhv9h0jlfbg671c7d-kactivities-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kiconthemes-5.5.0.tar.xz"; + sha256 = "1jdjhg38bp936qjxjx0xkdkc1b8rly453d3hyf7vki10cfkm8l9i"; + name = "kiconthemes-5.5.0.tar.xz"; + store = "/nix/store/308wv5wyvxdmr792b26ps8wrjxw0s2s1-kiconthemes-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kservice-5.5.0.tar.xz"; + sha256 = "1hs8g3nnrahi9951xgk0sj5fvpcj572fjj219kj7knv9mwv346zx"; + name = "kservice-5.5.0.tar.xz"; + store = "/nix/store/bizwfxq4ap84fd1g8kr7zdqys2rxfzig-kservice-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kemoticons-5.5.0.tar.xz"; + sha256 = "0yl2w3f6h4irrbf6kl8npz4jwlzmi4bglwjcqqwhs3s6qz2wni95"; + name = "kemoticons-5.5.0.tar.xz"; + store = "/nix/store/y5inglfgimmn51by0rf6gk9d2k7wrprc-kemoticons-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/ki18n-5.5.0.tar.xz"; + sha256 = "11756hp266nssmkywnyh61pzd32k7y15323f5rlh8ap8hzs2cvjd"; + name = "ki18n-5.5.0.tar.xz"; + store = "/nix/store/06sviq6lrs60zg9541x99x57avrr460m-ki18n-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/karchive-5.5.0.tar.xz"; + sha256 = "06bal0lk9r8nnc0vzqsxjhk6xm6yjapl9x883rhzl9r8y9jxfcx3"; + name = "karchive-5.5.0.tar.xz"; + store = "/nix/store/zdm1v5bc5jxbv4yc1k4brkbk2mw4srzb-karchive-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/krunner-5.5.0.tar.xz"; + sha256 = "139213rrkc0hmab4hy6mp501s0z59hjgsvkikcswli7wj1yvl1aj"; + name = "krunner-5.5.0.tar.xz"; + store = "/nix/store/ps29p1lprbpkqk77x623nfdks22sxz7a-krunner-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/kdelibs4support-5.5.0.tar.xz"; + sha256 = "07jb21is23mkb2yy6dncw70f6jdcn0bg2vz13mgc86f3glim35wh"; + name = "kdelibs4support-5.5.0.tar.xz"; + store = "/nix/store/i6wdad07jlbk9nw6khccq9ncc9y4w82f-kdelibs4support-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/kross-5.5.0.tar.xz"; + sha256 = "1nj4zfw6490saixhv3rwp5r7nrzvbskbhr1wvf4rxdbp0f1q20nb"; + name = "kross-5.5.0.tar.xz"; + store = "/nix/store/6yq7q3g76rbmdyn12rgi423jfakdzwps-kross-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/kmediaplayer-5.5.0.tar.xz"; + sha256 = "192sn5vqgaip2y6rl30q6y7gmasgfwq137bcalyc00di15xclp6z"; + name = "kmediaplayer-5.5.0.tar.xz"; + store = "/nix/store/mj667h3y2j1p9ilblv96f1k98f918hp2-kmediaplayer-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/kjsembed-5.5.0.tar.xz"; + sha256 = "1niqpbg33gzyxppgyxwrnlh3lrwz1wj8zym9z5lr7kimbyamw5xd"; + name = "kjsembed-5.5.0.tar.xz"; + store = "/nix/store/pn4w12z242ymbdq4zjg1fa1c3a0fblgc-kjsembed-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/khtml-5.5.0.tar.xz"; + sha256 = "078444gi0jnpn5qjnv8zv2p0p22h14sxx3rv5kzc3zgbs8c0zqq2"; + name = "khtml-5.5.0.tar.xz"; + store = "/nix/store/yvnwkm5pn8b93rv422082gj1iaqx4sbs-khtml-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/portingAids/kjs-5.5.0.tar.xz"; + sha256 = "0wqvzrqd8c7mi90zf7if5cgqi7g42nmqj1ycn13kkds08varrjb6"; + name = "kjs-5.5.0.tar.xz"; + store = "/nix/store/55s4313gpm9qspabvq8kaahnyw03ybfv-kjs-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kauth-5.5.0.tar.xz"; + sha256 = "03sf3cc4hg4drf9h118yqswk65f01q3q7mmj6pz8hhmsvf7rjpq0"; + name = "kauth-5.5.0.tar.xz"; + store = "/nix/store/bh72pjz74vhfwhk6zi7zfhrpaqrmj0gj-kauth-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kitemmodels-5.5.0.tar.xz"; + sha256 = "0j7hifhxrmsdfbp68s4aahmn9jdfy6sy88d2p3z41cg4fw368g2v"; + name = "kitemmodels-5.5.0.tar.xz"; + store = "/nix/store/hx2gy0h93wqcrz0185k8blpvkgqb5rvp-kitemmodels-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kcmutils-5.5.0.tar.xz"; + sha256 = "0na4dvj6qrh7wrdpf7k2gix8grsyj7a8ckvsrzsm35vmxkj1rppx"; + name = "kcmutils-5.5.0.tar.xz"; + store = "/nix/store/v93p482j7bqlcch6wh4wpmdbzm2rrb1f-kcmutils-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kconfig-5.5.0.tar.xz"; + sha256 = "116ck6xz8j9mdz528qk2bj3yifi28jr9amdmjq10y8m67qsgfmdx"; + name = "kconfig-5.5.0.tar.xz"; + store = "/nix/store/y79vpd5m36ygn0ka1v030kzabkl1qnn8-kconfig-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kcrash-5.5.0.tar.xz"; + sha256 = "1ckxphll3vcw3qf8cy3vibn177wc1zkx64g1yfj32ahvc2q5jmw9"; + name = "kcrash-5.5.0.tar.xz"; + store = "/nix/store/hybhzm8b650i2zah4ymzsqx5k23gnd93-kcrash-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kded-5.5.0.tar.xz"; + sha256 = "102s41g2cd3addrqlvwj1a4q9j2rkla22pmjy535s1myk0s5zzbi"; + name = "kded-5.5.0.tar.xz"; + store = "/nix/store/dv5i4jlw5q7x9s2h64vgvi8lblwsiaw5-kded-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kitemviews-5.5.0.tar.xz"; + sha256 = "1fwdl2hvp7nfbii38j89irc0cyfciji20kigzr9iiccips1j4w64"; + name = "kitemviews-5.5.0.tar.xz"; + store = "/nix/store/mica7hv5rmmhvdcazm7pknq57d9ln8jx-kitemviews-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kdesignerplugin-5.5.0.tar.xz"; + sha256 = "1qdcr2gqym367g8w5k1bm6mjm4smc62p4k0aczmjhypa5f9ddkfb"; + name = "kdesignerplugin-5.5.0.tar.xz"; + store = "/nix/store/3qlwbyrnbv48swhsknlj319md1z1sdxl-kdesignerplugin-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kwallet-5.5.0.tar.xz"; + sha256 = "1z2d5qv9722k27dwnj7ivpxa880jmaghh8vhfd9f1wld7lijwpgs"; + name = "kwallet-5.5.0.tar.xz"; + store = "/nix/store/a2n6x1kfs3qdixn7fsfy0f3rgf1bzb21-kwallet-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kapidox-5.5.0.tar.xz"; + sha256 = "055fx8xvksz86gqldxcfbacq5kvb0f7qswaqcnipfcabqkny8vh4"; + name = "kapidox-5.5.0.tar.xz"; + store = "/nix/store/m6mp3qg9i6jxgb25ivwcfg0c66y06aay-kapidox-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/threadweaver-5.5.0.tar.xz"; + sha256 = "05j5m7fscppskc9jss2pm7zab3w0glfic685ccvvabllccsvhkn7"; + name = "threadweaver-5.5.0.tar.xz"; + store = "/nix/store/jwq6jvla6bypm1xhh7wv1lh7f2zmx8md-threadweaver-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kcompletion-5.5.0.tar.xz"; + sha256 = "1l2jaq5f1wjav2vfkfbrrlk4v79q5l3106ij2dyxr0q1m05jvh2v"; + name = "kcompletion-5.5.0.tar.xz"; + store = "/nix/store/pq6fv8xh0nr0q1ki1hyp4mpg58jldmps-kcompletion-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kbookmarks-5.5.0.tar.xz"; + sha256 = "022w3qddbgz4195nxs7kq0xs66qcagrp57jhpm2x23kp6l92g87s"; + name = "kbookmarks-5.5.0.tar.xz"; + store = "/nix/store/72fld6sj34xhjpg6v64dpn1g7lqpybin-kbookmarks-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kinit-5.5.0.tar.xz"; + sha256 = "1hw06jhm0bs3p878ij22k7lx9gzaqnd2260iihgg7glr45jxbspn"; + name = "kinit-5.5.0.tar.xz"; + store = "/nix/store/1p4h45a62xcvswk09qa00zs1kjl0f2mj-kinit-5.5.0.tar.xz"; + } + { + url = "${mirror}/stable/frameworks/5.5/kjobwidgets-5.5.0.tar.xz"; + sha256 = "0g849ggnwyw4w4lmdwv4mndgyc2kbdgavgf9hgwmqx0kr2anhi24"; + name = "kjobwidgets-5.5.0.tar.xz"; + store = "/nix/store/yfdc0p3mmk31plh50cpx89zfcm3jvx7y-kjobwidgets-5.5.0.tar.xz"; + } +] diff --git a/pkgs/development/libraries/kde-frameworks-5.5/manifest.sh b/pkgs/development/libraries/kde-frameworks-5.5/manifest.sh new file mode 100755 index 000000000000..c4a7cc39e52f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/ \ + -A '*.tar.xz' + +else + + $(nix-build ../../../.. -A autonix.manifest) -A '*.tar.xz' "$@" + +fi diff --git a/pkgs/development/libraries/kde-frameworks-5.5/plasma-framework/plasma-framework-external-paths.patch b/pkgs/development/libraries/kde-frameworks-5.5/plasma-framework/plasma-framework-external-paths.patch new file mode 100644 index 000000000000..9a22c0bdbcd5 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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.5/renames.nix b/pkgs/development/libraries/kde-frameworks-5.5/renames.nix new file mode 100644 index 000000000000..23262232f74c --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/renames.nix @@ -0,0 +1,66 @@ +# 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"; +"KF5NewStuff" = "knewstuff"; +"KF5Notifications" = "knotifications"; +"KF5NotifyConfig" = "knotifyconfig"; +"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.5/setup-hook.sh b/pkgs/development/libraries/kde-frameworks-5.5/setup-hook.sh new file mode 100644 index 000000000000..a8d9b7e0e36f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.5/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 bdb3baf0be10..50729116d46a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5800,6 +5800,11 @@ let automake = automake111x; }; + kf55 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.5 { + stdenv = overrideGCC stdenv gccStdInc; + }); + kf5_latest = kf55; + krb5 = callPackage ../development/libraries/kerberos/krb5.nix { openldap = openldap.override { cyrus_sasl = cyrus_sasl.override { kerberos = null; };