diff --git a/kde/frameworks/tier1/ki18n/0001-Don-t-need-to-run-previous-iterations-commands-again.patch b/kde/frameworks/tier1/ki18n/0001-Don-t-need-to-run-previous-iterations-commands-again.patch new file mode 100644 index 00000000..cfe354f2 --- /dev/null +++ b/kde/frameworks/tier1/ki18n/0001-Don-t-need-to-run-previous-iterations-commands-again.patch @@ -0,0 +1,37 @@ +From af9fd4bad4aa3e4358d86138f9fc632baeb0fdeb Mon Sep 17 00:00:00 2001 +From: Aleix Pol +Date: Mon, 16 Apr 2018 14:25:24 +0200 +Subject: [PATCH] Don't need to run previous iterations commands again + +Summary: BUG: 393141 + +Test Plan: +Tested building plasma-workspace, it was clearly faster (although it +would have finished eventually) + +Reviewers: #frameworks, arojas + +Subscribers: heikobecker + +Tags: #frameworks + +Differential Revision: https://phabricator.kde.org/D12216 +--- + cmake/build-pofiles.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cmake/build-pofiles.cmake b/cmake/build-pofiles.cmake +index d0991ad..b39be31 100644 +--- a/cmake/build-pofiles.cmake ++++ b/cmake/build-pofiles.cmake +@@ -62,6 +62,7 @@ foreach(pofile IN LISTS pofiles) + if(i EQUAL ${numberOfProcesses}) + _processCommands() + set(i 0) ++ set(commands) + endif() + endforeach() + +-- +2.16.2.windows.1 + diff --git a/kde/frameworks/tier1/ki18n/ki18n.py b/kde/frameworks/tier1/ki18n/ki18n.py index 2397db8e..4d605359 100644 --- a/kde/frameworks/tier1/ki18n/ki18n.py +++ b/kde/frameworks/tier1/ki18n/ki18n.py @@ -1,25 +1,26 @@ import info class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() + self.patchToApply["5.45.0"] = [("0001-Don-t-need-to-run-previous-iterations-commands-again.patch", 1)] self.description = "Ki18n" def setDependencies(self): self.buildDependencies["virtual/base"] = "default" self.buildDependencies["kde/frameworks/extra-cmake-modules"] = "default" self.buildDependencies["libs/gettext"] = "default" self.buildDependencies["libs/qt5/qtdeclarative"] = "default" # only needed for unit tests self.runtimeDependencies["libs/qt5/qtbase"] = "default" self.runtimeDependencies["libs/qt5/qtscript"] = "default" self.runtimeDependencies["libs/gettext"] = "default" from Package.CMakePackageBase import * class Package(CMakePackageBase): def __init__(self): CMakePackageBase.__init__(self)