summaryrefslogtreecommitdiff
path: root/x11/kde4-workspace
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2009-08-23 14:39:34 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2009-08-23 14:39:34 +0000
commit619670c702ad26a6e63c8d272afb8467b332da8a (patch)
tree3ab1b93d0d57e8c5ca4c2cc985f4ebe08e59f06a /x11/kde4-workspace
parentAdd 9 and 9-exp to this sample file. Delete 6-exp2. (diff)
- Add patch from upstream that fixes the HDD system monitor applet if
localization is being used. - Bump PORTREVISION Obtained from: KDE SVN (rev. 1011262) Noticed by: cloudsv of The FreeBSD Forums
Notes
Notes: svn path=/head/; revision=240183
Diffstat (limited to 'x11/kde4-workspace')
-rw-r--r--x11/kde4-workspace/Makefile2
-rw-r--r--x11/kde4-workspace/files/patch-plasma-applets-system-monitor-hdd.cpp13
2 files changed, 14 insertions, 1 deletions
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile
index 3218cd5fcba2..85cb15d63e7a 100644
--- a/x11/kde4-workspace/Makefile
+++ b/x11/kde4-workspace/Makefile
@@ -8,7 +8,7 @@
PORTNAME= kdebase-workspace
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
diff --git a/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-hdd.cpp b/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-hdd.cpp
new file mode 100644
index 000000000000..a4685dcdfb1b
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-plasma-applets-system-monitor-hdd.cpp
@@ -0,0 +1,13 @@
+--- plasma/applets/system-monitor/hdd.cpp.orig 2009-07-21 17:19:25.000000000 +0200
++++ plasma/applets/system-monitor/hdd.cpp 2009-08-23 16:07:02.000000000 +0200
+@@ -265,8 +265,8 @@
+ data->value("File System Type").toString() <<
+ data->value("Size").toString();
+ */
+- if ((data->value("Usage").toString() != "File System" &&
+- data->value("Usage").toString() != "Raid") ||
++ if ((data->value("Usage").toString() != i18n("File System") &&
++ data->value("Usage").toString() != i18n("Raid")) ||
+ data->value("File System Type").toString() == "swap") {
+ QStringList list = items();
+ list.removeAll(uuid);