diff --git a/breeze4-style.changes b/breeze4-style.changes index fcd3b07..b4c7ca5 100644 --- a/breeze4-style.changes +++ b/breeze4-style.changes @@ -3,6 +3,8 @@ Thu Sep 25 22:45:25 UTC 2014 - hrvoje.senjan@gmail.com - Update to 5.0.95: * Minor tweaks to breeze style since previous update +- Added dont-build-translations.patch: we don't want translations + built twice ------------------------------------------------------------------- Wed Sep 24 12:15:17 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/breeze4-style.spec b/breeze4-style.spec index 92e7edd..174b392 100644 --- a/breeze4-style.spec +++ b/breeze4-style.spec @@ -31,6 +31,8 @@ Group: System/GUI/KDE Url: http://www.kde.org #Source: http://download.kde.org/stable/plasma/%{version}/breeze-%{version}.tar.xz Source: breeze-%{version}.tar.xz +# PATCH-FIX-UPSTREAM dont-build-translations.patch -- we don't need translations for kde4 style +Patch0: dont-build-translations.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,6 +41,7 @@ This package contains kde4 backport of new default Plasma 5 style. %prep %setup -q -n breeze-%{version} +%patch0 -p1 %build %cmake_kde4 -d build -- -DBUILD_po=OFF -DUSE_KDE4=ON diff --git a/dont-build-translations.patch b/dont-build-translations.patch new file mode 100644 index 0000000..355eab2 --- /dev/null +++ b/dont-build-translations.patch @@ -0,0 +1,19 @@ +--- breeze-5.0.95.orig/CMakeLists.txt 2014-09-25 16:45:07.000000000 +0200 ++++ breeze-5.0.95/CMakeLists.txt 2014-09-26 00:57:54.472027256 +0200 +@@ -10,6 +10,9 @@ else() + find_package(ECM 0.0.9 REQUIRED NO_MODULE) + set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + ++ find_package(KF5I18n CONFIG REQUIRED) ++ ki18n_install(po) ++# # + include(KDEInstallDirs) + include(KDECMakeSettings) + include(KDECompilerSettings) +@@ -28,5 +31,4 @@ endif() + + feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) + +-find_package(KF5I18n CONFIG REQUIRED) +-ki18n_install(po) ++