[arch-commits] Commit in xfdesktop/repos/extra-x86_64 (3 files)

Evangelos Foutras foutrelis at archlinux.org
Fri May 8 21:20:02 UTC 2020


    Date: Friday, May 8, 2020 @ 21:20:01
  Author: foutrelis
Revision: 382810

archrelease: copy trunk to extra-x86_64

Added:
  xfdesktop/repos/extra-x86_64/PKGBUILD
    (from rev 382809, xfdesktop/trunk/PKGBUILD)
  xfdesktop/repos/extra-x86_64/fix-memory-leak-when-reconnecting-DP-monitor.patch
    (from rev 382809, xfdesktop/trunk/fix-memory-leak-when-reconnecting-DP-monitor.patch)
Deleted:
  xfdesktop/repos/extra-x86_64/PKGBUILD

----------------------------------------------------+
 PKGBUILD                                           |   79 +++++++++----------
 fix-memory-leak-when-reconnecting-DP-monitor.patch |   34 ++++++++
 2 files changed, 75 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 21:19:57 UTC (rev 382809)
+++ PKGBUILD	2020-05-08 21:20:01 UTC (rev 382810)
@@ -1,38 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfdesktop
-pkgver=4.14.2
-pkgrel=1
-pkgdesc="A desktop manager for Xfce"
-arch=('x86_64')
-url="https://www.xfce.org/"
-license=('GPL2')
-groups=('xfce4')
-depends=('libxfce4ui' 'libwnck3' 'exo' 'thunar' 'garcon' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('a30534461fea907f969f608a11c84be0b1aaad687c591c32cd56a9d274ea3e74')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --enable-thunarx \
-    --enable-notifications \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfdesktop/repos/extra-x86_64/PKGBUILD (from rev 382809, xfdesktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 21:20:01 UTC (rev 382810)
@@ -0,0 +1,41 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfdesktop
+pkgver=4.14.2
+pkgrel=2
+pkgdesc="A desktop manager for Xfce"
+arch=('x86_64')
+url="https://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('libxfce4ui' 'libwnck3' 'exo' 'thunar' 'garcon' 'hicolor-icon-theme')
+makedepends=('intltool')
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-memory-leak-when-reconnecting-DP-monitor.patch)
+sha256sums=('a30534461fea907f969f608a11c84be0b1aaad687c591c32cd56a9d274ea3e74'
+            'e6e14ec1d3fd594b0003b3724cc039d882c5f85ee0d9ece7c873d57310e8aec9')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i ../fix-memory-leak-when-reconnecting-DP-monitor.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-thunarx \
+    --enable-notifications \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfdesktop/repos/extra-x86_64/fix-memory-leak-when-reconnecting-DP-monitor.patch (from rev 382809, xfdesktop/trunk/fix-memory-leak-when-reconnecting-DP-monitor.patch)
===================================================================
--- fix-memory-leak-when-reconnecting-DP-monitor.patch	                        (rev 0)
+++ fix-memory-leak-when-reconnecting-DP-monitor.patch	2020-05-08 21:20:01 UTC (rev 382810)
@@ -0,0 +1,34 @@
+From f3f9bdb5a9162480ba1a892d37859321f37c4d51 Mon Sep 17 00:00:00 2001
+From: Jan Ziak <0xe2.0x9a.0x9b at gmail.com>
+Date: Sat, 11 Apr 2020 15:43:55 +0200
+Subject: [PATCH] Fix memory leak when reconnecting DP monitor (Bug #16314)
+
+Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b at gmail.com>
+---
+ src/xfce-backdrop.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c
+index bd9180e6..955e51f8 100644
+--- a/src/xfce-backdrop.c
++++ b/src/xfce-backdrop.c
+@@ -1599,6 +1599,11 @@ xfce_backdrop_image_data_release(XfceBackdropImageData *image_data)
+ 
+     if(image_data->loader)
+         g_object_unref(image_data->loader);
++
++    if(image_data->backdrop) {
++        g_object_unref(image_data->backdrop);
++        image_data->backdrop = NULL;
++    }
+ }
+ 
+ /**
+@@ -1671,6 +1676,7 @@ xfce_backdrop_generate_async(XfceBackdrop *backdrop)
+     backdrop->priv->image_data = image_data;
+ 
+     image_data->backdrop = backdrop;
++    g_object_ref(backdrop);
+     image_data->loader = gdk_pixbuf_loader_new();
+     image_data->cancellable = g_cancellable_new();
+     image_data->image_buffer = g_new0(guchar, XFCE_BACKDROP_BUFFER_SIZE);


More information about the arch-commits mailing list