From patchwork Sat Feb 15 21:30:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 20265 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 C6BE027BBE4; Sat, 15 Feb 2020 21:31:44 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 ESMTP id 0AA731796A for ; Sat, 15 Feb 2020 21:31:44 +0000 (GMT) Received: from localhost ([::1]:54886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j352N-0004NC-J1 for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 16:31:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351p-00043m-3C for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351n-0006GK-Ni for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351n-0006FC-KH for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351k-0005mE-G6 for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39623] [PATCH 4/4] gnu: Add nheko. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 21:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39619@debbugs.gnu.org, 39623@debbugs.gnu.org Cc: nixo X-Debbugs-Original-To: 39619@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158180226322189 (code B ref -1); Sat, 15 Feb 2020 21:31:04 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2020 21:31:03 +0000 Received: from localhost ([127.0.0.1]:36471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351i-0005la-QD for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:31:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:38818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351e-0005kY-47 for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51485) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351c-0003yC-Oj for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351b-0005xT-Ec for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:56 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351b-0005vp-8J for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:55 -0500 Received: by mail-wm1-x342.google.com with SMTP id t14so14527589wmi.5 for ; Sat, 15 Feb 2020 13:30:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5phnHdql3vEG7ninTKFVg7n/wyowrNve9QLOsMzU2cw=; b=JmuynH1YaLU8hsjH6UOnpb9dUpQezi/jScxEn8AsR6fiRoL10aa8kwmHG8spFdeplG gKlTQDG5Q56fjnr4MyeL2n2+hVrXBzHj3dJN4DQbF8ROtrYjnQaFuzBpZ+fqw/XBAUrS mP21Oykz4S0sehgX27ItiswhY1FR2sgsYRtUbKzd4bzbErRWFnpEjBLhp2U75j9PBlNt kodihemXoMI//ajZlZmZCjsptt6cYB9Mb08dEomvUfw1kXV5AAQkjcimOjTxDR+0+BO+ VMxcV2Nzk3ZcWPWxRU5plaukruRu4y3QUYeB6bJoegL9M1bHw+nLCoXRzQ+CxEAIdPol plBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5phnHdql3vEG7ninTKFVg7n/wyowrNve9QLOsMzU2cw=; b=QUnjlxqgmGEUU/VJrQmkrFydfLmD48zL1hksSOc4NN+DHgmjlfNdfJbFYcv69c0PpA oD6REi3DXClKA0gMAA9Xg3bdp4AB9rmsfjN6uok9ttHKb9qyIwqBgxpn1GLzOr7redgo OzvYwDpCNEtyTSrvYgIUpVOS29OvAbsGwP+1NSVkAh3WoKcfENNBYhJ/jnjFJMB17BF4 S4pds+fuV2PG4NzlSApBtRzxGRpLcqVqgqKpCmaY/zii3KRfob3db4SCRT8N5UFUN3iu K5rEuVzuM1S0ulcNjDlFK3Ur+QOkYkSn8DlptsUpHpoqdecxVTw9S2QHW6cYYgBdEpep fKZQ== X-Gm-Message-State: APjAAAWNo3H73CwGJXZcY0HhupcDdl0ir+KE4IvnzTBspioju8WORHRV oY248vLurERsirxlS90bA14= X-Google-Smtp-Source: APXvYqxv29S6ZE22mACB3h3dkIpTX9E+ou/2OYnx0wfYDqsvxdSzG7pKJDTnOgUv45lA4X4Qw3w0Pw== X-Received: by 2002:a1c:740b:: with SMTP id p11mr12767217wmc.78.1581802254275; Sat, 15 Feb 2020 13:30:54 -0800 (PST) Received: from localhost.localdomain ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id f62sm13758809wmf.36.2020.02.15.13.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 13:30:53 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sat, 15 Feb 2020 22:30:30 +0100 Message-Id: <20200215213030.21121-4-nicolo@nixo.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200215213030.21121-1-nicolo@nixo.xyz> References: <20200215213030.21121-1-nicolo@nixo.xyz> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/messaging.scm (nheko): New variable. --- gnu/packages/messaging.scm | 81 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 2592d34dc2..11dd011c3f 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages logging) #:use-module (gnu packages lua) #:use-module (gnu packages man) + #:use-module (gnu packages markup) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages pcre) @@ -1841,6 +1842,86 @@ QMatrixClient project.") for the Matrix protocol. It's built on to of @code{Boost.Asio}.") (license license:expat))) +(define-public nheko + (package + (name "nheko") + (version "0.6.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nheko-Reborn/nheko.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19dkc98l1q4070v6mli4ybqn0ip0za607w39hjf0x8rqdxq45iwm")))) + (arguments + `(#:tests? #f ; no test target + ;; #:parallel-build? #f ; debug non-determinism + #:configure-flags + (list + ;; TODO: BUILD_DOCS=ON + "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_CXX_FLAGS=-fpermissive" + (string-append "-DLMDBXX_INCLUDE_DIR=" + (assoc-ref %build-inputs "lmdbxx") "/include/")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-Werror + (lambda _ + (substitute* "CMakeLists.txt" + (("-Werror") "")) + #t)) + (add-after 'unpack 'fix-determinism + (lambda _ + ;; Make Qt deterministic. + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") + #t))))) + (inputs + `(("boost" ,boost) + ("cmark" ,cmark) + ("libolm" ,libolm) + ("lmdb" ,lmdb) + ("lmdbxx" ,lmdbxx) + ("mtxclient" ,mtxclient) + ("openssl" ,openssl) + ("nlohmann-json-cpp" ,nlohmann-json-cpp) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtmultimedia" ,qtmultimedia) + ("spdlog" ,spdlog) + ("tweeny" ,tweeny) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qtlinguist" ,qttools))) + (build-system qt-build-system) + (home-page "https://github.com/Nheko-Reborn/nheko") + (synopsis "Desktop client for Matrix using Qt and C++14") + (description "@code{Nheko} want to provide a native desktop app for the +Matrix protocol that feels more like a mainstream chat app and less like an IRC +client. + +Most of the features you would expect from a chat application are missing right +now but we are getting close to a more feature complete client. Specifically +there is support for: +@itemize +@item E2E encryption (text messages only: attachments are currently sent unencrypted). +@item User registration. +@item Creating, joining & leaving rooms. +@item Sending & receiving invites. +@item Sending & receiving files and emoji. +@item Typing notifications. +@item Username auto-completion. +@item Message & mention notifications. +@item Redacting messages. +@item Read receipts. +@item Basic communities support. +@item Room switcher (@key{ctrl-K}). +@item Light, Dark & System themes. +@end itemize\n") + (license license:gpl3+))) + (define-public quaternion (package (name "quaternion")