From patchwork Wed Sep 23 03:52:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 24257 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 6864E27BBEB; Wed, 23 Sep 2020 04:53:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3B36227BBEC for ; Wed, 23 Sep 2020 04:53:09 +0100 (BST) Received: from localhost ([::1]:49852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKvq8-0000VT-BR for patchwork@mira.cbaines.net; Tue, 22 Sep 2020 23:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKvq2-0000Uy-2v for guix-patches@gnu.org; Tue, 22 Sep 2020 23:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKvq1-0004dp-Q4 for guix-patches@gnu.org; Tue, 22 Sep 2020 23:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKvq1-00068w-PM for guix-patches@gnu.org; Tue, 22 Sep 2020 23:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43575] Gajim-Next Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Sep 2020 03:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 43575@debbugs.gnu.org Cc: dannym@scratchpost.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160083315223558 (code B ref -1); Wed, 23 Sep 2020 03:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2020 03:52:32 +0000 Received: from localhost ([127.0.0.1]:34172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKvpR-00067m-Cn for submit@debbugs.gnu.org; Tue, 22 Sep 2020 23:52:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:44490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKvpL-00067S-6u for submit@debbugs.gnu.org; Tue, 22 Sep 2020 23:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKvpK-0000RE-MU for guix-patches@gnu.org; Tue, 22 Sep 2020 23:52:18 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKvpF-0004Zg-Dh for guix-patches@gnu.org; Tue, 22 Sep 2020 23:52:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C049553612; Wed, 23 Sep 2020 05:52:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WjWqMjAZ_DNm; Wed, 23 Sep 2020 05:52:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1600833125; bh=2Is0SnjBCCu/kCUy0jHPetCpVJm2NX5zXNmy1P7ualo=; h=To:Cc:From:Subject:Date; b=NqTFVvyDp/m/YQnJ4qq6LI1HSjCYLLTObTk9hA+ohBaGwvYv6VQ6+Cufp10/3QWsi Wq3IXBYBVK8f92iV47u6MHVVXZRVKfI99y/TwMFUi8eqqFJWxvZ+06kHi3CE9/dROf TYZb+PVq6kiRnQ/Y4fi9WJrQumx0WxFcKL9m/d2vpnlGoEQNXyfG3alRedavoF6qem hCpQst+4I5fH7mMXzdcPkThkJaymj9z6qYOo66vOsgr1LJmp0JGThftulSs6qkcm9w KrAevKXikUyL8TlvvtEk4eh3i1hEyh1O0VECsGqXELwslyqN2Y+fvoM6RSGJD6W7WF 2C4D16m4IUdfg== From: Raghav Gururajan Message-ID: Date: Tue, 22 Sep 2020 23:52:03 -0400 Mime-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=178.21.23.139; envelope-from=raghavgururajan@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 23:52:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! Please find the attached patch-set. NOTES: [1] New module gajim.scm was created, as Gajim project has quite a packages of it's own. The idea is similar to linphone.scm. [2] Once users get used to gajim-next and gajim-omemo-next, we can deprecate older package definitions gajim and gajim-omemo. Regards, RG. From 178cecd9938328d075c8a2728d213cda17a19b95 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 22 Sep 2020 23:29:46 -0400 Subject: [PATCH 6/6] gnu: Add gajim-openpgp. * gnu/packages/gajim.scm (gajim-openpgp): New variable. --- gnu/packages/gajim.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/gajim.scm b/gnu/packages/gajim.scm index a8df5b5840..2aa03d7a0f 100644 --- a/gnu/packages/gajim.scm +++ b/gnu/packages/gajim.scm @@ -24,6 +24,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages python) @@ -182,4 +183,38 @@ Encryption to Gajim.") (home-page "https://dev.gajim.org/gajim/gajim-plugins/-/wikis/OmemoGajimPlugin") (license license:gpl3+))) +(define-public gajim-openpgp + (package + (name "gajim-openpgp") + (version "1.3.5") + (source + (origin + (method url-fetch/zipbomb) + (uri + (string-append + "https://ftp.gajim.org/plugins_releases/openpgp_" + version ".zip")) + (sha256 + (base32 "1jvpl2gjl5xxvsgxpmvh3mn2mm142dg2hknakkc32swb7l1fqx5m")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (share (in-vicinity out "share/gajim/plugins")) + (source (assoc-ref %build-inputs "source"))) + (mkdir-p share) + (copy-recursively source share) + #t)))) + (propagated-inputs + `(("python-cryptography" ,python-cryptography) + ("python-gnupg" ,python-gnupg))) + (synopsis "Gajim OpenPGP Plugin") + (description "Gajim-OpenPGP is a plugin that adds support for the OpenPGP +Encryption to Gajim.") + (home-page "https://dev.gajim.org/gajim/gajim-plugins/-/wikis/OpenPGPplugin") + (license license:gpl3+))) + ;;; End of gajim.scm -- 2.28.0