From 4c4a53e5164f9b23095d67dcb53434a7a3fc34f5 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 27 Oct 2015 18:10:16 -0500 Subject: [PATCH] kiconthemes: default theme is breeze --- .../libraries/kde-frameworks-5.15/default.nix | 2 +- .../kiconthemes/0001-default-icon-theme.patch | 25 +++++++++++++++++++ .../default.nix} | 1 + 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/0001-default-icon-theme.patch rename pkgs/development/libraries/kde-frameworks-5.15/{kiconthemes.nix => kiconthemes/default.nix} (87%) diff --git a/pkgs/development/libraries/kde-frameworks-5.15/default.nix b/pkgs/development/libraries/kde-frameworks-5.15/default.nix index 6b6b95ab3c70..52b76d3dfc43 100644 --- a/pkgs/development/libraries/kde-frameworks-5.15/default.nix +++ b/pkgs/development/libraries/kde-frameworks-5.15/default.nix @@ -69,7 +69,7 @@ let kguiaddons = callPackage ./kguiaddons.nix {}; khtml = callPackage ./khtml.nix {}; ki18n = callPackage ./ki18n.nix {}; - kiconthemes = callPackage ./kiconthemes.nix {}; + kiconthemes = callPackage ./kiconthemes {}; kidletime = callPackage ./kidletime.nix {}; kimageformats = callPackage ./kimageformats.nix {}; kinit = callPackage ./kinit {}; diff --git a/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/0001-default-icon-theme.patch b/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/0001-default-icon-theme.patch new file mode 100644 index 000000000000..0470b32da738 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/0001-default-icon-theme.patch @@ -0,0 +1,25 @@ +From 61dd07a27b229d33ceb386e9f909773d5885999c Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Tue, 27 Oct 2015 17:14:36 -0500 +Subject: [PATCH] default icon theme + +--- + src/kicontheme.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kicontheme.cpp b/src/kicontheme.cpp +index d0ab4b9..dce7773 100644 +--- a/src/kicontheme.cpp ++++ b/src/kicontheme.cpp +@@ -542,7 +542,7 @@ void KIconTheme::reconfigure() + // static + QString KIconTheme::defaultThemeName() + { +- return QLatin1String("oxygen"); ++ return QLatin1String("breeze"); + } + + void KIconTheme::assignIconsToContextMenu(ContextMenus type, +-- +2.6.2 + diff --git a/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes.nix b/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/default.nix similarity index 87% rename from pkgs/development/libraries/kde-frameworks-5.15/kiconthemes.nix rename to pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/default.nix index 02b516afedc6..71114f68fb43 100644 --- a/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes.nix +++ b/pkgs/development/libraries/kde-frameworks-5.15/kiconthemes/default.nix @@ -4,6 +4,7 @@ kdeFramework { name = "kiconthemes"; + patches = [ ./0001-default-icon-theme.patch ]; nativeBuildInputs = [ extra-cmake-modules ]; buildInputs = [ kconfigwidgets kitemviews qtsvg ]; propagatedBuildInputs = [ ki18n ];