[arch-commits] Commit in kdeclarative/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Jul 27 16:29:53 UTC 2015


    Date: Monday, July 27, 2015 @ 18:29:53
  Author: arojas
Revision: 242527

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  kdeclarative/repos/extra-i686/PKGBUILD
    (from rev 242526, kdeclarative/trunk/PKGBUILD)
  kdeclarative/repos/extra-i686/cpu-plotter.patch
    (from rev 242526, kdeclarative/trunk/cpu-plotter.patch)
  kdeclarative/repos/extra-x86_64/PKGBUILD
    (from rev 242526, kdeclarative/trunk/PKGBUILD)
  kdeclarative/repos/extra-x86_64/cpu-plotter.patch
    (from rev 242526, kdeclarative/trunk/cpu-plotter.patch)
Deleted:
  kdeclarative/repos/extra-i686/PKGBUILD
  kdeclarative/repos/extra-x86_64/PKGBUILD

--------------------------------+
 /PKGBUILD                      |   82 +++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD            |   36 -----------------
 extra-i686/cpu-plotter.patch   |   29 +++++++++++++
 extra-x86_64/PKGBUILD          |   36 -----------------
 extra-x86_64/cpu-plotter.patch |   29 +++++++++++++
 5 files changed, 140 insertions(+), 72 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-07-27 16:29:28 UTC (rev 242526)
+++ extra-i686/PKGBUILD	2015-07-27 16:29:53 UTC (rev 242527)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdeclarative
-pkgver=5.12.0
-pkgrel=1
-pkgdesc='Provides integration of QML and KDE Frameworks'
-arch=('i686' 'x86_64')
-url='https://projects.kde.org/projects/frameworks/kdeclarative'
-license=('LGPL')
-depends=('kio' 'libepoxy' 'kpackage')
-makedepends=('extra-cmake-modules')
-groups=('kf5')
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('62cb010adb59c15129743ad57fdc198a')
-
-prepare() {
-  mkdir build
-}
-
-build() {
-  cd build
-  cmake ../${pkgname}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DLIB_INSTALL_DIR=lib \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdeclarative/repos/extra-i686/PKGBUILD (from rev 242526, kdeclarative/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-07-27 16:29:53 UTC (rev 242527)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeclarative
+pkgver=5.12.0
+pkgrel=2
+pkgdesc='Provides integration of QML and KDE Frameworks'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kdeclarative'
+license=('LGPL')
+depends=('kio' 'libepoxy' 'kpackage')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" 'cpu-plotter.patch')
+md5sums=('62cb010adb59c15129743ad57fdc198a'
+         '12f60b78bf77a69957349989d33ceeda')
+
+prepare() {
+  mkdir -p build
+
+# Fix high CPU usage in plotter component http://bugs.kde.org/show_bug.cgi?id=348385
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cpu-plotter.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeclarative/repos/extra-i686/cpu-plotter.patch (from rev 242526, kdeclarative/trunk/cpu-plotter.patch)
===================================================================
--- extra-i686/cpu-plotter.patch	                        (rev 0)
+++ extra-i686/cpu-plotter.patch	2015-07-27 16:29:53 UTC (rev 242527)
@@ -0,0 +1,29 @@
+From: David Edmundson <kde at davidedmundson.co.uk>
+Date: Mon, 27 Jul 2015 10:54:17 +0000
+Subject: Don't refresh the entire window when we render the plotter
+X-Git-Url: http://quickgit.kde.org/?p=kdeclarative.git&a=commitdiff&h=7a6a2cda780784e504960c96b4b41241ddf10531
+---
+Don't refresh the entire window when we render the plotter
+
+This means the window is only updated when the plotter changes, rather
+than effectively every possible frame.
+
+Reviewed by: Marco Martin
+
+CCBUG: 348385
+---
+
+
+--- a/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp
++++ b/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp
+@@ -709,9 +709,6 @@
+ 
+     // Delete the VBO
+     glDeleteBuffers(1, &vbo);
+-    if (window()) {
+-        window()->update();
+-    }
+ }
+ 
+ QSGNode *Plotter::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData)
+

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-07-27 16:29:28 UTC (rev 242526)
+++ extra-x86_64/PKGBUILD	2015-07-27 16:29:53 UTC (rev 242527)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdeclarative
-pkgver=5.12.0
-pkgrel=1
-pkgdesc='Provides integration of QML and KDE Frameworks'
-arch=('i686' 'x86_64')
-url='https://projects.kde.org/projects/frameworks/kdeclarative'
-license=('LGPL')
-depends=('kio' 'libepoxy' 'kpackage')
-makedepends=('extra-cmake-modules')
-groups=('kf5')
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('62cb010adb59c15129743ad57fdc198a')
-
-prepare() {
-  mkdir build
-}
-
-build() {
-  cd build
-  cmake ../${pkgname}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DLIB_INSTALL_DIR=lib \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdeclarative/repos/extra-x86_64/PKGBUILD (from rev 242526, kdeclarative/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-07-27 16:29:53 UTC (rev 242527)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeclarative
+pkgver=5.12.0
+pkgrel=2
+pkgdesc='Provides integration of QML and KDE Frameworks'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kdeclarative'
+license=('LGPL')
+depends=('kio' 'libepoxy' 'kpackage')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" 'cpu-plotter.patch')
+md5sums=('62cb010adb59c15129743ad57fdc198a'
+         '12f60b78bf77a69957349989d33ceeda')
+
+prepare() {
+  mkdir -p build
+
+# Fix high CPU usage in plotter component http://bugs.kde.org/show_bug.cgi?id=348385
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cpu-plotter.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeclarative/repos/extra-x86_64/cpu-plotter.patch (from rev 242526, kdeclarative/trunk/cpu-plotter.patch)
===================================================================
--- extra-x86_64/cpu-plotter.patch	                        (rev 0)
+++ extra-x86_64/cpu-plotter.patch	2015-07-27 16:29:53 UTC (rev 242527)
@@ -0,0 +1,29 @@
+From: David Edmundson <kde at davidedmundson.co.uk>
+Date: Mon, 27 Jul 2015 10:54:17 +0000
+Subject: Don't refresh the entire window when we render the plotter
+X-Git-Url: http://quickgit.kde.org/?p=kdeclarative.git&a=commitdiff&h=7a6a2cda780784e504960c96b4b41241ddf10531
+---
+Don't refresh the entire window when we render the plotter
+
+This means the window is only updated when the plotter changes, rather
+than effectively every possible frame.
+
+Reviewed by: Marco Martin
+
+CCBUG: 348385
+---
+
+
+--- a/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp
++++ b/src/qmlcontrols/kquickcontrolsaddons/plotter.cpp
+@@ -709,9 +709,6 @@
+ 
+     // Delete the VBO
+     glDeleteBuffers(1, &vbo);
+-    if (window()) {
+-        window()->update();
+-    }
+ }
+ 
+ QSGNode *Plotter::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData)
+



More information about the arch-commits mailing list