This commit is contained in:
Thomas Tuegel 2015-03-13 16:27:49 -05:00
parent 5d1f6ad57c
commit 6632b151b8
19 changed files with 1680 additions and 1 deletions

View File

@ -0,0 +1,207 @@
# Maintainer's Notes:
#
# Minor updates:
# 1. Edit ./manifest.sh to point to the updated URL. Upstream sometimes
# releases updates that include only the changed packages; in this case,
# multiple URLs can be provided and the results will be merged.
# 2. Run ./manifest.sh and ./dependencies.sh.
# 3. Build and enjoy.
#
# Major updates:
# We prefer not to immediately overwrite older versions with major updates, so
# make a copy of this directory first. After copying, be sure to delete ./tmp
# if it exists. Then follow the minor update instructions.
{ autonix, fetchurl, pkgs, qt5, stdenv, debug ? false }:
with stdenv.lib; with autonix;
let
mkDerivation = drv:
let inherit (builtins.parseDrvName drv.version) version; in
stdenv.mkDerivation
(drv // {
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 =
{
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";
inherit version;
branch = intersperse "." (take 2 (splitString "." version));
} // (drv.meta or {});
});
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.base;
Qt5Core = qt5.base;
Qt5DBus = qt5.base;
Qt5Gui = qt5.base;
Qt5LinguistTools = qt5.tools;
Qt5Qml = [qt5.declarative qt5.graphicaleffects];
Qt5Quick = [qt5.quickcontrols qt5.graphicaleffects];
Qt5Script = qt5.script;
Qt5Svg = qt5.svg;
Qt5WebkitWidgets = qt5.webkit;
Qt5Widgets = qt5.base;
Qt5X11Extras = qt5.x11extras;
Qt5XmlPatterns = qt5.xmlpatterns;
dbusmenu-qt5 = pkgs.libdbusmenu_qt5.override { inherit qt5; };
} //
# packages from the nixpkgs collection
(with pkgs;
{
inherit cmake epoxy;
Boost = boost155;
GIF = giflib;
GLIB2 = glib;
Gpgme = gpgme;
JPEG = libjpeg;
LibGcrypt = libgcrypt;
LibGit2 = libgit2;
LibIntl = gettext;
LibLZMA = lzma;
NetworkManager = networkmanager;
Perl = perl;
PythonInterp = python;
QImageBlitz = qimageblitz;
SharedMimeInfo = shared_mime_info;
ZLIB = zlib;
}
);
mirror = "mirror://kde";
preResolve = super:
fold (f: x: f x) super
[
(userEnvPkg "SharedMimeInfo")
(userEnvPkg "SharedDesktopOntologies")
];
postResolve = super:
super // {
extra-cmake-modules = {
inherit (super.extra-cmake-modules) name src;
propagatedNativeBuildInputs = [ pkgs.cmake pkgs.pkgconfig qt5.tools ];
cmakeFlags = ["-DBUILD_TESTING=OFF"];
patches =
[
./extra-cmake-modules/0001-extra-cmake-modules-paths.patch
];
meta =
let inherit (parseDrvName super.extra-cmake-modules.name) version; in
{
license = with stdenv.lib.licenses; [ bsd2 ];
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
homepage = "http://www.kde.org";
inherit version;
branch = intersperse "." (take 2 (splitString "." version));
};
};
frameworkintegration = super.frameworkintegration // {
buildInputs = with pkgs.xlibs; super.frameworkintegration.buildInputs ++ [ libXcursor ];
};
kauth = super.kauth // {
buildInputs =
super.kauth.buildInputs
++ [(pkgs.polkit_qt5.override { inherit 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 // {
propagatedNativeBuildInputs = [ perl perlPackages.URI ];
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 ]; };
kpackage = super.kpackage // { patches = [ ./kpackage/0001-allow-external-paths.patch ]; };
kservice = super.kservice // {
buildInputs = super.kservice.buildInputs ++ [kf5.kwindowsystem];
patches =
[
./kservice/kservice-kbuildsycoca-follow-symlinks.patch
./kservice/kservice-kbuildsycoca-no-canonicalize-path.patch
];
};
ktexteditor = super.ktexteditor // {
patches = [ ./ktexteditor/0001-no-qcoreapplication.patch ];
};
};
kf5 = generateCollection ./. {
inherit mirror mkDerivation preResolve postResolve renames scope;
};
in
kf5 // { inherit mkDerivation qt5 scope; }

View File

@ -0,0 +1,516 @@
# DO NOT EDIT! This file is generated automatically.
{ }:
{
attica = {
buildInputs = [ "ECM" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5Network" "Qt5Test" "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" "Qt5QUIET" "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" "Qt5DBus" "Qt5QUIET" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "X11" "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" "Qt5Core" "Qt5DBus" "Qt5Gui" "Qt5NO_MODULE" "Qt5Qml" "Qt5Quick" "Qt5Sql" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kapidox = {
buildInputs = [ ];
nativeBuildInputs = [ "PythonInterp" "cmake" ];
propagatedBuildInputs = [ ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
karchive = {
buildInputs = [ "BZip2" "ECM" "KF5Archive" "LibLZMA" "Qt5Core" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "ZLIB" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kauth = {
buildInputs = [ "ECM" "KF5CoreAddons" "Qt5" "Qt5DBus" "Qt5QUIET" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5CoreAddons" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kbookmarks = {
buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5CoreAddons" "KF5IconThemes" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5DBus" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5IconThemes" "KF5XmlGui" "Qt5Widgets" "Qt5Xml" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kcmutils = {
buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5Service" "KF5XmlGui" "Qt5" "Qt5DBus" "Qt5NO_MODULE" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5IconThemes" "KF5ItemViews" "KF5Service" "KF5XmlGui" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kcodecs = {
buildInputs = [ "ECM" "Qt5Core" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kcompletion = {
buildInputs = [ "ECM" "KF5Config" "KF5WidgetsAddons" "Qt5" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kconfig = {
buildInputs = [ "ECM" "Qt5" "Qt5Concurrent" "Qt5Core" "Qt5Gui" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Xml" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kconfigwidgets = {
buildInputs = [ "ECM" "KF5Auth" "KF5Codecs" "KF5Config" "KF5CoreAddons" "KF5DocTools" "KF5GuiAddons" "KF5I18n" "KF5WidgetsAddons" "Qt5" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Auth" "KF5Codecs" "KF5Config" "KF5GuiAddons" "KF5I18n" "KF5WidgetsAddons" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kcoreaddons = {
buildInputs = [ "ECM" "FAM" "Qt5" "Qt5Core" "Qt5QUIET" "Qt5Test" "Qt5Widgets" "SharedMimeInfo" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ "SharedMimeInfo" ];
};
kcrash = {
buildInputs = [ "ECM" "KF5CoreAddons" "KF5WindowSystem" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "X11" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdbusaddons = {
buildInputs = [ "ECM" "Qt5DBus" "Qt5NO_MODULE" "Qt5Test" "Qt5X11Extras" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5DBus" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdeclarative = {
buildInputs = [ "ActiveApp" "ECM" "KF5Config" "KF5GlobalAccel" "KF5GuiAddons" "KF5I18n" "KF5IconThemes" "KF5KIO" "KF5Package" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" "Qt5Gui" "Qt5NO_MODULE" "Qt5Qml" "Qt5Quick" "Qt5Test" "epoxy" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Config" "KF5Package" "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" "Qt5Concurrent" "Qt5DBus" "Qt5Designer" "Qt5NO_MODULE" "Qt5Network" "Qt5PrintSupport" "Qt5Svg" "Qt5Test" "Qt5Widgets" "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" "Qt5NO_MODULE" "Qt5QUIET" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdesu = {
buildInputs = [ "ECM" "KF5CoreAddons" "KF5Pty" "KF5Service" "Qt5Core" "Qt5NO_MODULE" "X11" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Pty" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdewebkit = {
buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5JobWidgets" "KF5KIO" "KF5Parts" "KF5Service" "KF5Wallet" "Qt5" "Qt5Core" "Qt5Network" "Qt5WebKitWidgets" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5WebKitWidgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdnssd = {
buildInputs = [ "Avahi" "DNSSD" "ECM" "Qt5" "Qt5DBus" "Qt5Network" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Network" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kdoctools = {
buildInputs = [ "DocBookXML4" "DocBookXSL" "ECM" "KF5Archive" "KF5DocTools" "KF5I18n" "LibXml2" "Qt5Core" "Qt5NO_MODULE" ];
nativeBuildInputs = [ "LibXslt" "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kemoticons = {
buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5CoreAddons" "KF5Service" "Qt5" "Qt5Gui" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Archive" "KF5Service" "Qt5Gui" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kglobalaccel = {
buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5I18n" "KF5WindowSystem" "Qt5" "Qt5DBus" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "X11" "XCB" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5DBus" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kguiaddons = {
buildInputs = [ "ECM" "Qt5" "Qt5Gui" "Qt5NO_MODULE" "Qt5Test" "Qt5Widgets" "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" "Qt5Concurrent" "Qt5Core" "Qt5Script" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kiconthemes = {
buildInputs = [ "ECM" "KF5ConfigWidgets" "KF5I18n" "KF5ItemViews" "KF5WidgetsAddons" "Qt5" "Qt5DBus" "Qt5NO_MODULE" "Qt5Svg" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5ConfigWidgets" "KF5I18n" "KF5ItemViews" "KF5WidgetsAddons" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kidletime = {
buildInputs = [ "ECM" "Qt5" "Qt5DBus" "Qt5Widgets" "Qt5X11Extras" "X11" "X11_XCB" "XCB" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kimageformats = {
buildInputs = [ "ECM" "Jasper" "OpenEXR" "Qt5Gui" "Qt5NO_MODULE" "Qt5PrintSupport" "Qt5QUIET" "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" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5CoreAddons" "KF5DBusAddons" "KF5DocTools" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5JobWidgets" "KF5Notifications" "KF5Service" "KF5Solid" "KF5TextWidgets" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "LibXml2" "OpenSSL" "Qt5" "Qt5Concurrent" "Qt5Core" "Qt5DBus" "Qt5NO_MODULE" "Qt5Network" "Qt5Script" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "Qt5Xml" "Strigi" "X11" "ZLIB" ];
nativeBuildInputs = [ "LibXslt" "cmake" ];
propagatedBuildInputs = [ "KF5Bookmarks" "KF5Completion" "KF5Config" "KF5CoreAddons" "KF5ItemViews" "KF5JobWidgets" "KF5Service" "KF5Solid" "KF5XmlGui" "Qt5Network" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kitemmodels = {
buildInputs = [ "ECM" "Grantlee" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5Script" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kitemviews = {
buildInputs = [ "ECM" "Qt5" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kjobwidgets = {
buildInputs = [ "ECM" "KF5CoreAddons" "KF5WidgetsAddons" "Qt5" "Qt5DBus" "Qt5NO_MODULE" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "X11" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5CoreAddons" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kjs = {
buildInputs = [ "ECM" "KF5DocTools" "PCRE" "Qt5Core" "Qt5NO_MODULE" "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" "Qt5NO_MODULE" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Parts" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
knewstuff = {
buildInputs = [ "ECM" "KF5Archive" "KF5Attica" "KF5Completion" "KF5Config" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5KIO" "KF5TextWidgets" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5NO_MODULE" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Archive" "KF5Attica" "KF5KIO" "KF5XmlGui" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
knotifications = {
buildInputs = [ "ECM" "KF5Codecs" "KF5Config" "KF5CoreAddons" "KF5IconThemes" "KF5Service" "KF5WindowSystem" "Phonon4Qt5" "Qt5" "Qt5DBus" "Qt5NO_MODULE" "Qt5OPTIONAL_COMPONENTS" "Qt5QUIET" "Qt5Test" "Qt5TextToSpeech" "Qt5Widgets" "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" "Qt5DBus" "Qt5NO_MODULE" "Qt5OPTIONAL_COMPONENTS" "Qt5QUIET" "Qt5Test" "Qt5TextToSpeech" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5I18n" "KF5KIO" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kpackage = {
buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5CoreAddons" "KF5DocTools" "KF5I18n" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kparts = {
buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5I18n" "KF5IconThemes" "KF5JobWidgets" "KF5KIO" "KF5Notifications" "KF5Service" "KF5TextWidgets" "KF5WidgetsAddons" "KF5XmlGui" "Qt5" "Qt5Core" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5KIO" "KF5Notifications" "KF5TextWidgets" "KF5XmlGui" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kpeople = {
buildInputs = [ "ECM" "KF5CoreAddons" "KF5I18n" "KF5ItemViews" "KF5Service" "KF5WidgetsAddons" "Qt5" "Qt5DBus" "Qt5Gui" "Qt5Qml" "Qt5Quick" "Qt5Sql" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kplotting = {
buildInputs = [ "ECM" "Qt5" "Qt5NO_MODULE" "Qt5Test" "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" "Qt5Core" "Qt5QUIET" "Qt5Script" "Qt5Test" "Qt5UiTools" "Qt5Widgets" "Qt5Xml" ];
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" "Qt5Gui" "Qt5NO_MODULE" "Qt5Quick" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Plasma" "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kservice = {
buildInputs = [ "ECM" "KF5Config" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5DocTools" "KF5I18n" "Qt5" "Qt5Concurrent" "Qt5DBus" "Qt5Test" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Config" "KF5CoreAddons" "KF5DBusAddons" "KF5I18n" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
ktexteditor = {
buildInputs = [ "ECM" "KF5Archive" "KF5Config" "KF5GuiAddons" "KF5I18n" "KF5KIO" "KF5Parts" "KF5Sonnet" "LibGit2" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5PrintSupport" "Qt5Script" "Qt5Test" "Qt5Widgets" "Qt5Xml" "Qt5XmlPatterns" ];
nativeBuildInputs = [ "Perl" "cmake" ];
propagatedBuildInputs = [ ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
ktextwidgets = {
buildInputs = [ "ECM" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5I18n" "KF5IconThemes" "KF5Service" "KF5Sonnet" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" "Qt5DBus" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Completion" "KF5ConfigWidgets" "KF5I18n" "KF5IconThemes" "KF5Service" "KF5Sonnet" "KF5WindowSystem" "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kunitconversion = {
buildInputs = [ "ECM" "KF5I18n" "Qt5" "Qt5Core" "Qt5Network" "Qt5Test" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Config" "KF5I18n" "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kwallet = {
buildInputs = [ "ECM" "Gpgme" "KF5Config" "KF5CoreAddons" "KF5DBusAddons" "KF5Gpgmepp" "KF5I18n" "KF5IconThemes" "KF5Notifications" "KF5Service" "KF5WidgetsAddons" "KF5WindowSystem" "LibGcrypt" "Qt5" "Qt5DBus" "Qt5Gui" "Qt5Test" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Config" "KF5WindowSystem" "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kwidgetsaddons = {
buildInputs = [ "ECM" "Qt5" "Qt5Test" "Qt5UiTools" "Qt5Widgets" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kwindowsystem = {
buildInputs = [ "ECM" "Qt5" "Qt5Test" "Qt5Widgets" "Qt5WinExtras" "Qt5X11Extras" "X11" "XCB" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Widgets" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kxmlgui = {
buildInputs = [ "ECM" "KF5Attica" "KF5Config" "KF5ConfigWidgets" "KF5GlobalAccel" "KF5I18n" "KF5IconThemes" "KF5ItemViews" "KF5TextWidgets" "KF5WidgetsAddons" "KF5WindowSystem" "Qt5" "Qt5DBus" "Qt5Network" "Qt5PrintSupport" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5Attica" "KF5Config" "KF5ConfigWidgets" "KF5GlobalAccel" "KF5IconThemes" "KF5ItemViews" "KF5TextWidgets" "KF5WindowSystem" "Qt5DBus" "Qt5Xml" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
kxmlrpcclient = {
buildInputs = [ "ECM" "KF5KIO" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "KF5KIO" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
networkmanager-qt = {
buildInputs = [ "ECM" "KF5NetworkManagerQt" "NetworkManager" "Qt4" "Qt5" "Qt5Core" "Qt5DBus" "Qt5NO_MODULE" "Qt5Network" "Qt5Test" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
plasma-framework = {
buildInputs = [ "ECM" "EGL" "Gpgme" "KActivities" "KCoreAddons" "KDE4Support" "KDESu" "KDeclarative" "KF5" "KF5Activities" "KF5Archive" "KF5Auth" "KF5Bookmarks" "KF5Codecs" "KF5Completion" "KF5Config" "KF5ConfigWidgets" "KF5CoreAddons" "KF5Crash" "KF5DBusAddons" "KF5Declarative" "KF5DocTools" "KF5GlobalAccel" "KF5GuiAddons" "KF5I18n" "KF5IconThemes" "KF5IdleTime" "KF5Init" "KF5ItemModels" "KF5ItemViews" "KF5JS" "KF5JobWidgets" "KF5KArchive" "KF5KAuth" "KF5KBookmarks" "KF5KCodecs" "KF5KCompletion" "KF5KConfig" "KF5KConfigWidgets" "KF5KCoreAddons" "KF5KCrash" "KF5KDBusAddons" "KF5KDE4Support" "KF5KDESu" "KF5KDeclarative" "KF5KDocTools" "KF5KF5GlobalAccel" "KF5KGuiAddons" "KF5KI18n" "KF5KIO" "KF5KIconThemes" "KF5KIdleTime" "KF5KInit" "KF5KJS" "KF5KJobWidgets" "KF5KNotifications" "KF5KParts" "KF5KService" "KF5KTextWidgets" "KF5KUnitConversion" "KF5KWallet" "KF5KWidgetsAddons" "KF5KWindowSystem" "KF5Kross" "KF5NO_MODULE" "KF5Notifications" "KF5Package" "KF5Parts" "KF5Service" "KF5Solid" "KF5Sonnet" "KF5Su" "KF5TextWidgets" "KF5ThreadWeaver" "KF5UnitConversion" "KF5Wallet" "KF5WidgetsAddons" "KF5WindowSystem" "KF5XmlGui" "KdepimLibs" "OpenGL" "QCA2" "Qt5" "Qt5Gui" "Qt5NO_MODULE" "Qt5Qml" "Qt5Quick" "Qt5Script" "Qt5Sql" "Qt5Svg" "Qt5Test" "Qt5Widgets" "Qt5X11Extras" "Solid" "X11" "XCB" ];
nativeBuildInputs = [ "SH" "cmake" ];
propagatedBuildInputs = [ "KF5Package" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
solid = {
buildInputs = [ "ECM" "IOKit" "MediaPlayerInfo" "Qt5" "Qt5Concurrent" "Qt5DBus" "Qt5Network" "Qt5QUIET" "Qt5Qml" "Qt5Test" "Qt5Widgets" "Qt5Xml" "UDev" ];
nativeBuildInputs = [ "BISON" "FLEX" "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
sonnet = {
buildInputs = [ "ASPELL" "ECM" "ENCHANT" "HSPELL" "HUNSPELL" "Qt5" "Qt5NO_MODULE" "Qt5Test" "Qt5Widgets" "ZLIB" ];
nativeBuildInputs = [ "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
threadweaver = {
buildInputs = [ "ECM" "KF5ThreadWeaver" "Qt5" "Qt5Core" "Qt5NO_MODULE" "Qt5Network" "Qt5Test" "Qt5Widgets" "Qt5Xml" ];
nativeBuildInputs = [ "SNIPPETEXTRACTOR" "cmake" ];
propagatedBuildInputs = [ "Qt5Core" ];
propagatedNativeBuildInputs = [ ];
propagatedUserEnvPkgs = [ ];
};
}

View File

@ -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}"

View File

@ -0,0 +1,74 @@
From 3cc148e878b69fc3e0228f3e3bf1bbe689dad87c Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@gmail.com>
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

View File

@ -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@")

View File

@ -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());
}

View File

@ -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);

View File

@ -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

View File

@ -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()) {

View File

@ -0,0 +1,25 @@
From fbf10d2059fa1f19a0f0cfa2fda0abb6c435fa78 Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@gmail.com>
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

View File

@ -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...

View File

@ -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;
}

View File

@ -0,0 +1,48 @@
From 71e28c7c6fdd1142f04c662f45cc8f779e457cda Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@gmail.com>
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

View File

@ -0,0 +1,580 @@
# This file is generated automatically. DO NOT EDIT!
{ stdenv, fetchurl, mirror }:
[
{
name = stdenv.lib.nameFromURL "kpackage-5.8.0.tar.xz" ".tar";
store = "/nix/store/pr2pj0xx1xnxh3bz3zz5zymmmjfvdwks-kpackage-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kpackage-5.8.0.tar.xz";
sha256 = "1y4y8q5dvny00gyk5sgnack612jkpq8xlq899vp0821wf4df0r1a";
name = "kpackage-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdesu-5.8.0.tar.xz" ".tar";
store = "/nix/store/jwyz61xs4nl22wb1yahyq5kliqq1idsm-kdesu-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdesu-5.8.0.tar.xz";
sha256 = "0bwxhg3bcha94k8bnlsmk0cadpx1aiyrsnzw2ivwswm2nyx1dv3v";
name = "kdesu-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kcoreaddons-5.8.0.tar.xz" ".tar";
store = "/nix/store/7pg9x6wg9j16fqv9n8dhypriqpcssfsz-kcoreaddons-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kcoreaddons-5.8.0.tar.xz";
sha256 = "0msh83vqprl8lcm1z0jj4gpn2mrfrxrsf9w3dm4l66x0fh972w0f";
name = "kcoreaddons-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "sonnet-5.8.0.tar.xz" ".tar";
store = "/nix/store/353pfvh6mzhfkkd3w5fys3s4cabmcq51-sonnet-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/sonnet-5.8.0.tar.xz";
sha256 = "09faq7j3f5divzpjfz103i0sih53fxnywfdbh1yg1wpf53afs1q7";
name = "sonnet-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kactivities-5.8.0.tar.xz" ".tar";
store = "/nix/store/ik33fvbzj7arr9380jig3id3dadjspid-kactivities-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kactivities-5.8.0.tar.xz";
sha256 = "0jk3kmpsqv0bj7885lfiiwnhxw7vvqqpxnm774s946qgsbscbzsa";
name = "kactivities-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kio-5.8.0.tar.xz" ".tar";
store = "/nix/store/vamd45ddai43sz2r6hqzp7mjvqa87273-kio-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kio-5.8.0.tar.xz";
sha256 = "08gzsnqfc8ql6183im21w3kb1x41gkxp5rbm9b1xj4sh2bjv12ba";
name = "kio-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "knotifications-5.8.0.tar.xz" ".tar";
store = "/nix/store/dxdpmbwhjn7dvs364shhzdx9ckpn8sbc-knotifications-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/knotifications-5.8.0.tar.xz";
sha256 = "06wvwqprq7nr33jm0lcdzgf2nqaqcdq3h353pqqhx100b7j81pvq";
name = "knotifications-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kinit-5.8.0.tar.xz" ".tar";
store = "/nix/store/m7m2cqs903l80zdd4sdgjkx9hph8d14b-kinit-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kinit-5.8.0.tar.xz";
sha256 = "058rd6n29jkx0fwgg76mnnhddpppby3ap1yaq3sivik5mk4dc2hk";
name = "kinit-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kitemmodels-5.8.0.tar.xz" ".tar";
store = "/nix/store/qhv3rm3j022bqjpz5nwqjvxnkjg8zvsv-kitemmodels-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kitemmodels-5.8.0.tar.xz";
sha256 = "1m6pgm91baaqqf9vr1z5g649v2dzgms0k8rmq64c2bsp2s58y0gj";
name = "kitemmodels-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kbookmarks-5.8.0.tar.xz" ".tar";
store = "/nix/store/192py0w7pzw5zq2536p1dg5wyk2cw520-kbookmarks-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kbookmarks-5.8.0.tar.xz";
sha256 = "0brlaim5ja8r9car3yjfsv1aw3g5309x3q0c3c6xhm5wchziyqqi";
name = "kbookmarks-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kguiaddons-5.8.0.tar.xz" ".tar";
store = "/nix/store/mwnyb1bm3vvzn9qlsb3r4m3my9mynirr-kguiaddons-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kguiaddons-5.8.0.tar.xz";
sha256 = "11d0panxgk02zvanp8pfy9kap3qg9myasanzly1dd1xyvqvdv8w2";
name = "kguiaddons-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kglobalaccel-5.8.0.tar.xz" ".tar";
store = "/nix/store/f2r6rdwgpgcz9hclwpv5pjfy3mv8slmc-kglobalaccel-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kglobalaccel-5.8.0.tar.xz";
sha256 = "0fw2si9zdq2nigjavfdy0ncwlxzra2wkdl84kyirwnm4mqvwwym4";
name = "kglobalaccel-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kauth-5.8.0.tar.xz" ".tar";
store = "/nix/store/vvfki2y80hbgly49w4j2j3kv8zjxgg8m-kauth-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kauth-5.8.0.tar.xz";
sha256 = "1vzrafk13w2fyz1qz2xdkm60ajalbkky1ji9jn6bs5dhkywmfzqv";
name = "kauth-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kwallet-5.8.0.tar.xz" ".tar";
store = "/nix/store/fy65566wbdry47fq4vm5ip4zdyraskch-kwallet-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kwallet-5.8.0.tar.xz";
sha256 = "1hwdfjh86calyq8y86n34ybgzadhx1xw9vpzkmkrdjaqkxd67jy8";
name = "kwallet-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "solid-5.8.0.tar.xz" ".tar";
store = "/nix/store/6k08mkbmg1dk1ckljjl2r6mrn20zivyq-solid-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/solid-5.8.0.tar.xz";
sha256 = "07qjih5gla2y4a59x4jb25r00hr0wsk12cs5gbwd9vi5y0345yq3";
name = "solid-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kidletime-5.8.0.tar.xz" ".tar";
store = "/nix/store/zvb2yl00v66ra6p88hg90v2n7h0xlkga-kidletime-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kidletime-5.8.0.tar.xz";
sha256 = "0bnhpsrf2bs08p9hjv254mxch2gnvv28pp9ab3bfp7crdj5dbrvy";
name = "kidletime-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kplotting-5.8.0.tar.xz" ".tar";
store = "/nix/store/aicz3im9y74y3n0pw7pfqmwks6v1qckb-kplotting-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kplotting-5.8.0.tar.xz";
sha256 = "15iifzwq9ldimdl1fq4ns2lagmhqyciyi8ycwp7zhwz2a4yga1xi";
name = "kplotting-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kparts-5.8.0.tar.xz" ".tar";
store = "/nix/store/f30idimxzr7vn9x4xqf1q4dnq4xkybi2-kparts-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kparts-5.8.0.tar.xz";
sha256 = "009qrz8x9j12rsr678yp0n4m61k2vqgpg2x0n4z0jnzl4hp8g4b2";
name = "kparts-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdnssd-5.8.0.tar.xz" ".tar";
store = "/nix/store/lq5gs7qa5jbzql3d90ny0ns9kvwn5nxq-kdnssd-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdnssd-5.8.0.tar.xz";
sha256 = "0z8ssaxfff1ay9q0l3cp221nvnlg1vypd4ms8zdw7vglyzg3cvvg";
name = "kdnssd-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "karchive-5.8.0.tar.xz" ".tar";
store = "/nix/store/hplgp8rl8y132ngmb55b357nn18x9684-karchive-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/karchive-5.8.0.tar.xz";
sha256 = "0cjwzmj4h6kf8ip4iy0vx97y49nkj0m68rgmwdp5w6wl9qsdymyr";
name = "karchive-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kded-5.8.0.tar.xz" ".tar";
store = "/nix/store/hah2vldmgkvzxbrzfv5dwfg9wnf5k04r-kded-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kded-5.8.0.tar.xz";
sha256 = "18d8alv96i8a00rrylc19f7sc862zzrk5hk0dryyqyca7i4is0sv";
name = "kded-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kconfigwidgets-5.8.0.tar.xz" ".tar";
store = "/nix/store/s3vfmb8y5r9ks3br1plpahg3mccxkwb3-kconfigwidgets-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kconfigwidgets-5.8.0.tar.xz";
sha256 = "08kvg4idmy6h2r49h9zl4s5qm18283i61vk7j9ajpzs2wj8f0yq9";
name = "kconfigwidgets-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kpty-5.8.0.tar.xz" ".tar";
store = "/nix/store/zr8y35s1abk00d072i3wh0lrra7j9miv-kpty-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kpty-5.8.0.tar.xz";
sha256 = "0ycx73hxf257sc77x597a888ngrv9kw23qrv15pk40k4s9r927wj";
name = "kpty-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kwidgetsaddons-5.8.0.tar.xz" ".tar";
store = "/nix/store/jnph6s99cfp9b1akfw7zg73jm0sjngqp-kwidgetsaddons-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kwidgetsaddons-5.8.0.tar.xz";
sha256 = "0ay4fxijmaxqaqkdswwqykq0xi99lj76rqllmn14w1vk60v7kc1c";
name = "kwidgetsaddons-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kcompletion-5.8.0.tar.xz" ".tar";
store = "/nix/store/0win9qp98x332z1m2sln9mkqbdiq06jj-kcompletion-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kcompletion-5.8.0.tar.xz";
sha256 = "13r7zs6rbqx7ylipy8738l7565xi925y12sx8lcbdw7ib0dhz0wb";
name = "kcompletion-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "frameworkintegration-5.8.0.tar.xz" ".tar";
store = "/nix/store/m4ra9rcv4jpp60mw0s6ak3zkr1djwncl-frameworkintegration-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/frameworkintegration-5.8.0.tar.xz";
sha256 = "11sbnfs7wy103v46wxsx9njsjskjdig80chx193wqqqyzbdwgq3f";
name = "frameworkintegration-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "networkmanager-qt-5.8.0.tar.xz" ".tar";
store = "/nix/store/88lzs61m9a65p1vhbyyvvqsza4pp8y8n-networkmanager-qt-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/networkmanager-qt-5.8.0.tar.xz";
sha256 = "07c9n2clsvb152qcxs8mhinmy8hnzhij52xx9pkd0v0az6xmi23z";
name = "networkmanager-qt-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "plasma-framework-5.8.0.tar.xz" ".tar";
store = "/nix/store/mp3740pcgh3q2as67vw8cl6pd1mb7d42-plasma-framework-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/plasma-framework-5.8.0.tar.xz";
sha256 = "1042fn164dx62gqh5fnlcid7vcpv0wqal35c2s5iv89xkpa48x82";
name = "plasma-framework-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kxmlgui-5.8.0.tar.xz" ".tar";
store = "/nix/store/b0frky56prbmwk6v8bxgwya2x1hzi01c-kxmlgui-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kxmlgui-5.8.0.tar.xz";
sha256 = "1l3svzk312fv4zya7fglmy3wajr0dblfff8fdyrlfa6g4qqv0xzg";
name = "kxmlgui-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kitemviews-5.8.0.tar.xz" ".tar";
store = "/nix/store/fa4nvdny3ca1a0dw23dv88kq1skwydck-kitemviews-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kitemviews-5.8.0.tar.xz";
sha256 = "1lryy36bm592kd1jiqxgs7s64bzfnn1mlxhi8cggckvcqc20jyfd";
name = "kitemviews-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdeclarative-5.8.0.tar.xz" ".tar";
store = "/nix/store/cnc3mvxf4xhhxffvdv982wya7ab5g13r-kdeclarative-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdeclarative-5.8.0.tar.xz";
sha256 = "18yyhw4d3srlddj7ycn0qi6dcjc7hz0ml66fx2a3z8ljafplhf2n";
name = "kdeclarative-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kimageformats-5.8.0.tar.xz" ".tar";
store = "/nix/store/s2n2g5ig1wqkyd11n0gc0ch3584k9qby-kimageformats-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kimageformats-5.8.0.tar.xz";
sha256 = "05nnipfq5qpqnh1drfjlbhz673zd3qi61jdx69vym5khfpxb7vaz";
name = "kimageformats-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kcodecs-5.8.0.tar.xz" ".tar";
store = "/nix/store/ll6bzn3mhhf35p8xl32n3wxmcal3dk1i-kcodecs-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kcodecs-5.8.0.tar.xz";
sha256 = "1ipd85hgm53vv5qhfynzhb2gp6qiz0k4d31ailjm55czrirp02zc";
name = "kcodecs-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "ktextwidgets-5.8.0.tar.xz" ".tar";
store = "/nix/store/hkc48gibgnm02ywiddfq6qivwfji988a-ktextwidgets-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/ktextwidgets-5.8.0.tar.xz";
sha256 = "05aigqfnp1dnrlfba59rr3ccbj06jmjfhja4iz8w3vizxpc2imcv";
name = "ktextwidgets-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "threadweaver-5.8.0.tar.xz" ".tar";
store = "/nix/store/r7aa4rhlyqhhrwlbnhgqn0w9nrazbva0-threadweaver-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/threadweaver-5.8.0.tar.xz";
sha256 = "0fghim7rkdf50sydzsq2q8kr9fkh7ffldn660rf39amggarhnm1c";
name = "threadweaver-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kwindowsystem-5.8.0.tar.xz" ".tar";
store = "/nix/store/mgb7hh4a1rc01xfilc9i39h0lc3gvx76-kwindowsystem-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kwindowsystem-5.8.0.tar.xz";
sha256 = "19caaxzps6fzi9w1k9jcyr1i6qq784q5hfkfvi7pz9aj09f89a65";
name = "kwindowsystem-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "knewstuff-5.8.0.tar.xz" ".tar";
store = "/nix/store/z00gzak0za0rvl9n98i074c9vn1ifjhq-knewstuff-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/knewstuff-5.8.0.tar.xz";
sha256 = "0pjxia7baapbvx7hzmk2rgh08v5n5rd8cfa4mqqz8l7ak7pvaih8";
name = "knewstuff-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kcrash-5.8.0.tar.xz" ".tar";
store = "/nix/store/7jz5m4rzrjg2sff80y7mvf62648ynd6r-kcrash-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kcrash-5.8.0.tar.xz";
sha256 = "02qb16pqdmcx5l5mvi6kxh8q00asq7vd2fp5n8rb8x73354njs2r";
name = "kcrash-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kpeople-5.8.0.tar.xz" ".tar";
store = "/nix/store/57l0041ivb40zbx77hcxz0v29argmsx8-kpeople-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kpeople-5.8.0.tar.xz";
sha256 = "1id2wasxh7him48pnsf6biilakg1hk7by9blylpsxgcj97gzh5h5";
name = "kpeople-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kunitconversion-5.8.0.tar.xz" ".tar";
store = "/nix/store/4lf9qjhf0m1c8r36vrs7xgxc61y0kn9m-kunitconversion-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kunitconversion-5.8.0.tar.xz";
sha256 = "1yhwrbzbsnw9hlbcx0bpivjgwshxy412sds4gg1fkr8iwl53a353";
name = "kunitconversion-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "ktexteditor-5.8.0.tar.xz" ".tar";
store = "/nix/store/d14ixg28zc0kvbrj9pyqjzch8vjqvf1k-ktexteditor-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/ktexteditor-5.8.0.tar.xz";
sha256 = "0hlswklc9h87mj73qm3jdc1hjhrsav58a68rbssmxdzjvq13xz33";
name = "ktexteditor-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "knotifyconfig-5.8.0.tar.xz" ".tar";
store = "/nix/store/dbn61n194xfh880pba8dphr5xfxag9lm-knotifyconfig-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/knotifyconfig-5.8.0.tar.xz";
sha256 = "1i7xcr21mjgd5ys6lhfy939v5sccq445bmjmgm3akwhvj98cm6vm";
name = "knotifyconfig-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kjobwidgets-5.8.0.tar.xz" ".tar";
store = "/nix/store/w4fry4a11m0k7agginnj3j9hqjgnad0a-kjobwidgets-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kjobwidgets-5.8.0.tar.xz";
sha256 = "0fv4w6jb0kx7qcm1yqghxqvzk8zi9h91756b99y4201a8i9aiz67";
name = "kjobwidgets-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kconfig-5.8.0.tar.xz" ".tar";
store = "/nix/store/bby9kv5kw0spadprnafjyyviqaixbk72-kconfig-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kconfig-5.8.0.tar.xz";
sha256 = "0l0ah29967jkr1ajv0lzjdk0gb97ypghd01fn0z32a8l6in4k8ql";
name = "kconfig-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kemoticons-5.8.0.tar.xz" ".tar";
store = "/nix/store/mkk8jcv0v6qgpj88ngsic033as91bjrb-kemoticons-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kemoticons-5.8.0.tar.xz";
sha256 = "1c7xjwm99gg8q971wak6qk9xfmd9h365cqazqqkad9sg8ndfg5hj";
name = "kemoticons-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdbusaddons-5.8.0.tar.xz" ".tar";
store = "/nix/store/zx9ak27yf54asn5v65bkg7mxczpm852m-kdbusaddons-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdbusaddons-5.8.0.tar.xz";
sha256 = "1aq0n05cpvx3zapgirbb8b45sfss148x3yshd9dwa9npqx3irjxi";
name = "kdbusaddons-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdoctools-5.8.0.tar.xz" ".tar";
store = "/nix/store/fg02vk213msvki571pnlbcsjc47dh4id-kdoctools-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdoctools-5.8.0.tar.xz";
sha256 = "02qvyz102xyfl4qsfnnpdhg0lrwkd0fp95wgbk0zl7lbh261nm0j";
name = "kdoctools-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kapidox-5.8.0.tar.xz" ".tar";
store = "/nix/store/xahpr44r52smzx3g71ss475qfyll1zw0-kapidox-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kapidox-5.8.0.tar.xz";
sha256 = "0l2vl6q67kripg3ajrm4lzxgg2hn18dbrgl5i3s34swg0ay668pr";
name = "kapidox-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "extra-cmake-modules-1.8.0.tar.xz" ".tar";
store = "/nix/store/gx034z2gbkgr2kd0kgm0g3yivkmxiqbd-extra-cmake-modules-1.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/extra-cmake-modules-1.8.0.tar.xz";
sha256 = "0spmfcs94xc4wj42sk599c11yfmy6hg9g8c60cfh8gqyk9527g27";
name = "extra-cmake-modules-1.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "attica-5.8.0.tar.xz" ".tar";
store = "/nix/store/6p6grsyj3vlynq2800v1ybz5l2qi2dww-attica-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/attica-5.8.0.tar.xz";
sha256 = "11fi00x78z7bm60n0gh3025ii1gplkjihgi4x97yjc6bdvr1xigb";
name = "attica-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdewebkit-5.8.0.tar.xz" ".tar";
store = "/nix/store/1ylslvzlbn52qszzzb1v5cwbbvj5gk7v-kdewebkit-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdewebkit-5.8.0.tar.xz";
sha256 = "1h2qsmbc690apyg9ynff9vc1r3pbpb0369p02gbrn4m6yx40985r";
name = "kdewebkit-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kiconthemes-5.8.0.tar.xz" ".tar";
store = "/nix/store/636lwcspq1ndm8q1dcw4yln7ramj59sn-kiconthemes-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kiconthemes-5.8.0.tar.xz";
sha256 = "0am9kxgwfnknnjnv7pcba55n0rg73lq6wxc5fyv4nz5g2r5c7rb0";
name = "kiconthemes-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "ki18n-5.8.0.tar.xz" ".tar";
store = "/nix/store/i7ls6hsr4a91ppnghn5z8hgb1lq2krfz-ki18n-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/ki18n-5.8.0.tar.xz";
sha256 = "0jlw1bbza0kcnflvpw4nbamqxkj91ij5m31i5kj1kw48sc86l383";
name = "ki18n-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kcmutils-5.8.0.tar.xz" ".tar";
store = "/nix/store/78j3wzxv01vgifmrqv8a9xhsamf1cbcv-kcmutils-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kcmutils-5.8.0.tar.xz";
sha256 = "0zm14mdg5mkczkihgwjwz99wjx30wm6c85dm75yaqhk2d3w1aj9w";
name = "kcmutils-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kxmlrpcclient-5.8.0.tar.xz" ".tar";
store = "/nix/store/p9p7sks5g2zxqa9v7lphyk0vzxbrg0h8-kxmlrpcclient-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kxmlrpcclient-5.8.0.tar.xz";
sha256 = "0xdlz8lvi028h8d13l8zqlbsqqrlpm4x940chxhr92jxlicbhaw3";
name = "kxmlrpcclient-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kservice-5.8.0.tar.xz" ".tar";
store = "/nix/store/gjm5i3lpn4h2sfcsjzz4yzm4pw6wzxkj-kservice-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kservice-5.8.0.tar.xz";
sha256 = "1jk4vh4x7bjr6gqgl118lkkbpmmj1c6y0afysjl9fa45by4bhyz8";
name = "kservice-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdesignerplugin-5.8.0.tar.xz" ".tar";
store = "/nix/store/vfjf7vs4sc13dwi21m4ikvr6qwvi1wlg-kdesignerplugin-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/kdesignerplugin-5.8.0.tar.xz";
sha256 = "18ckgx4dvb4bzy38q0dsi23rp5yqjvynyz2yaisczi0fi4b4zn44";
name = "kdesignerplugin-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kjs-5.8.0.tar.xz" ".tar";
store = "/nix/store/5kcpxkfv6l75pad56hk73i2aq6dhm98c-kjs-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/kjs-5.8.0.tar.xz";
sha256 = "0xy51dm8dmdj7rlz1sxyzbwmxyyv0ydhj6mvzk2a2kn1189dl8kz";
name = "kjs-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kross-5.8.0.tar.xz" ".tar";
store = "/nix/store/x6zhp5010lwmbp8p0f3dg720iqh8d9xk-kross-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/kross-5.8.0.tar.xz";
sha256 = "15n2gqpxi96p899k8ggals2p9ym1hlksm1kpz7sjk33idljb9972";
name = "kross-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "krunner-5.8.0.tar.xz" ".tar";
store = "/nix/store/mxfd3j3r56048khysr8s5p6plw04g3wk-krunner-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/krunner-5.8.0.tar.xz";
sha256 = "0w0s56gaw6s6hiid6dngdgjlr9zzpp9wb6f2v3pk7lg9bxqjwlwh";
name = "krunner-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kjsembed-5.8.0.tar.xz" ".tar";
store = "/nix/store/sxjsvg6x6wa0hsblsynnk6y2fp1f876l-kjsembed-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/kjsembed-5.8.0.tar.xz";
sha256 = "04sqva3qngjl73nl1f6mz8np7klbsxp1h6rrqzgln6jd35rzfabx";
name = "kjsembed-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kdelibs4support-5.8.0.tar.xz" ".tar";
store = "/nix/store/w4s7ij8hj943nkgw9xi6i29hyadlg27i-kdelibs4support-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/kdelibs4support-5.8.0.tar.xz";
sha256 = "0j3jpz7zb1if9x91rz4fr6gny0a9r1c1z9796j0bn7b4frq7l232";
name = "kdelibs4support-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "kmediaplayer-5.8.0.tar.xz" ".tar";
store = "/nix/store/hbam3379ghcyfw7f34gaqx53s4b92khh-kmediaplayer-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/kmediaplayer-5.8.0.tar.xz";
sha256 = "0ys7q85942fd7cbpyjqj9wcn947v49f22aj64m8s40h7jiwidkpf";
name = "kmediaplayer-5.8.0.tar.xz";
};
}
{
name = stdenv.lib.nameFromURL "khtml-5.8.0.tar.xz" ".tar";
store = "/nix/store/ajxcmpx2xzy68ls0ilxiy4hslxmbwpc2-khtml-5.8.0.tar.xz";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.8/portingAids/khtml-5.8.0.tar.xz";
sha256 = "0z0123ajf80m99a8kx572nymgmxqrk7svdlja9zrmc9vpbmy643b";
name = "khtml-5.8.0.tar.xz";
};
}
]

View File

@ -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.8/ \
-A '*.tar.xz'
else
$(nix-build ../../../.. -A autonix.manifest) -A '*.tar.xz' "$@"
fi

View File

@ -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)
{

View File

@ -0,0 +1,70 @@
# DO NOT EDIT! This file is generated automatically.
{ }:
{
"Backend" = "plasma-framework";
"CTest" = "attica";
"ECM" = "extra-cmake-modules";
"KDED" = "kded";
"KF5Activities" = "kactivities";
"KF5Archive" = "karchive";
"KF5Attica" = "attica";
"KF5Auth" = "kauth";
"KF5Bookmarks" = "kbookmarks";
"KF5Codecs" = "kcodecs";
"KF5Completion" = "kcompletion";
"KF5Config" = "kconfig";
"KF5ConfigWidgets" = "kconfigwidgets";
"KF5CoreAddons" = "kcoreaddons";
"KF5Crash" = "kcrash";
"KF5DBusAddons" = "kdbusaddons";
"KF5DNSSD" = "kdnssd";
"KF5Declarative" = "kdeclarative";
"KF5DesignerPlugin" = "kdesignerplugin";
"KF5DocTools" = "kdoctools";
"KF5Emoticons" = "kemoticons";
"KF5FrameworkIntegration" = "frameworkintegration";
"KF5GlobalAccel" = "kglobalaccel";
"KF5GuiAddons" = "kguiaddons";
"KF5I18n" = "ki18n";
"KF5IconThemes" = "kiconthemes";
"KF5IdleTime" = "kidletime";
"KF5Init" = "kinit";
"KF5ItemModels" = "kitemmodels";
"KF5ItemViews" = "kitemviews";
"KF5JS" = "kjs";
"KF5JobWidgets" = "kjobwidgets";
"KF5JsEmbed" = "kjsembed";
"KF5KCMUtils" = "kcmutils";
"KF5KDE4Support" = "kdelibs4support";
"KF5KDELibs4Support" = "kdelibs4support";
"KF5KHtml" = "khtml";
"KF5KIO" = "kio";
"KF5Kross" = "kross";
"KF5MediaPlayer" = "kmediaplayer";
"KF5NetworkManagerQt" = "networkmanager-qt";
"KF5NewStuff" = "knewstuff";
"KF5Notifications" = "knotifications";
"KF5NotifyConfig" = "knotifyconfig";
"KF5Package" = "kpackage";
"KF5Parts" = "kparts";
"KF5People" = "kpeople";
"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";
"KF5XmlRpcClient" = "kxmlrpcclient";
}

View File

@ -0,0 +1 @@
addToSearchPath XDG_DATA_DIRS @out@/share

View File

@ -6085,7 +6085,8 @@ let
};
kf57 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.7 { });
kf5_latest = kf57;
kf58 = recurseIntoAttrs (callPackage ../development/libraries/kde-frameworks-5.8 { });
kf5_latest = kf58;
kf5_stable = kf57;
krb5 = callPackage ../development/libraries/kerberos/krb5.nix {