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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Sep 17 18:46:53 UTC 2021


    Date: Friday, September 17, 2021 @ 18:46:53
  Author: foutrelis
Revision: 424300

archrelease: copy trunk to extra-x86_64

Added:
  thunar/repos/extra-x86_64/PKGBUILD
    (from rev 424299, thunar/trunk/PKGBUILD)
  thunar/repos/extra-x86_64/fix-signal-disconnect-in-thunar_window_unrealize.patch
    (from rev 424299, thunar/trunk/fix-signal-disconnect-in-thunar_window_unrealize.patch)
Deleted:
  thunar/repos/extra-x86_64/PKGBUILD

--------------------------------------------------------+
 PKGBUILD                                               |   99 +++++++--------
 fix-signal-disconnect-in-thunar_window_unrealize.patch |   29 ++++
 2 files changed, 81 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-17 18:46:49 UTC (rev 424299)
+++ PKGBUILD	2021-09-17 18:46:53 UTC (rev 424300)
@@ -1,47 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
-
-pkgname=thunar
-pkgver=4.16.9
-pkgrel=1
-pkgdesc="Modern file manager for Xfce"
-arch=('x86_64')
-url="https://docs.xfce.org/xfce/thunar/start"
-license=('GPL2' 'LGPL2.1')
-groups=('xfce4')
-depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
-         'libgudev' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'gobject-introspection' 'xfce4-panel')
-optdepends=('gvfs: trash support, mounting with udisk and remote filesystems'
-            'tumbler: thumbnail previews'
-            'thunar-volman: removable device management'
-            'thunar-archive-plugin: archive creation and extraction'
-            'thunar-media-tags-plugin: view/edit ID3/OGG tags')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('520bf318eef8bc792db38ae4af343b648f87d4b8d66f5b5d6f092e15264ee5af')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --enable-gio-unix \
-    --enable-gudev \
-    --enable-notifications \
-    --enable-exif \
-    --enable-pcre \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: thunar/repos/extra-x86_64/PKGBUILD (from rev 424299, thunar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-17 18:46:53 UTC (rev 424300)
@@ -0,0 +1,52 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+
+pkgname=thunar
+pkgver=4.16.9
+pkgrel=2
+pkgdesc="Modern file manager for Xfce"
+arch=('x86_64')
+url="https://docs.xfce.org/xfce/thunar/start"
+license=('GPL2' 'LGPL2.1')
+groups=('xfce4')
+depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
+         'libgudev' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
+makedepends=('intltool' 'gobject-introspection' 'xfce4-panel')
+optdepends=('gvfs: trash support, mounting with udisk and remote filesystems'
+            'tumbler: thumbnail previews'
+            'thunar-volman: removable device management'
+            'thunar-archive-plugin: archive creation and extraction'
+            'thunar-media-tags-plugin: view/edit ID3/OGG tags')
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-signal-disconnect-in-thunar_window_unrealize.patch)
+sha256sums=('520bf318eef8bc792db38ae4af343b648f87d4b8d66f5b5d6f092e15264ee5af'
+            '6392c86bed2f5912d4f1665704d9856797a0fb97efe251ace770952abb91122a')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # https://gitlab.xfce.org/xfce/thunar/-/issues/653
+  patch -Np1 -i ../fix-signal-disconnect-in-thunar_window_unrealize.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-gio-unix \
+    --enable-gudev \
+    --enable-notifications \
+    --enable-exif \
+    --enable-pcre \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: thunar/repos/extra-x86_64/fix-signal-disconnect-in-thunar_window_unrealize.patch (from rev 424299, thunar/trunk/fix-signal-disconnect-in-thunar_window_unrealize.patch)
===================================================================
--- fix-signal-disconnect-in-thunar_window_unrealize.patch	                        (rev 0)
+++ fix-signal-disconnect-in-thunar_window_unrealize.patch	2021-09-17 18:46:53 UTC (rev 424300)
@@ -0,0 +1,29 @@
+From cfc47d65674e4341912e8a0a6fc0072cd2e8e595 Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos at foutrelis.com>
+Date: Fri, 17 Sep 2021 20:49:24 +0300
+Subject: [PATCH] Fix signal disconnect in thunar_window_unrealize
+
+Commit c2a97b896f04 replaced the gtk_widget_queue_draw callback with
+thunar_window_clipboard_manager_changed. The same change needs to be
+made in thunar_window_unrealize, which was still referencing the old
+function (gtk_widget_queue_draw).
+
+Fixes: c2a97b896f04 ("Fix file-icon update when file is cut (Issue #588)")
+Closes: https://gitlab.xfce.org/xfce/thunar/-/issues/653
+---
+ thunar/thunar-window.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
+index d464e338..27cd22f7 100644
+--- a/thunar/thunar-window.c
++++ b/thunar/thunar-window.c
+@@ -1820,7 +1820,7 @@ thunar_window_unrealize (GtkWidget *widget)
+   ThunarWindow *window = THUNAR_WINDOW (widget);
+ 
+   /* disconnect from the clipboard manager */
+-  g_signal_handlers_disconnect_by_func (G_OBJECT (window->clipboard), gtk_widget_queue_draw, widget);
++  g_signal_handlers_disconnect_by_func (G_OBJECT (window->clipboard), thunar_window_clipboard_manager_changed, widget);
+ 
+   /* let the GtkWidget class unrealize the window */
+   (*GTK_WIDGET_CLASS (thunar_window_parent_class)->unrealize) (widget);



More information about the arch-commits mailing list