[arch-commits] Commit in kdeplasma-addons/trunk (PKGBUILD kdeobservatory-qwt6.patch)

Andrea Scarpino andrea at archlinux.org
Tue Jul 26 09:58:57 EDT 2011


    Date: Tuesday, July 26, 2011 @ 09:58:57
  Author: andrea
Revision: 132844

Still needs the patch to build with qwt 6

Added:
  kdeplasma-addons/trunk/kdeobservatory-qwt6.patch
Modified:
  kdeplasma-addons/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |   11 ++++++++---
 kdeobservatory-qwt6.patch |   12 ++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-26 13:58:32 UTC (rev 132843)
+++ PKGBUILD	2011-07-26 13:58:57 UTC (rev 132844)
@@ -80,11 +80,16 @@
 groups=('kde' 'kdeplasma-addons')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-workspace' 'kdeedu-marble'
              'eigen' 'scim' 'qwt' 'boost' 'libkexiv2')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha1sums=('7a153131b84156ab33707c2ee21ffcf7021e099a')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+        'kdeobservatory-qwt6.patch')
+sha1sums=('7a153131b84156ab33707c2ee21ffcf7021e099a'
+          '140b2611fb23aed583c2691a77870e5c48152409')
 
 build() {
-    cd ${srcdir}
+    cd "${srcdir}"/${pkgbase}-${pkgver}
+    patch -p1 -i "${srcdir}"/kdeobservatory-qwt6.patch
+    
+    cd "${srcdir}"
 	mkdir build
 	cd build
 	cmake ../${pkgbase}-${pkgver} \

Added: kdeobservatory-qwt6.patch
===================================================================
--- kdeobservatory-qwt6.patch	                        (rev 0)
+++ kdeobservatory-qwt6.patch	2011-07-26 13:58:57 UTC (rev 132844)
@@ -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;
+ 



More information about the arch-commits mailing list