Date: Wednesday, June 6, 2018 @ 22:52:55 Author: foutrelis Revision: 326096
archrelease: copy trunk to staging-x86_64 Added: thunar/repos/staging-x86_64/ thunar/repos/staging-x86_64/PKGBUILD (from rev 326095, thunar/trunk/PKGBUILD) thunar/repos/staging-x86_64/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch (from rev 326095, thunar/trunk/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch) -------------------------------------------------------------+ PKGBUILD | 55 +++++++++ replace-gtk_widget_reparent-with-xfce_widget_reparent.patch | 58 ++++++++++ 2 files changed, 113 insertions(+) Copied: thunar/repos/staging-x86_64/PKGBUILD (from rev 326095, thunar/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-06-06 22:52:55 UTC (rev 326096) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Andrew Simmons <andrew.simm...@gmail.com> + +pkgname=thunar +pkgver=1.8.0 +pkgrel=1 +pkgdesc="Modern file manager for Xfce" +arch=('x86_64') +url="http://thunar.xfce.org" +license=('GPL2' 'LGPL2.1') +groups=('xfce4') +depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify' + 'libgudev' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng') +makedepends=('intltool' 'xfce4-panel' 'xfce4-dev-tools') +optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems' + 'xfce4-panel: for trash applet' + 'tumbler: for thumbnail previews' + 'thunar-volman: manages removable devices' + 'thunar-archive-plugin: create and deflate archives' + 'thunar-media-tags-plugin: view/edit id3/ogg tags') +source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/Thunar-$pkgver.tar.bz2 + replace-gtk_widget_reparent-with-xfce_widget_reparent.patch) +sha256sums=('acf151bceedb20aed45a6da61d7bb85a4a03964090c80454e72e61e7fc9e49c7' + '5560d21d09625b952796bc716712575f300d459dee5187afcd3798f178110643') + +prepare() { + cd "$srcdir/Thunar-$pkgver" + + # Allow building against libxfce4ui 4.12 + patch -Rp1 -F3 -i ../replace-gtk_widget_reparent-with-xfce_widget_reparent.patch + xdt-autogen +} + +build() { + cd "$srcdir/Thunar-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-gio-unix \ + --enable-gudev \ + --enable-notifications \ + --enable-exif \ + --enable-pcre \ + --disable-debug + make +} + +package() { + cd "$srcdir/Thunar-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: Copied: thunar/repos/staging-x86_64/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch (from rev 326095, thunar/trunk/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch) =================================================================== --- staging-x86_64/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch (rev 0) +++ staging-x86_64/replace-gtk_widget_reparent-with-xfce_widget_reparent.patch 2018-06-06 22:52:55 UTC (rev 326096) @@ -0,0 +1,58 @@ +From fbb87f2f1b779182a8802e091ff4fb1175b47326 Mon Sep 17 00:00:00 2001 +From: Andre Miranda <andre...@xfce.org> +Date: Sun, 14 Jan 2018 16:25:26 -0300 +Subject: Replace gtk_widget_reparent with xfce_widget_reparent + +Requires libxfce4ui >=4.13.2 +--- + configure.ac | 2 +- + thunar/thunar-progress-dialog.c | 6 ++++-- + 2 files changed, 5 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9bc80ce..c2d6a80 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -153,7 +153,7 @@ XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.30.0]) + XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.22.0]) + XDT_CHECK_PACKAGE([GDK_PIXBUF], [gdk-pixbuf-2.0], [2.14.0]) + XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0]) +-XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0]) ++XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.13.2]) + XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0]) + + dnl ****************************** +diff --git a/thunar/thunar-progress-dialog.c b/thunar/thunar-progress-dialog.c +index 1a87a38..8ecee40 100644 +--- a/thunar/thunar-progress-dialog.c ++++ b/thunar/thunar-progress-dialog.c +@@ -24,6 +24,8 @@ + + #include <gtk/gtk.h> + ++#include <libxfce4ui/libxfce4ui.h> ++ + #include <thunar/thunar-private.h> + #include <thunar/thunar-progress-dialog.h> + #include <thunar/thunar-progress-view.h> +@@ -253,7 +255,7 @@ thunar_progress_dialog_job_finished (ThunarProgressDialog *dialog, + if (n_views == SCROLLVIEW_THRESHOLD-1) + { + /* reparent the content box */ +- gtk_widget_reparent (dialog->content_box, dialog->vbox); ++ xfce_widget_reparent (dialog->content_box, dialog->vbox); + + /* destroy the scroll win */ + gtk_widget_destroy (dialog->scrollwin); +@@ -366,7 +368,7 @@ thunar_progress_dialog_add_job (ThunarProgressDialog *dialog, + gtk_widget_show (viewport); + + /* move the content box into the viewport */ +- gtk_widget_reparent (dialog->content_box, viewport); ++ xfce_widget_reparent (dialog->content_box, viewport); + } + + g_signal_connect_swapped (view, "need-attention", +-- +cgit v1.1 +