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

Ronald van Haren ronald at archlinux.org
Fri Jul 15 07:47:08 EDT 2011


    Date: Friday, July 15, 2011 @ 07:47:07
  Author: ronald
Revision: 131799

upgpkg: kdeplasma-addons 4.6.5-2
qwt 6.0.0 rebuild; add patch for qwt 6.0.0

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-15 11:16:25 UTC (rev 131798)
+++ PKGBUILD	2011-07-15 11:47:07 UTC (rev 131799)
@@ -73,18 +73,24 @@
          '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} \

Added: kdeobservatory-qwt6.patch
===================================================================
--- kdeobservatory-qwt6.patch	                        (rev 0)
+++ kdeobservatory-qwt6.patch	2011-07-15 11:47:07 UTC (rev 131799)
@@ -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