[arch-commits] Commit in steadyflow (7 files)
Balló György
bgyorgy at archlinux.org
Sun Jul 16 08:12:52 UTC 2017
Date: Sunday, July 16, 2017 @ 08:12:51
Author: bgyorgy
Revision: 245288
archrelease: copy trunk to community-x86_64, community-i686
Added:
steadyflow/repos/
steadyflow/repos/community-i686/
steadyflow/repos/community-i686/PKGBUILD
(from rev 245287, steadyflow/trunk/PKGBUILD)
steadyflow/repos/community-i686/fixes.patch
(from rev 245287, steadyflow/trunk/fixes.patch)
steadyflow/repos/community-x86_64/
steadyflow/repos/community-x86_64/PKGBUILD
(from rev 245287, steadyflow/trunk/PKGBUILD)
steadyflow/repos/community-x86_64/fixes.patch
(from rev 245287, steadyflow/trunk/fixes.patch)
------------------------------+
community-i686/PKGBUILD | 35 +++++++++++++++++++
community-i686/fixes.patch | 72 +++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 35 +++++++++++++++++++
community-x86_64/fixes.patch | 72 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 214 insertions(+)
Copied: steadyflow/repos/community-i686/PKGBUILD (from rev 245287, steadyflow/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2017-07-16 08:12:51 UTC (rev 245288)
@@ -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
+}
Copied: steadyflow/repos/community-i686/fixes.patch (from rev 245287, steadyflow/trunk/fixes.patch)
===================================================================
--- repos/community-i686/fixes.patch (rev 0)
+++ repos/community-i686/fixes.patch 2017-07-16 08:12:51 UTC (rev 245288)
@@ -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 {
Copied: steadyflow/repos/community-x86_64/PKGBUILD (from rev 245287, steadyflow/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2017-07-16 08:12:51 UTC (rev 245288)
@@ -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
+}
Copied: steadyflow/repos/community-x86_64/fixes.patch (from rev 245287, steadyflow/trunk/fixes.patch)
===================================================================
--- repos/community-x86_64/fixes.patch (rev 0)
+++ repos/community-x86_64/fixes.patch 2017-07-16 08:12:51 UTC (rev 245288)
@@ -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