From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zo2jDopOVWC0QQAA0tVLHw (envelope-from ) for ; Sat, 20 Mar 2021 01:23:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6FT1CYpOVWDsewAA1q6Kng (envelope-from ) for ; Sat, 20 Mar 2021 01:23:22 +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 7479626B28 for ; Sat, 20 Mar 2021 02:23:21 +0100 (CET) Received: from localhost ([::1]:53906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNQKm-0008Vr-LC for larch@yhetil.org; Fri, 19 Mar 2021 21:23:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNQKV-0008UD-5h for guix-patches@gnu.org; Fri, 19 Mar 2021 21:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNQKU-0003Wl-Ip for guix-patches@gnu.org; Fri, 19 Mar 2021 21:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNQKU-0007KE-Fa for guix-patches@gnu.org; Fri, 19 Mar 2021 21:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47273] mtxclient -> 0.4.1 Nheko -> 0.8.1 Resent-From: "K I" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Mar 2021 01:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47273 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47273@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches" Received: via spool by submit@debbugs.gnu.org id=B.161620337628128 (code B ref -1); Sat, 20 Mar 2021 01:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Mar 2021 01:22:56 +0000 Received: from localhost ([127.0.0.1]:51234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNQKN-0007Jc-IN for submit@debbugs.gnu.org; Fri, 19 Mar 2021 21:22:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:55440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNQKJ-0007JQ-5F for submit@debbugs.gnu.org; Fri, 19 Mar 2021 21:22:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNQKI-0008Rt-Eo for guix-patches@gnu.org; Fri, 19 Mar 2021 21:22:50 -0400 Received: from aibo.runbox.com ([91.220.196.211]:42998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNQKE-0003Q1-Ui for guix-patches@gnu.org; Fri, 19 Mar 2021 21:22:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Message-Id:Date:Subject:To:From:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=BSlSg7S0Uo5wjaJeWJ9oJnI20pnRBbIz+39tXs30j2E=; b=mFfRC9Hi/pQw2V79zQWvvJURRX L7i5lYmQcSbBpkGmgsAlQZ+rqgzT/EuVgdlSJHYrl0jQLhLw5y0jBgfVeqoV8LoXO/aDEt0RAxKlX QVf4H/cYD9j5NKFFznzDeSWrjgDF6hj5tl61WAmtSz2J0/3QHRhqlUrU/BdgTi7nwiWMcJYHYtZw1 B6QRvzJ1ynTm0A42BAZQcpp2IjLnC5j6soIl35v0lNfuGKpatUlWZDBgb09uPXCLJVYq2WhzTen8B Z5TKzrH3y43fRDWDZlFqLYNPOyvPZlx4b/EHNPOYupmsQCc8kG5qkzR/IuDwGlFuSS5pJOIdpgWnb B5q7VQrg==; Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1lNQKB-0000jW-6L for guix-patches@gnu.org; Sat, 20 Mar 2021 02:22:43 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1lNQKB-00070N-5Q for guix-patches@gnu.org; Sat, 20 Mar 2021 02:22:43 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (952555)] by runbox.com with http (RMM6); for ; Sat, 20 Mar 2021 01:22:43 GMT From: "K I" Date: Fri, 19 Mar 2021 19:22:43 -0600 (MDT) X-RMM-Aliasid: 952555 X-Mailer: RMM6 Message-Id: Received-SPF: pass client-ip=91.220.196.211; envelope-from=gitlabcanada@runbox.com; helo=aibo.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616203401; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BSlSg7S0Uo5wjaJeWJ9oJnI20pnRBbIz+39tXs30j2E=; b=nUVw4ukLnRx/Uts9LBjrfAxk88dbjS1pi5BNfari8xzzGMziat+wmLHfz5Zh2AaMDjL0ca oxhHcLxOS6p9nAtI5Z7PTvdVpl66BHAj3NzcoY7ntw485WXPkAW9wC1n79cZboCCqECGEj I5hCPRIJEm+fnqEf7K39W5joLvqu4w17gsviRi4VNbXp1HGSZ4nQSpkyPJuVPV1h2m/kDb ChEqSylVnAePHfJSEJyVNhE3t8/VjfpPES4wSXDQdrXZnx/tKn9lW7DsYs6XnCucx0FSG4 Oy0tB9IzqqIuBRzo5XAEFmo1byqIruZ5fIpkSoT5aN5WQVc6msQUzdGi+SPAbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616203401; a=rsa-sha256; cv=none; b=ah/ChxCuWZ4sB5klASuh2bVKAelWhPUj2TxcxVYc7BZTVTOBQ0PvRuNfPtp6CnoHO6V57Y zZtKWewMlUpK/FHOCbDxJZU+HsIBSQnjgVKfzwBw+z1OrmnUclpPNHrkoX7kt0ACsDyEbb yOyvyBqpIQ3MyN2X3cHf1Wx+39Aryc2W3/NWILDS8IsLjwgeSlV8J5CukM81JcxSgzicJu yfuu0qECivcW2HSapZy2zBtNn7zvwaCc5AR8cKyhOEQ7qXh4f7PalXeNnYnus9/UxfrPnO 7YPMX2oy5V0o/iiQwoNCH/EH3Pi67ve+tWbRk3XxlMZKtn5hS44BUopHjFpMqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=mFfRC9Hi; 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-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=mFfRC9Hi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=runbox.com (policy=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: 7479626B28 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ia+BrSz2NZkT Hello, I do not know my way around git so I am offering this code to someone if th= ey want to add it to guix proper. There were only slight changes needed. Both packages built and ran for me. (define-public mtxclient (package (name "mtxclient") (version "0.4.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Nheko-Reborn/mtxclient") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1044zil3izhb3whhfjah7w0kg5mr3hys32cjffky681d3mb3wi5n")))) (arguments `(#:configure-flags (list ;; Disable example binaries (not installed) "-DBUILD_LIB_EXAMPLES=3DOFF") #:phases (modify-phases %standard-phases (add-before 'configure 'disable-network-tests (lambda _ (substitute* "CMakeLists.txt" (("add_test\\((BasicConnectivity|ClientAPI|MediaAPI|Encrypti= on|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 `(("boost" ,boost) ("json-modern-cxx" ,json-modern-cxx) ("libolm" ,libolm) ("libsodium" ,libsodium) ("openssl" ,openssl) ("spdlog" ,spdlog) ("zlib" ,zlib))) (native-inputs `(("googletest" ,googletest) ("pkg-config" ,pkg-config))) (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 is built on to of @code{Boost.Asio}.") (license license:expat))) (define-public nheko (package (name "nheko") (version "0.8.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Nheko-Reborn/nheko") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1v7k3ifzi05fdr06hmws1wkfl1bmhrnam3dbwahp086vkj0r8524")))) (arguments `(#:tests? #f ;no test target #:configure-flags (list "-DCMAKE_BUILD_TYPE=3DRelease" "-DCMAKE_CXX_FLAGS=3D-fpermissive") #: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))))) (build-system qt-build-system) (inputs `(("boost" ,boost) ("cmark" ,cmark) ("json-modern-cxx" ,json-modern-cxx) ("libolm" ,libolm) ("lmdb" ,lmdb) ("lmdbxx" ,lmdbxx) ("mtxclient-new" ,mtxclient-new) ("openssl" ,openssl) ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("qtgraphicaleffects" ,qtgraphicaleffects) ("qtkeychain" ,qtkeychain) ("qtmultimedia" ,qtmultimedia) ("qtquickcontrols2" ,qtquickcontrols2) ("qtsvg" ,qtsvg) ("spdlog" ,spdlog) ("tweeny" ,tweeny) ("zlib" ,zlib))) (native-inputs `(("pkg-config" ,pkg-config) ("qtlinguist" ,qttools))) (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. There is support for: @itemize @item E2E encryption (text messages only: attachments are currently sent un= encrypted). @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") (license license:gpl3+)))=