From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iCKZL5+OrmDZAgEAgWs5BA (envelope-from ) for ; Wed, 26 May 2021 20:08:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gDU4K5+OrmCXfgAAbx9fmQ (envelope-from ) for ; Wed, 26 May 2021 18:08:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12D3511D70 for ; Wed, 26 May 2021 20:08:31 +0200 (CEST) Received: from localhost ([::1]:47458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llxxF-0005Y3-Hp for larch@yhetil.org; Wed, 26 May 2021 14:08:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llxeQ-0006JK-2W for guix-patches@gnu.org; Wed, 26 May 2021 13:49:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llxeP-0001QG-RO for guix-patches@gnu.org; Wed, 26 May 2021 13:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llxeP-000585-QL for guix-patches@gnu.org; Wed, 26 May 2021 13:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48679] add seafile-client package providing seafile-applet Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48679 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48679@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162205130419661 (code B ref -1); Wed, 26 May 2021 17:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2021 17:48:24 +0000 Received: from localhost ([127.0.0.1]:49854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llxdn-000572-Os for submit@debbugs.gnu.org; Wed, 26 May 2021 13:48:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:54596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llxdl-00056v-Ug for submit@debbugs.gnu.org; Wed, 26 May 2021 13:48:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llxdl-0005BB-Jr for guix-patches@gnu.org; Wed, 26 May 2021 13:48:21 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:39667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llxdj-0000qn-0S for guix-patches@gnu.org; Wed, 26 May 2021 13:48:21 -0400 Received: from silver (212-51-128-14.fiber7.init7.net [212.51.128.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 1B1CB40315 for ; Wed, 26 May 2021 19:47:57 +0200 (CEST) Date: Wed, 26 May 2021 19:47:51 +0200 From: Gabriel Wicki Message-ID: <20210526174751.ynfblmx64ppdl2is@silver> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: none client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622052511; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=FSsfkQnqV1NTSyo/EuaDgD1QbW+eu1gc66CsabVH9GA=; b=fO3bvdpR6h/VzQ04h68PW88pZkCTqDpUATje0sO5rE1NkOUID5eEsa2H8EHG9O/3LYVajB peExVc8EUecFan4mloGlGi8C0inQonyuWpIhF4eSuzvjEukvgITnQn7TPhoGJYXJzsamqz jPZjdC9Gm75ZgC86s6egRjjyDTB0I4KiJz0DMx4d7mmoCH0GnpmLM+nP9ExBeHbt2ujhB1 5erduHdhhZjoi72WjDFb+UjmCAj9YZlqPPj6fgoLctALbBT/A50U7GiUj2ZvLuGWeW3qHW P/kUIgSpHGtsKHwuVFo3I3KTQPFj1SqcrtYQKwxrc8O0sZrplv3MVsOycqOZlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622052511; a=rsa-sha256; cv=none; b=bV5B9zUUz5G0db6InXOQ6ZH/ifaQpo37NwPOMPa2qNkQpN6oVFMNummdbpff1U1dftTjlm 5fG60e5bfBxlV3r7Pr/A3oeUimgSSA57QHG6HyX0lggwHHASgZZVryyBQcWdPsUMSbbSf7 X9Ieb+ULgZDx8LxCMZyhSaIMkC44nsfLJGdhXLQSjqCzy8JE6kTF0tYnZ4K9kDTsKo7Ld6 UNRi8YzZFlmlNQWStVx9oQdATzKydb+6NVAJjCfub6oFj0P2KRjJO/4h9bp2DU3jNW4/ui c/IlRKGGnwwX3Z9Xp2iWyYD7RGVIdbdi/wKw3v2KaCmdxry469q5MSBz/CiK3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 12D3511D70 X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: njLW93gf69G6 >From 7665f6edf757ef385ef4f67aa106c38a8448c670 Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Wed, 26 May 2021 19:39:39 +0200 Subject: [PATCH] add package seafile-client and it's dependencies libsearpc and seafile. the resulting binary is called seafile-applet. new file: gnu/packages/seafile.scm --- gnu/packages/seafile.scm | 103 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 gnu/packages/seafile.scm diff --git a/gnu/packages/seafile.scm b/gnu/packages/seafile.scm new file mode 100644 index 0000000000..f95238b1a7 --- /dev/null +++ b/gnu/packages/seafile.scm @@ -0,0 +1,103 @@ +(define-module (seafile) + #:use-module (gnu packages autotools) + #:use-module (gnu packages base) + #:use-module (gnu packages curl) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages libevent) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages qt) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public seafile-client + (package + (name "seafile-client") + (version "8.0.2") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/haiwen/seafile-client") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19z6lz34j62gazi9pd1y570jlp181cmb31rld4lfxznhkh9y2jfc")))) + (build-system cmake-build-system) + (arguments `(#:tests? #f)) ; there are no tests + (native-inputs `(("pkg-config" ,pkg-config) + ("qtlinguist" ,qttools))) + (inputs `(("glib" ,glib) + ("qtbase" ,qtbase) + ("seafile" ,seafile))) + (synopsis "Desktop client for cloud file storage system Seafile") + (description "seafile-client is a desktop client for your seafile server.") + (home-page "https://www.seafile.com") + (license license:gpl2))) + +(define seafile + (package + (name "seafile") + (version "8.0.2") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/haiwen/seafile") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kizf9ifcwb3scyvimv76p0lqd69hw7l48as1xk6i3m5mv2d7j4p")))) + (build-system gnu-build-system) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (propagated-inputs `(("libsearpc" ,libsearpc) + ("libevent" ,libevent) + ("openssl" ,openssl) + ("sqlite" ,sqlite))) + (inputs `(("curl" ,curl) + ("python" ,python) + ("vala" ,vala))) + (synopsis "Cloud storage system with privacy protection and teamwork features") + (description "Seafile is a high performance file syncing and sharing, with +Markdown WYSIWYG editing, Wiki, file label and other knowledge management +features.") + (home-page "https://www.seafile.com") + (license license:gpl2))) + +(define libsearpc + (package + (name "libsearpc") + (version "8.0") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/haiwen/libsearpc/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wbx0c64xyn22rzqpl1jmdps53zjb1a0760435znsg6j88h4k7yp")))) + (build-system gnu-build-system) + (propagated-inputs `(("jansson" ,jansson))) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs `(("glib" ,glib) + ("python" ,python-wrapper))) + (synopsis "Simple C language RPC framework based on GObject system") + (description "libsearpc (from \"library\", \"Seafile\" and \"RPC\") handles the +serialization/deserialization part of RPC, the transport part is left to users.") + (home-page "https://www.seafile.com") + (license license:gpl2))) -- 2.30.2