From patchwork Fri Sep 11 18:26:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 24036 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 A92C227BBE8; Fri, 11 Sep 2020 19:29:17 +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 F1CE527BBE7 for ; Fri, 11 Sep 2020 19:29:16 +0100 (BST) Received: from localhost ([::1]:41148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGnnQ-0008D3-3Z for patchwork@mira.cbaines.net; Fri, 11 Sep 2020 14:29:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGnnC-0008Bq-P1 for guix-patches@gnu.org; Fri, 11 Sep 2020 14:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGnnC-0000bz-Fs for guix-patches@gnu.org; Fri, 11 Sep 2020 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGnnC-0005r5-CQ for guix-patches@gnu.org; Fri, 11 Sep 2020 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43346] Poezio Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Sep 2020 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43346 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 43346@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.159984892722470 (code B ref -1); Fri, 11 Sep 2020 18:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2020 18:28:47 +0000 Received: from localhost ([127.0.0.1]:45458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGnmw-0005qL-Sx for submit@debbugs.gnu.org; Fri, 11 Sep 2020 14:28:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:35756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGnms-0005qA-7a for submit@debbugs.gnu.org; Fri, 11 Sep 2020 14:28:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGnms-0008Ac-1I for guix-patches@gnu.org; Fri, 11 Sep 2020 14:28:42 -0400 Received: from knopi.disroot.org ([178.21.23.139]:39478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGnmo-0000an-Pf for guix-patches@gnu.org; Fri, 11 Sep 2020 14:28:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 01B3952997; Fri, 11 Sep 2020 20:28:35 +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 8PQYXLMQlp59; Fri, 11 Sep 2020 20:28:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1599848912; bh=ueg5q6pF7fyimhD17AgZ53pkUbaXhShr0npEW/CQDws=; h=To:Cc:From:Subject:Date; b=KlBaR8OGbPfeYB6waj54Al3Sc5yeHGArvAR+uiPJWLKhRGluDaOu9vgrbn/iv7q95 7WcozG4c0n57NVMvxME0uQDtp/ir02JeToi+KujvxftqH+GeFp658QcQnK0sT8JLif fnmo2iLNUQs1T6wjDx5NqMHfNIdUQAs4XWj8QtZ0h66Hn/VyiY6+R4+bP3eJkte9ql fobbpdY1Bvrg365CI/ZSxFhRn9LobX+3PBkRkWrTwLV8WjginLf6BxRvtgjkHg9VgM hJU8jhzJ7NGVP5rf8inkjeyOiSKdgQEXpE5bbGeJpuC96iq+8U3PH+O9GC1IvsIOXG rHren5B8AAUTw== 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: <4545758a-5330-7b09-39e3-6145c3723d6b@disroot.org> Date: Fri, 11 Sep 2020 14:26:07 -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 patches to add Poezio into Guix. Regards, RG. From 0945fb6c1e784dbdf8e62f5034316594bf7564b6 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 11 Sep 2020 14:04:08 -0400 Subject: [PATCH 3/3] gnu: Add poezio. * gnu/packages/messaging.scm (poezio): New variable. --- gnu/packages/messaging.scm | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 1cb9c01942..ae9f73dcb7 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -80,6 +80,7 @@ #:use-module (gnu packages lua) #:use-module (gnu packages man) #:use-module (gnu packages markup) + #:use-module (gnu packages mpd) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages pcre) @@ -94,6 +95,7 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) + #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) #:use-module (gnu packages texinfo) @@ -120,6 +122,63 @@ #:use-module (guix packages) #:use-module (guix utils)) +(define-public poezio + (package + (name "poezio") + (version "0.13.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://lab.louiz.org/poezio/poezio.git") + (commit + (string-append "v" version)))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "041y61pcbdb86s04qwp8s1g6bp84yskc7vdizwpi2hz18y01x5fy")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "setup.py" + (("'CC', 'cc'") + "'CC', 'gcc'")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("setuptools" ,python-setuptools) + ("sphinx" ,python-sphinx))) + (inputs + `(("aiodns" ,python-aiodns) + ("aiohttp" ,python-aiohttp) + ("cython" ,python-cython) + ("mpd2" ,python-mpd2) + ("potr" ,python-potr) + ("pyasn1" ,python-pyasn1) + ("pyasn1-modules" ,python-pyasn1-modules) + ("pycares" ,python-pycares) + ("pygments" ,python-pygments) + ("pyinotify" ,python-pyinotify) + ("python" ,python) + ("qrcode" ,python-qrcode) + ("slixmpp" ,python-slixmpp))) + (synopsis "Console Jabber/XMPP Client") + (description "Poezio is a free console XMPP client (the protocol on which +the Jabber IM network is built). +Its goal is to let you connect very easily (no account creation needed) to the +network and join various chatrooms, immediately. It tries to look like the +most famous IRC clients (weechat, irssi, etc). Many commands are identical and +you won't be lost if you already know these clients. Configuration can be +made in a configuration file or directly from the client. +You'll find the light, fast, geeky and anonymous spirit of IRC while using a +powerful, standard and open protocol.") + (home-page "https://poez.io/en/") + (license license:zlib))) + (define-public libotr (package (name "libotr") -- 2.28.0