From 937ede3b165bb7c515122fd743f9e55c20332b8d Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 14 Aug 2022 13:20:17 +0300 Subject: [PATCH] kconfigwidgets: drop merged patch --- .../libraries/kde-frameworks/default.nix | 2 +- .../default.nix => kconfigwidgets.nix} | 1 - .../0001-QDirIterator-follow-symlinks.patch | 25 ------------------- 3 files changed, 1 insertion(+), 27 deletions(-) rename pkgs/development/libraries/kde-frameworks/{kconfigwidgets/default.nix => kconfigwidgets.nix} (89%) delete mode 100644 pkgs/development/libraries/kde-frameworks/kconfigwidgets/0001-QDirIterator-follow-symlinks.patch diff --git a/pkgs/development/libraries/kde-frameworks/default.nix b/pkgs/development/libraries/kde-frameworks/default.nix index 9732fcb663df..21e815090f8a 100644 --- a/pkgs/development/libraries/kde-frameworks/default.nix +++ b/pkgs/development/libraries/kde-frameworks/default.nix @@ -153,7 +153,7 @@ let baloo = callPackage ./baloo.nix {}; kbookmarks = callPackage ./kbookmarks.nix {}; kcmutils = callPackage ./kcmutils {}; - kconfigwidgets = callPackage ./kconfigwidgets {}; + kconfigwidgets = callPackage ./kconfigwidgets.nix {}; kdav = callPackage ./kdav.nix {}; kdeclarative = callPackage ./kdeclarative.nix {}; kded = callPackage ./kded.nix {}; diff --git a/pkgs/development/libraries/kde-frameworks/kconfigwidgets/default.nix b/pkgs/development/libraries/kde-frameworks/kconfigwidgets.nix similarity index 89% rename from pkgs/development/libraries/kde-frameworks/kconfigwidgets/default.nix rename to pkgs/development/libraries/kde-frameworks/kconfigwidgets.nix index e9b283ebc318..4b20daf052a0 100644 --- a/pkgs/development/libraries/kde-frameworks/kconfigwidgets/default.nix +++ b/pkgs/development/libraries/kde-frameworks/kconfigwidgets.nix @@ -8,7 +8,6 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ kguiaddons ki18n qtbase qttools ]; propagatedBuildInputs = [ kauth kcodecs kconfig kwidgetsaddons ]; - patches = [ ./0001-QDirIterator-follow-symlinks.patch ]; outputs = [ "out" "dev" ]; outputBin = "dev"; postInstall = '' diff --git a/pkgs/development/libraries/kde-frameworks/kconfigwidgets/0001-QDirIterator-follow-symlinks.patch b/pkgs/development/libraries/kde-frameworks/kconfigwidgets/0001-QDirIterator-follow-symlinks.patch deleted file mode 100644 index 30cfafafab97..000000000000 --- a/pkgs/development/libraries/kde-frameworks/kconfigwidgets/0001-QDirIterator-follow-symlinks.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 05c0eb5d803ac52c0dd97a98f6d2821650c3c14c Mon Sep 17 00:00:00 2001 -From: Thomas Tuegel -Date: Sun, 28 Mar 2021 06:09:47 -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 a053cd7..787d375 100644 ---- a/src/khelpclient.cpp -+++ b/src/khelpclient.cpp -@@ -34,7 +34,7 @@ void KHelpClient::invokeHelp(const QString &anchor, const QString &_appname) - QString docPath; - const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation); - for (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.30.1 -