From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Tp8RBw3TCGBiUAAA0tVLHw (envelope-from ) for ; Thu, 21 Jan 2021 01:04:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iLl/Ag3TCGDKNgAAbx9fmQ (envelope-from ) for ; Thu, 21 Jan 2021 01:04:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB145940105 for ; Thu, 21 Jan 2021 01:04:12 +0000 (UTC) Received: from localhost ([::1]:56820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2OOR-0001cF-Gv for larch@yhetil.org; Wed, 20 Jan 2021 20:04:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2OOI-0001ao-NB for guix-patches@gnu.org; Wed, 20 Jan 2021 20:04:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2OOI-0006to-DK for guix-patches@gnu.org; Wed, 20 Jan 2021 20:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2OOI-0007hj-6J for guix-patches@gnu.org; Wed, 20 Jan 2021 20:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46013] [PATCH] gnu: nheko: Update to 0.8.0. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Jan 2021 01:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46013@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161119101829584 (code B ref -1); Thu, 21 Jan 2021 01:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2021 01:03:38 +0000 Received: from localhost ([127.0.0.1]:56492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2ONu-0007h6-D1 for submit@debbugs.gnu.org; Wed, 20 Jan 2021 20:03:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:50336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2ONs-0007gx-PF for submit@debbugs.gnu.org; Wed, 20 Jan 2021 20:03:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2ONs-0001KN-Dp for guix-patches@gnu.org; Wed, 20 Jan 2021 20:03:36 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:55046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2ONo-0006l0-Q4 for guix-patches@gnu.org; Wed, 20 Jan 2021 20:03:36 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1l2ONl-0006wB-50; Thu, 21 Jan 2021 02:03:29 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1l2ONe-0007YT-0g; Thu, 21 Jan 2021 02:03:22 +0100 From: Michael Rohleder Date: Thu, 21 Jan 2021 02:03:23 +0100 Message-Id: <20210121010323.3172-1-mike@rohleder.de> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1611191012;5535d13d; X-HE-SMSGID: 1l2ONl-0006wB-50 Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: AB145940105 X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: XdV2ao0uccuX * gnu/packages/messaging.scm (nheko): Update to 0.8.0. [arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase wrap-program. [inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain. [description]: Add items for new features. (mtxclient): Update to 0.4.0. [arguments]: Remove set-home phase. --- This nheko needs a newer mtxclient (and current nheko doesn't build with new mtxclient), so we need to update them together. I tested voice calls (which seems to work), but couldn't get video calls to work: "[ui] [error] Missing GStreamer plugins: opengl qmlgl" (at runtime) Do we have these gstreamer plugins? I think the new features and fixes are worth a push (voice over matrix is nice and enough for me) and perhaps the video thing can be fixed later on (I leaved it out of the description). (Hint for people upgrading from current nheko: One needs to remove ~/.config/nheko and ~/.cache/nheko or this version will segfault. This known upstream (and afaik won't be fixed)) gnu/packages/messaging.scm | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 1820a146d1..b3a34fb4cb 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2227,7 +2227,7 @@ QMatrixClient project.") (define-public mtxclient (package (name "mtxclient") - (version "0.3.1") + (version "0.4.0") (source (origin (method git-fetch) @@ -2236,7 +2236,7 @@ QMatrixClient project.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1dg4dq20g0ah62j5s3gpsxqq4ny7lxkxdxa9q6g54hdwkrb9ms7x")))) + (base32 "1x820rcfz5r203dc8a0rzavcjjx10fsv1dicqg65m6kxx1w95j5r")))) (arguments `(#:configure-flags (list @@ -2249,12 +2249,6 @@ QMatrixClient project.") (substitute* "CMakeLists.txt" (("add_test\\((BasicConnectivity|ClientAPI|MediaAPI|Encryption|Pushrules)") "# add_test")) - #t)) - (add-before 'configure 'set-home - (lambda _ - ;; Tries to create package registry file - ;; So, set HOME. - (setenv "HOME" "/tmp") #t))))) (build-system cmake-build-system) (inputs @@ -2277,7 +2271,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.") (define-public nheko (package (name "nheko") - (version "0.7.2") + (version "0.8.0") (source (origin (method git-fetch) @@ -2286,30 +2280,34 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1cbhgaf9klgxdirrxj571fqwspm0byl75c1xc40l727a6qswvp7s")))) + (base32 "00d6wx3lcgbks74jkdyifqxf8nlravqh88fyljd0sy7kzbah9msf")))) (arguments `(#:tests? #f ;no test target #:configure-flags (list - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_CXX_FLAGS=-fpermissive") + "-DCMAKE_BUILD_TYPE=Release") #: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))))) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) + (wrap-program (string-append out "/bin/nheko") + `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))) + #t)))))) (build-system qt-build-system) (inputs `(("boost" ,boost) ("cmark" ,cmark) + ("gst-plugins-base" ,gst-plugins-base) ;for voip + ("gst-plugins-bad" ,gst-plugins-bad) ;for voip ("json-modern-cxx" ,json-modern-cxx) + ("libnice" ,libnice) ;for voip ("libolm" ,libolm) ("lmdb" ,lmdb) ("lmdbxx" ,lmdbxx) @@ -2318,6 +2316,7 @@ for the Matrix protocol. It is built on to of @code{Boost.Asio}.") ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtkeychain" ,qtkeychain) ("qtmultimedia" ,qtmultimedia) ("qtquickcontrols2" ,qtquickcontrols2) ("qtsvg" ,qtsvg) @@ -2336,10 +2335,12 @@ client. There is support for: @itemize @item E2E encryption (text messages only: attachments are currently sent unencrypted). +@item VoIP calls (voice). @item User registration. @item Creating, joining & leaving rooms. @item Sending & receiving invites. @item Sending & receiving files and emoji. +@item Replies with text, images and other media. @item Typing notifications. @item Username auto-completion. @item Message & mention notifications. @@ -2348,6 +2349,7 @@ There is support for: @item Basic communities support. @item Room switcher (@key{ctrl-K}). @item Light, Dark & System themes. +@item Creating seperate profiles (command line only, use -p). @end itemize") (license license:gpl3+))) -- 2.30.0