From patchwork Fri Sep 11 19:52:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 24039 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 4BF8827BBE7; Fri, 11 Sep 2020 20:55:27 +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 9334327BBE8 for ; Fri, 11 Sep 2020 20:55:26 +0100 (BST) Received: from localhost ([::1]:52242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGp8n-0004Ld-Id for patchwork@mira.cbaines.net; Fri, 11 Sep 2020 15:55:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGp8Q-0004B2-GV for guix-patches@gnu.org; Fri, 11 Sep 2020 15:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGp8Q-0003W5-76 for guix-patches@gnu.org; Fri, 11 Sep 2020 15:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGp8Q-00081H-5r for guix-patches@gnu.org; Fri, 11 Sep 2020 15:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43348] Profanity Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Sep 2020 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43348 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 43348@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.159985409630811 (code B ref -1); Fri, 11 Sep 2020 19:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2020 19:54:56 +0000 Received: from localhost ([127.0.0.1]:45646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGp8J-00080s-Pf for submit@debbugs.gnu.org; Fri, 11 Sep 2020 15:54:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:46296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGp8G-00080i-NF for submit@debbugs.gnu.org; Fri, 11 Sep 2020 15:54:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGp8G-00043x-1n for guix-patches@gnu.org; Fri, 11 Sep 2020 15:54:52 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGp8D-0003Un-Ot for guix-patches@gnu.org; Fri, 11 Sep 2020 15:54:51 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C3A71529D9; Fri, 11 Sep 2020 21:54:47 +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 8hyka6_xdwtA; Fri, 11 Sep 2020 21:54:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1599854086; bh=PoQpQr4SGuMvXvxEE0purLdsFWN1VBhMvy9Kr9UrrvQ=; h=To:Cc:From:Subject:Date; b=H2YUXuE+H38ZMa+Psevhbd+leE8+VdpYpG4c+/nG2ESEdNNDsXpv4h29Qk/UojbRO ruRm60OiezsLGJHg55AluVsybigY/5Mlgg8MdBOehHgH1ev//5Brw+0mAbJAw1i625 Ld970+PKSnlwMKzx5fudVEVbU11L/KuYAF20iv4ssOtTojsMlk/BGrNXgkUR7fwNOg GerRZHSmxf/AOSkcBHCn3WhfoM5zhqGNUXQofiL8PBbkkxwk80HH2p1UZ4u1l+u1H2 slL+gBGB86IWJrA/BnilqLezrYaNEpYBBZKLzpdp4n+hCuUXRd/D1NR2A9fsddJ2br JGNzeinK+XkNg== From: Raghav Gururajan Autocrypt: addr=raghavgururajan@disroot.org; prefer-encrypt=mutual; keydata= mQENBF9bXH8BCAC7baQP1wbhQBWr5vUKUs2iVJaSGpKcjUMij7xWpfhLKIVBwqrktbrQZ/2D OTvnoGi0oBxamFZ0JIdwKygD50azPiKQtgEewXoZxx+Q5amZMPCm49hJmxuun4QUWwm2UzXe qf03/P1CA1XvJ399pGOjzmbEZKfrP5k/9JMRWYMde9+mPnOo0f1UY0plgbgC6AeQINx+N/Da RcAyqKBd3eMhbK82ZGtoVVjzhQwhs7XxWOevTFyRxFdjqgOKGf5GEXPE4V9xcCxD2NN6ukk6 4ZPXGdTXsdURmWRpZPfSetGS0E4EoGd/y1hrn2SSk4rpzp/Ygn+zEj0PZVa+aYfKjk6jABEB AAG0LlJhZ2hhdiBHdXJ1cmFqYW4gPHJhZ2hhdmd1cnVyYWphbkBkaXNyb290Lm9yZz6JAU4E EwEIADgWIQSMM/Sm4O2cGgqRyauneFo59CKMnA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wa9Hm7thk6ai4J59gN1MPyWhbSy+tXkGiYHMxHR3JOZmV gaD1lEQw1uvPsropMEKHQz6Qqr9ryVFkeSEbDv0PZwdMGGzdn+GBFxCxa2rloGEUKYUbVQGO Message-ID: Date: Fri, 11 Sep 2020 15:52:23 -0400 Mime-Version: 1.0 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/11 14:28:35 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 to make changed to Profanity. Regards, RG. From ab2019fae29bc45a47e2e8a91bdbd25e53b16969 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 11 Sep 2020 15:40:52 -0400 Subject: [PATCH 4/4] gnu: profanity: Revise package definition. * gnu/packages/messaging.scm (profanity): Add missing features. [build-system]: Change from gnu to glib-or-gtk. [arguments]<#:configure-flags>[--enable-python-plugins]: New flag. [--enable-plugins]: New flag. [--enable-icons-and-clipboard]: New flag. [--enable-icons]: Remove flag. [native-inputs]: Add python-wrapper. Remove autoconf-archive. Move gtk+-2, libnotify and libsignal-protocol-c to ... [inputs]: ... here. Add gtk+ and libstrophe. --- gnu/packages/messaging.scm | 58 ++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index ae9f73dcb7..843bd44e84 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1779,43 +1779,51 @@ are both supported).") (package (name "profanity") (version "0.9.5") - (source (origin - (method url-fetch) - (uri (string-append "https://profanity-im.github.io/profanity-" - version ".tar.gz")) - (sha256 - (base32 - "00j9l9v62rz9hprgiy1vrz8v3v59ph18h8kskqxr31fgqvjv5xr3")))) - (build-system gnu-build-system) + (source + (origin + (method url-fetch) + (uri + (string-append "https://profanity-im.github.io/profanity-" + version ".tar.gz")) + (sha256 + (base32 + "00j9l9v62rz9hprgiy1vrz8v3v59ph18h8kskqxr31fgqvjv5xr3")))) + (build-system glib-or-gtk-build-system) (arguments - '(#:configure-flags - (list "--enable-c-plugins" - "--enable-otr" - "--enable-omemo" - "--enable-pgp" - "--enable-icons" - "--enable-notifications"))) + `(#:configure-flags + (list + "--enable-notifications" + "--enable-python-plugins" + "--enable-c-plugins" + "--enable-plugins" + "--enable-otr" + "--enable-pgp" + "--enable-omemo" + "--enable-icons-and-clipboard"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("cmocka" ,cmocka) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) (inputs `(("curl" ,curl) ("expat" ,expat) ("glib" ,glib) ("gpgme" ,gpgme) + ("gcrypt" ,libgcrypt) + ("gtk+" ,gtk+) + ("gtk+-2" ,gtk+-2) ("libmesode" ,libmesode) + ("libnotify" ,libnotify) + ("libsignal" ,libsignal-protocol-c) + ("libstrophe" ,libstrophe) ("libotr" ,libotr) ("ncurses" ,ncurses) ("openssl" ,openssl) ("readline" ,readline) ("sqlite" ,sqlite))) - (native-inputs - `(("autoconf" ,autoconf) - ("autoconf-archive" ,autoconf-archive) - ("automake" ,automake) - ("cmocka" ,cmocka) - ("gtk+" ,gtk+-2) - ("libnotify" ,libnotify) - ("libtool" ,libtool) - ("libsignal-protocol-c" ,libsignal-protocol-c) - ("pkg-config" ,pkg-config))) (synopsis "Console-based XMPP client") (description "Profanity is a console based XMPP client written in C using ncurses and libmesode, inspired by Irssi.") -- 2.28.0