[arch-commits] Commit in spacefm/trunk (PKGBUILD spacefm-0.9.4-glib-2.41.patch)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Oct 16 15:48:31 UTC 2014
Date: Thursday, October 16, 2014 @ 17:48:31
Author: bpiotrowski
Revision: 120827
upgpkg: spacefm 0.9.4-3
fix freezes with glib 2.41
Added:
spacefm/trunk/spacefm-0.9.4-glib-2.41.patch
Modified:
spacefm/trunk/PKGBUILD
-------------------------------+
PKGBUILD | 13 ++++++++++---
spacefm-0.9.4-glib-2.41.patch | 25 +++++++++++++++++++++++++
2 files changed, 35 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-16 15:21:20 UTC (rev 120826)
+++ PKGBUILD 2014-10-16 15:48:31 UTC (rev 120827)
@@ -5,7 +5,7 @@
pkgname=spacefm
pkgver=0.9.4
-pkgrel=2
+pkgrel=3
pkgdesc='Multi-panel tabbed file manager'
arch=('i686' 'x86_64')
url='http://ignorantguru.github.com/spacefm/'
@@ -20,9 +20,16 @@
'udevil: mount as non-root user and mount networks'
'udisks: mount as non-root user'
'udisks2: mount as non-root user')
-source=(https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz)
-md5sums=('daeee7dcccea33d6258a0a9d783470c4')
+source=(https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz
+ spacefm-0.9.4-glib-2.41.patch)
+md5sums=('daeee7dcccea33d6258a0a9d783470c4'
+ '1ec85afcb4fc881a8e876b3cf60c7028')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../spacefm-0.9.4-glib-2.41.patch
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
Added: spacefm-0.9.4-glib-2.41.patch
===================================================================
--- spacefm-0.9.4-glib-2.41.patch (rev 0)
+++ spacefm-0.9.4-glib-2.41.patch 2014-10-16 15:48:31 UTC (rev 120827)
@@ -0,0 +1,25 @@
+diff --git a/src/main.c b/src/main.c
+index a7307fb..af5dc5a 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -1349,7 +1349,9 @@ int main ( int argc, char *argv[] )
+ vfs_file_monitor_clean();
+ return ret == -1 ? 0 : ret;
+ }
++ GDK_THREADS_ENTER();
+ gtk_main();
++ GDK_THREADS_LEAVE();
+ vfs_file_monitor_clean();
+ return 0;
+ }
+@@ -1509,8 +1511,10 @@ int main ( int argc, char *argv[] )
+ run = handle_parsed_commandline_args();
+ app_settings.load_saved_tabs = TRUE;
+
++ GDK_THREADS_ENTER();
+ if( run ) /* run the main loop */
+ gtk_main();
++ GDK_THREADS_LEAVE();
+
+ main_window_event( NULL, NULL, "evt_exit", 0, 0, NULL, 0, 0, 0, FALSE );
+
More information about the arch-commits
mailing list