Jan Alexander Steffens 9 år sedan
förälder
incheckning
90102703f6
2 ändrade filer med 3 tillägg och 38 borttagningar
  1. 3 8
      PKGBUILD
  2. 0 30
      offscreen-memleak.patch

+ 3 - 8
PKGBUILD

@@ -2,8 +2,8 @@
 # Contributor: Flamelab <panosfilip@gmail.com
 
 pkgname=gnome-shell
-pkgver=3.20.0
-pkgrel=3
+pkgver=3.20.1
+pkgrel=1
 pkgdesc="The next generation GNOME Shell"
 arch=(i686 x86_64)
 url="https://wiki.gnome.org/Projects/GnomeShell"
@@ -19,11 +19,9 @@ install=gnome-shell.install
 groups=(gnome)
 source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
         nm-libexecdir.patch
-	offscreen-memleak.patch
         0001-Initialize-framebuffer-objects-early-so-clutter-will.patch)
-sha256sums=('ee69f461dd3d03caf788dfc64241275868ec0bcd1ef814f3cd2803c25796b888'
+sha256sums=('7a954eaa39635b4d83faa5634b24ef6d5e446a4669e767d9cba34656425e8f21'
             'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607'
-            '38bf66da2d92dbb3eab90d36feba0b1af65fe476d2982989dccd799aec0125a6'
             '4dfd8a416fafdfa53ff07fd0433d5785f7bf434d3e576710879bfca5fe39c84f')
 
 prepare() {
@@ -32,9 +30,6 @@ prepare() {
   # FS#30747 FS#32730 Problems due to libexecdir different from NM
   patch -Np1 -i ../nm-libexecdir.patch
 
-  # Fix memleak
-  patch -Np1 -i ../offscreen-memleak.patch
-
   # Catch FBO allocation failure
   patch -Np1 -i ../0001-Initialize-framebuffer-objects-early-so-clutter-will.patch
 }

+ 0 - 30
offscreen-memleak.patch

@@ -1,30 +0,0 @@
-From 941513b280433c269491572b7b1de2a7c5bab21b Mon Sep 17 00:00:00 2001
-From: Aaron Plattner <aplattner@nvidia.com>
-Date: Fri, 18 Mar 2016 16:00:05 -0700
-Subject: st: Fix offscreen leak if cogl_framebuffer_allocate fails
-
-If cogl_framebuffer_allocate fails in _st_create_shadow_pipeline_from_actor, the
-CoglOffscreen* that was allocated earlier in the function is leaked.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=735705
-
-Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
----
- src/st/st-private.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/st/st-private.c b/src/st/st-private.c
-index 559336c..d40eceb 100644
---- a/src/st/st-private.c
-+++ b/src/st/st-private.c
-@@ -442,6 +442,7 @@ _st_create_shadow_pipeline_from_actor (StShadow     *shadow_spec,
-       if (!cogl_framebuffer_allocate (fb, &catch_error))
-         {
-           cogl_error_free (catch_error);
-+          cogl_object_unref (offscreen);
-           cogl_object_unref (buffer);
-           return NULL;
-         }
--- 
-cgit v0.12
-