From patchwork Sat Feb 15 21:30:27 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: 20261 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 8CFFE27BBEA; Sat, 15 Feb 2020 21:31:29 +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 1EDF01796A for ; Sat, 15 Feb 2020 21:31:29 +0000 (GMT) Received: from localhost ([::1]:54884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3528-00045h-KM for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 16:31:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51536) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351n-00043e-KF for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351i-0006B4-Bd for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58726) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351i-0006Av-8f for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351i-0005lL-61 for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39620] [PATCH 1/4] gnu: Add mtxclient. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 21:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39619@debbugs.gnu.org, 39620@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.158180225622091 (code B ref -1); Sat, 15 Feb 2020 21:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2020 21:30:56 +0000 Received: from localhost ([127.0.0.1]:36455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351c-0005kF-Ah for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:59408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351b-0005k2-7P for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51449) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351Z-0003y1-Rj for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351Y-0005r2-M7 for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:53 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:35778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351Y-0005oe-Fm for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:52 -0500 Received: by mail-wm1-x342.google.com with SMTP id b17so14551213wmb.0 for ; Sat, 15 Feb 2020 13:30:52 -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=1HfDF1NBs223IrvraZpAUPtVsCZ4KluCkhOluBltVb0=; b=clOjN7HwiIA7fUbb8egIFveXbMHNker+ccb8HI8gBbu0hnDQERTYXSku6U3zcqgSXR kKP0hbwhl1I4kJ1qkejDpoKPdWf4dU+mgltRtsevSUW659MHHpQNDmLX9PuZnfzIMz6u IgyaKsp+6NeuHrgMH5oUA4X09oktW+sC8xhEgMI6yygGiAWiD/ljGu1W9eNPP2jzf0Dh RtccN9w28B5UGGWBptmaM0kd2gzRYgB9fgd5KMYjJd8++XElHb9tWkU1BQGiMg5WShA1 Tp3/SI5AU+dD5VzQaJlJtGbdUVMdBSvwQSTskKC0X3c2Ld+PBSQRMqUxdemENeVpA3LX qUNA== 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=1HfDF1NBs223IrvraZpAUPtVsCZ4KluCkhOluBltVb0=; b=Kaz4nOlbqn887zK6BIqk2pCd/wqwaoeATjFqrKj4EEoiyGZi+dtKWLrU4T5LPTEdep QboyMDN/KVin2qBL6+p2b4nofe6FuS7GPP0d4GyI2nxSaf/WbWwL+NmO6gsnjKKvufsf ExNM5S+vyOtgnO/EW6Joz/1woyP6/GW7n/mHybxqnNjOzAHy6RHSNX97Qob9NXtFwIUY wmJjrmd5+1zQMVsZoiqdL+DZYi0rutxy1+fHUsYTwCCgCgSLfDJOWFmH3wWL3uh1H/i3 awIumR9xBopgGlt3MLhDMo8R7jn3wo549xIZXcWRuZWTI83lPZ64H5t+eyoDtchsZ1da 3KSw== X-Gm-Message-State: APjAAAWIvet0Uyi+VpIRE13pjA6lEjzL/sEY7AywDWN6pr9sEECZDS2U Q9IiLCiYQHuJ/d9mqzXYzw4= X-Google-Smtp-Source: APXvYqyeRpNsN3CwKUlcv83YeX5nZ+ZmOgzG/3dtAoF/Jzm0tC+MiBmYQY18QQXH0EatZOddebNM2Q== X-Received: by 2002:a7b:c7d2:: with SMTP id z18mr12385710wmk.160.1581802251216; Sat, 15 Feb 2020 13:30:51 -0800 (PST) Received: from localhost.localdomain ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id f62sm13758809wmf.36.2020.02.15.13.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 13:30:50 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sat, 15 Feb 2020 22:30:27 +0100 Message-Id: <20200215213030.21121-1-nicolo@nixo.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: References: 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 (mtxclient): New variable. --- gnu/packages/messaging.scm | 58 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 120daacdc6..2592d34dc2 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -48,6 +48,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) @@ -68,6 +69,7 @@ #:use-module (gnu packages libcanberra) #:use-module (gnu packages libidn) #:use-module (gnu packages linux) + #:use-module (gnu packages logging) #:use-module (gnu packages lua) #:use-module (gnu packages man) #:use-module (gnu packages ncurses) @@ -1787,6 +1789,58 @@ implementation. Quaternion and libqmatrixclient together form the QMatrixClient project.") (license license:lgpl2.1+))) +(define-public mtxclient + (package + (name "mtxclient") + (version "0.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Nheko-Reborn/mtxclient.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pycznrvj57ff6gbwfn1xj943d2dr4vadl79hii1z16gn0nzxpmj")))) + (arguments + `(#:configure-flags + (list + ;; Disable example binaries (not installed) + "-DBUILD_LIB_EXAMPLES=OFF") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'disable-network-tests + (lambda _ + (substitute* "CMakeLists.txt" + (("add_test\\(BasicConnectivity") "# add_test") + (("add_test\\(ClientAPI") "# add_test") + (("add_test\\(MediaAPI") "# add_test") + (("add_test\\(Encryption") "# add_test")) + #t)) + (add-before 'configure 'set-home + (lambda _ + ;; Tries to create package registry file + ;; So, set HOME. + (setenv "HOME" "/tmp") + #t))))) + (inputs + `(("boost" ,boost) + ("libolm" ,libolm) + ("libsodium" ,libsodium) + ("openssl" ,openssl) + ("nlohmann-json-cpp" ,nlohmann-json-cpp) + ("spdlog" ,spdlog) + ("zlib" ,zlib))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (build-system cmake-build-system) + (home-page "https://github.com/Nheko-Reborn/mtxclient") + (synopsis "Client API library for the Matrix protocol") + (description "@code{mtxclient} is a C++ library that implements client API +for the Matrix protocol. It's built on to of @code{Boost.Asio}.") + (license license:expat))) + (define-public quaternion (package (name "quaternion") @@ -1795,8 +1849,8 @@ QMatrixClient project.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/QMatrixClient/Quaternion") - (commit version))) + (url "https://github.com/QMatrixClient/Quaternion") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0gpv6b3nn3lsyym8809kiqkpdszfasldqjpk5s542zyn41gdlql4")))) From patchwork Sat Feb 15 21:30:28 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: 20264 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 A9C1827BBEA; 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 3DBB227BBE4 for ; Sat, 15 Feb 2020 21:31:44 +0000 (GMT) Received: from localhost ([::1]:54888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j352N-0004Nr-Oz for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 16:31:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51561) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351p-00043j-2o 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 1j351l-0006Db-VT for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351l-0006DP-SD for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351l-0005me-OT for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39619] [PATCH 2/4] gnu: Add tweeny. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 21:31:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39619@debbugs.gnu.org Cc: nixo X-Debbugs-Original-To: 39619@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 39619-submit@debbugs.gnu.org id=B39619.158180226422223 (code B ref 39619); Sat, 15 Feb 2020 21:31:05 +0000 Received: (at 39619) by debbugs.gnu.org; 15 Feb 2020 21:31:04 +0000 Received: from localhost ([127.0.0.1]:36473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351k-0005lo-A7 for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:31:04 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351e-0005jx-6H for 39619@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:58 -0500 Received: by mail-wm1-f66.google.com with SMTP id p17so14537588wma.1 for <39619@debbugs.gnu.org>; Sat, 15 Feb 2020 13:30:58 -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=JWAN4pTzV8gNbWnNcAsSs9cP5Ez2AbEY27KiVUAJhzM=; b=hU6F1Ow80BFpR/A6tFjk4+EeFAutt95ujAkABoJ4hIcgyQ/+IRiH5L0wa1ysEDG4Sw kzVnUvb8IgG8ljgTrEP46KEhULZXYQz9HfyF3uBADwd7r2lWAxUEGEJ8qljkemzB5cBo 6CM0R2+Dt8iwRgHasfGuNdIuS43Xqw+Fh5KkfFoVJ7Vym+RQ3QI0oODciyzzhCubMKaP tlAv+Uqmgg/UIOaVbOi0ZupJQ/T+02Q020GHKkNdBPrm44EhYct5mHmz2PGhLOvQ4l/f lrg9lo/MJGi5zxclARgJVR2jueBPOcbEeKtFCEhJceRFz7biZYidyR6/k3xu10N9CFGR Cvkg== 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=JWAN4pTzV8gNbWnNcAsSs9cP5Ez2AbEY27KiVUAJhzM=; b=UuV4bcPvQCTLYRl4z6kDhQNB1XgtHrxK8kJfoaXIhRgtLtvd6iVAikKu574ZHZMivn j8MU5SnB2JEQvgyiwO2LdMClOFhVTp0yGtr3hf2B/6Z/y2dTIEhj7Q7lKsbmbzXOk4kA spJvFw2V6Sg/kQvbpjXD8lzX8ISmDV7WzFwIc5CUtZw5ByGqc5SZx5zg8unpJj4xlopE bs+QcBG+lJASjzvxgh58Q7CsSouh22c1ABiuKz7r7fSSlzd/Yi9ToM4pSJHJz1rMO4KJ C97by7+SBv/5BjJLp1OT5Tb4SzzRqYNUAB1W0qshceShWapMYuUGrjtJ/UI7ekZMPSea HYgQ== X-Gm-Message-State: APjAAAXWqDtO6hOPFFsMxi/LtLOiCgAt8atkE837sfgYcHQwf83WYuK2 byyPEMJlTXYmx6wbq/4dpMHAl/Wz X-Google-Smtp-Source: APXvYqzEi8YX5vZCVsUKE71ZC1fYB5je3tUZn/+4juWLE3yIBW+DepRKvGZPqkVEu3O+JvI/K2xXbQ== X-Received: by 2002:a1c:f60e:: with SMTP id w14mr12288702wmc.188.1581802252165; Sat, 15 Feb 2020 13:30:52 -0800 (PST) Received: from localhost.localdomain ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id f62sm13758809wmf.36.2020.02.15.13.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 13:30:51 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sat, 15 Feb 2020 22:30:28 +0100 Message-Id: <20200215213030.21121-2-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-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/cpp.scm (tweeny): New variable. --- gnu/packages/cpp.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index ae1e3e3356..8098553828 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -410,3 +410,31 @@ SObjectizer supports not only the Actor Model but also the Publish-Subscribe Model and CSP-like channels. The goal of SObjectizer is to simplify development of concurrent and multithreaded applications in C++.") (license license:bsd-3))) + +(define-public tweeny + (package + (name "tweeny") + (version "3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mobius3/tweeny.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1adm4c17pi7xf3kf6sjyxibz5rdg1ka236p72xsm6js4j9gzlbp4")))) + (arguments '(#:tests? #f)) ; no check target + (build-system cmake-build-system) + (home-page "https://mobius3.github.io/tweeny/") + (synopsis "Modern C++ tweening library") + (description "@code{Tweeny} is an inbetweening library designed for the +creation of complex animations for games and other beautiful interactive +software. It leverages features of modern @code{C++} to empower developers with +an intuitive API for declaring tweenings of any type of value, as long as they +support arithmetic operations. The goal of @code{Tweeny} is to provide means to +create fluid interpolations when animating position, scale, rotation, frames or +other values of screen objects, by setting their values as the tween starting +point and then, after each tween step, plugging back the result.") + (license license:expat))) From patchwork Sat Feb 15 21:30:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 20262 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 D6D4D27BBEA; Sat, 15 Feb 2020 21:31:29 +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 5F27327BBE4 for ; Sat, 15 Feb 2020 21:31:29 +0000 (GMT) Received: from localhost ([::1]:54880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3528-00044c-Sb for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 16:31:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351p-00043l-2j for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351m-0006Dz-2c for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351l-0006DW-Vj for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351j-0005m2-SK for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39622] [PATCH 3/4] gnu: Add lmdbxx. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 21:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39622 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39619@debbugs.gnu.org, 39622@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.158180225922130 (code B ref -1); Sat, 15 Feb 2020 21:31:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2020 21:30:59 +0000 Received: from localhost ([127.0.0.1]:36463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351f-0005km-0e for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:60728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351c-0005kM-RG for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51474) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351b-0003y9-Ka for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351a-0005ur-BQ for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:55 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:46680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351a-0005sy-5Z for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:54 -0500 Received: by mail-wr1-x442.google.com with SMTP id z7so15101124wrl.13 for ; Sat, 15 Feb 2020 13:30:54 -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=q6e9jSVY/arALG4JyqVzGe44KIszneutgCFQURNfKtc=; b=iBT8QDsBPv5WpbrepNOZKPcTHV/dzdhXvpS1UgM0IEfeVG8pa8Pz3mGQ9CL/Yly6yf kZuQEVTGXAD2x8rR1f+rn327NLjZYIcXLBBNfs0moWz/uBQhXJUcjQkhl986omluo7FX BRBczkE4y/OayQUGWkXPhtUFRcjFFHpks6Kwj1zsyQ4YjNcY1rj/CmmFeqKUxZP1SmM5 haS62wDuoxCOMtmIJgqGjta5x0bMKE2uh1wJb3zstndddUdudfqa0VQozzv6wuXxtiQU UOMdrGm/svNlrWfaHqymNdJzVg2sbxx99tLnf3suYXGJ7XiVJ06ZYlKnzUuRS7+VTx40 GjMA== 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=q6e9jSVY/arALG4JyqVzGe44KIszneutgCFQURNfKtc=; b=N6mrEbMHxSaXK2wkwv8qsrWpkZYLNsnaxH31Xz4l9uBJEGqACSksWMsChQCNxkKQqB vSq10uvZcEaQAKspI0IHo63oXHmrYLkIsY55vWdihVBZMpSgfQZ0HaK2csE2+wQWZzb1 uwFipF6n5Tx9LkYnlndJ+eoRWLJUQUyeQv8YwIOdfUIKICToedRRv6BtL7svdQ/wY73B HAfFXXx6S8yXBvwIDbbJcBgNvQKgi41yCwE/FBIqnEWt4JYj8ghhSb6ZSXoUVFF1yGkl d7v45UFLvcTm31ov2SJ48oNVq0KF50yVJTwHA8KkOAoQBIR7aE9yjjx+EkoDcv0sMuvZ 39wQ== X-Gm-Message-State: APjAAAWz7hWhFpdw4A+4Wkatb3Fubm3dsxfvGcR6WeB81qqy2A1MTSTv Lgx0/J3ed0ynOon1gIomQ9g= X-Google-Smtp-Source: APXvYqyUDeuoXHdq/gA7tM5JVMlX+SzfDVxpwQcKO9icMe2cczIKO7EGxyNaxukSP3ZxJFPblQPjiw== X-Received: by 2002:adf:eb51:: with SMTP id u17mr12420859wrn.29.1581802253182; Sat, 15 Feb 2020 13:30:53 -0800 (PST) Received: from localhost.localdomain ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id f62sm13758809wmf.36.2020.02.15.13.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 13:30:52 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sat, 15 Feb 2020 22:30:29 +0100 Message-Id: <20200215213030.21121-3-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/databases.scm (lmdbxx): New variable. --- gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 587d993918..58ad64418e 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2105,6 +2105,35 @@ multiple cores. The size of each database is limited only by the size of the virtual address space — not physical RAM.") (license license:openldap2.8))) +(define-public lmdbxx + (package + (name "lmdbxx") + (version "0.9.14.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/drycpp/lmdbxx.git") + (commit (string-append version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jmb9wg2iqag6ps3z71bh72ymbcjrb6clwlkgrqf1sy80qwvlsn6")))) + (arguments + `(#:make-flags (list + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs `(("lmdb" ,lmdb))) + (build-system gnu-build-system) + (home-page "http://lmdbxx.sourceforge.net") + (synopsis "C++11 wrapper for the LMDB embedded B+ tree database library") + (description "@code{lmdbxx} is a comprehensive @code{C++} wrapper for the +@code{LMDB} embedded database library, offering both an error-checked +procedural interface and an object-oriented resource interface with RAII +semantics.") + (license license:unlicense))) + (define-public libpqxx (package (name "libpqxx") @@ -2122,7 +2151,7 @@ virtual address space — not physical RAM.") `(("python" ,python-2))) (inputs `(("postgresql" ,postgresql))) (arguments - `(#:tests? #f ; # FAIL: 1 + `(#:tests? #f ; # FAIL: 1 #:phases (modify-phases %standard-phases (add-before 'configure 'fix-sed-command 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")