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

commit 7af62b1346ff876389860b782d9216cf40835b4d
Author: crazy <[email protected]>
Date:   Wed Apr 26 10:12:27 2017 +0200

plasma-nm-5.9.5-2-x86_64
* sort out kcm_networkmanagement.desktop
* well maybe some i18n issue too however that kcm is adding itself
* to X-KDE-System-Settings-Parent-Category=network while the Category itself
* in systemsettings is 'Network' and also is adding a 'Connections' Name=
* which at least in de_DE looks strange since sub-category 'connectivity'
* is translated to 'Verbindungen' too ( which ofc is possible )
* change X-KDE-System-Settings-Parent-Category= to connectivity and Name=
* to 'Network Connections' so it make some sense.
* also I think this is means to look like this :
Category Network:
Sub-category: Connectivity
KCM-Module: A
KCM-Module: B
< and so on >

diff --git 
a/source/plasma/plasma-nm/0001-kcm_networkmanagement.desktop-sort-out.patch 
b/source/plasma/plasma-nm/0001-kcm_networkmanagement.desktop-sort-out.patch
new file mode 100644
index 0000000..a30d987
--- /dev/null
+++ b/source/plasma/plasma-nm/0001-kcm_networkmanagement.desktop-sort-out.patch
@@ -0,0 +1,48 @@
+From b545a036f1de8799ce61495ef50a3a6640d37433 Mon Sep 17 00:00:00 2001
+From: Gabriel Craciunescu <[email protected]>
+Date: Wed, 26 Apr 2017 09:42:29 +0200
+Subject: [PATCH] kcm_networkmanagement.desktop sort out
+
+       Change X-KDE-System-Settings-Parent-Category= to connectivity
+       since the category itself is called Network and this seems really
+       ugly to have 2 'connections' shown in systemsettings.
+       Also changed Name= to be 'Network Connections'.
+
+       I think it is meant to look like this :
+                       Category Network:
+                               Sub-Category: Connectivity
+                                       KCM-Name: Samba Shares
+                                       KCM-Name: Network Connections
+                                       <and so on>
+
+Signed-off-by: Gabriel Craciunescu <[email protected]>
+---
+ kcm/kcm_networkmanagement.desktop | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/kcm/kcm_networkmanagement.desktop 
b/kcm/kcm_networkmanagement.desktop
+index bbc980fb..60e73b8e 100755
+--- a/kcm/kcm_networkmanagement.desktop
++++ b/kcm/kcm_networkmanagement.desktop
+@@ -5,15 +5,15 @@ Type=Service
+ X-KDE-ServiceTypes=KCModule
+ X-KDE-Library=kcm_networkmanagement
+ X-KDE-ParentApp=kcontrol
+-X-KDE-System-Settings-Parent-Category=network
++X-KDE-System-Settings-Parent-Category=connectivity
+ X-KDE-Weight=40
+
+-Name=Connections
++Name=Network Connections
+ Name[ca]=Connexions
+ Name[ca@valencia]=Connexions
+ Name[cs]=Spojení
+ Name[da]=Forbindelser
+-Name[de]=Verbindungen
++Name[de]=Netzwerkverbindungen
+ Name[el]=Συνδέσεις
+ Name[en_GB]=Connections
+ Name[es]=Conexiones
+--
+2.12.2
+
diff --git a/source/plasma/plasma-nm/FrugalBuild 
b/source/plasma/plasma-nm/FrugalBuild
index 4554ad6..5f847b8 100644
--- a/source/plasma/plasma-nm/FrugalBuild
+++ b/source/plasma/plasma-nm/FrugalBuild
@@ -3,18 +3,20 @@

pkgname=plasma-nm
pkgver=5.9.5
-pkgrel=1
+pkgrel=2
pkgdesc="Plasma applet written in QML for managing network connections."
groups=('plasma')
archs=("x86_64")
_F_kde_project="plasma"
Finclude kf5
+source+=(0001-kcm_networkmanagement.desktop-sort-out.patch)
depends=("networkmanager-qt>=$_F_kf5_full" "modemmanager-qt>=$_F_kf5_full" 
"plasma-workspace>=$_F_kdever_plasma" \
'mobile-broadband-provider-info' "kdelibs4support>=$_F_kf5_full" "qca>=2.1.1-6" 
"plasma-framework>=$_F_kf5_full")
makedepends+=("kdoctools>=$_F_kf5_full" "kemoticons>=$_F_kf5_full" 
"kitemmodels>=$_F_kf5_full" \
"kinit>=$_F_kf5_full")

-sha1sums=('3a3a95074cf0ed4c31420d8a4c77e19f631cfa26')
+sha1sums=('3a3a95074cf0ed4c31420d8a4c77e19f631cfa26' \
+          '2c03527806e1af1dd085865e9ad9966a6b9de191')

replaces=('networkmanagement' 'knetworkmanager' 'plasma-applet-networkmanager' 
'kppp')
conflicts=("${replaces[@]}")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to