[arch-commits] Commit in cinnamon-screensaver/trunk (PKGBUILD fix-high-cpu.patch)
Balló György
bgyorgy at nymeria.archlinux.org
Sat Apr 19 02:06:37 UTC 2014
Date: Saturday, April 19, 2014 @ 04:06:37
Author: bgyorgy
Revision: 109804
upgpkg: cinnamon-screensaver 2.2.0-2
Fix high CPU usage (FS#39951)
Added:
cinnamon-screensaver/trunk/fix-high-cpu.patch
Modified:
cinnamon-screensaver/trunk/PKGBUILD
--------------------+
PKGBUILD | 11 ++++++++++-
fix-high-cpu.patch | 24 ++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-19 00:45:07 UTC (rev 109803)
+++ PKGBUILD 2014-04-19 02:06:37 UTC (rev 109804)
@@ -5,7 +5,7 @@
pkgname=cinnamon-screensaver
pkgver=2.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Screensaver designed to integrate well with the Cinnamon desktop."
arch=('i686' 'x86_64')
license=('GPL')
@@ -14,10 +14,19 @@
depends=('cinnamon-desktop' 'cinnamon-translations' 'dbus-glib' 'libgnomekbd')
makedepends=('intltool' 'gnome-common')
source=($pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-screensaver/archive/$pkgver.tar.gz
+ fix-high-cpu.patch
cinnamon-screensaver.pam)
sha256sums=('2ba075f8bceb5ff853d76b0426e0d3fedcfd503016c4752f1e5b3813b0d8aef9'
+ 'e3db1cfeb9a68f0c5a39737a5347add03a68e4316681349f789311403676c8cc'
'b6ea9e2eb586d94bcabb617a8f1c2958111df87afdbb51f645882bccdc15cbda')
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Fix high CPU usage (FS#39951)
+ patch -Np1 -i ../fix-high-cpu.patch
+}
+
build() {
cd $pkgname-$pkgver
Added: fix-high-cpu.patch
===================================================================
--- fix-high-cpu.patch (rev 0)
+++ fix-high-cpu.patch 2014-04-19 02:06:37 UTC (rev 109804)
@@ -0,0 +1,24 @@
+From b6e44705c0fb68e526ef66d56d26fa677d885193 Mon Sep 17 00:00:00 2001
+From: Corbin <RavetcoFX at gmail.com>
+Date: Fri, 18 Apr 2014 17:11:15 -0600
+Subject: [PATCH] Fix sticky screensaver issue
+
+---
+ src/gs-window-x11.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
+index eb4fe5f..127eda5 100644
+--- a/src/gs-window-x11.c
++++ b/src/gs-window-x11.c
+@@ -2140,7 +2140,6 @@ shade_background (GtkWidget *widget,
+ {
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.7);
+ cairo_paint (cr);
+- gs_window_clear_to_background_surface (window);
+
+ return FALSE;
+ }
+--
+1.9.1
+
More information about the arch-commits
mailing list