[arch-commits] Commit in steadyflow/repos (8 files)

Balló György bgyorgy at archlinux.org
Sun Jul 16 08:57:00 UTC 2017


    Date: Sunday, July 16, 2017 @ 08:57:00
  Author: bgyorgy
Revision: 245290

archrelease: copy trunk to community-x86_64, community-i686

Added:
  steadyflow/repos/community-i686/PKGBUILD
    (from rev 245289, steadyflow/trunk/PKGBUILD)
  steadyflow/repos/community-i686/fixes.patch
    (from rev 245289, steadyflow/trunk/fixes.patch)
  steadyflow/repos/community-x86_64/PKGBUILD
    (from rev 245289, steadyflow/trunk/PKGBUILD)
  steadyflow/repos/community-x86_64/fixes.patch
    (from rev 245289, steadyflow/trunk/fixes.patch)
Deleted:
  steadyflow/repos/community-i686/PKGBUILD
  steadyflow/repos/community-i686/fixes.patch
  steadyflow/repos/community-x86_64/PKGBUILD
  steadyflow/repos/community-x86_64/fixes.patch

------------------------------+
 /PKGBUILD                    |   70 +++++++++++++++++
 /fixes.patch                 |  166 +++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD      |   35 --------
 community-i686/fixes.patch   |   72 -----------------
 community-x86_64/PKGBUILD    |   35 --------
 community-x86_64/fixes.patch |   72 -----------------
 6 files changed, 236 insertions(+), 214 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-07-16 08:56:53 UTC (rev 245289)
+++ community-i686/PKGBUILD	2017-07-16 08:57:00 UTC (rev 245290)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: M0Rf30
-# Contributor: Dan Serban
-# Contributor: zbito <ztokarczyk at gmail dot com
-
-pkgname=steadyflow
-pkgver=0.2.0
-pkgrel=5
-pkgdesc="Simple download manager for GNOME"
-arch=('x86_64' 'i686')
-url='https://launchpad.net/steadyflow'
-license=('GPL3')
-depends=('gtk3' 'libgee' 'libnotify')
-makedepends=('cmake' 'vala')
-source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz
-        fixes.patch)
-sha256sums=('ab1f23d52be78c952979ee0bb1778b8bf4664145c6fb28db219d516aae7dddb6'
-            'f8038bd4bf9d3272d99c01bf19fcc708b3ccaa42491c265302ad7321cd7bd97b')
-
-prepare() {
-	cd $pkgname-$pkgver
-	patch -Np1 -i ../fixes.patch
-}
-
-build() {
-	cd $pkgname-$pkgver
-	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILE_GSETTINGS_ON_INSTALL=OFF -DWANT_AYATANA=OFF
-	make
-}
-
-package() {
-	cd $pkgname-$pkgver
-	make DESTDIR="$pkgdir" install
-}

Copied: steadyflow/repos/community-i686/PKGBUILD (from rev 245289, steadyflow/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-07-16 08:57:00 UTC (rev 245290)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: M0Rf30
+# Contributor: Dan Serban
+# Contributor: zbito <ztokarczyk at gmail dot com
+
+pkgname=steadyflow
+pkgver=0.2.0
+pkgrel=6
+pkgdesc="Simple download manager for GNOME"
+arch=('x86_64' 'i686')
+url='https://launchpad.net/steadyflow'
+license=('GPL3')
+depends=('gtk3' 'gvfs' 'libgee' 'libnotify')
+makedepends=('cmake' 'vala')
+source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz
+        fixes.patch)
+sha256sums=('ab1f23d52be78c952979ee0bb1778b8bf4664145c6fb28db219d516aae7dddb6'
+            '24b76cd43e1f0a091f9180ec33a9e8c86c1de40eb8a58fcfe1d9e5df79ccc3ef')
+
+prepare() {
+	cd $pkgname-$pkgver
+	patch -Np1 -i ../fixes.patch
+}
+
+build() {
+	cd $pkgname-$pkgver
+	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILE_GSETTINGS_ON_INSTALL=OFF -DWANT_AYATANA=OFF
+	make
+}
+
+package() {
+	cd $pkgname-$pkgver
+	make DESTDIR="$pkgdir" install
+}

Deleted: community-i686/fixes.patch
===================================================================
--- community-i686/fixes.patch	2017-07-16 08:56:53 UTC (rev 245289)
+++ community-i686/fixes.patch	2017-07-16 08:57:00 UTC (rev 245290)
@@ -1,72 +0,0 @@
-diff -Naur steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake steadyflow-0.2.0/cmake/FindExtraDeps.cmake
---- steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/cmake/FindExtraDeps.cmake	2017-07-16 09:54:03.871584093 +0200
-@@ -1,5 +1,5 @@
- message("-- Checking for libgee...")
--pkg_check_modules(GEE gee-1.0)
-+pkg_check_modules(GEE gee-0.8)
- message("-- Checking for libnotify >= 0.7...")
- pkg_check_modules(LIBNOTIFY libnotify>=0.7)
- 
-diff -Naur steadyflow-0.2.0.orig/CMakeLists.txt steadyflow-0.2.0/CMakeLists.txt
---- steadyflow-0.2.0.orig/CMakeLists.txt	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/CMakeLists.txt	2017-07-16 09:54:03.871584093 +0200
-@@ -48,7 +48,7 @@
- )
- 
- set(VALA_PACKAGES
--	gee-1.0
-+	gee-0.8
- 	gio-2.0
- 	glib-2.0
- 	gtk+-3.0
-diff -Naur steadyflow-0.2.0.orig/Steadyflow/FileListController.vala steadyflow-0.2.0/Steadyflow/FileListController.vala
---- steadyflow-0.2.0.orig/Steadyflow/FileListController.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow/FileListController.vala	2017-07-16 09:53:53.937975668 +0200
-@@ -27,7 +27,7 @@
- 	private static const double REDRAW_SEC = 0.2;
- 
- 	private TreeView tree;
--	private ListStore model;
-+	private Gtk.ListStore model;
- 	private string filter = "";
- 	private Timer redraw_timer;
- 
-@@ -46,7 +46,7 @@
- 		column.pack_start (renderer, true);
- 		column.set_cell_data_func (renderer, set_cell_data);
- 		
--		model = new ListStore.newv ({ typeof (IDownloadFile) });
-+		model = new Gtk.ListStore.newv ({ typeof (IDownloadFile) });
- 		tree.set_model (model);
- 		tree.append_column (column);
- 		
-diff -Naur steadyflow-0.2.0.orig/Steadyflow/Services.vala steadyflow-0.2.0/Steadyflow/Services.vala
---- steadyflow-0.2.0.orig/Steadyflow/Services.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow/Services.vala	2017-07-16 10:07:00.382761532 +0200
-@@ -61,7 +61,7 @@
- 				 "information to the developer:\n\nError Code %d:\n\n%s").printf (e.code, message));
- 			
- 		md.run ();
--		exit(1);
-+		GLib.Process.exit(1);
- 	}
- }
- 
-diff -Naur steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala
---- steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala	2017-07-16 09:53:53.934642242 +0200
-@@ -160,7 +160,12 @@
- 				// Not mounted
- 				MountOperation mount_op;
- 				get_mount_operation (out mount_op);
--				yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
-+				try {
-+					yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
-+				}
-+				catch (Error e) {
-+					// The volume might already be mounted. Quietly continue.
-+				}
- 			}
- 			
- 			try {

Copied: steadyflow/repos/community-i686/fixes.patch (from rev 245289, steadyflow/trunk/fixes.patch)
===================================================================
--- community-i686/fixes.patch	                        (rev 0)
+++ community-i686/fixes.patch	2017-07-16 08:57:00 UTC (rev 245290)
@@ -0,0 +1,83 @@
+diff -Naur steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake steadyflow-0.2.0/cmake/FindExtraDeps.cmake
+--- steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/cmake/FindExtraDeps.cmake	2017-07-16 09:54:03.871584093 +0200
+@@ -1,5 +1,5 @@
+ message("-- Checking for libgee...")
+-pkg_check_modules(GEE gee-1.0)
++pkg_check_modules(GEE gee-0.8)
+ message("-- Checking for libnotify >= 0.7...")
+ pkg_check_modules(LIBNOTIFY libnotify>=0.7)
+ 
+diff -Naur steadyflow-0.2.0.orig/CMakeLists.txt steadyflow-0.2.0/CMakeLists.txt
+--- steadyflow-0.2.0.orig/CMakeLists.txt	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/CMakeLists.txt	2017-07-16 09:54:03.871584093 +0200
+@@ -48,7 +48,7 @@
+ )
+ 
+ set(VALA_PACKAGES
+-	gee-1.0
++	gee-0.8
+ 	gio-2.0
+ 	glib-2.0
+ 	gtk+-3.0
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/FileListController.vala steadyflow-0.2.0/Steadyflow/FileListController.vala
+--- steadyflow-0.2.0.orig/Steadyflow/FileListController.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/FileListController.vala	2017-07-16 09:53:53.937975668 +0200
+@@ -27,7 +27,7 @@
+ 	private static const double REDRAW_SEC = 0.2;
+ 
+ 	private TreeView tree;
+-	private ListStore model;
++	private Gtk.ListStore model;
+ 	private string filter = "";
+ 	private Timer redraw_timer;
+ 
+@@ -46,7 +46,7 @@
+ 		column.pack_start (renderer, true);
+ 		column.set_cell_data_func (renderer, set_cell_data);
+ 		
+-		model = new ListStore.newv ({ typeof (IDownloadFile) });
++		model = new Gtk.ListStore.newv ({ typeof (IDownloadFile) });
+ 		tree.set_model (model);
+ 		tree.append_column (column);
+ 		
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/MainWindow.vala steadyflow-0.2.0/Steadyflow/MainWindow.vala
+--- steadyflow-0.2.0.orig/Steadyflow/MainWindow.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/MainWindow.vala	2017-07-16 10:41:53.590124439 +0200
+@@ -230,6 +230,7 @@
+ 					return;
+ 			}
+ 			
++			file.pause ();
+ 			Services.download.remove_file (file);
+ 		}
+ 
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/Services.vala steadyflow-0.2.0/Steadyflow/Services.vala
+--- steadyflow-0.2.0.orig/Steadyflow/Services.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/Services.vala	2017-07-16 10:07:00.382761532 +0200
+@@ -61,7 +61,7 @@
+ 				 "information to the developer:\n\nError Code %d:\n\n%s").printf (e.code, message));
+ 			
+ 		md.run ();
+-		exit(1);
++		GLib.Process.exit(1);
+ 	}
+ }
+ 
+diff -Naur steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala
+--- steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala	2017-07-16 09:53:53.934642242 +0200
+@@ -160,7 +160,12 @@
+ 				// Not mounted
+ 				MountOperation mount_op;
+ 				get_mount_operation (out mount_op);
+-				yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
++				try {
++					yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
++				}
++				catch (Error e) {
++					// The volume might already be mounted. Quietly continue.
++				}
+ 			}
+ 			
+ 			try {

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-07-16 08:56:53 UTC (rev 245289)
+++ community-x86_64/PKGBUILD	2017-07-16 08:57:00 UTC (rev 245290)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: M0Rf30
-# Contributor: Dan Serban
-# Contributor: zbito <ztokarczyk at gmail dot com
-
-pkgname=steadyflow
-pkgver=0.2.0
-pkgrel=5
-pkgdesc="Simple download manager for GNOME"
-arch=('x86_64' 'i686')
-url='https://launchpad.net/steadyflow'
-license=('GPL3')
-depends=('gtk3' 'libgee' 'libnotify')
-makedepends=('cmake' 'vala')
-source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz
-        fixes.patch)
-sha256sums=('ab1f23d52be78c952979ee0bb1778b8bf4664145c6fb28db219d516aae7dddb6'
-            'f8038bd4bf9d3272d99c01bf19fcc708b3ccaa42491c265302ad7321cd7bd97b')
-
-prepare() {
-	cd $pkgname-$pkgver
-	patch -Np1 -i ../fixes.patch
-}
-
-build() {
-	cd $pkgname-$pkgver
-	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILE_GSETTINGS_ON_INSTALL=OFF -DWANT_AYATANA=OFF
-	make
-}
-
-package() {
-	cd $pkgname-$pkgver
-	make DESTDIR="$pkgdir" install
-}

Copied: steadyflow/repos/community-x86_64/PKGBUILD (from rev 245289, steadyflow/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-07-16 08:57:00 UTC (rev 245290)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: M0Rf30
+# Contributor: Dan Serban
+# Contributor: zbito <ztokarczyk at gmail dot com
+
+pkgname=steadyflow
+pkgver=0.2.0
+pkgrel=6
+pkgdesc="Simple download manager for GNOME"
+arch=('x86_64' 'i686')
+url='https://launchpad.net/steadyflow'
+license=('GPL3')
+depends=('gtk3' 'gvfs' 'libgee' 'libnotify')
+makedepends=('cmake' 'vala')
+source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz
+        fixes.patch)
+sha256sums=('ab1f23d52be78c952979ee0bb1778b8bf4664145c6fb28db219d516aae7dddb6'
+            '24b76cd43e1f0a091f9180ec33a9e8c86c1de40eb8a58fcfe1d9e5df79ccc3ef')
+
+prepare() {
+	cd $pkgname-$pkgver
+	patch -Np1 -i ../fixes.patch
+}
+
+build() {
+	cd $pkgname-$pkgver
+	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILE_GSETTINGS_ON_INSTALL=OFF -DWANT_AYATANA=OFF
+	make
+}
+
+package() {
+	cd $pkgname-$pkgver
+	make DESTDIR="$pkgdir" install
+}

Deleted: community-x86_64/fixes.patch
===================================================================
--- community-x86_64/fixes.patch	2017-07-16 08:56:53 UTC (rev 245289)
+++ community-x86_64/fixes.patch	2017-07-16 08:57:00 UTC (rev 245290)
@@ -1,72 +0,0 @@
-diff -Naur steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake steadyflow-0.2.0/cmake/FindExtraDeps.cmake
---- steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/cmake/FindExtraDeps.cmake	2017-07-16 09:54:03.871584093 +0200
-@@ -1,5 +1,5 @@
- message("-- Checking for libgee...")
--pkg_check_modules(GEE gee-1.0)
-+pkg_check_modules(GEE gee-0.8)
- message("-- Checking for libnotify >= 0.7...")
- pkg_check_modules(LIBNOTIFY libnotify>=0.7)
- 
-diff -Naur steadyflow-0.2.0.orig/CMakeLists.txt steadyflow-0.2.0/CMakeLists.txt
---- steadyflow-0.2.0.orig/CMakeLists.txt	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/CMakeLists.txt	2017-07-16 09:54:03.871584093 +0200
-@@ -48,7 +48,7 @@
- )
- 
- set(VALA_PACKAGES
--	gee-1.0
-+	gee-0.8
- 	gio-2.0
- 	glib-2.0
- 	gtk+-3.0
-diff -Naur steadyflow-0.2.0.orig/Steadyflow/FileListController.vala steadyflow-0.2.0/Steadyflow/FileListController.vala
---- steadyflow-0.2.0.orig/Steadyflow/FileListController.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow/FileListController.vala	2017-07-16 09:53:53.937975668 +0200
-@@ -27,7 +27,7 @@
- 	private static const double REDRAW_SEC = 0.2;
- 
- 	private TreeView tree;
--	private ListStore model;
-+	private Gtk.ListStore model;
- 	private string filter = "";
- 	private Timer redraw_timer;
- 
-@@ -46,7 +46,7 @@
- 		column.pack_start (renderer, true);
- 		column.set_cell_data_func (renderer, set_cell_data);
- 		
--		model = new ListStore.newv ({ typeof (IDownloadFile) });
-+		model = new Gtk.ListStore.newv ({ typeof (IDownloadFile) });
- 		tree.set_model (model);
- 		tree.append_column (column);
- 		
-diff -Naur steadyflow-0.2.0.orig/Steadyflow/Services.vala steadyflow-0.2.0/Steadyflow/Services.vala
---- steadyflow-0.2.0.orig/Steadyflow/Services.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow/Services.vala	2017-07-16 10:07:00.382761532 +0200
-@@ -61,7 +61,7 @@
- 				 "information to the developer:\n\nError Code %d:\n\n%s").printf (e.code, message));
- 			
- 		md.run ();
--		exit(1);
-+		GLib.Process.exit(1);
- 	}
- }
- 
-diff -Naur steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala
---- steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala	2012-06-30 14:39:35.000000000 +0200
-+++ steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala	2017-07-16 09:53:53.934642242 +0200
-@@ -160,7 +160,12 @@
- 				// Not mounted
- 				MountOperation mount_op;
- 				get_mount_operation (out mount_op);
--				yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
-+				try {
-+					yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
-+				}
-+				catch (Error e) {
-+					// The volume might already be mounted. Quietly continue.
-+				}
- 			}
- 			
- 			try {

Copied: steadyflow/repos/community-x86_64/fixes.patch (from rev 245289, steadyflow/trunk/fixes.patch)
===================================================================
--- community-x86_64/fixes.patch	                        (rev 0)
+++ community-x86_64/fixes.patch	2017-07-16 08:57:00 UTC (rev 245290)
@@ -0,0 +1,83 @@
+diff -Naur steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake steadyflow-0.2.0/cmake/FindExtraDeps.cmake
+--- steadyflow-0.2.0.orig/cmake/FindExtraDeps.cmake	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/cmake/FindExtraDeps.cmake	2017-07-16 09:54:03.871584093 +0200
+@@ -1,5 +1,5 @@
+ message("-- Checking for libgee...")
+-pkg_check_modules(GEE gee-1.0)
++pkg_check_modules(GEE gee-0.8)
+ message("-- Checking for libnotify >= 0.7...")
+ pkg_check_modules(LIBNOTIFY libnotify>=0.7)
+ 
+diff -Naur steadyflow-0.2.0.orig/CMakeLists.txt steadyflow-0.2.0/CMakeLists.txt
+--- steadyflow-0.2.0.orig/CMakeLists.txt	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/CMakeLists.txt	2017-07-16 09:54:03.871584093 +0200
+@@ -48,7 +48,7 @@
+ )
+ 
+ set(VALA_PACKAGES
+-	gee-1.0
++	gee-0.8
+ 	gio-2.0
+ 	glib-2.0
+ 	gtk+-3.0
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/FileListController.vala steadyflow-0.2.0/Steadyflow/FileListController.vala
+--- steadyflow-0.2.0.orig/Steadyflow/FileListController.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/FileListController.vala	2017-07-16 09:53:53.937975668 +0200
+@@ -27,7 +27,7 @@
+ 	private static const double REDRAW_SEC = 0.2;
+ 
+ 	private TreeView tree;
+-	private ListStore model;
++	private Gtk.ListStore model;
+ 	private string filter = "";
+ 	private Timer redraw_timer;
+ 
+@@ -46,7 +46,7 @@
+ 		column.pack_start (renderer, true);
+ 		column.set_cell_data_func (renderer, set_cell_data);
+ 		
+-		model = new ListStore.newv ({ typeof (IDownloadFile) });
++		model = new Gtk.ListStore.newv ({ typeof (IDownloadFile) });
+ 		tree.set_model (model);
+ 		tree.append_column (column);
+ 		
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/MainWindow.vala steadyflow-0.2.0/Steadyflow/MainWindow.vala
+--- steadyflow-0.2.0.orig/Steadyflow/MainWindow.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/MainWindow.vala	2017-07-16 10:41:53.590124439 +0200
+@@ -230,6 +230,7 @@
+ 					return;
+ 			}
+ 			
++			file.pause ();
+ 			Services.download.remove_file (file);
+ 		}
+ 
+diff -Naur steadyflow-0.2.0.orig/Steadyflow/Services.vala steadyflow-0.2.0/Steadyflow/Services.vala
+--- steadyflow-0.2.0.orig/Steadyflow/Services.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow/Services.vala	2017-07-16 10:07:00.382761532 +0200
+@@ -61,7 +61,7 @@
+ 				 "information to the developer:\n\nError Code %d:\n\n%s").printf (e.code, message));
+ 			
+ 		md.run ();
+-		exit(1);
++		GLib.Process.exit(1);
+ 	}
+ }
+ 
+diff -Naur steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala
+--- steadyflow-0.2.0.orig/Steadyflow.Core/GioDownloadFile.vala	2012-06-30 14:39:35.000000000 +0200
++++ steadyflow-0.2.0/Steadyflow.Core/GioDownloadFile.vala	2017-07-16 09:53:53.934642242 +0200
+@@ -160,7 +160,12 @@
+ 				// Not mounted
+ 				MountOperation mount_op;
+ 				get_mount_operation (out mount_op);
+-				yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
++				try {
++					yield remote.mount_enclosing_volume (MountMountFlags.NONE, mount_op);
++				}
++				catch (Error e) {
++					// The volume might already be mounted. Quietly continue.
++				}
+ 			}
+ 			
+ 			try {



More information about the arch-commits mailing list