[arch-commits] Commit in (4 files)

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


    Date: Sunday, July 16, 2017 @ 08:12:35
  Author: bgyorgy
Revision: 245287

Move steadyflow from AUR with 12 votes

Added:
  steadyflow/
  steadyflow/trunk/
  steadyflow/trunk/PKGBUILD
  steadyflow/trunk/fixes.patch

-------------+
 PKGBUILD    |   35 ++++++++++++++++++++++++++++
 fixes.patch |   72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)

Added: steadyflow/trunk/PKGBUILD
===================================================================
--- steadyflow/trunk/PKGBUILD	                        (rev 0)
+++ steadyflow/trunk/PKGBUILD	2017-07-16 08:12:35 UTC (rev 245287)
@@ -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=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
+}


Property changes on: steadyflow/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: steadyflow/trunk/fixes.patch
===================================================================
--- steadyflow/trunk/fixes.patch	                        (rev 0)
+++ steadyflow/trunk/fixes.patch	2017-07-16 08:12:35 UTC (rev 245287)
@@ -0,0 +1,72 @@
+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 {



More information about the arch-commits mailing list