Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=41a201b9886aaef00d0e7fd7360533e1a8f16a4c

commit 41a201b9886aaef00d0e7fd7360533e1a8f16a4c
Author: crazy <cr...@frugalware.org>
Date:   Fri Oct 14 00:36:08 2016 +0200

kinfocenter5-5.8.1-2-x86_64
* added fix so we display plasma version ( we don't use /xessions/ )
* and this is hard coded.
* added fw logo and distrorc file

diff --git a/source/plasma/kinfocenter5/FrugalBuild 
b/source/plasma/kinfocenter5/FrugalBuild
index ee186fa..c233be2 100644
--- a/source/plasma/kinfocenter5/FrugalBuild
+++ b/source/plasma/kinfocenter5/FrugalBuild
@@ -4,12 +4,14 @@

pkgname=kinfocenter5
pkgver=5.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Utility that provides information about a computer system."
groups=('plasma')
archs=('i686' 'x86_64')
_F_kde_project="plasma"
Finclude kf5
+source+=(fw-etc-sessions.patch kcm-about-distrorc \
+       
http://ftp.frugalware.org/pub/other/artwork/artwork/logo/distributor-logo-frugalware.svg)
depends=("plasma-framework>=$_F_kf5_full" "kcmutils>=$_F_kf5_full" \
"kdelibs4support>=$_F_kf5_full" "kwayland>=$_F_kf5_full" \
'libglu>=9.0.0-3' 'libraw1394>=2.1.2-2' 'pciutils>=3.5.1-4' 
"solid>=$_F_kf5_full")
@@ -18,6 +20,17 @@ makedepends+=("kdoctools>=$_F_kf5_full" 
"kemoticons>=$_F_kf5_full" "kitemmodels>
replaces=('kinfocenter')
conflicts=("${replaces[@]}")

-sha1sums=('a9b921f1a6282f0b2a0d91a25d5a10823e1824eb')
+sha1sums=('a9b921f1a6282f0b2a0d91a25d5a10823e1824eb' \
+          '02cc22e1e7e3761d35f467fab7767d43aa664934' \
+          '05a7cf15516ae05f7aba7633f368bf9d26190de9' \
+          '8ada30924d1cdb1aeb5cc089c5a17b5884c66cd6')
+
+
+build() {
+
+       KDE_build
+       Ffilerel $Fsrcdir/kcm-about-distrorc /etc/xdg/kcm-about-distrorc
+       Ffilerel $Fsrcdir/distributor-logo-frugalware.svg 
/usr/share/$pkgname/distributor-logo-frugalware.svg
+}

# optimization OK
diff --git a/source/plasma/kinfocenter5/fw-etc-sessions.patch 
b/source/plasma/kinfocenter5/fw-etc-sessions.patch
new file mode 100644
index 0000000..42824a0
--- /dev/null
+++ b/source/plasma/kinfocenter5/fw-etc-sessions.patch
@@ -0,0 +1,13 @@
+diff -Naur kinfocenter-5.8.1/Modules/about-distro/src/Module.cpp 
kinfocenter-5.8.1-p/Modules/about-distro/src/Module.cpp
+--- kinfocenter-5.8.1/Modules/about-distro/src/Module.cpp      2016-10-11 
14:27:00.000000000 +0200
++++ kinfocenter-5.8.1-p/Modules/about-distro/src/Module.cpp    2016-10-13 
18:31:53.766279410 +0200
+@@ -243,8 +243,7 @@
+
+ QString Module::plasmaVersion() const
+ {
+-    const QStringList &filePaths = 
QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
+-                                                             
QStringLiteral("xsessions/plasma.desktop"));
++    const QStringList &filePaths = 
QStringList("/etc/X11/sessions/plasma.desktop");
+
+     if (filePaths.length() < 1) {
+         return QString();
diff --git a/source/plasma/kinfocenter5/kcm-about-distrorc 
b/source/plasma/kinfocenter5/kcm-about-distrorc
new file mode 100644
index 0000000..49ba676
--- /dev/null
+++ b/source/plasma/kinfocenter5/kcm-about-distrorc
@@ -0,0 +1,4 @@
+[General]
+Name=Frugalware Linux
+LogoPath=/usr/share/kinfocenter5/distributor-logo-frugalware.svg
+Website=http://frugalware.org/
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to