diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-07-03 03:04:18 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-07-03 03:04:18 +0800 |
commit | d8aba0f944c06887cc7520b2e25efe037cf47b8b (patch) | |
tree | 2923053fc55dccac74b95b5ed97ba05ff2db25bb /x11/kde4-workspace | |
parent | c394643404ed2a30367814c35c919dd806e3f02d (diff) | |
download | freebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.tar.gz freebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.tar.zst freebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.zip |
Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.
With commits from avilla@, makc@, rakuco@ and Schaich Alonso.
The upstream announcement can be found in [1].
[1] http://www.kde.org/announcements/announce-4.10.4.php
clang support should be more stable now, with clang being recognized by
kdelibs4 and being passed the correct flags to build other ports.
Additionally, all ports being committed have been verified to build with
-CURRENT's clang 3.3 on an amd64 tinderbox (special thanks go to swills@ for
providing it).
Work on the newly-released 4.10.5 will begin shortly.
Diffstat (limited to 'x11/kde4-workspace')
5 files changed, 30 insertions, 6 deletions
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile index b731f23109df..3a8e79a7db22 100644 --- a/x11/kde4-workspace/Makefile +++ b/x11/kde4-workspace/Makefile @@ -146,6 +146,8 @@ post-patch: ${PATCH_WRKSRC}/kdm/backend/client.c \ ${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c \ ${PATCH_WRKSRC}/CMakeLists.txt + ${RM} ${WRKSRC}/plasma/generic/applets/batterymonitor/contents/code/logic.js.orig + ${RM} ${WRKSRC}/plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml.orig pre-configure: ${REINPLACE_CMD} -e '/ksysguardd/ d' \ diff --git a/x11/kde4-workspace/distinfo b/x11/kde4-workspace/distinfo index 1e0594c671b3..6bd4adfbf625 100644 --- a/x11/kde4-workspace/distinfo +++ b/x11/kde4-workspace/distinfo @@ -1,2 +1,2 @@ -SHA256 (KDE/4.10.3/kde-workspace-4.10.3.tar.xz) = d870db2f39dcec6d4c11ccaef53d24978c1249a9426814414a90456d9cfce49d -SIZE (KDE/4.10.3/kde-workspace-4.10.3.tar.xz) = 13569364 +SHA256 (KDE/4.10.4/kde-workspace-4.10.4.tar.xz) = 55b9c79829fbbe781653951eb0b94dcfbb21fa46102c0c15db40521c143f22d1 +SIZE (KDE/4.10.4/kde-workspace-4.10.4.tar.xz) = 13426036 diff --git a/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js new file mode 100644 index 000000000000..0918956f7ed6 --- /dev/null +++ b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js @@ -0,0 +1,15 @@ +--- ./plasma/generic/applets/batterymonitor/contents/code/logic.js.orig 2013-05-03 06:36:45.739116000 +0200 ++++ ./plasma/generic/applets/batterymonitor/contents/code/logic.js 2013-06-11 00:33:16.130983470 +0200 +@@ -24,10 +24,12 @@ + function updateCumulative() { + var sum = 0; + var charged = true; ++ batteries.cumulativePluggedin = false; + for (var i=0; i<batteries.count; i++) { + var b = batteries.get(i); + if (b["Plugged in"]) { + sum += b["Percent"]; ++ batteries.cumulativePluggedin = true; + } + if (b["State"] != "NoCharge") { + charged = false; diff --git a/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml new file mode 100644 index 000000000000..a0599f93c5ab --- /dev/null +++ b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml @@ -0,0 +1,11 @@ +--- ./plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml.orig 2013-05-03 06:36:45.739116000 +0200 ++++ ./plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml 2013-06-11 00:33:16.141003089 +0200 +@@ -186,7 +186,7 @@ + } + + property int cumulativePercent +- property bool cumulativePluggedin: count > 0 ++ property bool cumulativePluggedin + // true --> all batteries charged + // false --> one of the batteries charging/discharging + property bool allCharged diff --git a/x11/kde4-workspace/pkg-plist b/x11/kde4-workspace/pkg-plist index 58e9bc2e37c6..92dec596cc69 100644 --- a/x11/kde4-workspace/pkg-plist +++ b/x11/kde4-workspace/pkg-plist @@ -2175,7 +2175,6 @@ share/wallpapers/stripes.png.desktop @dirrm share/apps/plasma/plasmoids/battery/contents/code @dirrm share/apps/plasma/plasmoids/battery/contents @dirrm share/apps/plasma/plasmoids/battery -@dirrm share/apps/plasma/plasmoids @dirrm share/apps/plasma/packages/org.kde.systemtray/contents/ui @dirrm share/apps/plasma/packages/org.kde.systemtray/contents/code @dirrm share/apps/plasma/packages/org.kde.systemtray/contents @@ -2355,9 +2354,6 @@ share/wallpapers/stripes.png.desktop @dirrm lib/kde4/imports/org/kde/kwin/decorations @dirrm lib/kde4/imports/org/kde/kwin/decoration @dirrm lib/kde4/imports/org/kde/kwin -@dirrmtry lib/kde4/imports/org/kde -@dirrmtry lib/kde4/imports/org -@dirrmtry lib/kde4/imports @dirrm lib/cmake/KDE4Workspace @dirrmtry lib/cmake @dirrm include/taskmanager |