forked from pool/kinfocenter5
This commit is contained in:
parent
ac69dd2a81
commit
73a1555dc8
@ -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
|
Thu Apr 23 13:27:22 UTC 2015 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ Group: System/GUI/KDE
|
|||||||
Url: http://www.kde.org/
|
Url: http://www.kde.org/
|
||||||
Source: kinfocenter-%{version}.tar.xz
|
Source: kinfocenter-%{version}.tar.xz
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
|
# PATCH-FIX-OPENSUSE plasma-session-name.patch
|
||||||
|
Patch0: plasma-session-name.patch
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: kcmutils-devel
|
BuildRequires: kcmutils-devel
|
||||||
BuildRequires: kcompletion-devel
|
BuildRequires: kcompletion-devel
|
||||||
@ -70,6 +72,7 @@ KDE Utility that provides information about a computer system.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n kinfocenter-%{version}
|
%setup -q -n kinfocenter-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||||
|
13
plasma-session-name.patch
Normal file
13
plasma-session-name.patch
Normal 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();
|
Loading…
Reference in New Issue
Block a user