summaryrefslogtreecommitdiff
path: root/extra/kdeplasma-addons
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
commit43983783a3e8bf61896eb93a2858a14bbaf3a53b (patch)
treec3085b8900db730e945868819ed112708a661653 /extra/kdeplasma-addons
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Sun Jul 24 23:18:00 UTC 2011
Diffstat (limited to 'extra/kdeplasma-addons')
-rw-r--r--extra/kdeplasma-addons/PKGBUILD14
-rw-r--r--extra/kdeplasma-addons/kdeobservatory-qwt6.patch12
2 files changed, 22 insertions, 4 deletions
diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD
index 749887ce4..a100ad0a1 100644
--- a/extra/kdeplasma-addons/PKGBUILD
+++ b/extra/kdeplasma-addons/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 130264 2011-07-04 19:28:03Z andrea $
+# $Id: PKGBUILD 131799 2011-07-15 11:47:07Z ronald $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -73,18 +73,24 @@ pkgname=('kdeplasma-addons-applets-bball'
'kdeplasma-addons-wallpapers-virus'
'kdeplasma-addons-wallpapers-weather')
pkgver=4.6.5
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL')
groups=('kde' 'kdeplasma-addons')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-workspace' 'kdegraphics-libs'
'kdeedu-marble' 'eigen' 'scim' 'qwt' 'boost')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('3bce5e41160ec318dbea9128c3e9104a4428deb8')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+ "kdeobservatory-qwt6.patch")
+sha1sums=('3bce5e41160ec318dbea9128c3e9104a4428deb8'
+ '140b2611fb23aed583c2691a77870e5c48152409')
build() {
cd ${srcdir}
+
+ # qwt 6.0.0 patch
+ patch -Np0 -i ${srcdir}/kdeobservatory-qwt6.patch
+
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
diff --git a/extra/kdeplasma-addons/kdeobservatory-qwt6.patch b/extra/kdeplasma-addons/kdeobservatory-qwt6.patch
new file mode 100644
index 000000000..46ba0345d
--- /dev/null
+++ b/extra/kdeplasma-addons/kdeobservatory-qwt6.patch
@@ -0,0 +1,12 @@
+diff -Naur kdeplasma-addons-4.6.5.bak/applets/kdeobservatory/src/commithistoryview.cpp kdeplasma-addons-4.6.5/applets/kdeobservatory/src/commithistoryview.cpp
+--- kdeplasma-addons-4.6.5.bak/applets/kdeobservatory/src/commithistoryview.cpp 2011-07-15 14:04:17.323188525 +0200
++++ kdeplasma-addons-4.6.5/applets/kdeobservatory/src/commithistoryview.cpp 2011-07-15 14:04:39.186521458 +0200
+@@ -124,7 +124,7 @@
+ plot->setCanvasBackground(QColor(0, 0, 140));
+
+ QwtPlotCurve *curve = new QwtPlotCurve;
+- curve->setData(x, y, j);
++ curve->setSamples(x, y, j);
+ delete []x;
+ delete []y;
+