lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

kde5: rename extra-cmake-modules variants

Instead of one package `extra-cmake-modules`, there is now `ecm` and
`ecmNoHooks`. The latter is used when one does not want to incur a Qt 5
dependency; it is also available as a top-level package
`extra-cmake-modules`.

+12 -49
+1 -1
nixos/modules/services/x11/desktop-managers/kde5.nix
··· 214 214 services.xserver.displayManager.sddm = { 215 215 theme = "breeze"; 216 216 themes = [ 217 - kde5.extra-cmake-modules # for the setup-hook 217 + kde5.ecm # for the setup-hook 218 218 kde5.plasma-workspace 219 219 kde5.breeze-icons 220 220 (kde5.oxygen-icons or kde5.oxygen-icons5)
+4 -4
pkgs/development/libraries/kde-frameworks/default.nix
··· 55 55 bluez-qt = callPackage ./bluez-qt.nix {}; 56 56 breeze-icons = callPackage ./breeze-icons.nix {}; 57 57 ecm = 58 - let drv = { cmake, extra-cmake-modules, pkgconfig, qtbase, qttools }: 58 + let drv = { cmake, ecmNoHooks, pkgconfig, qtbase, qttools }: 59 59 makeSetupHook 60 - { deps = [ cmake extra-cmake-modules pkgconfig qtbase qttools ]; } 60 + { deps = [ cmake ecmNoHooks pkgconfig qtbase qttools ]; } 61 61 ./setup-hook.sh; 62 62 in callPackage drv {}; 63 - extra-cmake-modules = callPackage ./extra-cmake-modules { 63 + ecmNoHooks = callPackage ./extra-cmake-modules { 64 64 inherit (srcs.extra-cmake-modules) src version; 65 65 }; 66 66 frameworkintegration = callPackage ./frameworkintegration.nix {}; ··· 113 113 kross = callPackage ./kross.nix {}; 114 114 krunner = callPackage ./krunner.nix {}; 115 115 kservice = callPackage ./kservice {}; 116 - ktexteditor = callPackage ./ktexteditor {}; 116 + ktexteditor = callPackage ./ktexteditor.nix {}; 117 117 ktextwidgets = callPackage ./ktextwidgets.nix {}; 118 118 kunitconversion = callPackage ./kunitconversion.nix {}; 119 119 kwallet = callPackage ./kwallet.nix {};
+4 -3
pkgs/development/libraries/kde-frameworks/kservice/default.nix
··· 1 - { kdeFramework, lib, copyPathsToStore, extra-cmake-modules, kconfig, kcoreaddons 2 - , kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem 1 + { 2 + kdeFramework, lib, copyPathsToStore, ecm, 3 + kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem 3 4 }: 4 5 5 6 kdeFramework { 6 7 name = "kservice"; 7 8 meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 - propagatedNativeBuildInputs = [ extra-cmake-modules ]; 9 + propagatedNativeBuildInputs = [ ecm ]; 9 10 nativeBuildInputs = [ kdoctools ]; 10 11 propagatedBuildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ki18n kwindowsystem ]; 11 12 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
+2 -3
pkgs/development/libraries/kde-frameworks/ktexteditor/default.nix pkgs/development/libraries/kde-frameworks/ktexteditor.nix
··· 1 1 { kdeFramework, lib, copyPathsToStore 2 - , extra-cmake-modules, perl 2 + , ecm, perl 3 3 , karchive, kconfig, kguiaddons, kiconthemes, kparts 4 4 , libgit2 5 5 , qtscript, qtxmlpatterns ··· 9 9 kdeFramework { 10 10 name = "ktexteditor"; 11 11 meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 12 - nativeBuildInputs = [ extra-cmake-modules perl ]; 12 + nativeBuildInputs = [ ecm perl ]; 13 13 propagatedBuildInputs = [ 14 14 karchive kconfig kguiaddons ki18n kiconthemes kio kparts libgit2 qtscript 15 15 qtxmlpatterns sonnet 16 16 ]; 17 - patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 18 17 }
-36
pkgs/development/libraries/kde-frameworks/ktexteditor/no-qcoreapplication.patch
··· 1 - Index: ktexteditor-5.18.0/src/syntax/data/katehighlightingindexer.cpp 2 - =================================================================== 3 - --- ktexteditor-5.18.0.orig/src/syntax/data/katehighlightingindexer.cpp 4 - +++ ktexteditor-5.18.0/src/syntax/data/katehighlightingindexer.cpp 5 - @@ -55,19 +55,16 @@ QStringList readListing(const QString &f 6 - 7 - int main(int argc, char *argv[]) 8 - { 9 - - // get app instance 10 - - QCoreApplication app(argc, argv); 11 - - 12 - // ensure enough arguments are passed 13 - - if (app.arguments().size() < 3) 14 - + if (argc < 3) 15 - return 1; 16 - 17 - // open schema 18 - QXmlSchema schema; 19 - - if (!schema.load(QUrl::fromLocalFile(app.arguments().at(2)))) 20 - + if (!schema.load(QUrl::fromLocalFile(QString::fromLocal8Bit(argv[2])))) 21 - return 2; 22 - 23 - - const QString hlFilenamesListing = app.arguments().value(3); 24 - + const QString hlFilenamesListing = QString::fromLocal8Bit(argv[3]); 25 - if (hlFilenamesListing.isEmpty()) { 26 - return 1; 27 - } 28 - @@ -152,7 +149,7 @@ int main(int argc, char *argv[]) 29 - return anyError; 30 - 31 - // create outfile, after all has worked! 32 - - QFile outFile(app.arguments().at(1)); 33 - + QFile outFile(QString::fromLocal8Bit(argv[1])); 34 - if (!outFile.open(QIODevice::WriteOnly | QIODevice::Truncate)) 35 - return 7; 36 -
-1
pkgs/development/libraries/kde-frameworks/ktexteditor/series
··· 1 - no-qcoreapplication.patch
+1 -1
pkgs/top-level/all-packages.nix
··· 6267 6267 cmakeWithGui = self.cmakeCurses.override { useQt4 = true; }; 6268 6268 6269 6269 # Does not actually depend on Qt 5 6270 - extra-cmake-modules = qt5.extra-cmake-modules; 6270 + extra-cmake-modules = qt5.ecmNoHooks; 6271 6271 6272 6272 coccinelle = callPackage ../development/tools/misc/coccinelle { }; 6273 6273