From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50829) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsNKm-0007aN-HZ for guix-patches@gnu.org; Tue, 30 Jul 2019 04:18:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsNKc-0006sh-Be for guix-patches@gnu.org; Tue, 30 Jul 2019 04:18:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsNKc-0006sV-5L for guix-patches@gnu.org; Tue, 30 Jul 2019 04:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsNKb-0004XI-Uo for guix-patches@gnu.org; Tue, 30 Jul 2019 04:18:01 -0400 Subject: [bug#36851] [PATCH] Add rclone-browser Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:50737) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsNJr-0007W4-4J for guix-patches@gnu.org; Tue, 30 Jul 2019 04:17:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsNJp-0006KB-RA for guix-patches@gnu.org; Tue, 30 Jul 2019 04:17:15 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:42943) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsNJp-0006Hp-C6 for guix-patches@gnu.org; Tue, 30 Jul 2019 04:17:13 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 8DDB4200004 for ; Tue, 30 Jul 2019 08:17:09 +0000 (UTC) From: Nicolas Goaziou Date: Tue, 30 Jul 2019 10:17:08 +0200 Message-ID: <87blxcos1n.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36851@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, The following patch adds Rclone-browser, a simple GUI for Rclone. Note: I added Rclone as a propagated input, but I'm not sure about this. I.e., it builds without that input, but it is then unusable. Do we consider users are responsible for installing Rclone themselves anyway? Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-rclone-browser.patch Content-Description: Add rclone-browser >From d1765e2c4516f27574caa175883b21a7cdb9679f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 30 Jul 2019 10:11:04 +0200 Subject: [PATCH] gnu: Add rclone-browser. * gnu/packages/sync.scm (rclone-browser): New variable. --- gnu/packages/sync.scm | 80 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 1c80b7978e..57421114a3 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -285,3 +285,83 @@ Features include: @end itemize") (home-page "https://rclone.org/") (license license:expat))) + +(define-public rclone-browser + (package + (name "rclone-browser") + (version "1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmozeiko/RcloneBrowser.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ldradd5c606mfkh46y4mhcvf9kbjhamw0gahksp9w43h5dh3ir7")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;no test + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-hard-coded-paths + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "scripts/rclone-browser.desktop" + (("/usr/") (string-append out "/"))) + #t)))))) + (inputs + `(("qtbase" ,qtbase))) + (propagated-inputs + `(("rclone" ,rclone))) + (home-page "https://martins.ninja/RcloneBrowser/") + (synopsis "Simple cross platfrom GUI for rclone command line tool") + (description "RcloneBrowser is a GUI for Rclone. + +Its features are: + +@itemize + +@item Allows to browse and modify any Rclone remote, including +encrypted ones; + +@item Uses same configuration file as Rclone, no extra configuration +required; + +@item Supports custom location and encryption for @file{.rclone.conf} +configuration file; + +@item Simultaneously navigate multiple repositories in separate tabs; + +@item Lists files hierarchically with file name, size and modify date; + +@item All Rclone commands are executed asynchronously, no freezing +GUI; + +@item File hierarchy is lazily cached in memory, for faster traversal +of folders; + +@item Allows to upload, download, create new folders, rename or delete +files and folders; + +@item Allows to calculate size of folder, export list of files and +copy Rclone command to clipboard; + +@item Can process multiple upload or download jobs in background; + +@item Drag & drop support for dragging files from local file explorer +for uploading; + +@item Streaming media files for playback in player like mpv or +similar; + +@item Mount and unmount folders; + +@item Optionally minimizes to tray, with notifications when +upload/download finishes; + +@item Supports portable mode (create @file{.ini} file next to +executable with same name), Rclone and @file{.rclone.conf} path now +can be relative to executable. +@end itemize") + (license license:unlicense))) -- 2.22.0 --=-=-=--