mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
kde5_latest -> kde5
This commit is contained in:
parent
522ed7ce76
commit
a2e40003a1
@ -1,58 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, karchive
|
||||
, kconfig
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, ki18n
|
||||
, kiconthemes
|
||||
, khtml
|
||||
, kio
|
||||
, kservice
|
||||
, kpty
|
||||
, kwidgetsaddons
|
||||
, libarchive
|
||||
, p7zip
|
||||
, unrar
|
||||
, unzipNLS
|
||||
, zip
|
||||
}:
|
||||
|
||||
let PATH = lib.makeBinPath [
|
||||
p7zip unrar unzipNLS zip
|
||||
];
|
||||
in
|
||||
|
||||
kdeApp {
|
||||
name = "ark";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
karchive
|
||||
kconfig
|
||||
kcrash
|
||||
kdbusaddons
|
||||
kiconthemes
|
||||
kservice
|
||||
kpty
|
||||
kwidgetsaddons
|
||||
libarchive
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
khtml
|
||||
ki18n
|
||||
kio
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/ark" \
|
||||
--prefix PATH : "${PATH}"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, kconfig
|
||||
, kio
|
||||
, ki18n
|
||||
, kservice
|
||||
, kfilemetadata
|
||||
, baloo
|
||||
, kdelibs4support
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "baloo-widgets";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
kconfig
|
||||
kservice
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
baloo
|
||||
kdelibs4support
|
||||
kfilemetadata
|
||||
ki18n
|
||||
kio
|
||||
];
|
||||
meta = {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# 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.
|
||||
|
||||
{ pkgs, debug ? false }:
|
||||
|
||||
let
|
||||
|
||||
inherit (pkgs) lib stdenv;
|
||||
|
||||
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
||||
mirror = "mirror://kde";
|
||||
|
||||
packages = self: with self; {
|
||||
|
||||
kdeApp = import ./kde-app.nix {
|
||||
inherit stdenv lib;
|
||||
inherit debug srcs;
|
||||
};
|
||||
|
||||
kdelibs = callPackage ./kdelibs { inherit (pkgs) attica phonon; };
|
||||
|
||||
ark = callPackage ./ark.nix {};
|
||||
baloo-widgets = callPackage ./baloo-widgets.nix {};
|
||||
dolphin = callPackage ./dolphin.nix {};
|
||||
dolphin-plugins = callPackage ./dolphin-plugins.nix {};
|
||||
ffmpegthumbs = callPackage ./ffmpegthumbs.nix {};
|
||||
filelight = callPackage ./filelight.nix {};
|
||||
gpgmepp = callPackage ./gpgmepp.nix {};
|
||||
gwenview = callPackage ./gwenview.nix {};
|
||||
kate = callPackage ./kate.nix {};
|
||||
kcalc = callPackage ./kcalc.nix {};
|
||||
kcolorchooser = callPackage ./kcolorchooser.nix {};
|
||||
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
|
||||
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
|
||||
kgpg = callPackage ./kgpg.nix { inherit (pkgs.kde4) kdepimlibs; };
|
||||
kio-extras = callPackage ./kio-extras.nix {};
|
||||
konsole = callPackage ./konsole.nix {};
|
||||
libkdcraw = callPackage ./libkdcraw.nix {};
|
||||
libkexiv2 = callPackage ./libkexiv2.nix {};
|
||||
libkipi = callPackage ./libkipi.nix {};
|
||||
okular = callPackage ./okular.nix {};
|
||||
print-manager = callPackage ./print-manager.nix {};
|
||||
spectacle = callPackage ./spectacle.nix {};
|
||||
|
||||
l10n = pkgs.recurseIntoAttrs (import ./l10n.nix { inherit callPackage lib pkgs; });
|
||||
};
|
||||
|
||||
in packages
|
@ -1,31 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, kxmlgui
|
||||
, ki18n
|
||||
, kio
|
||||
, kdelibs4support
|
||||
, dolphin
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "dolphin-plugins";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
kxmlgui
|
||||
dolphin
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kdelibs4support
|
||||
ki18n
|
||||
kio
|
||||
];
|
||||
meta = {
|
||||
license = [ lib.licenses.gpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
, kinit
|
||||
, kcmutils
|
||||
, kcoreaddons
|
||||
, knewstuff
|
||||
, ki18n
|
||||
, kdbusaddons
|
||||
, kbookmarks
|
||||
, kconfig
|
||||
, kio
|
||||
, kparts
|
||||
, solid
|
||||
, kiconthemes
|
||||
, kcompletion
|
||||
, ktexteditor
|
||||
, kwindowsystem
|
||||
, knotifications
|
||||
, kactivities
|
||||
, phonon
|
||||
, baloo
|
||||
, baloo-widgets
|
||||
, kfilemetadata
|
||||
, kdelibs4support
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "dolphin";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
makeQtWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
kinit
|
||||
kcmutils
|
||||
kcoreaddons
|
||||
knewstuff
|
||||
kdbusaddons
|
||||
kbookmarks
|
||||
kconfig
|
||||
kparts
|
||||
solid
|
||||
kiconthemes
|
||||
kcompletion
|
||||
knotifications
|
||||
phonon
|
||||
baloo-widgets
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
baloo
|
||||
kactivities
|
||||
kdelibs4support
|
||||
kfilemetadata
|
||||
ki18n
|
||||
kio
|
||||
ktexteditor
|
||||
kwindowsystem
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/dolphin"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
#! /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!
|
||||
WGET_ARGS='http://download.kde.org/stable/applications/15.12.3/ -A *.tar.xz'
|
||||
|
||||
mkdir tmp; cd tmp
|
||||
|
||||
rm -f ../srcs.csv
|
||||
|
||||
wget -nH -r -c --no-parent $WGET_ARGS
|
||||
|
||||
find . | while read src; do
|
||||
if [[ -f "${src}" ]]; then
|
||||
# Sanitize file name
|
||||
filename=$(basename "$src" | tr '@' '_')
|
||||
nameVersion="${filename%.tar.*}"
|
||||
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
|
||||
version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
|
||||
echo "$name,$version,$src,$filename" >>../srcs.csv
|
||||
fi
|
||||
done
|
||||
|
||||
cat >../srcs.nix <<EOF
|
||||
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
|
||||
{ fetchurl, mirror }:
|
||||
|
||||
{
|
||||
EOF
|
||||
|
||||
gawk -F , "{ print \$1 }" ../srcs.csv | sort | uniq | while read name; do
|
||||
versions=$(gawk -F , "/^$name,/ { print \$2 }" ../srcs.csv)
|
||||
latestVersion=$(echo "$versions" | sort -rV | head -n 1)
|
||||
src=$(gawk -F , "/^$name,$latestVersion,/ { print \$3 }" ../srcs.csv)
|
||||
filename=$(gawk -F , "/^$name,$latestVersion,/ { print \$4 }" ../srcs.csv)
|
||||
url="${src:2}"
|
||||
sha256=$(nix-hash --type sha256 --base32 --flat "$src")
|
||||
cat >>../srcs.nix <<EOF
|
||||
$name = {
|
||||
version = "$latestVersion";
|
||||
src = fetchurl {
|
||||
url = "\${mirror}/$url";
|
||||
sha256 = "$sha256";
|
||||
name = "$filename";
|
||||
};
|
||||
};
|
||||
EOF
|
||||
done
|
||||
|
||||
echo "}" >>../srcs.nix
|
||||
|
||||
rm -f ../srcs.csv
|
||||
|
||||
cd ..
|
@ -1,21 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, ffmpeg
|
||||
, kio
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "ffmpegthumbs";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
kio
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
, qtscript
|
||||
, kio
|
||||
, solid
|
||||
, kxmlgui
|
||||
, kparts
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "filelight";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
makeQtWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
kio
|
||||
kparts
|
||||
qtscript
|
||||
solid
|
||||
kxmlgui
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/filelight"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = with lib.maintainers; [ fridh vcunat ];
|
||||
};
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, boost
|
||||
, gpgme
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "gpgmepp";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
boost
|
||||
gpgme
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
, baloo
|
||||
, exiv2
|
||||
, kactivities
|
||||
, kdelibs4support
|
||||
, kio
|
||||
, lcms2
|
||||
, phonon
|
||||
, qtsvg
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "gwenview";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
makeQtWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
exiv2
|
||||
lcms2
|
||||
phonon
|
||||
qtsvg
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
baloo
|
||||
kactivities
|
||||
kdelibs4support
|
||||
kio
|
||||
qtx11extras
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/gwenview"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, qtscript
|
||||
, kactivities
|
||||
, kconfig
|
||||
, kcrash
|
||||
, kguiaddons
|
||||
, kiconthemes
|
||||
, ki18n
|
||||
, kinit
|
||||
, kjobwidgets
|
||||
, kio
|
||||
, kparts
|
||||
, ktexteditor
|
||||
, kwindowsystem
|
||||
, kxmlgui
|
||||
, kdbusaddons
|
||||
, kwallet
|
||||
, plasma-framework
|
||||
, kitemmodels
|
||||
, knotifications
|
||||
, threadweaver
|
||||
, knewstuff
|
||||
, libgit2
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kate";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
qtscript
|
||||
kconfig
|
||||
kcrash
|
||||
kguiaddons
|
||||
kiconthemes
|
||||
kinit
|
||||
kjobwidgets
|
||||
kparts
|
||||
kxmlgui
|
||||
kdbusaddons
|
||||
kwallet
|
||||
kitemmodels
|
||||
knotifications
|
||||
threadweaver
|
||||
knewstuff
|
||||
libgit2
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kactivities
|
||||
ki18n
|
||||
kio
|
||||
ktexteditor
|
||||
kwindowsystem
|
||||
plasma-framework
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kate"
|
||||
wrapQtProgram "$out/bin/kwrite"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, makeQtWrapper
|
||||
, extra-cmake-modules
|
||||
, gmp
|
||||
, kdoctools
|
||||
, kconfig
|
||||
, kconfigwidgets
|
||||
, kguiaddons
|
||||
, kinit
|
||||
, knotifications
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kcalc";
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kguiaddons
|
||||
kinit
|
||||
knotifications
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kcalc"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{ kdeApp, lib
|
||||
, automoc4, cmake, kdelibs
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kcolorchooser";
|
||||
|
||||
nativeBuildInputs = [ automoc4 cmake ];
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ stdenv, lib, debug, srcs }:
|
||||
|
||||
args:
|
||||
|
||||
let
|
||||
inherit (args) name;
|
||||
sname = args.sname or name;
|
||||
inherit (srcs."${sname}") src version;
|
||||
in
|
||||
stdenv.mkDerivation (args // {
|
||||
name = "${name}-${version}";
|
||||
inherit src;
|
||||
|
||||
outputs = args.outputs or [ "dev" "out" ];
|
||||
|
||||
cmakeFlags =
|
||||
(args.cmakeFlags or [])
|
||||
++ [ "-DBUILD_TESTING=OFF" ]
|
||||
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "http://www.kde.org";
|
||||
} // (args.meta or {});
|
||||
})
|
@ -1,27 +0,0 @@
|
||||
name: args:
|
||||
|
||||
{ kdeApp, automoc4, cmake, gettext, kdelibs, perl }:
|
||||
|
||||
kdeApp (args // {
|
||||
sname = "kde-l10n-${name}";
|
||||
name = "kde-l10n-${name}-qt4";
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs =
|
||||
[ automoc4 cmake gettext perl ]
|
||||
++ (args.nativeBuildInputs or []);
|
||||
buildInputs =
|
||||
[ kdelibs ]
|
||||
++ (args.buildInputs or []);
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's/add_subdirectory(5)//' -i CMakeLists.txt
|
||||
${args.preConfigure or ""}
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
propagatedBuildInputs=
|
||||
propagatedNativeBuildInputs=
|
||||
'';
|
||||
})
|
@ -1,24 +0,0 @@
|
||||
name: args:
|
||||
|
||||
{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:
|
||||
|
||||
kdeApp (args // {
|
||||
sname = "kde-l10n-${name}";
|
||||
name = "kde-l10n-${name}-qt5";
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs =
|
||||
[ cmake extra-cmake-modules gettext kdoctools ]
|
||||
++ (args.nativeBuildInputs or []);
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
|
||||
${args.preConfigure or ""}
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
propagatedBuildInputs=
|
||||
propagatedNativeBuildInputs=
|
||||
'';
|
||||
})
|
@ -1,23 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kio
|
||||
, libkexiv2
|
||||
, libkdcraw
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kdegraphics-thumbnailers";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
kio
|
||||
libkexiv2
|
||||
libkdcraw
|
||||
];
|
||||
meta = {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
From b43c49109694940f0a26240753e879eb629dd02d Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@gmail.com>
|
||||
Date: Mon, 7 Sep 2015 13:54:57 -0500
|
||||
Subject: [PATCH 1/2] old kde4 cmake policies
|
||||
|
||||
---
|
||||
cmake/modules/FindKDE4Internal.cmake | 33 +++++++++++++++++++++++++++++++++
|
||||
1 file changed, 33 insertions(+)
|
||||
|
||||
diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake
|
||||
index 7d54b9b..c435571 100644
|
||||
--- a/cmake/modules/FindKDE4Internal.cmake
|
||||
+++ b/cmake/modules/FindKDE4Internal.cmake
|
||||
@@ -345,6 +345,39 @@
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
+# this is required now by cmake 2.6 and so must not be skipped by if(KDE4_FOUND) below
|
||||
+cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR)
|
||||
+# set the cmake policies to the 2.4.x compatibility settings (may change for KDE 4.3)
|
||||
+cmake_policy(VERSION 2.4.5)
|
||||
+
|
||||
+# CMake 2.6, set compatibility behaviour to cmake 2.4
|
||||
+# this must be executed always, because the CMAKE_MINIMUM_REQUIRED() command above
|
||||
+# resets the policy settings, so we get a lot of warnings
|
||||
+
|
||||
+# CMP0000: don't require cmake_minimum_version() directly in the top level CMakeLists.txt, FindKDE4Internal.cmake is good enough
|
||||
+cmake_policy(SET CMP0000 OLD)
|
||||
+# CMP0002: in KDE4 we have multiple targets with the same name for the unit tests
|
||||
+cmake_policy(SET CMP0002 OLD)
|
||||
+# CMP0003: add the link paths to the link command as with cmake 2.4
|
||||
+cmake_policy(SET CMP0003 OLD)
|
||||
+# CMP0005: keep escaping behaviour for definitions added via add_definitions()
|
||||
+cmake_policy(SET CMP0005 OLD)
|
||||
+# since cmake 2.6.3: NEW behaviour is that setting policies doesn't "escape" the file
|
||||
+# where this is done, macros and functions are executed with the policies as they
|
||||
+# were when the were defined. Keep the OLD behaviour so we can set the policies here
|
||||
+# for all KDE software without the big warning
|
||||
+cmake_policy(SET CMP0011 OLD)
|
||||
+
|
||||
+# since cmake 2.8.4: when include()ing from inside cmake's module dir, prefer the files
|
||||
+# in this directory over those from CMAKE_MODULE_PATH
|
||||
+cmake_policy(SET CMP0017 NEW)
|
||||
+
|
||||
+# since cmake 3.0: use of the LOCATION target property is disallowed while it is used in KDE4Macros.cmake
|
||||
+if (POLICY CMP0026)
|
||||
+ cmake_policy(SET CMP0026 OLD)
|
||||
+endif (POLICY CMP0026)
|
||||
+
|
||||
+
|
||||
# Only do something if it hasn't been found yet
|
||||
if(NOT KDE4_FOUND)
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,25 +0,0 @@
|
||||
From fab35bac146a817f3af80f45531355fd70cd226b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@gmail.com>
|
||||
Date: Mon, 7 Sep 2015 13:56:03 -0500
|
||||
Subject: [PATCH 2/2] polkit install path
|
||||
|
||||
---
|
||||
kdecore/auth/ConfigureChecks.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kdecore/auth/ConfigureChecks.cmake b/kdecore/auth/ConfigureChecks.cmake
|
||||
index 7cf9cb5..c8334ae 100644
|
||||
--- a/kdecore/auth/ConfigureChecks.cmake
|
||||
+++ b/kdecore/auth/ConfigureChecks.cmake
|
||||
@@ -150,7 +150,7 @@ elseif(KDE4_AUTH_BACKEND_NAME STREQUAL "POLKITQT-1")
|
||||
${CMAKE_INSTALL_PREFIX} _KDE4_AUTH_POLICY_FILES_INSTALL_DIR
|
||||
${POLKITQT-1_POLICY_FILES_INSTALL_DIR})
|
||||
|
||||
- set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR ${_KDE4_AUTH_POLICY_FILES_INSTALL_DIR} CACHE STRING
|
||||
+ set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions" CACHE STRING
|
||||
"Where policy files generated by KAuth will be installed" FORCE)
|
||||
elseif(KDE4_AUTH_BACKEND_NAME STREQUAL "FAKE")
|
||||
set (KAUTH_COMPILING_FAKE_BACKEND TRUE)
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,47 +0,0 @@
|
||||
diff --git a/kdecore/kernel/kstandarddirs.cpp b/kdecore/kernel/kstandarddirs.cpp
|
||||
index ab8f76d..2ae5089 100644
|
||||
--- a/kdecore/kernel/kstandarddirs.cpp
|
||||
+++ b/kdecore/kernel/kstandarddirs.cpp
|
||||
@@ -1768,12 +1768,6 @@ void KStandardDirs::addKDEDefaults()
|
||||
else
|
||||
{
|
||||
xdgdirList.clear();
|
||||
- xdgdirList.append(QString::fromLatin1("/etc/xdg"));
|
||||
-#ifdef Q_WS_WIN
|
||||
- xdgdirList.append(installPath("kdedir") + QString::fromLatin1("etc/xdg"));
|
||||
-#else
|
||||
- xdgdirList.append(QFile::decodeName(KDESYSCONFDIR "/xdg"));
|
||||
-#endif
|
||||
}
|
||||
|
||||
QString localXdgDir = readEnvPath("XDG_CONFIG_HOME");
|
||||
@@ -1821,10 +1815,6 @@ void KStandardDirs::addKDEDefaults()
|
||||
}
|
||||
} else {
|
||||
xdgdirList = kdedirDataDirs;
|
||||
-#ifndef Q_WS_WIN
|
||||
- xdgdirList.append(QString::fromLatin1("/usr/local/share/"));
|
||||
- xdgdirList.append(QString::fromLatin1("/usr/share/"));
|
||||
-#endif
|
||||
}
|
||||
|
||||
localXdgDir = readEnvPath("XDG_DATA_HOME");
|
||||
diff --git a/solid/solid/xdgbasedirs.cpp b/solid/solid/xdgbasedirs.cpp
|
||||
index 4c9cad9..6849d45 100644
|
||||
--- a/solid/solid/xdgbasedirs.cpp
|
||||
+++ b/solid/solid/xdgbasedirs.cpp
|
||||
@@ -70,12 +70,12 @@ QStringList Solid::XdgBaseDirs::systemPathList( const char *resource )
|
||||
{
|
||||
if ( qstrncmp( "data", resource, 4 ) == 0 ) {
|
||||
if ( instance()->mDataDirs.isEmpty() ) {
|
||||
- instance()->mDataDirs = instance()->systemPathList( "XDG_DATA_DIRS", "/usr/local/share:/usr/share" );
|
||||
+ instance()->mDataDirs = instance()->systemPathList( "XDG_DATA_DIRS", "" );
|
||||
}
|
||||
return instance()->mDataDirs;
|
||||
} else if ( qstrncmp( "config", resource, 6 ) == 0 ) {
|
||||
if ( instance()->mConfigDirs.isEmpty() ) {
|
||||
- instance()->mConfigDirs = instance()->systemPathList( "XDG_CONFIG_DIRS", "/etc/xdg" );
|
||||
+ instance()->mConfigDirs = instance()->systemPathList( "XDG_CONFIG_DIRS", "" );
|
||||
}
|
||||
return instance()->mConfigDirs;
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
{ kdeApp, attica, attr, automoc4, avahi, bison, cmake
|
||||
, docbook_xml_dtd_42, docbook_xsl, flex, giflib, ilmbase
|
||||
, libdbusmenu_qt, libjpeg, libxml2, libxslt, perl, phonon, pkgconfig
|
||||
, polkit_qt4, qca2, qt4, shared_desktop_ontologies, shared_mime_info
|
||||
, soprano, strigi, udev, xz, pcre
|
||||
, lib
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kdelibs";
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
buildInputs = [
|
||||
attica attr avahi giflib libdbusmenu_qt libjpeg libxml2
|
||||
polkit_qt4 qca2 shared_desktop_ontologies udev xz pcre
|
||||
];
|
||||
propagatedBuildInputs = [ qt4 soprano phonon strigi ];
|
||||
nativeBuildInputs = [
|
||||
automoc4 bison cmake flex libxslt perl pkgconfig shared_mime_info
|
||||
];
|
||||
|
||||
patches = [
|
||||
./0001-old-kde4-cmake-policies.patch
|
||||
./0002-polkit-install-path.patch
|
||||
./0003-remove_xdg_impurities.patch
|
||||
];
|
||||
|
||||
# cmake does not detect path to `ilmbase`
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook"
|
||||
"-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook"
|
||||
"-DWITH_SOLID_UDISKS2=ON"
|
||||
"-DKDE_DEFAULT_HOME=.kde"
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
licenses = with lib.licenses; [ gpl2 fdl12 lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
addQt4Plugins() {
|
||||
if [[ -d "$1/lib/qt4/plugins" ]]; then
|
||||
propagatedUserEnvPkgs+=" $1"
|
||||
fi
|
||||
|
||||
if [[ -d "$1/lib/kde4/plugins" ]]; then
|
||||
propagatedUserEnvPkgs+=" $1"
|
||||
fi
|
||||
}
|
||||
envHooks+=(addQt4Plugins)
|
@ -1,29 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, kcoreaddons
|
||||
, ki18n
|
||||
, kio
|
||||
, kwidgetsaddons
|
||||
, samba
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kdenetwork-filesharing";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
kcoreaddons
|
||||
ki18n
|
||||
kio
|
||||
kwidgetsaddons
|
||||
samba
|
||||
];
|
||||
meta = {
|
||||
license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, automoc4
|
||||
, cmake
|
||||
, makeWrapper
|
||||
, perl
|
||||
, pkgconfig
|
||||
, boost
|
||||
, gpgme
|
||||
, kdelibs
|
||||
, kdepimlibs
|
||||
, gnupg
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kgpg";
|
||||
nativeBuildInputs = [
|
||||
automoc4
|
||||
cmake
|
||||
makeWrapper
|
||||
perl
|
||||
pkgconfig
|
||||
];
|
||||
buildInputs = [
|
||||
boost
|
||||
gpgme
|
||||
kdelibs
|
||||
kdepimlibs
|
||||
];
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/kgpg" \
|
||||
--prefix PATH : "${gnupg}/bin"
|
||||
'';
|
||||
meta = {
|
||||
license = [ lib.licenses.gpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
{ kdeApp, lib
|
||||
, extra-cmake-modules, kdoctools
|
||||
, shared_mime_info
|
||||
, exiv2
|
||||
, karchive
|
||||
, kbookmarks
|
||||
, kconfig, kconfigwidgets
|
||||
, kcoreaddons, kdbusaddons, kguiaddons
|
||||
, kdnssd
|
||||
, kiconthemes
|
||||
, ki18n
|
||||
, kio
|
||||
, khtml
|
||||
, kdelibs4support
|
||||
, kpty
|
||||
, libmtp
|
||||
, libssh
|
||||
, openexr
|
||||
, openslp
|
||||
, phonon
|
||||
, qtsvg
|
||||
, samba
|
||||
, solid
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "kio-extras";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules kdoctools
|
||||
shared_mime_info
|
||||
];
|
||||
buildInputs = [
|
||||
exiv2
|
||||
karchive
|
||||
kbookmarks
|
||||
kconfig kconfigwidgets
|
||||
kcoreaddons kdbusaddons kguiaddons
|
||||
kdnssd
|
||||
kiconthemes
|
||||
ki18n
|
||||
kio
|
||||
khtml
|
||||
kdelibs4support
|
||||
kpty
|
||||
libmtp
|
||||
libssh
|
||||
openexr
|
||||
openslp
|
||||
phonon
|
||||
qtsvg
|
||||
samba
|
||||
solid
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
, qtscript
|
||||
, kbookmarks
|
||||
, kcompletion
|
||||
, kconfig
|
||||
, kconfigwidgets
|
||||
, kcoreaddons
|
||||
, kguiaddons
|
||||
, ki18n
|
||||
, kiconthemes
|
||||
, kinit
|
||||
, kdelibs4support
|
||||
, kio
|
||||
, knotifications
|
||||
, knotifyconfig
|
||||
, kparts
|
||||
, kpty
|
||||
, kservice
|
||||
, ktextwidgets
|
||||
, kwidgetsaddons
|
||||
, kwindowsystem
|
||||
, kxmlgui
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "konsole";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
makeQtWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
qtscript
|
||||
kbookmarks
|
||||
kcompletion
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kcoreaddons
|
||||
kguiaddons
|
||||
kiconthemes
|
||||
kinit
|
||||
kio
|
||||
knotifications
|
||||
knotifyconfig
|
||||
kparts
|
||||
kpty
|
||||
kservice
|
||||
ktextwidgets
|
||||
kwidgetsaddons
|
||||
kxmlgui
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kdelibs4support
|
||||
ki18n
|
||||
kwindowsystem
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/konsole"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,244 +0,0 @@
|
||||
{ callPackage, pkgs, lib }:
|
||||
|
||||
let
|
||||
|
||||
kdeLocale4 = import ./kde-locale-4.nix;
|
||||
kdeLocale5 = import ./kde-locale-5.nix;
|
||||
|
||||
in
|
||||
|
||||
lib.mapAttrs (name: attr: pkgs.recurseIntoAttrs attr) {
|
||||
ar = {
|
||||
qt4 = callPackage (kdeLocale4 "ar" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ar" {}) {};
|
||||
};
|
||||
bg = {
|
||||
qt4 = callPackage (kdeLocale4 "bg" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "bg" {}) {};
|
||||
};
|
||||
bs = {
|
||||
qt4 = callPackage (kdeLocale4 "bs" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "bs" {}) {};
|
||||
};
|
||||
ca = {
|
||||
qt4 = callPackage (kdeLocale4 "ca" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ca" {}) {};
|
||||
};
|
||||
ca_valencia = {
|
||||
qt4 = callPackage (kdeLocale4 "ca_valencia" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ca_valencia" {}) {};
|
||||
};
|
||||
cs = {
|
||||
qt4 = callPackage (kdeLocale4 "cs" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "cs" {}) {};
|
||||
};
|
||||
da = {
|
||||
qt4 = callPackage (kdeLocale4 "da" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "da" {}) {};
|
||||
};
|
||||
de = {
|
||||
qt4 = callPackage (kdeLocale4 "de" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "de" {}) {};
|
||||
};
|
||||
el = {
|
||||
qt4 = callPackage (kdeLocale4 "el" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "el" {}) {};
|
||||
};
|
||||
en_GB = {
|
||||
qt4 = callPackage (kdeLocale4 "en_GB" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "en_GB" {}) {};
|
||||
};
|
||||
eo = {
|
||||
qt4 = callPackage (kdeLocale4 "eo" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "eo" {}) {};
|
||||
};
|
||||
es = {
|
||||
qt4 = callPackage (kdeLocale4 "es" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "es" {}) {};
|
||||
};
|
||||
et = {
|
||||
qt4 = callPackage (kdeLocale4 "et" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "et" {}) {};
|
||||
};
|
||||
eu = {
|
||||
qt4 = callPackage (kdeLocale4 "eu" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "eu" {}) {};
|
||||
};
|
||||
fa = {
|
||||
qt4 = callPackage (kdeLocale4 "fa" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "fa" {}) {};
|
||||
};
|
||||
fi = {
|
||||
qt4 = callPackage (kdeLocale4 "fi" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "fi" {}) {};
|
||||
};
|
||||
fr = {
|
||||
qt4 = callPackage (kdeLocale4 "fr" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "fr" {}) {};
|
||||
};
|
||||
ga = {
|
||||
qt4 = callPackage (kdeLocale4 "ga" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ga" {}) {};
|
||||
};
|
||||
gl = {
|
||||
qt4 = callPackage (kdeLocale4 "gl" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "gl" {}) {};
|
||||
};
|
||||
he = {
|
||||
qt4 = callPackage (kdeLocale4 "he" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "he" {}) {};
|
||||
};
|
||||
hi = {
|
||||
qt4 = callPackage (kdeLocale4 "hi" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "hi" {}) {};
|
||||
};
|
||||
hr = {
|
||||
qt4 = callPackage (kdeLocale4 "hr" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "hr" {}) {};
|
||||
};
|
||||
hu = {
|
||||
qt4 = callPackage (kdeLocale4 "hu" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "hu" {}) {};
|
||||
};
|
||||
ia = {
|
||||
qt4 = callPackage (kdeLocale4 "ia" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ia" {}) {};
|
||||
};
|
||||
id = {
|
||||
qt4 = callPackage (kdeLocale4 "id" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "id" {}) {};
|
||||
};
|
||||
is = {
|
||||
qt4 = callPackage (kdeLocale4 "is" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "is" {}) {};
|
||||
};
|
||||
it = {
|
||||
qt4 = callPackage (kdeLocale4 "it" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "it" {}) {};
|
||||
};
|
||||
ja = {
|
||||
qt4 = callPackage (kdeLocale4 "ja" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ja" {}) {};
|
||||
};
|
||||
kk = {
|
||||
qt4 = callPackage (kdeLocale4 "kk" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "kk" {}) {};
|
||||
};
|
||||
km = {
|
||||
qt4 = callPackage (kdeLocale4 "km" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "km" {}) {};
|
||||
};
|
||||
ko = {
|
||||
qt4 = callPackage (kdeLocale4 "ko" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ko" {}) {};
|
||||
};
|
||||
lt = {
|
||||
qt4 = callPackage (kdeLocale4 "lt" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "lt" {}) {};
|
||||
};
|
||||
lv = {
|
||||
qt4 = callPackage (kdeLocale4 "lv" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "lv" {}) {};
|
||||
};
|
||||
mr = {
|
||||
qt4 = callPackage (kdeLocale4 "mr" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "mr" {}) {};
|
||||
};
|
||||
nb = {
|
||||
qt4 = callPackage (kdeLocale4 "nb" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "nb" {}) {};
|
||||
};
|
||||
nds = {
|
||||
qt4 = callPackage (kdeLocale4 "nds" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "nds" {}) {};
|
||||
};
|
||||
nl = {
|
||||
qt4 = callPackage (kdeLocale4 "nl" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "nl" {}) {};
|
||||
};
|
||||
nn = {
|
||||
qt4 = callPackage (kdeLocale4 "nn" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "nn" {}) {};
|
||||
};
|
||||
pa = {
|
||||
qt4 = callPackage (kdeLocale4 "pa" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "pa" {}) {};
|
||||
};
|
||||
pl = {
|
||||
qt4 = callPackage (kdeLocale4 "pl" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "pl" {}) {};
|
||||
};
|
||||
pt = {
|
||||
qt4 = callPackage (kdeLocale4 "pt" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "pt" {}) {};
|
||||
};
|
||||
pt_BR = {
|
||||
qt4 = callPackage (kdeLocale4 "pt_BR" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "pt_BR" {}) {};
|
||||
};
|
||||
ro = {
|
||||
qt4 = callPackage (kdeLocale4 "ro" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ro" {}) {};
|
||||
};
|
||||
ru = {
|
||||
qt4 = callPackage (kdeLocale4 "ru" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ru" {}) {};
|
||||
};
|
||||
sk = {
|
||||
qt4 = callPackage (kdeLocale4 "sk" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "sk" {}) {};
|
||||
};
|
||||
sl = {
|
||||
qt4 = callPackage (kdeLocale4 "sl" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "sl" {}) {};
|
||||
};
|
||||
sr = {
|
||||
qt4 = callPackage (kdeLocale4 "sr" {
|
||||
preConfigure = ''
|
||||
patchShebangs \
|
||||
4/sr/sr@latin/scripts/ts-pmap-compile.py \
|
||||
4/sr/scripts/ts-pmap-compile.py \
|
||||
4/sr/data/resolve-sr-hybrid \
|
||||
4/sr/sr@ijekavian/scripts/ts-pmap-compile.py \
|
||||
4/sr/sr@ijekavianlatin/scripts/ts-pmap-compile.py
|
||||
'';
|
||||
}) {};
|
||||
qt5 = callPackage (kdeLocale5 "sr" {
|
||||
preConfigure = ''
|
||||
patchShebangs 5/sr/data/resolve-sr-hybrid
|
||||
sed -e 's/add_subdirectory(kdesdk)//' -i 5/sr/data/CMakeLists.txt
|
||||
'';
|
||||
}) {};
|
||||
};
|
||||
sv = {
|
||||
qt4 = callPackage (kdeLocale4 "sv" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "sv" {}) {};
|
||||
};
|
||||
tr = {
|
||||
qt4 = callPackage (kdeLocale4 "tr" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "tr" {}) {};
|
||||
};
|
||||
ug = {
|
||||
qt4 = callPackage (kdeLocale4 "ug" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ug" {}) {};
|
||||
};
|
||||
# TODO: build broken in 15.11.80; re-enable in next release
|
||||
/*
|
||||
uk = {
|
||||
qt4 = callPackage (kdeLocale4 "uk" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "uk" {}) {};
|
||||
};
|
||||
*/
|
||||
wa = {
|
||||
qt4 = callPackage (kdeLocale4 "wa" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "wa" {}) {};
|
||||
};
|
||||
zh_CN = {
|
||||
qt4 = callPackage (kdeLocale4 "zh_CN" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "zh_CN" {}) {};
|
||||
};
|
||||
zh_TW = {
|
||||
qt4 = callPackage (kdeLocale4 "zh_TW" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "zh_TW" {}) {};
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, libraw
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "libkdcraw";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
libraw
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, exiv2
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "libkexiv2";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
exiv2
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kconfig
|
||||
, ki18n
|
||||
, kservice
|
||||
, kxmlgui
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "libkipi";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
kconfig ki18n kservice kxmlgui
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, automoc4
|
||||
, cmake
|
||||
, perl
|
||||
, pkgconfig
|
||||
, kdelibs
|
||||
, qimageblitz
|
||||
, poppler_qt4
|
||||
, libspectre
|
||||
, libkexiv2
|
||||
, djvulibre
|
||||
, libtiff
|
||||
, freetype
|
||||
, ebook_tools
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "okular";
|
||||
nativeBuildInputs = [
|
||||
automoc4
|
||||
cmake
|
||||
perl
|
||||
pkgconfig
|
||||
];
|
||||
buildInputs = [
|
||||
kdelibs
|
||||
qimageblitz
|
||||
poppler_qt4
|
||||
libspectre
|
||||
libkexiv2
|
||||
djvulibre
|
||||
libtiff
|
||||
freetype
|
||||
ebook_tools
|
||||
];
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, qtdeclarative
|
||||
, cups
|
||||
, kconfig
|
||||
, kconfigwidgets
|
||||
, kdbusaddons
|
||||
, kiconthemes
|
||||
, ki18n
|
||||
, kcmutils
|
||||
, kio
|
||||
, knotifications
|
||||
, plasma-framework
|
||||
, kwidgetsaddons
|
||||
, kwindowsystem
|
||||
, kitemviews
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "print-manager";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
];
|
||||
buildInputs = [
|
||||
cups
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kdbusaddons
|
||||
kiconthemes
|
||||
kcmutils
|
||||
knotifications
|
||||
kwidgetsaddons
|
||||
kitemviews
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
ki18n
|
||||
kio
|
||||
kwindowsystem
|
||||
plasma-framework
|
||||
qtdeclarative
|
||||
];
|
||||
meta = {
|
||||
license = [ lib.licenses.gpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
{ kdeApp, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kdbusaddons
|
||||
, ki18n
|
||||
, kio
|
||||
, knotifications
|
||||
, kscreen
|
||||
, kwidgetsaddons
|
||||
, kwindowsystem
|
||||
, kxmlgui
|
||||
, libkipi
|
||||
, xcb-util-cursor
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "spectacle";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
makeQtWrapper
|
||||
];
|
||||
buildInputs = [
|
||||
kconfig
|
||||
kcoreaddons
|
||||
kdbusaddons
|
||||
ki18n
|
||||
kio
|
||||
knotifications
|
||||
kscreen
|
||||
kwidgetsaddons
|
||||
kwindowsystem
|
||||
kxmlgui
|
||||
libkipi
|
||||
xcb-util-cursor
|
||||
];
|
||||
postFixup = ''
|
||||
wrapQtProgram "$out/bin/spectacle"
|
||||
'';
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,11 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "attica";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kauth, kconfig
|
||||
, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n, kidletime
|
||||
, kio, lmdb, makeQtWrapper, qtbase, qtquick1, solid
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "baloo";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [
|
||||
kconfig kcrash kdbusaddons lmdb qtquick1 solid
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kauth kcoreaddons kfilemetadata ki18n kio kidletime qtbase
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/baloo_file"
|
||||
wrapQtProgram "$out/bin/baloo_file_extractor"
|
||||
wrapQtProgram "$out/bin/balooctl"
|
||||
wrapQtProgram "$out/bin/baloosearch"
|
||||
wrapQtProgram "$out/bin/balooshow"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, qtdeclarative
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{ kdeFramework
|
||||
, extra-cmake-modules
|
||||
, qtsvg
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "breeze-icons";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtsvg ];
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Maintainer's Notes:
|
||||
#
|
||||
# Minor updates:
|
||||
# 1. Edit ./fetchsrcs.sh to point to the updated URL.
|
||||
# 2. Run ./fetchsrcs.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. Be sure to check if
|
||||
# any new components have been added and package them as necessary.
|
||||
|
||||
{ pkgs, debug ? false }:
|
||||
|
||||
let
|
||||
|
||||
inherit (pkgs) lib makeSetupHook stdenv;
|
||||
|
||||
mirror = "mirror://kde";
|
||||
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
||||
|
||||
packages = self: with self; {
|
||||
kdeFramework = args:
|
||||
let
|
||||
inherit (args) name;
|
||||
inherit (srcs."${name}") src version;
|
||||
in stdenv.mkDerivation (args // {
|
||||
name = "${name}-${version}";
|
||||
inherit src;
|
||||
|
||||
outputs = args.outputs or [ "dev" "out" ];
|
||||
|
||||
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 {});
|
||||
});
|
||||
|
||||
attica = callPackage ./attica.nix {};
|
||||
baloo = callPackage ./baloo.nix {};
|
||||
bluez-qt = callPackage ./bluez-qt.nix {};
|
||||
breeze-icons = callPackage ./breeze-icons.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 {};
|
||||
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 {};
|
||||
kglobalaccel = callPackage ./kglobalaccel.nix {};
|
||||
kguiaddons = callPackage ./kguiaddons.nix {};
|
||||
khtml = callPackage ./khtml.nix {};
|
||||
ki18n = callPackage ./ki18n.nix {};
|
||||
kiconthemes = callPackage ./kiconthemes {};
|
||||
kidletime = callPackage ./kidletime.nix {};
|
||||
kimageformats = callPackage ./kimageformats.nix {};
|
||||
kinit = callPackage ./kinit {};
|
||||
kio = callPackage ./kio {};
|
||||
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 {};
|
||||
oxygen-icons5 = callPackage ./oxygen-icons5.nix {};
|
||||
plasma-framework = callPackage ./plasma-framework {};
|
||||
solid = callPackage ./solid.nix {};
|
||||
sonnet = callPackage ./sonnet.nix {};
|
||||
threadweaver = callPackage ./threadweaver.nix {};
|
||||
};
|
||||
|
||||
in packages
|
@ -1,20 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore, cmake, pkgconfig, qttools }:
|
||||
|
||||
kdeFramework {
|
||||
name = "extra-cmake-modules";
|
||||
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
|
||||
outputs = [ "out" ]; # this package has no runtime components
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
# 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 = with lib; {
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
Index: extra-cmake-modules-5.18.0/kde-modules/KDEInstallDirs.cmake
|
||||
===================================================================
|
||||
--- extra-cmake-modules-5.18.0.orig/kde-modules/KDEInstallDirs.cmake
|
||||
+++ extra-cmake-modules-5.18.0/kde-modules/KDEInstallDirs.cmake
|
||||
@@ -200,32 +200,6 @@
|
||||
# GNUInstallDirs code deals with re-configuring, but that is dealt with
|
||||
# by the _define_* macros in this module).
|
||||
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
|
@ -1 +0,0 @@
|
||||
nix-lib-path.patch
|
@ -1,80 +0,0 @@
|
||||
_ecmSetXdgDirs() {
|
||||
addToSearchPathOnce XDG_DATA_DIRS "$1/share"
|
||||
addToSearchPathOnce XDG_CONFIG_DIRS "$1/etc/xdg"
|
||||
addToSearchPathOnce NIX_WRAP_XDG_CONFIG_DIRS "$1/etc/xdg"
|
||||
}
|
||||
|
||||
_ecmPropagateSharedData() {
|
||||
local sharedPaths=( \
|
||||
"config.cfg" \
|
||||
"kconf_update" \
|
||||
"kservices5" \
|
||||
"kservicetypes5" \
|
||||
"kxmlgui5" \
|
||||
"knotifications5" \
|
||||
"icons" \
|
||||
"sounds" \
|
||||
"templates" \
|
||||
"wallpapers" \
|
||||
"applications" \
|
||||
"desktop-directories" \
|
||||
"mime" \
|
||||
"dbus-1" \
|
||||
"interfaces" \
|
||||
"services" \
|
||||
"system-services" )
|
||||
for dir in ${sharedPaths[@]}; do
|
||||
if [ -d "$1/share/$dir" ]; then
|
||||
addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share"
|
||||
propagateOnce propagatedBuildInputs "$1"
|
||||
propagateOnce propagatedUserEnvPkgs "$1"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
_ecmConfig() {
|
||||
# Because we need to use absolute paths here, we must set *all* the paths.
|
||||
cmakeFlags+=" -DKDE_INSTALL_EXECROOTDIR=${!outputBin}"
|
||||
cmakeFlags+=" -DKDE_INSTALL_BINDIR=${!outputBin}/bin"
|
||||
cmakeFlags+=" -DKDE_INSTALL_SBINDIR=${!outputBin}/sbin"
|
||||
cmakeFlags+=" -DKDE_INSTALL_LIBDIR=${!outputLib}/lib"
|
||||
cmakeFlags+=" -DKDE_INSTALL_LIBEXECDIR=${!outputLib}/lib/libexec"
|
||||
cmakeFlags+=" -DKDE_INSTALL_CMAKEPACKAGEDIR=${!outputDev}/lib/cmake"
|
||||
cmakeFlags+=" -DKDE_INSTALL_QTPLUGINDIR=${!outputLib}/lib/qt5/plugins"
|
||||
cmakeFlags+=" -DKDE_INSTALL_PLUGINDIR=${!outputLib}/lib/qt5/plugins"
|
||||
cmakeFlags+=" -DKDE_INSTALL_QTQUICKIMPORTSDIR=${!outputLib}/lib/qt5/imports"
|
||||
cmakeFlags+=" -DKDE_INSTALL_QMLDIR=${!outputLib}/lib/qt5/qml"
|
||||
cmakeFlags+=" -DKDE_INSTALL_INCLUDEDIR=${!outputInclude}/include"
|
||||
cmakeFlags+=" -DKDE_INSTALL_LOCALSTATEDIR=/var"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DATAROOTDIR=${!outputLib}/share"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DATADIR=${!outputLib}/share"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DOCBUNDLEDIR=${!outputLib}/share/doc/HTML"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KCFGDIR=${!outputLib}/share/config.kcfg"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KCONFUPDATEDIR=${!outputLib}/share/kconf_update"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KSERVICES5DIR=${!outputLib}/share/kservices5"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KSERVICETYPES5DIR=${!outputLib}/share/kservicetypes5"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KXMLGUI5DIR=${!outputLib}/share/kxmlgui5"
|
||||
cmakeFlags+=" -DKDE_INSTALL_KNOTIFY5RCDIR=${!outputLib}/share/knotifications5"
|
||||
cmakeFlags+=" -DKDE_INSTALL_ICONDIR=${!outputLib}/share/icons"
|
||||
cmakeFlags+=" -DKDE_INSTALL_LOCALEDIR=${!outputLib}/share/locale"
|
||||
cmakeFlags+=" -DKDE_INSTALL_SOUNDDIR=${!outputLib}/share/sounds"
|
||||
cmakeFlags+=" -DKDE_INSTALL_TEMPLATEDIR=${!outputLib}/share/templates"
|
||||
cmakeFlags+=" -DKDE_INSTALL_WALLPAPERDIR=${!outputLib}/share/wallpapers"
|
||||
cmakeFlags+=" -DKDE_INSTALL_APPDIR=${!outputLib}/share/applications"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DESKTOPDIR=${!outputLib}/share/desktop-directories"
|
||||
cmakeFlags+=" -DKDE_INSTALL_MIMEDIR=${!outputLib}/share/mime/packages"
|
||||
cmakeFlags+=" -DKDE_INSTALL_METAINFODIR=${!outputLib}/share/appdata"
|
||||
cmakeFlags+=" -DKDE_INSTALL_MANDIR=${!outputLib}/share/man"
|
||||
cmakeFlags+=" -DKDE_INSTALL_INFODIR=${!outputLib}/share/info"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DBUSDIR=${!outputLib}/share/dbus-1"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DBUSINTERFACEDIR=${!outputLib}/share/dbus-1/interfaces"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DBUSSERVICEDIR=${!outputLib}/share/dbus-1/services"
|
||||
cmakeFlags+=" -DKDE_INSTALL_DBUSSYSTEMSERVICEDIR=${!outputLib}/share/dbus-1/system-services"
|
||||
cmakeFlags+=" -DKDE_INSTALL_SYSCONFDIR=${!outputLib}/etc"
|
||||
cmakeFlags+=" -DKDE_INSTALL_CONFDIR=${!outputLib}/etc/xdg"
|
||||
cmakeFlags+=" -DKDE_INSTALL_AUTOSTARTDIR=${!outputLib}/etc/xdg/autostart"
|
||||
}
|
||||
|
||||
envHooks+=(_ecmSetXdgDirs _ecmPropagateSharedData)
|
||||
preConfigureHooks+=(_ecmConfig)
|
@ -1,57 +0,0 @@
|
||||
#! /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.19/"
|
||||
EXTRA_WGET_ARGS='-A *.tar.xz'
|
||||
|
||||
mkdir tmp; cd tmp
|
||||
|
||||
rm -f ../srcs.csv
|
||||
|
||||
wget -nH -r -c --no-parent $RELEASE_URL $EXTRA_WGET_ARGS
|
||||
|
||||
find . | while read src; do
|
||||
if [[ -f "${src}" ]]; then
|
||||
# Sanitize file name
|
||||
filename=$(basename "$src" | tr '@' '_')
|
||||
nameVersion="${filename%.tar.*}"
|
||||
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
|
||||
version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
|
||||
echo "$name,$version,$src,$filename" >>../srcs.csv
|
||||
fi
|
||||
done
|
||||
|
||||
cat >../srcs.nix <<EOF
|
||||
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
|
||||
{ fetchurl, mirror }:
|
||||
|
||||
{
|
||||
EOF
|
||||
|
||||
gawk -F , "{ print \$1 }" ../srcs.csv | sort | uniq | while read name; do
|
||||
versions=$(gawk -F , "/^$name,/ { print \$2 }" ../srcs.csv)
|
||||
latestVersion=$(echo "$versions" | sort -rV | head -n 1)
|
||||
src=$(gawk -F , "/^$name,$latestVersion,/ { print \$3 }" ../srcs.csv)
|
||||
filename=$(gawk -F , "/^$name,$latestVersion,/ { print \$4 }" ../srcs.csv)
|
||||
url="${src:2}"
|
||||
sha256=$(nix-hash --type sha256 --base32 --flat "$src")
|
||||
cat >>../srcs.nix <<EOF
|
||||
$name = {
|
||||
version = "$latestVersion";
|
||||
src = fetchurl {
|
||||
url = "\${mirror}/$url";
|
||||
sha256 = "$sha256";
|
||||
name = "$filename";
|
||||
};
|
||||
};
|
||||
EOF
|
||||
done
|
||||
|
||||
echo "}" >>../srcs.nix
|
||||
|
||||
rm -f ../srcs.csv
|
||||
|
||||
cd ..
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kbookmarks, kcompletion
|
||||
, kconfig, kconfigwidgets, ki18n, kiconthemes, kio, knotifications
|
||||
, kwidgetsaddons, libXcursor, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "frameworkintegration";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
kbookmarks kcompletion kconfig knotifications kwidgetsaddons
|
||||
libXcursor
|
||||
];
|
||||
propagatedBuildInputs = [ kconfigwidgets ki18n kio kiconthemes qtx11extras ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, boost, kcmutils, kconfig
|
||||
, kcoreaddons, kdbusaddons, kdeclarative, kglobalaccel, ki18n
|
||||
, kio, kservice, kwindowsystem, kxmlgui, makeQtWrapper, qtdeclarative
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kactivities";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [
|
||||
boost kcmutils kconfig kcoreaddons kdbusaddons kservice
|
||||
kxmlgui
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kdeclarative kglobalaccel ki18n kio kwindowsystem qtdeclarative
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kactivitymanagerd"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, python
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kapidox";
|
||||
nativeBuildInputs = [ extra-cmake-modules python ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "karchive";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
Index: kauth-5.18.0/KF5AuthConfig.cmake.in
|
||||
===================================================================
|
||||
--- kauth-5.18.0.orig/KF5AuthConfig.cmake.in
|
||||
+++ kauth-5.18.0/KF5AuthConfig.cmake.in
|
||||
@@ -4,9 +4,9 @@ set(KAUTH_STUB_FILES_DIR "@PACKAGE_KDE_I
|
||||
|
||||
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_HELPER_INSTALL_DIR "@KAUTH_HELPER_INSTALL_DIR@")
|
||||
-set(KAUTH_HELPER_INSTALL_ABSOLUTE_DIR "@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
|
||||
+set(KAUTH_POLICY_FILES_INSTALL_DIR "${KDE_INSTALL_DATADIR}/polkit-1/actions")
|
||||
+set(KAUTH_HELPER_INSTALL_DIR "${KDE_INSTALL_LIBEXECDIR}")
|
||||
+set(KAUTH_HELPER_INSTALL_ABSOLUTE_DIR "${KDE_INSTALL_LIBEXECDIR}")
|
||||
|
||||
find_dependency(KF5CoreAddons "@KF5_DEP_VERSION@")
|
||||
|
@ -1,16 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules
|
||||
, kcoreaddons
|
||||
, polkit-qt
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kauth";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ polkit-qt ];
|
||||
propagatedBuildInputs = [ kcoreaddons ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
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@")
|
@ -1 +0,0 @@
|
||||
cmake-install-paths.patch
|
@ -1,25 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kcodecs
|
||||
, kconfig
|
||||
, kconfigwidgets
|
||||
, kcoreaddons
|
||||
, kiconthemes
|
||||
, kxmlgui
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kbookmarks";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
kcodecs
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kcoreaddons
|
||||
kiconthemes
|
||||
kxmlgui
|
||||
];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
From f14d2a275323a47104b33eb61c5b6910ae1a9f59 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@gmail.com>
|
||||
Date: Wed, 14 Oct 2015 06:43:53 -0500
|
||||
Subject: [PATCH] qdiriterator follow symlinks
|
||||
|
||||
---
|
||||
src/kpluginselector.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/kpluginselector.cpp b/src/kpluginselector.cpp
|
||||
index 9c3431d..d6b1ee2 100644
|
||||
--- a/src/kpluginselector.cpp
|
||||
+++ b/src/kpluginselector.cpp
|
||||
@@ -305,7 +305,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());
|
||||
}
|
||||
--
|
||||
2.5.2
|
||||
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kconfigwidgets
|
||||
, kcoreaddons, kdeclarative, ki18n, kiconthemes, kitemviews
|
||||
, kpackage, kservice, kxmlgui
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kcmutils";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
kcoreaddons kiconthemes kitemviews kpackage kxmlgui
|
||||
];
|
||||
propagatedBuildInputs = [ kconfigwidgets kdeclarative ki18n kservice ];
|
||||
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kcodecs";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kconfig
|
||||
, kwidgetsaddons
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kcompletion";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kconfig kwidgetsaddons ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, makeQtWrapper
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kconfig";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kreadconfig5"
|
||||
wrapQtProgram "$out/bin/kwriteconfig5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
From 4f84780893d505b2d62a14633dd983baa8ec6e28 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@gmail.com>
|
||||
Date: Wed, 14 Oct 2015 06:47:01 -0500
|
||||
Subject: [PATCH] qdiriterator follow symlinks
|
||||
|
||||
---
|
||||
src/khelpclient.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
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);
|
||||
--
|
||||
2.5.2
|
||||
|
@ -1,18 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kauth, kcodecs, kconfig
|
||||
, kdoctools, kguiaddons, ki18n, kwidgetsaddons, makeQtWrapper
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kconfigwidgets";
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
buildInputs = [ kguiaddons ];
|
||||
propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ];
|
||||
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
||||
postInstall = ''
|
||||
moveToOutput "bin/preparetips5" "$dev"
|
||||
wrapQtProgram "$dev/bin/preparetips5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{ kdeFramework, lib, makeQtWrapper
|
||||
, extra-cmake-modules
|
||||
, shared_mime_info
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kcoreaddons";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [ shared_mime_info ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/desktoptojson"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kcoreaddons
|
||||
, kwindowsystem
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kcrash";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kcoreaddons ];
|
||||
propagatedBuildInputs = [ kwindowsystem qtx11extras ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, makeQtWrapper
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdbusaddons";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
propagatedBuildInputs = [ qtx11extras ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kquitapp5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, epoxy, kconfig
|
||||
, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kpackage
|
||||
, kwidgetsaddons, kwindowsystem, makeQtWrapper, pkgconfig
|
||||
, qtdeclarative
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdeclarative";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [
|
||||
epoxy kguiaddons kiconthemes kwidgetsaddons
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kconfig kglobalaccel ki18n kio kpackage kwindowsystem qtdeclarative
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kpackagelauncherqml"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, kdoctools
|
||||
, kinit
|
||||
, kservice
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kded";
|
||||
buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons kinit kservice ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45, kauth
|
||||
, karchive, kcompletion, kconfig, kconfigwidgets, kcoreaddons
|
||||
, kcrash, kdbusaddons, kded, 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
|
||||
|
||||
kdeFramework {
|
||||
name = "kdelibs4support";
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [
|
||||
kcompletion kconfig kded kservice kwidgetsaddons
|
||||
kxmlgui networkmanager qtsvg qtx11extras xlibs.libSM
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kauth karchive kconfigwidgets kcoreaddons kcrash kdbusaddons
|
||||
kdesignerplugin kemoticons kglobalaccel kguiaddons ki18n kio
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules, docbook_xml_dtd_45, kauth
|
||||
, karchive, kcompletion, kconfig, kconfigwidgets, kcoreaddons
|
||||
, kcrash, kdbusaddons, kded, 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
|
||||
|
||||
kdeFramework {
|
||||
name = "kdelibs4support";
|
||||
outputs = [ "dev" "out" ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
setupHook = ./setup-hook.sh;
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [
|
||||
kcompletion kconfig kded kservice kwidgetsaddons
|
||||
kxmlgui networkmanager qtsvg qtx11extras xlibs.libSM
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kauth karchive kconfigwidgets kcoreaddons kcrash kdbusaddons
|
||||
kdesignerplugin kemoticons kglobalaccel kguiaddons ki18n kio
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
Index: kdelibs4support-5.18.0/src/kdecore/kstandarddirs.cpp
|
||||
===================================================================
|
||||
--- kdelibs4support-5.18.0.orig/src/kdecore/kstandarddirs.cpp
|
||||
+++ kdelibs4support-5.18.0/src/kdecore/kstandarddirs.cpp
|
||||
@@ -292,7 +292,7 @@ static QString relativeInstallPath(const
|
||||
return QFile::decodeName(ICON_INSTALL_DIR "/");
|
||||
}
|
||||
if (strcmp("include", type) == 0) {
|
||||
- return QFile::decodeName(INCLUDE_INSTALL_DIR "/");
|
||||
+ return QFile::decodeName(qgetenv("NIX_KDE_INCLUDE_DIR"));
|
||||
}
|
||||
break;
|
||||
case 'l':
|
@ -1 +0,0 @@
|
||||
nix-kde-include-dir.patch
|
@ -1 +0,0 @@
|
||||
export NIX_KDE_INCLUDE_DIR="@dev@/include/" # trailing slash is required!
|
@ -1,34 +0,0 @@
|
||||
{ kdeFramework, lib, makeQtWrapper
|
||||
, extra-cmake-modules
|
||||
, kcompletion
|
||||
, kconfig
|
||||
, kconfigwidgets
|
||||
, kcoreaddons
|
||||
, kdewebkit
|
||||
, kdoctools
|
||||
, kiconthemes
|
||||
, kio
|
||||
, kitemviews
|
||||
, kplotting
|
||||
, ktextwidgets
|
||||
, kwidgetsaddons
|
||||
, kxmlgui
|
||||
, sonnet
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdesignerplugin";
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
buildInputs = [
|
||||
kcompletion kconfig kconfigwidgets kcoreaddons kdewebkit
|
||||
kiconthemes kitemviews kplotting ktextwidgets kwidgetsaddons
|
||||
kxmlgui
|
||||
];
|
||||
propagatedBuildInputs = [ kio sonnet ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kgendesignerplugin"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kcoreaddons, ki18n, kpty
|
||||
, kservice
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdesu";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kcoreaddons kservice ];
|
||||
propagatedBuildInputs = [ ki18n kpty ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, kconfig, kcoreaddons
|
||||
, ki18n, kio, kjobwidgets, kparts, kservice, kwallet, qtwebkit
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdewebkit";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kconfig kcoreaddons kjobwidgets kparts kservice kwallet ];
|
||||
propagatedBuildInputs = [ ki18n kio qtwebkit ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, avahi
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdnssd";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ avahi ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45
|
||||
, docbook5_xsl, karchive, ki18n, makeQtWrapper, perl, perlPackages
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdoctools";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ karchive ];
|
||||
propagatedBuildInputs = [ ki18n ];
|
||||
propagatedNativeBuildInputs = [ makeQtWrapper 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 ];
|
||||
};
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
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
|
@ -1,5 +0,0 @@
|
||||
addXdgData() {
|
||||
addToSearchPath XDG_DATA_DIRS "$1/share"
|
||||
}
|
||||
|
||||
envHooks+=(addXdgData)
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, karchive
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kservice
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kemoticons";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ karchive kconfig kcoreaddons ];
|
||||
propagatedBuildInputs = [ kservice ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, attr, ebook_tools, exiv2
|
||||
, ffmpeg, karchive, ki18n, poppler, qtbase, taglib
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kfilemetadata";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ attr ebook_tools exiv2 ffmpeg karchive poppler taglib ];
|
||||
propagatedBuildInputs = [ qtbase ki18n ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
Index: kfilemetadata-5.18.0/src/CMakeLists.txt
|
||||
===================================================================
|
||||
--- kfilemetadata-5.18.0.orig/src/CMakeLists.txt
|
||||
+++ kfilemetadata-5.18.0/src/CMakeLists.txt
|
||||
@@ -49,7 +49,7 @@ install(TARGETS KF5FileMetaData EXPORT K
|
||||
|
||||
install(EXPORT KF5FileMetaDataTargets
|
||||
NAMESPACE KF5::
|
||||
- DESTINATION ${LIB_INSTALL_DIR}/cmake/KF5FileMetaData
|
||||
+ DESTINATION ${KDE_INSTALL_FULL_CMAKEPACKAGEDIR}/KF5FileMetaData
|
||||
FILE KF5FileMetaDataTargets.cmake)
|
||||
|
||||
install(FILES
|
@ -1,14 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore, extra-cmake-modules
|
||||
, attr, ebook_tools, exiv2, ffmpeg, karchive, ki18n, poppler, qtbase, taglib
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kfilemetadata";
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ attr ebook_tools exiv2 ffmpeg karchive poppler taglib ];
|
||||
propagatedBuildInputs = [ qtbase ki18n ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1 +0,0 @@
|
||||
cmake-install-paths.patch
|
@ -1,23 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kconfig
|
||||
, kcoreaddons
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, kwindowsystem
|
||||
, makeQtWrapper
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kglobalaccel";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ];
|
||||
propagatedBuildInputs = [ kwindowsystem qtx11extras ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kglobalaccel5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kguiaddons";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtx11extras ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ kdeFramework, lib, extra-cmake-modules, giflib, karchive
|
||||
, kcodecs, kglobalaccel, ki18n, kiconthemes, kio, kjs
|
||||
, knotifications, kparts, ktextwidgets, kwallet, kwidgetsaddons
|
||||
, kwindowsystem, kxmlgui, perl, phonon, qtx11extras, sonnet
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "khtml";
|
||||
nativeBuildInputs = [ extra-cmake-modules perl ];
|
||||
buildInputs = [
|
||||
giflib karchive kiconthemes knotifications kwallet kwidgetsaddons
|
||||
kxmlgui phonon
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kcodecs kglobalaccel ki18n kio kjs kparts ktextwidgets
|
||||
kwindowsystem qtx11extras sonnet
|
||||
];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, gettext
|
||||
, python
|
||||
, qtdeclarative
|
||||
, qtscript
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "ki18n";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtdeclarative qtscript ];
|
||||
propagatedNativeBuildInputs = [ gettext python ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
Index: kiconthemes-5.17.0/src/kicontheme.cpp
|
||||
===================================================================
|
||||
--- kiconthemes-5.17.0.orig/src/kicontheme.cpp
|
||||
+++ kiconthemes-5.17.0/src/kicontheme.cpp
|
||||
@@ -557,7 +557,7 @@ void KIconTheme::reconfigure()
|
||||
// static
|
||||
QString KIconTheme::defaultThemeName()
|
||||
{
|
||||
- return QStringLiteral("oxygen");
|
||||
+ return QStringLiteral("breeze");
|
||||
}
|
||||
|
||||
void KIconTheme::assignIconsToContextMenu(ContextMenus type,
|
@ -1,18 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules, makeQtWrapper
|
||||
, kconfigwidgets, ki18n, breeze-icons, kitemviews, qtsvg
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kiconthemes";
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
buildInputs = [ kconfigwidgets kitemviews qtsvg ];
|
||||
propagatedBuildInputs = [ breeze-icons ki18n ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kiconfinder5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1 +0,0 @@
|
||||
default-theme-breeze.patch
|
@ -1,15 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, qtbase
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kidletime";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtx11extras ];
|
||||
propagatedBuildInputs = [ qtbase ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, ilmbase
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kimageformats";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore, extra-cmake-modules, kconfig, kcrash
|
||||
, kdoctools, ki18n, kio, kservice, kwindowsystem, libcap
|
||||
, libcap_progs
|
||||
}:
|
||||
|
||||
# TODO: setuid wrapper
|
||||
|
||||
kdeFramework {
|
||||
name = "kinit";
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools libcap_progs ];
|
||||
buildInputs = [ kconfig kcrash kservice libcap ];
|
||||
propagatedBuildInputs = [ ki18n kio kwindowsystem ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
Index: kinit-5.19.0/src/kdeinit/kinit.cpp
|
||||
===================================================================
|
||||
--- kinit-5.19.0.orig/src/kdeinit/kinit.cpp
|
||||
+++ kinit-5.19.0/src/kdeinit/kinit.cpp
|
||||
@@ -658,15 +658,17 @@ static pid_t launch(int argc, const char
|
||||
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);
|
||||
- l.load();
|
||||
+ // Try to load the library relative to the active profiles.
|
||||
+ QByteArrayList profiles = qgetenv("NIX_PROFILES").split(' ');
|
||||
+ // Reverse the profile list.
|
||||
+ std::reverse(profiles.begin(), profiles.end());
|
||||
+ const QString libdir = QString::fromLatin1("/lib/");
|
||||
+ Q_FOREACH (const QByteArray &profile, profiles) {
|
||||
+ if (!profile.isEmpty()) {
|
||||
+ l.setFileName(QFile::decodeName(profile) + libdir + libpath);
|
||||
+ if (l.load()) break;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
}
|
||||
if (!l.isLoaded()) {
|
@ -1 +0,0 @@
|
||||
kinit-libpath.patch
|
@ -1,33 +0,0 @@
|
||||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules, acl, karchive
|
||||
, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons
|
||||
, kdbusaddons, kdoctools, ki18n, kiconthemes, kitemviews
|
||||
, kjobwidgets, knotifications, kservice, ktextwidgets, kwallet
|
||||
, kwidgetsaddons, kwindowsystem, kxmlgui, makeQtWrapper
|
||||
, qtscript, qtx11extras, solid
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kio";
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
buildInputs = [
|
||||
acl karchive kconfig kcoreaddons kdbusaddons kiconthemes
|
||||
knotifications ktextwidgets kwallet kwidgetsaddons
|
||||
qtscript
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kbookmarks kcompletion kconfigwidgets ki18n kitemviews kjobwidgets
|
||||
kservice kwindowsystem kxmlgui solid qtx11extras
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kcookiejar5"
|
||||
wrapQtProgram "$out/bin/ktelnetservice5"
|
||||
wrapQtProgram "$out/bin/ktrash5"
|
||||
wrapQtProgram "$out/bin/kmailservice5"
|
||||
wrapQtProgram "$out/bin/protocoltojson"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
Index: kio-5.17.0/src/core/ksambashare.cpp
|
||||
===================================================================
|
||||
--- kio-5.17.0.orig/src/core/ksambashare.cpp
|
||||
+++ kio-5.17.0/src/core/ksambashare.cpp
|
||||
@@ -67,13 +67,18 @@ KSambaSharePrivate::~KSambaSharePrivate(
|
||||
|
||||
bool KSambaSharePrivate::isSambaInstalled()
|
||||
{
|
||||
- if (QFile::exists(QStringLiteral("/usr/sbin/smbd"))
|
||||
- || QFile::exists(QStringLiteral("/usr/local/sbin/smbd"))) {
|
||||
- return true;
|
||||
+ const QByteArray pathEnv = qgetenv("PATH");
|
||||
+ if (!pathEnv.isEmpty()) {
|
||||
+ QLatin1Char pathSep(':');
|
||||
+ QStringList paths = QFile::decodeName(pathEnv).split(pathSep, QString::SkipEmptyParts);
|
||||
+ for (QStringList::iterator it = paths.begin(); it != paths.end(); ++it) {
|
||||
+ it->append("/smbd");
|
||||
+ if (QFile::exists(*it)) {
|
||||
+ return true;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
- //qDebug() << "Samba is not installed!";
|
||||
-
|
||||
return false;
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
samba-search-path.patch
|
@ -1,11 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kitemmodels";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kitemviews";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kcoreaddons
|
||||
, kwidgetsaddons
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kjobwidgets";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kcoreaddons kwidgetsaddons ];
|
||||
propagatedBuildInputs = [ qtx11extras ];
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user