From unknown Wed Jun 18 00:14:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76324 <76324@debbugs.gnu.org> To: bug#76324 <76324@debbugs.gnu.org> Subject: Status: [PATCH 0/6] Add seafile-client, seadrive-fuse, seadrive-client and dependencies Reply-To: bug#76324 <76324@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:14:18 +0000 retitle 76324 [PATCH 0/6] Add seafile-client, seadrive-fuse, seadrive-clien= t and dependencies reassign 76324 guix-patches submitter 76324 flypaper severity 76324 normal tag 76324 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 01:00:46 2025 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 06:00:46 +0000 Received: from localhost ([127.0.0.1]:59544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjXhs-0005lR-2b for submit@debbugs.gnu.org; Sun, 16 Feb 2025 01:00:46 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48360) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjO7j-00068K-Ig for submit@debbugs.gnu.org; Sat, 15 Feb 2025 14:46:48 -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 1tjO7c-0006bv-Qz for guix-patches@gnu.org; Sat, 15 Feb 2025 14:46:41 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tjO7a-0003A9-QW for guix-patches@gnu.org; Sat, 15 Feb 2025 14:46:40 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 11EDD25D45; Sat, 15 Feb 2025 20:46:35 +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 JuB5rf5NkOXB; Sat, 15 Feb 2025 20:46:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739648790; bh=XBtYRzTanBwS7KIl3CFvgOijGr8eoFy1KBk//p9eXuk=; h=From:To:Cc:Subject:Date; b=SlnkRoPNKJ35vyGQ+NcwNHI9lDnYGZ04k9KEpLFqZs4R++2CqgSSWUCGc0ahXto1o CifGJ1yd6h12Sxq/EdwFo1baSfD0zQyN7TULRhgSGeuLlpMrhlGkFniURy/sVJyXmd IU5rIcUO4EBzPoOrck5ZmgYLD6z27i0l/Qxx41lHhYXKKRtDZdX4NvbBC28cijtnCc rdyPW+m+g7to97Fq4ZFjzRfQ6kX2ixWOxRljtd/91StAu+Eue7JNnV0A9JOOmQZp0h IixpPtZlcWMRajMN9OHvx+0uC2oq0pWHbQ348rhZM1BA3jUwGKnK7tQKWYT3jwc+oJ oya2cRHALj1VQ== From: flypaper To: guix-patches@gnu.org Subject: [PATCH 0/6] Add seafile-client, seadrive-fuse, seadrive-client and dependencies Date: Sat, 15 Feb 2025 21:46:18 +0200 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=flypaper@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 16 Feb 2025 01:00:41 -0500 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hey Guix! The following is a patch-series to have Seafile programs in Guix. mostly seadrive-fuse and seafile-client. Given that the seafile dependencies were not packaged before, I added them here. Each of these patches will build, given that the previous patches have been applied. I tested of the patches one by one. Seafile is an open-source self-hostable file-sharing solution similar to nextcloud. Some institutes, like universities host their own. These patches do not include server-side programs. Kind regards, flypaper-ultimat flypaper (6): gnu: sync: add libsearpc gnu: sync: add seafile gnu: sync: add seafile-client gnu: sync: add seafile-client-qt5 gnu: sync: add seadrive-fuse gnu: sync: add seadrive-gui gnu/packages/sync.scm | 272 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 271 insertions(+), 1 deletion(-) base-commit: 05ab9bd7f36659ac3d116134891aca23da102144 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:22 2025 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:23 +0000 Received: from localhost ([127.0.0.1]:60203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7S-0003g4-G1 for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:22 -0500 Received: from layka.disroot.org ([178.21.23.139]:48098) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7P-0003fn-PX for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:20 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 69F6F25BCA; Sun, 16 Feb 2025 10:39:18 +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 BxASJxSn13gX; Sun, 16 Feb 2025 10:39:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698756; bh=lcu1ew9jhcEfIpKxgkLFFEYQfN2EYlzweg0Q0+TD32k=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bBSAKfIZo658DnV7mIg+fkfY8A/DMFspyatJbI8LJOH7anYWRnrtGKkYlECVxV4n0 G936uGQidFpvWrGD64o0H2HhBRcFO2/gIvkWvwyE8KzWe2HJowtEN7CNeJwDWaQs8X 0GgnFeVEpQHW0zNhaN38iFUXgXubUKRm1o7TxP+cg4uHWhPDHQqtP6igcKHzI41JUQ BtTzU+VKRf07bmcIF+tg17Z8dakfpglO/uCh7C/SGIkxHxahtOp6MDLk0Cz9rjZWKn 6go/t+lqIt0xJUElBtypaHqLPoNTgfp0BuqkLGHVjOFuMB/QC9F33YDUdJ1sq/FECh NJjc9+hsZPegQ== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 2/6] gnu: sync: add seafile Date: Sun, 16 Feb 2025 11:38:45 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sync.scm (seafile): New package. Change-Id: Ieefb70e70a5e13c574513f2cf36d16475e693c48 --- gnu/packages/sync.scm | 64 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 854cc075ea..d65f1db018 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -31,6 +31,7 @@ (define-module (gnu packages sync) #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system qt) + #:use-module (guix build-system python) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix download) @@ -70,7 +71,10 @@ (define-module (gnu packages sync) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) - #:use-module (gnu packages web)) + #:use-module (gnu packages web) + #:use-module (gnu packages gtk) + #:use-module (gnu packages password-utils) + #:use-module (gnu packages cmake)) (define-public nextcloud-client (package @@ -630,3 +634,61 @@ (define-public libsearpc #:configure-flags '(list "--disable-compile-demo"))) (inputs (list glib jansson python)) (native-inputs (list autoconf automake libtool pkg-config))))) + +(define-public seafile + (package + (name "seafile") + (version "9.0.9") + (home-page "https://github.com/haiwen/seafile") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "0c5j1xwx6pailx7x8xkrhrkmcn87aff3hvq4af5nzrqbpyiin5xb")))) + (arguments + (list + #:imported-modules `(,@%python-build-system-modules) + #:modules '((guix build gnu-build-system) + ((guix build python-build-system) + #:prefix python:) + (guix build utils)) + #:phases #~(modify-phases %standard-phases + ;; seaf-cli requires libsearpc and itself on its PYTHONPATH + ;; so we wrap it so that we dont need to use propagated modules + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append #$output "/bin/seaf-cli") + `("GUIX_PYTHONPATH" = + (,(getenv "GUIX_PYTHONPATH") ,(python:site-packages + inputs outputs))))))))) + + (build-system gnu-build-system) + (inputs (list libsearpc + libevent + libwebsockets + curl + gtk + util-linux ;known in debian as uuid-dev + sqlite + jansson + openssl ;debian libssl-dev + glib + argon2 + python + bash-minimal)) + (synopsis + "Command-line client and daemon for syncing with Seafile servers") + (description "This package provides @code{seaf-cli} and @{seaf-daemon}.") + (license license:gpl3+) + (native-inputs (list vala + intltool + cmake-minimal + autoconf + automake + libtool + pkg-config)))) + -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:30 2025 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:30 +0000 Received: from localhost ([127.0.0.1]:60206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7a-0003ga-1l for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:30 -0500 Received: from layka.disroot.org ([178.21.23.139]:48096) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7P-0003fl-PC for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:21 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 23C9B25D17; Sun, 16 Feb 2025 10:39:18 +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 kKzrgy1R_DN3; Sun, 16 Feb 2025 10:39:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698753; bh=+3/NTzdc+ykELQWQiAya2KplaxJM9KoyxxU5SA/OA/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B1Lmw5bK87PiFlTzmCz536Q+VME9oFeKn3ZBTzkE5Qf/GaI0QYFdoGMMvtIraks1c gj/CtivE2rq4IAjs4qiCr5YECywc7d0JL+3Ovn7xx+LaFa0rFrM7xWeCC1GSVdgarB FrRgtX8JNqzhgOMwpsl/8XSfdlRhUnDMvgUutNvWVncnj29JgxG+uZl56Wn2IhHH3Q CErjs0TpDjvJ6jjsZ4VcLnuXADdx5DYkyK9Av6Rx5zboeGNCwZ/tbUd4xMv5ptP4Tp AkEZHbD/0OEEXGzyUvyffV+YKfceeIgdfQKEAiCdBx4PvH1hfBcHMG+Wc8bXhNu0XA 4cnKH6pc7Cuuw== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 1/6] gnu: sync: add libsearpc Date: Sun, 16 Feb 2025 11:38:44 +0200 Message-ID: <8354dddd654e36fc443373afee93f4e95a183bde.1739648316.git.flypaper@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sync.scm (libsearpc): New package. Change-Id: Id581536d6d13033c33a7316568a18bf1520ccc77 --- gnu/packages/sync.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index a4d4e03b91..854cc075ea 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -69,7 +69,8 @@ (define-module (gnu packages sync) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) - #:use-module (gnu packages tls)) + #:use-module (gnu packages tls) + #:use-module (gnu packages web)) (define-public nextcloud-client (package @@ -600,3 +601,32 @@ (define-public rclone @end itemize") (home-page "https://rclone.org/") (license license:expat))) + + +(define-public libsearpc + (let ((revision "0") + (commit "255d5dedd2b446b58e4b8ca97ed6c270b3921047") + (version "3.3")) + (package + (name "libsearpc") + (version (git-version version revision commit)) + (home-page "https://github.com/haiwen/libsearpc") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url home-page) + (commit commit))) + (sha256 + (base32 "1nrn7djyslszd26bg1yd5wdqyyjyh8hfc6zz8hwxk9bbdvjkpv9b")))) + (build-system gnu-build-system) + (license license:asl2.0) + (synopsis "RPC framework for server and client") + (description + "A simple C language RPC framework (including both server side & client side).") + (arguments + (list + #:configure-flags '(list "--disable-compile-demo"))) + (inputs (list glib jansson python)) + (native-inputs (list autoconf automake libtool pkg-config))))) -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:30 2025 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:30 +0000 Received: from localhost ([127.0.0.1]:60208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7a-0003gc-E0 for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:30 -0500 Received: from layka.disroot.org ([178.21.23.139]:42256) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7V-0003gJ-Lh for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:26 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C7EBD25BCA; Sun, 16 Feb 2025 10:39:24 +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 o0P34nSn4x6h; Sun, 16 Feb 2025 10:39:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698760; bh=W7DwZdDsrzn65gp1lovg3CcqZ13I1KnVDphOoStSuSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=A5XQtZE9CbzGYbBXFVFGpYnTLq9dBZFGnHGW7PrLso3hMw8qpU3Y7BSUD8rNIuIJO dlGDoFPp29xsgrgg7okjTJNmXkxxOzqxe3nU1/Kjy5qx4Tg3c2sNX6mw6augfDyey9 Z/W3bHVqiJ/UzavHibZHQilLxpJHIoqK+HqoG7PXTFaWapWYCqpAAznkliZeQjD4Fe bg2YqvUI7zTjmT9iXpuz+f3LDZrgR1GOla8vRoZZHju/QKhCEoZctMgDruYy1iT5B9 qKI4DEOAXKdSSYJscmrEw1jsEFrhfPg7992IvFFxtrWG9NLCR37KggNRWf/T15tjyQ 7xfz8xlEWa/Hw== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 3/6] gnu: sync: add seafile-client Date: Sun, 16 Feb 2025 11:38:46 +0200 Message-ID: <3adb887c065cea90b9773f9f1da858932b2dfac5.1739648316.git.flypaper@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sync.scm (seafile-client): New package. Change-Id: I57b8ed9c0b1edf61283d3cc1276a64660e74ed8a --- gnu/packages/sync.scm | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index d65f1db018..391ed57e0c 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -62,6 +62,7 @@ (define-module (gnu packages sync) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages rsync) @@ -692,3 +693,64 @@ (define-public seafile libtool pkg-config)))) +(define-public seafile-client + (package + (name "seafile-client") + (version "9.0.9") + (home-page "https://github.com/haiwen/seafile-client") + (license license:asl2.0) + (build-system qt-build-system) + (inputs (list sqlite + gtk + curl + util-linux + openssl + jansson + libevent + libwebsockets + libsearpc + seafile + python + qttools + python-simplejson + qtwebengine + qt5compat)) + (arguments + (list + #:qtbase qtbase + #:tests? ;cmakefile only has tests for qt5 + #f + #: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" + (("seaf-daemon" all) + (search-input-file inputs + (string-append "bin/" all))))))) + + #:configure-flags '(list "-DBUILD_DOCS=ON" + "-DBUILD_SHIBBOLETH_SUPPORT=ON" + "-DCMAKE_BUILD_TYPE=Release"))) + (native-inputs (list autoconf + automake + libtool + pkg-config + vala + intltool + cmake-minimal)) + (synopsis "Seafile GUI desktop client") + (description + "The Graphical desktop client that is used to connect to Seafile servers") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "1hivlwbpkj4j42s49z0fj0xp1wyxr67nl6sqy1ydbiij65f48bkp")))))) + -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:40 2025 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:40 +0000 Received: from localhost ([127.0.0.1]:60214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7j-0003hG-TA for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:40 -0500 Received: from layka.disroot.org ([178.21.23.139]:42270) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7b-0003gi-Be for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:31 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6DF1C25BCA; Sun, 16 Feb 2025 10:39:30 +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 TfAXm9jeH0zH; Sun, 16 Feb 2025 10:39:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698766; bh=YKDmocy0+6UnUrcQlMw3py7x4gdzLKEq61bfAN8fGcE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kCPf61ChvcHcDc4YgLyXWcDSvd4txkqzyLy9x+nmmFxpPm5Kcik/rXteOoQu6N8Li eE21mJjf4Typh315eFzvUteCKDjg41tPM84Up/yu4TmDeJaoJ+wT0LlKcbADkaYwup nCrRWSWwzTt+7UP3CokeICe+cc7vtnvbFqi/dw5EkoIGlX85gBJmS3ml5X4MPpch0G nPALD7k/5H5mKp+LxjhPqQcMQzRRD+zojHeaP+f4nPcdIqtpunCW1dhyPhfKdK2CQ7 HmETTJfybzKjYqZsEwwmMf/5e8gVu2wLnqIAQiEoHoF5+qssuyXgMrOxuPBkgqDamN qMoIs/14jmx0w== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 4/6] gnu: sync: add seafile-client-qt5 Date: Sun, 16 Feb 2025 11:38:47 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sync.scm (seafile-client-qt5): New package. Change-Id: Iac6e62db24f5a9445d1ee2ebfa0a4713c17abd91 --- gnu/packages/sync.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 391ed57e0c..a5dfa17afd 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -754,3 +754,20 @@ (define-public seafile-client (sha256 (base32 "1hivlwbpkj4j42s49z0fj0xp1wyxr67nl6sqy1ydbiij65f48bkp")))))) +(define-public seafile-client-qt5 + (package + (inherit seafile-client) + (name "seafile-client-qt5") + (inputs (modify-inputs (package-inputs seafile-client) + (replace "qttools" qttools-5) + (replace "qtwebengine" qtwebengine-5) + (delete "qt5compat"))) + (arguments + (substitute-keyword-arguments (package-arguments seafile-client) + ((#:qtbase x) + qtbase-5) + ((#:configure-flags flags) + `(cons "-DBUILD_TESTING=ON" + ,flags)) + ((#:tests? x) + #t))))) -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:40 2025 Received: (at 76324) by debbugs.gnu.org; 16 Feb 2025 09:39:40 +0000 Received: from localhost ([127.0.0.1]:60216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjb7k-0003hI-6F for submit@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:40 -0500 Received: from layka.disroot.org ([178.21.23.139]:42272) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tjb7c-0003gq-BN for 76324@debbugs.gnu.org; Sun, 16 Feb 2025 04:39:32 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5AF2325CA7; Sun, 16 Feb 2025 10:39:31 +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 TYN_QsqvsWFp; Sun, 16 Feb 2025 10:39:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1739698770; bh=8DY+GyJXxgvS92v+dsGVRM2u5qBtEa8kh91PX9g7wd4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jOJ4TwSglRZzWh3PfsLTxLRG/TcqojIDVt240UgTBHTuicCNO+wr7pI/rtoRg849T A7/k6PhAbino09UJo/nK6LT03edjv2p5EzalCPkQNVzDe1L7J1u7RcTB9x3o1PjgPO PluNZWJ04J+rH/98gbVUWRd/EmKHA/hGd+LaNhAlnh1soGXCrQd+zW7AsvgfZfIHPo yV4vmBE4F2xetSOga4zU9a44qZmUzbXv6njTr5wEdMBrN/71GEysAxpnkKJBAD6iRD 1UTChLIcAHy9fCDg85CdxHjEkylkSeyI852hGweLj+niO1ha8zSEoajePhUkjM/pg+ rCOn9O/liY1OQ== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 5/6] gnu: sync: add seadrive-fuse Date: Sun, 16 Feb 2025 11:38:48 +0200 Message-ID: <9f25faeb1ebc700e4b97e98a608405f9142c55db.1739648316.git.flypaper@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sync.scm (seadrive-fuse): New package. Change-Id: I2a2855656e4cc3783ead70f6fe7793c7289b316d --- gnu/packages/sync.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index a5dfa17afd..6f09ae20b2 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -771,3 +771,40 @@ (define-public seafile-client-qt5 ,flags)) ((#:tests? x) #t))))) + +(define-public seadrive-fuse + (package + (name "seadrive-fuse") + (home-page "https://github.com/haiwen/seadrive-fuse") + (version "2.0.28") + (source + (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "0z8j8a04qi01cxbgk5kdrjzff5j2kigf0v6yzklvrshyb1jk3j5p")))) + (build-system gnu-build-system) + (inputs (list sqlite + gtk + curl + util-linux + openssl + jansson + libevent + fuse-2 + libwebsockets + libsearpc + python)) + (native-inputs (list autoconf + automake + libtool + pkg-config + vala + intltool)) + (synopsis "Mount Seafile libraries as FUSE drive") + (description + "This package provides the @{seadrive} command, allowing for seadrive libraries to be mounted as FUSE drive.") + (license license:gpl3+))) -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 04:39:41 2025 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== From: flypaper To: 76324@debbugs.gnu.org Subject: [PATCH 6/6] gnu: sync: add seadrive-gui 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76324 Cc: flypaper X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * 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")))))) -- 2.46.0