From patchwork Sun Feb 16 09:38:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: flypaper X-Patchwork-Id: 38725 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 13E4227BBEA; Sun, 16 Feb 2025 09:48:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8EC4A27BBE2 for ; Sun, 16 Feb 2025 09:48:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tjbFr-0000y0-E3; Sun, 16 Feb 2025 04:48:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjb89-0000BS-4h for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tjb88-00031s-RW for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=xLgIE/U4ZVkwGTNjn9Z3McI2BVHbgssB5ym40lHH91Y=; b=f3xOtwvYhbCGLM0q32spNADpAGn8KA6IxNytQ+j6KhS9Xyl+3QlGSK11tMUyA4XC3lJ4sN1XhLfHEr09pJp/tpsYKD4rhxawrUyEJt0Dt1QyTE9y3nQgE3/84YB95TwxHlggfd6JUectP2LW3G9b0qOwuMOtuMGndLHRqhxy+MVP+BhXDXF3H12mPBpnmRfWRJt6FT58vCi7dMgS0VlqD+wo71F80EMsR1hDuXqFlOGNUbPHmJa0EUpBnEw7qqoperX6xsuC46HTzswaonJosHLxHJGGpTOodbDmqYML0ny3xYeNggpyGGpVMgTVqW1aDghG6x7ZvuDXahT9nvirug==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tjb88-0003j8-MI for guix-patches@gnu.org; Sun, 16 Feb 2025 04:40:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76324] [PATCH 6/6] gnu: sync: add seadrive-gui Resent-From: flypaper Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2025 09:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76324@debbugs.gnu.org Cc: flypaper Received: via spool by 76324-submit@debbugs.gnu.org id=B76324.173969878114234 (code B ref 76324); Sun, 16 Feb 2025 09:40:04 +0000 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:41 +0000 Received: from localhost ([127.0.0.1]:60218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7k-0003hQ-JG for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:41 -0500 Received: from layka.disroot.org ([178.21.23.139]:46918) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7f-0003h4-Ow for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:36 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CDEEF25963; Sun, 16 Feb 2025 10:39:34 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SKhUtG623eWd; Sun, 16 Feb 2025 10:39:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698774; bh=3lqqO6dhx35tzZqxMmOA0kT8oqO1aV/dPVe6TKUi3uM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QJ36/w8Gz+j1l6XaFfax3JOrPfG6FGaZHL2QdCaQ/mhIZ1Rv5dK/Kc2+KLJ7Hfppi 0rvMUpqim35YS0tfEBv+yZ/3ysJ00K681rsb5AAuHmG+ZmD6zccZAFPpv7/tCXw8l5 TSSrKM7uxXQTYnRcs1SOvWwlohVhcCjk1LUsCOE8yeJHetDkjj0yVvsOSJLeqJQzdN GyqyzPbynE8ufFFkTLHVrjF4oCgj8FzCwKkP8fds89zbWInCa3N41isLi8IGT5QZg8 i/O/pgFSG6YqvWTvBVevAt8yvagiCrcTS7Hb3gBesCB3t+8HhGSsPR9AceJ53bqPZL tTmHFcsp3jHCA== Date: Sun, 16 Feb 2025 11:38:49 +0200 Message-ID: <4aaa291b01b8dcc3ec09a3778134f8ae9f1bc15c.1739648316.git.flypaper@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 16 Feb 2025 04:48:01 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: flypaper X-ACL-Warn: , flypaper via Guix-patches X-Patchwork-Original-From: flypaper via Guix-patches via From: flypaper Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sync.scm (seadrive-gui): New package. Change-Id: I6dc3ffff73611788e5b40ef4a0d09f2492c2da2b --- gnu/packages/sync.scm | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 6f09ae20b2..25ec140d75 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 Clément Lassieur ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2025 flypaper-ultimat ;;; ;;; This file is part of GNU Guix. ;;; @@ -808,3 +809,64 @@ (define-public seadrive-fuse (description "This package provides the @{seadrive} command, allowing for seadrive libraries to be mounted as FUSE drive.") (license license:gpl3+))) + +(define-public seadrive-gui + (package + (name "seadrive-gui") + (version "3.0.12") + (home-page "https://github.com/haiwen/seadrive-gui") + (synopsis "SeaDrive daemon with FUSE interface") + (description + "This package provides the graphical interface for mounting seadrive libraries as a FUSE drive.") + (license license:gpl3+) + (native-inputs (list autoconf + automake + libtool + pkg-config + vala + intltool + cmake-minimal)) + (inputs (list sqlite + gtk + curl + util-linux + openssl + jansson + libevent + fuse-2 + libwebsockets + libsearpc + python + qtbase-5 + qttools-5 + python-simplejson + qtwebengine-5 + seadrive-fuse)) + (arguments + (list + #:configure-flags #~(list "-DCMAKE_BUILD_TYPE=Release") + #:tests? #f ;there are no tests + #:phases '(modify-phases %standard-phases + ;; seafile-client expects seaf-daemon in %PATH + ;; but we can just replace it in the source with a path to store + ;; so that we dont anymore. + (add-after 'unpack 'replace-daemon-executable + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/daemon-mgr.cpp" + (("\"(seadrive)\"" all program) + (string-append "\"" + (search-input-file inputs + (string-append + "bin/" program)) + "\"")))))))) + (build-system qt-build-system) + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "1xaq1rlyfnp7xnq2xbc77hrblpw8apqmf3l5mrnvkhwifgs0p8xs"))))))