SHA256
1
0
forked from pool/kinfocenter5
Hrvoje Senjan 2015-04-29 00:13:58 +00:00 committed by Git OBS Bridge
parent ac69dd2a81
commit 73a1555dc8
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 29 00:12:36 UTC 2015 - hrvoje.senjan@gmail.com
- Added plasma-session-name.patch: we use plasma5.desktop for the
session, not plasma.desktop; fixes missing version number in
main kcm
-------------------------------------------------------------------
Thu Apr 23 13:27:22 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -26,6 +26,8 @@ Group: System/GUI/KDE
Url: http://www.kde.org/
Source: kinfocenter-%{version}.tar.xz
Source99: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE plasma-session-name.patch
Patch0: plasma-session-name.patch
BuildRequires: extra-cmake-modules
BuildRequires: kcmutils-devel
BuildRequires: kcompletion-devel
@ -70,6 +72,7 @@ KDE Utility that provides information about a computer system.
%lang_package
%prep
%setup -q -n kinfocenter-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5

13
plasma-session-name.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/Modules/about-distro/src/Module.cpp b/Modules/about-distro/src/Module.cpp
index 9e9dc9c..7a34520 100644
--- a/Modules/about-distro/src/Module.cpp
+++ b/Modules/about-distro/src/Module.cpp
@@ -190,7 +190,7 @@ void Module::defaults()
QString Module::plasmaVersion() const
{
const QStringList &filePaths = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
- "xsessions/plasma.desktop");
+ "xsessions/plasma5.desktop");
if (filePaths.length() < 1) {
return QString();