diff --git a/pkgs/development/libraries/kde-frameworks-5.13/attica.nix b/pkgs/development/libraries/kde-frameworks-5.13/attica.nix new file mode 100644 index 000000000000..067a9b0a8f2f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/attica.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "attica"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/baloo.nix b/pkgs/development/libraries/kde-frameworks-5.13/baloo.nix new file mode 100644 index 000000000000..8c82002348f2 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/baloo.nix @@ -0,0 +1,49 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kauth +, kconfig +, kcoreaddons +, kcrash +, kdbusaddons +, kfilemetadata +, ki18n +, kidletime +, kio +, lmdb +, qtbase +, qtquick1 +, solid +}: + +mkDerivation { + name = "baloo"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kauth + kconfig + kcrash + kdbusaddons + ki18n + kidletime + kio + lmdb + qtquick1 + solid + ]; + propagatedBuildInputs = [ + kcoreaddons + kfilemetadata + qtbase + ]; + postInstall = '' + wrapKDEProgram "$out/bin/baloo_file" + wrapKDEProgram "$out/bin/baloo_file_extractor" + wrapKDEProgram "$out/bin/balooctl" + wrapKDEProgram "$out/bin/baloosearch" + wrapKDEProgram "$out/bin/balooshow" + wrapKDEProgram "$out/bin/baloo-monitor" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/bluez-qt.nix b/pkgs/development/libraries/kde-frameworks-5.13/bluez-qt.nix new file mode 100644 index 000000000000..978b6af4126e --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/bluez-qt.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, extra-cmake-modules +, qtdeclarative +}: + +mkDerivation { + name = "bluez-qt"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtdeclarative ]; + preConfigure = '' + substituteInPlace CMakeLists.txt \ + --replace /lib/udev/rules.d "$out/lib/udev/rules.d" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/default.nix new file mode 100644 index 000000000000..e35aac08a288 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/default.nix @@ -0,0 +1,113 @@ +# Maintainer's Notes: +# +# How To Update +# 1. Edit the URL in ./manifest.sh +# 2. Run ./manifest.sh +# 3. Fix build errors. + +{ pkgs, debug ? false }: + +let + + inherit (pkgs) lib; + + mirror = "mirror://kde"; + srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; }; + + mkDerivation = args: + let + inherit (args) name; + inherit (srcs."${name}") src version; + inherit (pkgs.stdenv) mkDerivation; + in mkDerivation (args // { + name = "${name}-${version}"; + inherit src; + + cmakeFlags = + (args.cmakeFlags or []) + ++ [ "-DBUILD_TESTING=OFF" ] + ++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug"; + + meta = { + license = with lib.licenses; [ + lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12 + ]; + platforms = lib.platforms.linux; + homepage = "http://www.kde.org"; + } // (args.meta or {}); + }); + + addPackages = self: with self; { + attica = callPackage ./attica.nix {}; + baloo = callPackage ./baloo.nix {}; + bluez-qt = callPackage ./bluez-qt.nix {}; + extra-cmake-modules = callPackage ./extra-cmake-modules {}; + frameworkintegration = callPackage ./frameworkintegration.nix {}; + kactivities = callPackage ./kactivities.nix {}; + kapidox = callPackage ./kapidox.nix {}; + karchive = callPackage ./karchive.nix {}; + kauth = callPackage ./kauth {}; + kbookmarks = callPackage ./kbookmarks.nix {}; + kcmutils = callPackage ./kcmutils {}; + kcodecs = callPackage ./kcodecs.nix {}; + kcompletion = callPackage ./kcompletion.nix {}; + kconfig = callPackage ./kconfig.nix {}; + kconfigwidgets = callPackage ./kconfigwidgets {}; + kcoreaddons = callPackage ./kcoreaddons.nix {}; + kcrash = callPackage ./kcrash.nix {}; + kdbusaddons = callPackage ./kdbusaddons.nix {}; + kdeclarative = callPackage ./kdeclarative.nix {}; + kded = callPackage ./kded.nix {}; + kdelibs4support = callPackage ./kdelibs4support.nix {}; + kdesignerplugin = callPackage ./kdesignerplugin.nix {}; + kdewebkit = callPackage ./kdewebkit.nix {}; + kdesu = callPackage ./kdesu.nix {}; + kdnssd = callPackage ./kdnssd.nix {}; + kdoctools = callPackage ./kdoctools {}; + kemoticons = callPackage ./kemoticons.nix {}; + kfilemetadata = callPackage ./kfilemetadata.nix {}; + kglobalaccel = callPackage ./kglobalaccel.nix {}; + kguiaddons = callPackage ./kguiaddons.nix {}; + khtml = callPackage ./khtml.nix {}; + ki18n = callPackage ./ki18n.nix {}; + kiconthemes = callPackage ./kiconthemes.nix {}; + kidletime = callPackage ./kidletime.nix {}; + kimageformats = callPackage ./kimageformats.nix {}; + kinit = callPackage ./kinit {}; + kio = callPackage ./kio.nix {}; + kitemmodels = callPackage ./kitemmodels.nix {}; + kitemviews = callPackage ./kitemviews.nix {}; + kjobwidgets = callPackage ./kjobwidgets.nix {}; + kjs = callPackage ./kjs.nix {}; + kjsembed = callPackage ./kjsembed.nix {}; + kmediaplayer = callPackage ./kmediaplayer.nix {}; + knewstuff = callPackage ./knewstuff.nix {}; + knotifications = callPackage ./knotifications.nix {}; + knotifyconfig = callPackage ./knotifyconfig.nix {}; + kpackage = callPackage ./kpackage {}; + kparts = callPackage ./kparts.nix {}; + kpeople = callPackage ./kpeople.nix {}; + kplotting = callPackage ./kplotting.nix {}; + kpty = callPackage ./kpty.nix {}; + kross = callPackage ./kross.nix {}; + krunner = callPackage ./krunner.nix {}; + kservice = callPackage ./kservice {}; + ktexteditor = callPackage ./ktexteditor {}; + ktextwidgets = callPackage ./ktextwidgets.nix {}; + kunitconversion = callPackage ./kunitconversion.nix {}; + kwallet = callPackage ./kwallet.nix {}; + kwidgetsaddons = callPackage ./kwidgetsaddons.nix {}; + kwindowsystem = callPackage ./kwindowsystem.nix {}; + kxmlgui = callPackage ./kxmlgui.nix {}; + kxmlrpcclient = callPackage ./kxmlrpcclient.nix {}; + modemmanager-qt = callPackage ./modemmanager-qt.nix {}; + networkmanager-qt = callPackage ./networkmanager-qt.nix {}; + plasma-framework = callPackage ./plasma-framework {}; + solid = callPackage ./solid.nix {}; + sonnet = callPackage ./sonnet.nix {}; + threadweaver = callPackage ./threadweaver.nix {}; + }; + + newScope = scope: pkgs.qt55Libs.newScope ({ inherit mkDerivation; } // scope); + +in lib.makeScope newScope addPackages diff --git a/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/0001-extra-cmake-modules-paths.patch b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/0001-extra-cmake-modules-paths.patch new file mode 100644 index 000000000000..9717716faf5b --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/0001-extra-cmake-modules-paths.patch @@ -0,0 +1,74 @@ +From 3cc148e878b69fc3e0228f3e3bf1bbe689dad87c Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Fri, 20 Feb 2015 23:17:39 -0600 +Subject: [PATCH] extra-cmake-modules paths + +--- + kde-modules/KDEInstallDirs.cmake | 37 ++++--------------------------------- + 1 file changed, 4 insertions(+), 33 deletions(-) + +diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake +index b7cd34d..2f868ac 100644 +--- a/kde-modules/KDEInstallDirs.cmake ++++ b/kde-modules/KDEInstallDirs.cmake +@@ -193,37 +193,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() + + set(_gnu_install_dirs_vars + BINDIR +@@ -445,15 +416,15 @@ 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) + +- _define_relative(QTQUICKIMPORTSDIR QTPLUGINDIR "imports" ++ _define_relative(QTQUICKIMPORTSDIR QTPLUGINDIR "qt5/imports" + "QtQuick1 imports" + IMPORTS_INSTALL_DIR) + +- _define_relative(QMLDIR LIBDIR "qml" ++ _define_relative(QMLDIR LIBDIR "qt5/qml" + "QtQuick2 imports" + QML_INSTALL_DIR) + endif() +-- +2.3.0 + diff --git a/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/default.nix new file mode 100644 index 000000000000..2bf9df33b3c1 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/default.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib, stdenv, cmake, pkgconfig, qttools }: + +mkDerivation { + name = "extra-cmake-modules"; + setupHook = ./setup-hook.sh; + patches = [ ./0001-extra-cmake-modules-paths.patch ]; + + # It is OK to propagate these inputs as long as + # extra-cmake-modules is never a propagated input + # of some other derivation. + propagatedNativeBuildInputs = [ cmake pkgconfig qttools ]; + + meta = { + license = stdenv.lib.licenses.bsd2; + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/setup-hook.sh b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/setup-hook.sh new file mode 100644 index 000000000000..ce9aafb90e85 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/extra-cmake-modules/setup-hook.sh @@ -0,0 +1,4 @@ +wrapKDEProgram() { + KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1} + wrapQtProgram "$1" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@" +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/fetchsrcs.sh b/pkgs/development/libraries/kde-frameworks-5.13/fetchsrcs.sh new file mode 100755 index 000000000000..a329d8b85624 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/fetchsrcs.sh @@ -0,0 +1,47 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p coreutils findutils gnused nix wget + +set -x + +# The trailing slash at the end is necessary! +RELEASE_URL="http://download.kde.org/stable/frameworks/5.13/" +EXTRA_WGET_ARGS='-A *.tar.xz' + +mkdir tmp; cd tmp + +wget -nH -r -c --no-parent $RELEASE_URL $EXTRA_WGET_ARGS + +cat >../srcs.nix <>../srcs.nix <>../srcs.nix + +cd .. diff --git a/pkgs/development/libraries/kde-frameworks-5.13/frameworkintegration.nix b/pkgs/development/libraries/kde-frameworks-5.13/frameworkintegration.nix new file mode 100644 index 000000000000..11e0d6e6f3b5 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/frameworkintegration.nix @@ -0,0 +1,34 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kbookmarks +, kcompletion +, kconfig +, kconfigwidgets +, ki18n +, kiconthemes +, kio +, knotifications +, kwidgetsaddons +, libXcursor +, qtx11extras +}: + +mkDerivation { + name = "frameworkintegration"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kbookmarks + kcompletion + kconfig + ki18n + kio + knotifications + kwidgetsaddons + libXcursor + qtx11extras + ]; + propagatedBuildInputs = [ kconfigwidgets kiconthemes ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kactivities.nix b/pkgs/development/libraries/kde-frameworks-5.13/kactivities.nix new file mode 100644 index 000000000000..81bc0949cbf6 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kactivities.nix @@ -0,0 +1,42 @@ +{ mkDerivation, lib +, extra-cmake-modules +, boost +, kcmutils +, kconfig +, kcoreaddons +, kdbusaddons +, kdeclarative +, kglobalaccel +, ki18n +, kio +, kservice +, kwindowsystem +, kxmlgui +, qtdeclarative +}: + +mkDerivation { + name = "kactivities"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + boost + kcmutils + kconfig + kcoreaddons + kdbusaddons + kdeclarative + kglobalaccel + ki18n + kio + kservice + kwindowsystem + kxmlgui + qtdeclarative + ]; + postInstall = '' + wrapKDEProgram "$out/bin/kactivitymanagerd" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kapidox.nix b/pkgs/development/libraries/kde-frameworks-5.13/kapidox.nix new file mode 100644 index 000000000000..a1fe75bafb99 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kapidox.nix @@ -0,0 +1,12 @@ +{ mkDerivation, lib +, extra-cmake-modules +, python +}: + +mkDerivation { + name = "kapidox"; + nativeBuildInputs = [ extra-cmake-modules python ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/karchive.nix b/pkgs/development/libraries/kde-frameworks-5.13/karchive.nix new file mode 100644 index 000000000000..7b09c1715437 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/karchive.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "karchive"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kauth/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kauth/default.nix new file mode 100644 index 000000000000..29b539de96e6 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kauth/default.nix @@ -0,0 +1,16 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, polkitQt +}: + +mkDerivation { + name = "kauth"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ polkitQt ]; + propagatedBuildInputs = [ kcoreaddons ]; + patches = [ ./kauth-policy-install.patch ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kauth/kauth-policy-install.patch b/pkgs/development/libraries/kde-frameworks-5.13/kauth/kauth-policy-install.patch new file mode 100644 index 000000000000..340155256f28 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kbookmarks.nix b/pkgs/development/libraries/kde-frameworks-5.13/kbookmarks.nix new file mode 100644 index 000000000000..ad9e30928bcc --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kbookmarks.nix @@ -0,0 +1,25 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcodecs +, kconfig +, kconfigwidgets +, kcoreaddons +, kiconthemes +, kxmlgui +}: + +mkDerivation { + name = "kbookmarks"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kcodecs + kconfig + kconfigwidgets + kcoreaddons + kiconthemes + kxmlgui + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kcmutils/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kcmutils/default.nix new file mode 100644 index 000000000000..93170e440f87 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kcmutils/default.nix @@ -0,0 +1,31 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfigwidgets +, kcoreaddons +, kdeclarative +, ki18n +, kiconthemes +, kitemviews +, kpackage +, kservice +, kxmlgui +}: + +mkDerivation { + name = "kcmutils"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kcoreaddons + kdeclarative + ki18n + kiconthemes + kitemviews + kpackage + kxmlgui + ]; + propagatedBuildInputs = [ kconfigwidgets kservice ]; + patches = [ ./kcmutils-pluginselector-follow-symlinks.patch ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kcmutils/kcmutils-pluginselector-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.13/kcmutils/kcmutils-pluginselector-follow-symlinks.patch new file mode 100644 index 000000000000..47b8dfad1800 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kcodecs.nix b/pkgs/development/libraries/kde-frameworks-5.13/kcodecs.nix new file mode 100644 index 000000000000..2e6106ef3f13 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kcodecs.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kcodecs"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kcompletion.nix b/pkgs/development/libraries/kde-frameworks-5.13/kcompletion.nix new file mode 100644 index 000000000000..94624933f43b --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kcompletion.nix @@ -0,0 +1,14 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kwidgetsaddons +}: + +mkDerivation { + name = "kcompletion"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kconfig kwidgetsaddons ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kconfig.nix b/pkgs/development/libraries/kde-frameworks-5.13/kconfig.nix new file mode 100644 index 000000000000..fc8ae7244702 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kconfig.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kconfig"; + nativeBuildInputs = [ extra-cmake-modules ]; + postInstall = '' + wrapKDEProgram "$out/bin/kreadconfig5" + wrapKDEProgram "$out/bin/kwriteconfig5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kconfigwidgets/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kconfigwidgets/default.nix new file mode 100644 index 000000000000..14e838fc6fd8 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kconfigwidgets/default.nix @@ -0,0 +1,24 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kauth +, kcodecs +, kconfig +, kdoctools +, kguiaddons +, ki18n +, kwidgetsaddons +}: + +mkDerivation { + name = "kconfigwidgets"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ kguiaddons ki18n ]; + propagatedBuildInputs = [ kauth kconfig kcodecs kwidgetsaddons ]; + patches = [ ./kconfigwidgets-helpclient-follow-symlinks.patch ]; + postInstall = '' + wrapKDEProgram "$out/bin/preparetips5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.13/kconfigwidgets/kconfigwidgets-helpclient-follow-symlinks.patch new file mode 100644 index 000000000000..3bd946cbd842 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kcoreaddons.nix b/pkgs/development/libraries/kde-frameworks-5.13/kcoreaddons.nix new file mode 100644 index 000000000000..eef70e9f628e --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kcoreaddons.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, shared_mime_info +}: + +mkDerivation { + name = "kcoreaddons"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ shared_mime_info ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kcrash.nix b/pkgs/development/libraries/kde-frameworks-5.13/kcrash.nix new file mode 100644 index 000000000000..f51b6ba80cfa --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kcrash.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, kwindowsystem +, qtx11extras +}: + +mkDerivation { + name = "kcrash"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kcoreaddons kwindowsystem qtx11extras ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdbusaddons.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdbusaddons.nix new file mode 100644 index 000000000000..3950a4225837 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdbusaddons.nix @@ -0,0 +1,16 @@ +{ mkDerivation, lib +, extra-cmake-modules +, qtx11extras +}: + +mkDerivation { + name = "kdbusaddons"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtx11extras ]; + postInstall = '' + wrapKDEProgram "$out/bin/kquitapp5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdeclarative.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdeclarative.nix new file mode 100644 index 000000000000..8ef33e283bfe --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdeclarative.nix @@ -0,0 +1,30 @@ +{ mkDerivation, lib +, extra-cmake-modules +, epoxy +, kconfig +, kglobalaccel +, kguiaddons +, ki18n +, kiconthemes +, kio +, kpackage +, kwidgetsaddons +, kwindowsystem +, pkgconfig +, qtdeclarative +}: + +mkDerivation { + name = "kdeclarative"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + epoxy kglobalaccel kguiaddons ki18n kiconthemes kio kwidgetsaddons kwindowsystem + ]; + propagatedBuildInputs = [ kconfig kpackage qtdeclarative ]; + postInstall = '' + wrapKDEProgram "$out/bin/kpackagelauncherqml" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kded.nix b/pkgs/development/libraries/kde-frameworks-5.13/kded.nix new file mode 100644 index 000000000000..b0eb1e3da9fd --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kded.nix @@ -0,0 +1,19 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, kcrash +, kdbusaddons +, kdoctools +, kinit +, kservice +}: + +mkDerivation { + name = "kded"; + buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons kinit kservice ]; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdelibs4support.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdelibs4support.nix new file mode 100644 index 000000000000..b4f180f8c42c --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdelibs4support.nix @@ -0,0 +1,58 @@ +{ mkDerivation, lib +, extra-cmake-modules +, docbook_xml_dtd_45 +, kauth +, karchive +, kcompletion +, kconfig +, kconfigwidgets +, kcoreaddons +, kcrash +, kdbusaddons +, kdesignerplugin +, kdoctools +, kemoticons +, kglobalaccel +, kguiaddons +, ki18n +, kiconthemes +, kio +, kitemmodels +, kinit +, knotifications +, kparts +, kservice +, ktextwidgets +, kunitconversion +, kwidgetsaddons +, kwindowsystem +, kxmlgui +, networkmanager +, qtsvg +, qtx11extras +, xlibs +}: + +# TODO: debug docbook detection + +mkDerivation { + name = "kdelibs4support"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + kcompletion kconfig kglobalaccel ki18n kio kservice kwidgetsaddons + kxmlgui networkmanager qtsvg qtx11extras xlibs.libSM + ]; + propagatedBuildInputs = [ + kauth karchive kconfigwidgets kcoreaddons kcrash kdbusaddons + kdesignerplugin kemoticons kguiaddons kiconthemes kitemmodels + kinit knotifications kparts ktextwidgets kunitconversion + kwindowsystem + ]; + cmakeFlags = [ + "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" + "-DDocBookXML4_DTD_VERSION=4.5" + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdesignerplugin.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdesignerplugin.nix new file mode 100644 index 000000000000..da5c732f33c7 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdesignerplugin.nix @@ -0,0 +1,30 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcompletion +, kconfig +, kconfigwidgets +, kcoreaddons +, kdewebkit +, kdoctools +, kiconthemes +, kio +, kitemviews +, kplotting +, ktextwidgets +, kwidgetsaddons +, kxmlgui +, sonnet +}: + +mkDerivation { + name = "kdesignerplugin"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + kcompletion kconfig kconfigwidgets kcoreaddons kdewebkit + kiconthemes kio kitemviews kplotting ktextwidgets kwidgetsaddons + kxmlgui sonnet + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdesu.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdesu.nix new file mode 100644 index 000000000000..cf67a0d7d082 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdesu.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, ki18n +, kpty +, kservice +}: + +mkDerivation { + name = "kdesu"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kcoreaddons ki18n kservice ]; + propagatedBuildInputs = [ kpty ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdewebkit.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdewebkit.nix new file mode 100644 index 000000000000..841e982d0e2d --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdewebkit.nix @@ -0,0 +1,22 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, ki18n +, kio +, kjobwidgets +, kparts +, kservice +, kwallet +, qtwebkit +}: + +mkDerivation { + name = "kdewebkit"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kconfig kcoreaddons ki18n kio kjobwidgets kparts kservice kwallet ]; + propagatedBuildInputs = [ qtwebkit ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdnssd.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdnssd.nix new file mode 100644 index 000000000000..960e0db4792f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdnssd.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, avahi +}: + +mkDerivation { + name = "kdnssd"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ avahi ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdoctools/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kdoctools/default.nix new file mode 100644 index 000000000000..74f281138739 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kdoctools/default.nix @@ -0,0 +1,24 @@ +{ mkDerivation, lib +, extra-cmake-modules +, docbook_xml_dtd_45 +, docbook5_xsl +, karchive +, ki18n +, perl +, perlPackages +}: + +mkDerivation { + name = "kdoctools"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ karchive ki18n ]; + propagatedNativeBuildInputs = [ perl perlPackages.URI ]; + cmakeFlags = [ + "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" + "-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook" + ]; + patches = [ ./kdoctools-no-find-docbook-xml.patch ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kdoctools/kdoctools-no-find-docbook-xml.patch b/pkgs/development/libraries/kde-frameworks-5.13/kdoctools/kdoctools-no-find-docbook-xml.patch new file mode 100644 index 000000000000..4e3a33efab32 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kemoticons.nix b/pkgs/development/libraries/kde-frameworks-5.13/kemoticons.nix new file mode 100644 index 000000000000..aa7962bfe528 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kemoticons.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, extra-cmake-modules +, karchive +, kconfig +, kcoreaddons +, kservice +}: + +mkDerivation { + name = "kemoticons"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ karchive kconfig kcoreaddons ]; + propagatedBuildInputs = [ kservice ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kfilemetadata.nix b/pkgs/development/libraries/kde-frameworks-5.13/kfilemetadata.nix new file mode 100644 index 000000000000..673c76e581cf --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kfilemetadata.nix @@ -0,0 +1,22 @@ +{ mkDerivation, lib +, extra-cmake-modules +, attr +, ebook_tools +, exiv2 +, ffmpeg +, karchive +, ki18n +, popplerQt +, qtbase +, taglib +}: + +mkDerivation { + name = "kfilemetadata"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ attr ebook_tools exiv2 ffmpeg karchive ki18n popplerQt taglib ]; + propagatedBuildInputs = [ qtbase ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kglobalaccel.nix b/pkgs/development/libraries/kde-frameworks-5.13/kglobalaccel.nix new file mode 100644 index 000000000000..11bcfc9576d0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kglobalaccel.nix @@ -0,0 +1,21 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, kcrash +, kdbusaddons +, kwindowsystem +, qtx11extras +}: + +mkDerivation { + name = "kglobalaccel"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons kwindowsystem qtx11extras ]; + postInstall = '' + wrapKDEProgram "$out/bin/kglobalaccel5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kguiaddons.nix b/pkgs/development/libraries/kde-frameworks-5.13/kguiaddons.nix new file mode 100644 index 000000000000..ccb46f4accaa --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kguiaddons.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, qtx11extras +}: + +mkDerivation { + name = "kguiaddons"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtx11extras ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/khtml.nix b/pkgs/development/libraries/kde-frameworks-5.13/khtml.nix new file mode 100644 index 000000000000..f0b2d8ca3cd9 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/khtml.nix @@ -0,0 +1,35 @@ +{ mkDerivation, lib +, extra-cmake-modules +, giflib +, karchive +, kcodecs +, kglobalaccel +, ki18n +, kiconthemes +, kio +, kjs +, knotifications +, kparts +, ktextwidgets +, kwallet +, kwidgetsaddons +, kwindowsystem +, kxmlgui +, perl +, phonon +, qtx11extras +, sonnet +}: + +mkDerivation { + name = "khtml"; + nativeBuildInputs = [ extra-cmake-modules perl ]; + buildInputs = [ + giflib karchive kglobalaccel kiconthemes knotifications kwallet + kwidgetsaddons kwindowsystem kxmlgui phonon qtx11extras sonnet + ]; + propagatedBuildInputs = [ kcodecs ki18n kio kjs kparts ktextwidgets ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/ki18n.nix b/pkgs/development/libraries/kde-frameworks-5.13/ki18n.nix new file mode 100644 index 000000000000..e77bf687b746 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/ki18n.nix @@ -0,0 +1,16 @@ +{ mkDerivation, lib +, extra-cmake-modules +, gettext +, python +, qtscript +}: + +mkDerivation { + name = "ki18n"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtscript ]; + propagatedNativeBuildInputs = [ gettext python ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kiconthemes.nix b/pkgs/development/libraries/kde-frameworks-5.13/kiconthemes.nix new file mode 100644 index 000000000000..f093b3f9decc --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kiconthemes.nix @@ -0,0 +1,16 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfigwidgets +, ki18n +, kitemviews +, qtsvg +}: + +mkDerivation { + name = "kiconthemes"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kconfigwidgets ki18n kitemviews qtsvg ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kidletime.nix b/pkgs/development/libraries/kde-frameworks-5.13/kidletime.nix new file mode 100644 index 000000000000..4e5073f2b730 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kidletime.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, qtbase +, qtx11extras +}: + +mkDerivation { + name = "kidletime"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtx11extras ]; + propagatedBuildInputs = [ qtbase ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kimageformats.nix b/pkgs/development/libraries/kde-frameworks-5.13/kimageformats.nix new file mode 100644 index 000000000000..019e7ab42be7 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kimageformats.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, ilmbase +}: + +mkDerivation { + name = "kimageformats"; + nativeBuildInputs = [ extra-cmake-modules ]; + NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kinit/0001-kinit-libpath.patch b/pkgs/development/libraries/kde-frameworks-5.13/kinit/0001-kinit-libpath.patch new file mode 100644 index 000000000000..9c76079a382a --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kinit/0001-kinit-libpath.patch @@ -0,0 +1,42 @@ +From 723c9b1268a04127647a1c20eebe9804150566dd Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Sat, 13 Jun 2015 08:57:55 -0500 +Subject: [PATCH] kinit libpath + +--- + src/kdeinit/kinit.cpp | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp +index 9e775b6..0ac5646 100644 +--- a/src/kdeinit/kinit.cpp ++++ b/src/kdeinit/kinit.cpp +@@ -660,15 +660,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/qt5/plugins/, so kdeinit5 ++ // shared libraries should be in /lib/qt5/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()) { +-- +2.4.2 + diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kinit/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kinit/default.nix new file mode 100644 index 000000000000..fd518bc9360a --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kinit/default.nix @@ -0,0 +1,24 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcrash +, kdoctools +, ki18n +, kio +, kservice +, kwindowsystem +, libcap +, libcap_progs +}: + +# TODO: setuid wrapper + +mkDerivation { + name = "kinit"; + nativeBuildInputs = [ extra-cmake-modules kdoctools libcap_progs ]; + buildInputs = [ kconfig kcrash ki18n kio kservice kwindowsystem libcap ]; + patches = [ ./0001-kinit-libpath.patch ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kio.nix b/pkgs/development/libraries/kde-frameworks-5.13/kio.nix new file mode 100644 index 000000000000..d6d2968bed0f --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kio.nix @@ -0,0 +1,48 @@ +{ mkDerivation, lib +, extra-cmake-modules +, acl +, karchive +, kbookmarks +, kcompletion +, kconfig +, kconfigwidgets +, kcoreaddons +, kdbusaddons +, kdoctools +, ki18n +, kiconthemes +, kitemviews +, kjobwidgets +, knotifications +, kservice +, ktextwidgets +, kwallet +, kwidgetsaddons +, kwindowsystem +, kxmlgui +, qtscript +, qtx11extras +, solid +}: + +mkDerivation { + name = "kio"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + acl karchive kconfig kcoreaddons kdbusaddons ki18n kiconthemes + knotifications ktextwidgets kwallet kwidgetsaddons kwindowsystem + qtscript qtx11extras + ]; + propagatedBuildInputs = [ + kbookmarks kcompletion kconfigwidgets kitemviews kjobwidgets kservice kxmlgui solid + ]; + postInstall = '' + wrapKDEProgram "$out/bin/kcookiejar5" + wrapKDEProgram "$out/bin/ktelnetservice5" + wrapKDEProgram "$out/bin/ktrash5" + wrapKDEProgram "$out/bin/kmailservice5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kitemmodels.nix b/pkgs/development/libraries/kde-frameworks-5.13/kitemmodels.nix new file mode 100644 index 000000000000..f82f9fdf14af --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kitemmodels.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kitemmodels"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kitemviews.nix b/pkgs/development/libraries/kde-frameworks-5.13/kitemviews.nix new file mode 100644 index 000000000000..45888b9e7e33 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kitemviews.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kitemviews"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kjobwidgets.nix b/pkgs/development/libraries/kde-frameworks-5.13/kjobwidgets.nix new file mode 100644 index 000000000000..32103bbc0d77 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kjobwidgets.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, kwidgetsaddons +, qtx11extras +}: + +mkDerivation { + name = "kjobwidgets"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kcoreaddons kwidgetsaddons qtx11extras ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kjs.nix b/pkgs/development/libraries/kde-frameworks-5.13/kjs.nix new file mode 100644 index 000000000000..de473062c234 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kjs.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kdoctools +}: + +mkDerivation { + name = "kjs"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + postInstall = '' + wrapKDEProgram "$out/bin/kjs5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kjsembed.nix b/pkgs/development/libraries/kde-frameworks-5.13/kjsembed.nix new file mode 100644 index 000000000000..e7e74ba6126e --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kjsembed.nix @@ -0,0 +1,21 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kdoctools +, ki18n +, kjs +, qtsvg +}: + +mkDerivation { + name = "kjsembed"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ qtsvg ]; + propagatedBuildInputs = [ ki18n kjs ]; + postInstall = '' + wrapKDEProgram "$out/bin/kjscmd5" + wrapKDEProgram "$out/bin/kjsconsole" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kmediaplayer.nix b/pkgs/development/libraries/kde-frameworks-5.13/kmediaplayer.nix new file mode 100644 index 000000000000..7ab5700a5e85 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kmediaplayer.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kparts +, kxmlgui +}: + +mkDerivation { + name = "kmediaplayer"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kxmlgui ]; + propagatedBuildInputs = [ kparts ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/knewstuff.nix b/pkgs/development/libraries/kde-frameworks-5.13/knewstuff.nix new file mode 100644 index 000000000000..5128f31270d2 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/knewstuff.nix @@ -0,0 +1,29 @@ +{ mkDerivation, lib +, extra-cmake-modules +, attica +, karchive +, kcompletion +, kconfig +, kcoreaddons +, ki18n +, kiconthemes +, kio +, kitemviews +, kservice +, ktextwidgets +, kwidgetsaddons +, kxmlgui +}: + +mkDerivation { + name = "knewstuff"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + karchive kcompletion kconfig kcoreaddons ki18n kiconthemes kio + kitemviews ktextwidgets kwidgetsaddons + ]; + propagatedBuildInputs = [ attica kservice kxmlgui ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/knotifications.nix b/pkgs/development/libraries/kde-frameworks-5.13/knotifications.nix new file mode 100644 index 000000000000..c43598311a12 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/knotifications.nix @@ -0,0 +1,21 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcodecs +, kconfig +, kcoreaddons +, kwindowsystem +, phonon +, qtx11extras +}: + +mkDerivation { + name = "knotifications"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kcodecs kconfig kcoreaddons kwindowsystem + phonon qtx11extras + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/knotifyconfig.nix b/pkgs/development/libraries/kde-frameworks-5.13/knotifyconfig.nix new file mode 100644 index 000000000000..b06539c3f015 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/knotifyconfig.nix @@ -0,0 +1,17 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcompletion +, kconfig +, ki18n +, kio +, phonon +}: + +mkDerivation { + name = "knotifyconfig"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ kcompletion kconfig ki18n kio phonon ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kpackage/0001-allow-external-paths.patch b/pkgs/development/libraries/kde-frameworks-5.13/kpackage/0001-allow-external-paths.patch new file mode 100644 index 000000000000..440e979c0086 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kpackage/0001-allow-external-paths.patch @@ -0,0 +1,25 @@ +From fbf10d2059fa1f19a0f0cfa2fda0abb6c435fa78 Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 28 Jan 2015 07:15:30 -0600 +Subject: [PATCH] allow external paths + +--- + src/kpackage/package.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kpackage/package.cpp b/src/kpackage/package.cpp +index eb4a09b..f70f1a1 100644 +--- a/src/kpackage/package.cpp ++++ b/src/kpackage/package.cpp +@@ -758,7 +758,7 @@ PackagePrivate::PackagePrivate() + : QSharedData(), + fallbackPackage(0), + metadata(0), +- externalPaths(false), ++ externalPaths(true), + valid(false), + checkedValid(false) + { +-- +2.1.4 + diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kpackage/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kpackage/default.nix new file mode 100644 index 000000000000..9250c769efca --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kpackage/default.nix @@ -0,0 +1,22 @@ +{ mkDerivation, lib +, extra-cmake-modules +, karchive +, kconfig +, kcoreaddons +, kdoctools +, ki18n +}: + +mkDerivation { + name = "kpackage"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ karchive kconfig ki18n ]; + propagatedBuildInputs = [ kcoreaddons ]; + patches = [ ./0001-allow-external-paths.patch ]; + postInstall = '' + wrapKDEProgram "$out/bin/kpackagetool5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kparts.nix b/pkgs/development/libraries/kde-frameworks-5.13/kparts.nix new file mode 100644 index 000000000000..65ddf9b64831 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kparts.nix @@ -0,0 +1,27 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, ki18n +, kiconthemes +, kio +, kjobwidgets +, knotifications +, kservice +, ktextwidgets +, kwidgetsaddons +, kxmlgui +}: + +mkDerivation { + name = "kparts"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kconfig kcoreaddons ki18n kiconthemes kjobwidgets knotifications + kservice kwidgetsaddons + ]; + propagatedBuildInputs = [ kio ktextwidgets kxmlgui ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kpeople.nix b/pkgs/development/libraries/kde-frameworks-5.13/kpeople.nix new file mode 100644 index 000000000000..b5794bc6e891 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kpeople.nix @@ -0,0 +1,20 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, ki18n +, kitemviews +, kservice +, kwidgetsaddons +, qtdeclarative +}: + +mkDerivation { + name = "kpeople"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kcoreaddons ki18n kitemviews kservice kwidgetsaddons qtdeclarative + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kplotting.nix b/pkgs/development/libraries/kde-frameworks-5.13/kplotting.nix new file mode 100644 index 000000000000..41896853f64a --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kplotting.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kplotting"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kpty.nix b/pkgs/development/libraries/kde-frameworks-5.13/kpty.nix new file mode 100644 index 000000000000..67b04af71565 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kpty.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcoreaddons +, ki18n +}: + +mkDerivation { + name = "kpty"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ ki18n ]; + propagatedBuildInputs = [ kcoreaddons ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kross.nix b/pkgs/development/libraries/kde-frameworks-5.13/kross.nix new file mode 100644 index 000000000000..d4025f9960f4 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kross.nix @@ -0,0 +1,23 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcompletion +, kcoreaddons +, kdoctools +, ki18n +, kiconthemes +, kio +, kparts +, kwidgetsaddons +, kxmlgui +, qtscript +}: + +mkDerivation { + name = "kross"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ kcompletion kcoreaddons kxmlgui ]; + propagatedBuildInputs = [ ki18n kiconthemes kio kparts kwidgetsaddons qtscript ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/krunner.nix b/pkgs/development/libraries/kde-frameworks-5.13/krunner.nix new file mode 100644 index 000000000000..24f9c86d39eb --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/krunner.nix @@ -0,0 +1,24 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, ki18n +, kio +, kservice +, plasma-framework +, qtquick1 +, solid +, threadweaver +}: + +mkDerivation { + name = "krunner"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kconfig kcoreaddons ki18n kio kservice qtquick1 solid threadweaver + ]; + propagatedBuildInputs = [ plasma-framework ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kservice/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/kservice/default.nix new file mode 100644 index 000000000000..40b8335f9b90 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kservice/default.nix @@ -0,0 +1,25 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, kcrash +, kdbusaddons +, kdoctools +, ki18n +, kwindowsystem +}: + +mkDerivation { + name = "kservice"; + setupHook = ./setup-hook.sh; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ kcoreaddons kcrash kdbusaddons ki18n kwindowsystem ]; + propagatedBuildInputs = [ kconfig ]; + patches = [ + ./kservice-kbuildsycoca-follow-symlinks.patch + ./kservice-kbuildsycoca-no-canonicalize-path.patch + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kservice/kservice-kbuildsycoca-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks-5.13/kservice/kservice-kbuildsycoca-follow-symlinks.patch new file mode 100644 index 000000000000..e9bc418544ab --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch b/pkgs/development/libraries/kde-frameworks-5.13/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch new file mode 100644 index 000000000000..7e21ebfe86f2 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/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.13/kservice/setup-hook.sh b/pkgs/development/libraries/kde-frameworks-5.13/kservice/setup-hook.sh new file mode 100644 index 000000000000..007876a0b309 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kservice/setup-hook.sh @@ -0,0 +1,13 @@ +export KDESYCOCA="$out/var/cache/kservices5/$name.sycoca" + +KSERVICE_BUILD_KDESYCOCA= + +buildKdeSycoca() { + if [[ -n "$KSERVICE_BUILD_KDESYCOCA" ]]; then + echo "building kdesycoca database in $KDESYCOCA" + mkdir -p "$(dirname $KDESYCOCA)" + kbuildsycoca5 --nosignal + fi +} + +preFixupPhases+=" buildKdeSycoca" diff --git a/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/0001-no-qcoreapplication.patch b/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/0001-no-qcoreapplication.patch new file mode 100644 index 000000000000..c2e77a537c5a --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/0001-no-qcoreapplication.patch @@ -0,0 +1,48 @@ +From 71e28c7c6fdd1142f04c662f45cc8f779e457cda Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Sun, 15 Feb 2015 19:09:17 -0600 +Subject: [PATCH] no qcoreapplication + +--- + src/syntax/data/katehighlightingindexer.cpp | 11 ++++------- + 1 file changed, 4 insertions(+), 7 deletions(-) + +diff --git a/src/syntax/data/katehighlightingindexer.cpp b/src/syntax/data/katehighlightingindexer.cpp +index 3f02e8c..d1a865b 100644 +--- a/src/syntax/data/katehighlightingindexer.cpp ++++ b/src/syntax/data/katehighlightingindexer.cpp +@@ -49,19 +49,16 @@ QStringList readListing(const QString &fileName) + + int main(int argc, char *argv[]) + { +- // get app instance +- QCoreApplication app(argc, argv); +- + // ensure enough arguments are passed +- if (app.arguments().size() < 3) ++ if (argc < 3) + return 1; + + // open schema + QXmlSchema schema; +- if (!schema.load(QUrl::fromLocalFile(app.arguments().at(2)))) ++ if (!schema.load(QUrl::fromLocalFile(QString::fromLocal8Bit(argv[2])))) + return 2; + +- const QString hlFilenamesListing = app.arguments().value(3); ++ const QString hlFilenamesListing = QString::fromLocal8Bit(argv[3]); + if (hlFilenamesListing.isEmpty()) { + return 1; + } +@@ -127,7 +124,7 @@ int main(int argc, char *argv[]) + return anyError; + + // create outfile, after all has worked! +- QFile outFile(app.arguments().at(1)); ++ QFile outFile(QString::fromLocal8Bit(argv[1])); + if (!outFile.open(QIODevice::WriteOnly | QIODevice::Truncate)) + return 7; + +-- +2.1.4 + diff --git a/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/default.nix new file mode 100644 index 000000000000..f6df912b9027 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/ktexteditor/default.nix @@ -0,0 +1,27 @@ +{ mkDerivation, lib +, extra-cmake-modules +, karchive +, kconfig +, kguiaddons +, ki18n +, kio +, kiconthemes +, kparts +, perl +, qtscript +, qtxmlpatterns +, sonnet +}: + +mkDerivation { + name = "ktexteditor"; + nativeBuildInputs = [ extra-cmake-modules perl ]; + buildInputs = [ + karchive kconfig kguiaddons ki18n kiconthemes kio kparts + qtscript qtxmlpatterns sonnet + ]; + patches = [ ./0001-no-qcoreapplication.patch ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/ktextwidgets.nix b/pkgs/development/libraries/kde-frameworks-5.13/ktextwidgets.nix new file mode 100644 index 000000000000..006e5c114bd9 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/ktextwidgets.nix @@ -0,0 +1,23 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kcompletion +, kconfig +, kconfigwidgets +, ki18n +, kiconthemes +, kservice +, kwindowsystem +, sonnet +}: + +mkDerivation { + name = "ktextwidgets"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + kcompletion kconfig kconfigwidgets kiconthemes kservice kwindowsystem + ]; + propagatedBuildInputs = [ ki18n sonnet ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kunitconversion.nix b/pkgs/development/libraries/kde-frameworks-5.13/kunitconversion.nix new file mode 100644 index 000000000000..169b931ad2b0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kunitconversion.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, ki18n +}: + +mkDerivation { + name = "kunitconversion"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ ki18n ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kwallet.nix b/pkgs/development/libraries/kde-frameworks-5.13/kwallet.nix new file mode 100644 index 000000000000..6b8ddbc70e89 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kwallet.nix @@ -0,0 +1,30 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kconfig +, kcoreaddons +, kdbusaddons +, kdoctools +, ki18n +, kiconthemes +, knotifications +, kservice +, kwidgetsaddons +, kwindowsystem +, libgcrypt +}: + +mkDerivation { + name = "kwallet"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + kconfig kcoreaddons kdbusaddons ki18n kiconthemes knotifications + kservice kwidgetsaddons kwindowsystem libgcrypt + ]; + postInstall = '' + wrapKDEProgram "$out/bin/kwalletd5" + wrapKDEProgram "$out/bin/kwallet-query" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kwidgetsaddons.nix b/pkgs/development/libraries/kde-frameworks-5.13/kwidgetsaddons.nix new file mode 100644 index 000000000000..ce68adb521d0 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kwidgetsaddons.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "kwidgetsaddons"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kwindowsystem.nix b/pkgs/development/libraries/kde-frameworks-5.13/kwindowsystem.nix new file mode 100644 index 000000000000..37d536b83635 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kwindowsystem.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, qtx11extras +}: + +mkDerivation { + name = "kwindowsystem"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ qtx11extras ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kxmlgui.nix b/pkgs/development/libraries/kde-frameworks-5.13/kxmlgui.nix new file mode 100644 index 000000000000..c90900be82d7 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kxmlgui.nix @@ -0,0 +1,25 @@ +{ mkDerivation, lib +, extra-cmake-modules +, attica +, kconfig +, kconfigwidgets +, kglobalaccel +, ki18n +, kiconthemes +, kitemviews +, ktextwidgets +, kwindowsystem +, sonnet +}: + +mkDerivation { + name = "kxmlgui"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ + attica kconfig kconfigwidgets kglobalaccel ki18n kiconthemes + kitemviews ktextwidgets kwindowsystem sonnet + ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/kxmlrpcclient.nix b/pkgs/development/libraries/kde-frameworks-5.13/kxmlrpcclient.nix new file mode 100644 index 000000000000..fae7cf7b89d6 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/kxmlrpcclient.nix @@ -0,0 +1,15 @@ +{ mkDerivation, lib +, extra-cmake-modules +, ki18n +, kio +}: + +mkDerivation { + name = "kxmlrpcclient"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ ki18n ]; + propagatedBuildInputs = [ kio ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/modemmanager-qt.nix b/pkgs/development/libraries/kde-frameworks-5.13/modemmanager-qt.nix new file mode 100644 index 000000000000..44f15d17ef96 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/modemmanager-qt.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, modemmanager +}: + +mkDerivation { + name = "modemmanager-qt"; + nativeBuildInputs = [ extra-cmake-modules ]; + propagatedBuildInputs = [ modemmanager ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/networkmanager-qt.nix b/pkgs/development/libraries/kde-frameworks-5.13/networkmanager-qt.nix new file mode 100644 index 000000000000..4e8d77f102dd --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/networkmanager-qt.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, networkmanager +}: + +mkDerivation { + name = "networkmanager-qt"; + nativeBuildInputs = [ extra-cmake-modules ]; + propagatedBuildInputs = [ networkmanager ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/plasma-framework/default.nix b/pkgs/development/libraries/kde-frameworks-5.13/plasma-framework/default.nix new file mode 100644 index 000000000000..b6d76e4f31a9 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/plasma-framework/default.nix @@ -0,0 +1,40 @@ +{ mkDerivation, lib +, extra-cmake-modules +, kactivities +, karchive +, kconfig +, kconfigwidgets +, kcoreaddons +, kdbusaddons +, kdeclarative +, kdoctools +, kglobalaccel +, kguiaddons +, ki18n +, kiconthemes +, kio +, knotifications +, kpackage +, kservice +, kwindowsystem +, kxmlgui +, qtscript +, qtx11extras +}: + +mkDerivation { + name = "plasma-framework"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + kactivities karchive kconfig kconfigwidgets kcoreaddons + kdbusaddons kdeclarative kglobalaccel kguiaddons ki18n kiconthemes + kio knotifications kwindowsystem kxmlgui qtscript qtx11extras + ]; + propagatedBuildInputs = [ kpackage kservice ]; + postInstall = '' + wrapKDEProgram "$out/bin/plasmapkg2" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/solid.nix b/pkgs/development/libraries/kde-frameworks-5.13/solid.nix new file mode 100644 index 000000000000..e5ea33fcf388 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/solid.nix @@ -0,0 +1,14 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "solid"; + nativeBuildInputs = [ extra-cmake-modules ]; + postInstall = '' + wrapKDEProgram "$out/bin/solid-hardware5" + ''; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/sonnet.nix b/pkgs/development/libraries/kde-frameworks-5.13/sonnet.nix new file mode 100644 index 000000000000..f5f8ea20a6a1 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/sonnet.nix @@ -0,0 +1,13 @@ +{ mkDerivation, lib +, extra-cmake-modules +, hunspell +}: + +mkDerivation { + name = "sonnet"; + nativeBuildInputs = [ extra-cmake-modules ]; + buildInputs = [ hunspell ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/srcs.nix b/pkgs/development/libraries/kde-frameworks-5.13/srcs.nix new file mode 100644 index 000000000000..9cfb9c2006a7 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/srcs.nix @@ -0,0 +1,549 @@ +# DO NOT EDIT! This file is generated automatically by manifest.sh +{ fetchurl, mirror }: + +{ + kiconthemes = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kiconthemes-5.13.0.tar.xz"; + sha256 = "1zsqmq1vzpiflnhr4ydwyg84cfima2hh0m61pgsxki98a8cfjz78"; + name = "kiconthemes-5.13.0.tar.xz"; + }; + }; + kitemmodels = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kitemmodels-5.13.0.tar.xz"; + sha256 = "1bcnssm0sp4xs2wm9x65705671y97bhgjlbqvngdw95qr8mjalda"; + name = "kitemmodels-5.13.0.tar.xz"; + }; + }; + kactivities = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kactivities-5.13.0.tar.xz"; + sha256 = "0k1f3iliwws30f9d3gfrx3cxqcmr3v9w0p4nxnk35qa7bflkw2jp"; + name = "kactivities-5.13.0.tar.xz"; + }; + }; + threadweaver = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/threadweaver-5.13.0.tar.xz"; + sha256 = "06hvraianc559plk50rfg4a7rwykq7s9ak343xylm37mg3sx3myn"; + name = "threadweaver-5.13.0.tar.xz"; + }; + }; + bluez-qt = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/bluez-qt-5.13.0.tar.xz"; + sha256 = "0ccylfkph8kxni2kfbdk7zzvywsn447kkvfx5xm63l19acff74c8"; + name = "bluez-qt-5.13.0.tar.xz"; + }; + }; + plasma-framework = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/plasma-framework-5.13.0.tar.xz"; + sha256 = "0fk3a7xzhi761kl2xwxhxv2kp4cblqzn7ylk6q60x2cr3vd3jxgb"; + name = "plasma-framework-5.13.0.tar.xz"; + }; + }; + kguiaddons = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kguiaddons-5.13.0.tar.xz"; + sha256 = "0p33i1hwzcbczxdw8mnkknb35v7n8m6x9jr9gysvzhg76l2z6ca7"; + name = "kguiaddons-5.13.0.tar.xz"; + }; + }; + ktexteditor = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/ktexteditor-5.13.0.tar.xz"; + sha256 = "1paiqpi73pvhqjcgk9l7agqk4s9pw9fghh1ipfw6clklrkpwjy2f"; + name = "ktexteditor-5.13.0.tar.xz"; + }; + }; + kinit = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kinit-5.13.0.tar.xz"; + sha256 = "06jcznxw346g6cr08ykgl2bc8wfann5s4rs0py6ah1al5py87jbq"; + name = "kinit-5.13.0.tar.xz"; + }; + }; + kxmlgui = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kxmlgui-5.13.0.tar.xz"; + sha256 = "06i873lsy0k67jdipzakc5gxmya82s8mkprkzb7pvac2ird2y66q"; + name = "kxmlgui-5.13.0.tar.xz"; + }; + }; + kdbusaddons = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdbusaddons-5.13.0.tar.xz"; + sha256 = "1w118l5qc0kn5fmv5dqaxidxjsgzzq4ak9pk6vgafrdf7f79dy82"; + name = "kdbusaddons-5.13.0.tar.xz"; + }; + }; + kunitconversion = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kunitconversion-5.13.0.tar.xz"; + sha256 = "1cff7ighx6r64vv5wc88gnnq4k0c6c18k92nlj56b61g94sjx5xp"; + name = "kunitconversion-5.13.0.tar.xz"; + }; + }; + kemoticons = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kemoticons-5.13.0.tar.xz"; + sha256 = "0cxi6gldp9qpi47g0chg6bhr17w43bv36pf2gg2dsy5mymnw1iaj"; + name = "kemoticons-5.13.0.tar.xz"; + }; + }; + kcompletion = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kcompletion-5.13.0.tar.xz"; + sha256 = "0j47bwi7sw2khyi3qp0b77npgf40wfax1j9zic68xg1yjf4y52b4"; + name = "kcompletion-5.13.0.tar.xz"; + }; + }; + kpackage = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kpackage-5.13.0.tar.xz"; + sha256 = "0ybdzx33gcpb4j18vnv99hbycrlwxzhwblz07m1a0q1k2x004hla"; + name = "kpackage-5.13.0.tar.xz"; + }; + }; + kpty = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kpty-5.13.0.tar.xz"; + sha256 = "0c37zv1lrdma4659chmh27naxflhjz614h385im0m717hx67v5v0"; + name = "kpty-5.13.0.tar.xz"; + }; + }; + kservice = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kservice-5.13.0.tar.xz"; + sha256 = "1a7pz9m948xfiqphm29k7wnc24qv5xm8zb7f61mfbmzic18p4076"; + name = "kservice-5.13.0.tar.xz"; + }; + }; + kwidgetsaddons = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kwidgetsaddons-5.13.0.tar.xz"; + sha256 = "19s31brrqhb1vncc4rkik42l4si28ky3d5ysvnyx7mw2jip4929i"; + name = "kwidgetsaddons-5.13.0.tar.xz"; + }; + }; + kimageformats = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kimageformats-5.13.0.tar.xz"; + sha256 = "0lqraljikwkp88wnb1zxmylk7gn7rsp9301jn2qff3i0aa8m56ly"; + name = "kimageformats-5.13.0.tar.xz"; + }; + }; + kwindowsystem = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kwindowsystem-5.13.0.tar.xz"; + sha256 = "18ihvj1s4apsb647gbp8ghl083f3idpld693vwi138fsk89nhn67"; + name = "kwindowsystem-5.13.0.tar.xz"; + }; + }; + kxmlrpcclient = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kxmlrpcclient-5.13.0.tar.xz"; + sha256 = "18gdfb2yqzyid6zhx98xwd3vk2bnvxgpsk0dmy0098b9jl5gi39h"; + name = "kxmlrpcclient-5.13.0.tar.xz"; + }; + }; + kconfig = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kconfig-5.13.0.tar.xz"; + sha256 = "0qhymvqccl568ib975fx2jpm91ydsixx8lmf2803m89nad3bi77p"; + name = "kconfig-5.13.0.tar.xz"; + }; + }; + kdeclarative = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdeclarative-5.13.0.tar.xz"; + sha256 = "1c65ls02pqg1apmxvw3xhi8d7i4pwvx777jp755zbz6f0k2q5h14"; + name = "kdeclarative-5.13.0.tar.xz"; + }; + }; + kapidox = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kapidox-5.13.0.tar.xz"; + sha256 = "0gg72qli7yix0v6riywbw0iw3y28jzk84p161lh7izql8kb463zj"; + name = "kapidox-5.13.0.tar.xz"; + }; + }; + knotifyconfig = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/knotifyconfig-5.13.0.tar.xz"; + sha256 = "19my0x60vhhngdzb5nr0cdi5yby4113pzqzg39wslbb1n5mcfqky"; + name = "knotifyconfig-5.13.0.tar.xz"; + }; + }; + kcodecs = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kcodecs-5.13.0.tar.xz"; + sha256 = "0b1jaxkkqmi7r013vpyhhqaqbg6hwc4nb0bm23nr1az9qasdvxzm"; + name = "kcodecs-5.13.0.tar.xz"; + }; + }; + kdnssd = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdnssd-5.13.0.tar.xz"; + sha256 = "1jaa8lwqq4y1rl381j85qzxxyqw2if95rs8q5lsm14xq9jgwrf6r"; + name = "kdnssd-5.13.0.tar.xz"; + }; + }; + ktextwidgets = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/ktextwidgets-5.13.0.tar.xz"; + sha256 = "1p38j96z19fy1pdc249myl5mm0nbs7nrrhkmgfjig24lamivy98h"; + name = "ktextwidgets-5.13.0.tar.xz"; + }; + }; + kauth = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kauth-5.13.0.tar.xz"; + sha256 = "1j1kx9dypirpw41i8cx8dylwqaqm8rdbkxb0xmvyi7x8pax7rmkk"; + name = "kauth-5.13.0.tar.xz"; + }; + }; + kplotting = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kplotting-5.13.0.tar.xz"; + sha256 = "0f4vafy4b473407lm2kazllxzdiq1blvmypab7jlk0bj206vmdhq"; + name = "kplotting-5.13.0.tar.xz"; + }; + }; + ki18n = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/ki18n-5.13.0.tar.xz"; + sha256 = "1izriaip8r7cgm36mid6fxsvg661311lm6aalqaxq9xa70lkq3xm"; + name = "ki18n-5.13.0.tar.xz"; + }; + }; + knotifications = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/knotifications-5.13.0.tar.xz"; + sha256 = "04n50hkg6h3j49l1bi0igr79vgb8xfw74mbaw5s20nw55y2xyziv"; + name = "knotifications-5.13.0.tar.xz"; + }; + }; + kitemviews = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kitemviews-5.13.0.tar.xz"; + sha256 = "0iazr2fyhksa3wsfrqaknxs74h66fb6drg9vcg18dml9mv0v9jgw"; + name = "kitemviews-5.13.0.tar.xz"; + }; + }; + kcoreaddons = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kcoreaddons-5.13.0.tar.xz"; + sha256 = "0qc9lmc90bhrzaaf611vn7x5z549yvl1dk2ba726qaxb8hf5fhmx"; + name = "kcoreaddons-5.13.0.tar.xz"; + }; + }; + kwallet = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kwallet-5.13.0.tar.xz"; + sha256 = "0p7as0ma40dssd171mpi68sdih5fr03lcwvhy3zazhhpf5gjfwv8"; + name = "kwallet-5.13.0.tar.xz"; + }; + }; + modemmanager-qt = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/modemmanager-qt-5.13.0.tar.xz"; + sha256 = "17a4d7pp2qj7zvxfd8qicj332n25nj6d8xs585fkqlwsk5qvv5mh"; + name = "modemmanager-qt-5.13.0.tar.xz"; + }; + }; + kio = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kio-5.13.0.tar.xz"; + sha256 = "1m6vids0ahdvqw1wgiss11cb6z2x81acig8x38jgjna8al6dw7y3"; + name = "kio-5.13.0.tar.xz"; + }; + }; + baloo = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/baloo-5.13.0.tar.xz"; + sha256 = "159gkr4xsyj7sb6dqvjlldyl8hdm0sgzhbczb24q182dnwqrmmbq"; + name = "baloo-5.13.0.tar.xz"; + }; + }; + karchive = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/karchive-5.13.0.tar.xz"; + sha256 = "0qg90h4iiyb3frnqs01r440pan1m0mn6y0b4025ync1g50iyf1jz"; + name = "karchive-5.13.0.tar.xz"; + }; + }; + kdoctools = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdoctools-5.13.0.tar.xz"; + sha256 = "0604rmrg6b8h4pw14kwal04s21f9gkrf495csj3jsm7042z5p6rf"; + name = "kdoctools-5.13.0.tar.xz"; + }; + }; + kparts = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kparts-5.13.0.tar.xz"; + sha256 = "1mqklszbhlk8pdwig88yqa5jpjbdzkz9q618c4029aqiazzjqs39"; + name = "kparts-5.13.0.tar.xz"; + }; + }; + kdewebkit = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdewebkit-5.13.0.tar.xz"; + sha256 = "1n8x0biy5s73qihx9niivhmfdfglnai360k4llpjq9vhd8fassjx"; + name = "kdewebkit-5.13.0.tar.xz"; + }; + }; + kidletime = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kidletime-5.13.0.tar.xz"; + sha256 = "1d6p4ld8wday3sb3gdvivigw7vk33akawf531ghc8rhmi7mr2db2"; + name = "kidletime-5.13.0.tar.xz"; + }; + }; + extra-cmake-modules = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/extra-cmake-modules-5.13.0.tar.xz"; + sha256 = "1hnmsghfnl99ihgnp90pbh3ngh4l6n6d5g7ial6bfzrlfn588lms"; + name = "extra-cmake-modules-5.13.0.tar.xz"; + }; + }; + frameworkintegration = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/frameworkintegration-5.13.0.tar.xz"; + sha256 = "03pzic63vi1bmcf4vlk2kfcs6fbc9p0plzydizqmm34iiv8k48jb"; + name = "frameworkintegration-5.13.0.tar.xz"; + }; + }; + kjs = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/kjs-5.13.0.tar.xz"; + sha256 = "1ij3f303k1higj5l7l3pxl6qlp8arf3qizbar2d36f3qczyql5r8"; + name = "kjs-5.13.0.tar.xz"; + }; + }; + krunner = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/krunner-5.13.0.tar.xz"; + sha256 = "1yj97lp6ny9m45nankgkq7zdw929mw218pq7yalr21vqqxwvd84a"; + name = "krunner-5.13.0.tar.xz"; + }; + }; + khtml = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/khtml-5.13.0.tar.xz"; + sha256 = "0mykidqkhs0hd6s4i8li25gk8dzysw6imc2lfjbwvyyvx6lyd55m"; + name = "khtml-5.13.0.tar.xz"; + }; + }; + kmediaplayer = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/kmediaplayer-5.13.0.tar.xz"; + sha256 = "19kazkjsc2s1wfcslmi46ic1h7jvwdbbc6y9713jb1yymp6jzz30"; + name = "kmediaplayer-5.13.0.tar.xz"; + }; + }; + kross = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/kross-5.13.0.tar.xz"; + sha256 = "18237mj3bzwj4vdxjxqn1b865syi3z3f1zlrnfslijssgw6qs41m"; + name = "kross-5.13.0.tar.xz"; + }; + }; + kjsembed = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/kjsembed-5.13.0.tar.xz"; + sha256 = "0inlb47rkfriwnbkkhgb20kc86b38yl9xxwn8cjx80m61sj8ici8"; + name = "kjsembed-5.13.0.tar.xz"; + }; + }; + kdelibs4support = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/portingAids/kdelibs4support-5.13.0.tar.xz"; + sha256 = "1hlniaw259yz6vs42w0q7mjycq1vf8ggvsigc09ij8bj7k7ih3s3"; + name = "kdelibs4support-5.13.0.tar.xz"; + }; + }; + kcrash = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kcrash-5.13.0.tar.xz"; + sha256 = "07cb6jmf1w74ndcfj4mcpc60xkpnl69jzdd5ljxsi2k1awvjs58n"; + name = "kcrash-5.13.0.tar.xz"; + }; + }; + kcmutils = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kcmutils-5.13.0.tar.xz"; + sha256 = "13jc3053jf3lg2zrrqi4mcsnma6xd6p56ilaw86bgvdsq1fkr84b"; + name = "kcmutils-5.13.0.tar.xz"; + }; + }; + knewstuff = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/knewstuff-5.13.0.tar.xz"; + sha256 = "12pyxdb9rq60hcw7k8sh79mq6l5h5zdrixn778yps27ckf69icsr"; + name = "knewstuff-5.13.0.tar.xz"; + }; + }; + kded = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kded-5.13.0.tar.xz"; + sha256 = "0yfpx2dc2x7jzyxmj0k92ar2rvzabz75dwh09rr93wyzyjr1l7i9"; + name = "kded-5.13.0.tar.xz"; + }; + }; + kconfigwidgets = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kconfigwidgets-5.13.0.tar.xz"; + sha256 = "1m5n24c34sdr9hfap2riws0n58pka0a0n23gxdzxwbk9z1fj97zy"; + name = "kconfigwidgets-5.13.0.tar.xz"; + }; + }; + solid = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/solid-5.13.0.tar.xz"; + sha256 = "1s06qbicni2g99kmp7kd06xrps0pqb9d9q04pmmlqdg24fcm0aik"; + name = "solid-5.13.0.tar.xz"; + }; + }; + kjobwidgets = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kjobwidgets-5.13.0.tar.xz"; + sha256 = "0vjqidawgca5zr5vfm55lqnvzr9pk0dp1w85pdpp576rsjg34404"; + name = "kjobwidgets-5.13.0.tar.xz"; + }; + }; + kdesignerplugin = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdesignerplugin-5.13.0.tar.xz"; + sha256 = "0iibam8d34kyvq0qpbfx1ligwcyp84x4ycr01bydnbc58qz6hg3y"; + name = "kdesignerplugin-5.13.0.tar.xz"; + }; + }; + kglobalaccel = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kglobalaccel-5.13.0.tar.xz"; + sha256 = "1fdfcyb93p39gbkvmzv43hg33vjsr9g2y9vbr07j38q9vgjipynl"; + name = "kglobalaccel-5.13.0.tar.xz"; + }; + }; + attica = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/attica-5.13.0.tar.xz"; + sha256 = "0fxqf8ab8y7lkj0c09zrshwykx2na5yqb3wxlfd8ngd6cyk34r8h"; + name = "attica-5.13.0.tar.xz"; + }; + }; + kdesu = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kdesu-5.13.0.tar.xz"; + sha256 = "0413lddgrwhx3jn2xhmi6gllv4cg2136f00bg0zxdnvgjbavj50g"; + name = "kdesu-5.13.0.tar.xz"; + }; + }; + sonnet = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/sonnet-5.13.0.tar.xz"; + sha256 = "05j79i2aq6cy2crjwsifsfj5kb74ca0bz9yl1302gkdn6qy3lx57"; + name = "sonnet-5.13.0.tar.xz"; + }; + }; + kfilemetadata = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kfilemetadata-5.13.0.tar.xz"; + sha256 = "0c7m1ha1s020jbb5925s859lknq10df1162aal8g99nxvadvkafx"; + name = "kfilemetadata-5.13.0.tar.xz"; + }; + }; + networkmanager-qt = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/networkmanager-qt-5.13.0.tar.xz"; + sha256 = "16v2vr92yfins23h2h6ddlvlf2iasbz67dr8gzyhwa9kcwr23a19"; + name = "networkmanager-qt-5.13.0.tar.xz"; + }; + }; + kbookmarks = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kbookmarks-5.13.0.tar.xz"; + sha256 = "0gmsvhphilv7aqci51hlvaikgpxhbgi6f41qb1ybkjjh6gfcz6lg"; + name = "kbookmarks-5.13.0.tar.xz"; + }; + }; + kpeople = { + version = "5.13.0"; + src = fetchurl { + url = "${mirror}/stable/frameworks/5.13/kpeople-5.13.0.tar.xz"; + sha256 = "1fw9jgkqv1hx5llpkws0v0pcfjjbh7z9b7z474y7ix2ycg9ikxqn"; + name = "kpeople-5.13.0.tar.xz"; + }; + }; +} diff --git a/pkgs/development/libraries/kde-frameworks-5.13/threadweaver.nix b/pkgs/development/libraries/kde-frameworks-5.13/threadweaver.nix new file mode 100644 index 000000000000..9c7f76dd0511 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.13/threadweaver.nix @@ -0,0 +1,11 @@ +{ mkDerivation, lib +, extra-cmake-modules +}: + +mkDerivation { + name = "threadweaver"; + nativeBuildInputs = [ extra-cmake-modules ]; + meta = { + maintainers = [ lib.maintainers.ttuegel ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aab4f19ff761..ea911ba46309 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6644,6 +6644,7 @@ let kf512 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.12 { }); kf5_latest = kf512; kf5_stable = kf510; + kf513 = recurseIntoAttrs (import ../development/libraries/kde-frameworks-5.13 { inherit pkgs; }); kinetic-cpp-client = callPackage ../development/libraries/kinetic-cpp-client { };