ki18n: add patch fixing plasma-workspace build

It was hanging for hours when cross compiling. This patch should fix
it. Source for the patch: <https://phabricator.kde.org/D12231>
This commit is contained in:
Oliver Smith 2018-05-04 17:13:46 +02:00
parent ef7b875218
commit 741719501f
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
2 changed files with 41 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ki18n
pkgver=5.45.0
pkgrel=0
pkgrel=1
pkgdesc='Advanced internationalization framework'
arch="all"
url='https://community.kde.org/Frameworks'
@ -10,7 +10,8 @@ license="LGPL-2.1"
depends=""
depends_dev="qt5-qtdeclarative-dev qt5-qtscript-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
fix-plasma-workspace-build-hanging.patch"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check"
@ -33,4 +34,5 @@ package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="3fde0c71d7ea65064c7a926c02b55ebe082cde673e581acbb24e7f614324de401e8d48ddbca0b15a59de3a8de9be867528124a328465e099b7bf07717fbeaa71 ki18n-5.45.0.tar.xz"
sha512sums="3fde0c71d7ea65064c7a926c02b55ebe082cde673e581acbb24e7f614324de401e8d48ddbca0b15a59de3a8de9be867528124a328465e099b7bf07717fbeaa71 ki18n-5.45.0.tar.xz
29f6d8e62b7dac371cb2fe87f865304f14e38c330a46e61cabfbd1e7477f1d21c0fc0afadd6bc0892bbc798087fdf7b04239f2f3d9d1fc4508bc05424cdb714b fix-plasma-workspace-build-hanging.patch"

View File

@ -0,0 +1,36 @@
From 9c32bdab29b345976eee3b9c1c4bebd76cdcdde2 Mon Sep 17 00:00:00 2001
From: Aleix Pol <aleixpol@kde.org>
Date: Sun, 15 Apr 2018 01:39:58 +0200
Subject: 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, sitter
Reviewed By: sitter
Subscribers: sitter, 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()