From patchwork Sun Jun 20 01:07:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: slg <0x2d@disroot.org> X-Patchwork-Id: 30532 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 1CB2527BC81; Sun, 20 Jun 2021 02:11:48 +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_H2,SPF_HELO_PASS,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 5F0FE27BC78 for ; Sun, 20 Jun 2021 02:11:47 +0100 (BST) Received: from localhost ([::1]:54424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lum00-0002fo-Lv for patchwork@mira.cbaines.net; Sat, 19 Jun 2021 21:11:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lulzM-0001xh-R2 for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lulzM-0001x4-JL for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lulzM-0004Or-Fb for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49123] [PATCH 24/24] gnu: Add mirage. Resent-From: slg <0x2d@disroot.org> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Jun 2021 01:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49123@debbugs.gnu.org Cc: slg <0x2d@disroot.org> Received: via spool by 49123-submit@debbugs.gnu.org id=B49123.162415142216804 (code B ref 49123); Sun, 20 Jun 2021 01:11:04 +0000 Received: (at 49123) by debbugs.gnu.org; 20 Jun 2021 01:10:22 +0000 Received: from localhost ([127.0.0.1]:32852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lulyg-0004Ms-4f for submit@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:22 -0400 Received: from knopi.disroot.org ([178.21.23.139]:49864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0x2d@disroot.org>) id 1lulyb-0004Lr-As for 49123@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D209C5C937; Sun, 20 Jun 2021 03:10:16 +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 CBcmnkODLFhN; Sun, 20 Jun 2021 03:10:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1624151413; bh=k4uiH2E7nxeaCLrit8/jShMv768bPpPHtjlyUufQteQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bg0MNucF4R5xR+9XC4yDGdFheN69EgHOe3I+M8XO/b/xLzhKK46al9x8eXTjNsoEp udQK1XmLLnilFGopVEHGghuDMKOG0Nt6JrQ/daLke+rk5HgyvgPwafv4QWWfcV4n5q hrPBUwsn7ZGYT9CcsblX6DNtfdsTRM5B21Zbei8y3tkBYCOaKZsCXrbXk5i0SJwcG0 zI5sDllO4N0CUvYedPexc+4bqgMkYRvLQNzEYP+tubjfopkh55mfFBFDgygLXlm9XJ iFINBm7SdT9VdyjZQ+FxK6gRbwKT+fvIh01DoYDwLFrITDUzuIbBgkmN+iqs+rYqCC 6L4qldyIWEAcA== Date: Sat, 19 Jun 2021 22:07:42 -0300 Message-Id: <20210620010742.4259-24-0x2d@disroot.org> In-Reply-To: <20210620010742.4259-1-0x2d@disroot.org> References: <20210620010742.4259-1-0x2d@disroot.org> Mime-Version: 1.0 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" Reply-to: slg <0x2d@disroot.org> X-ACL-Warn: , slg via Guix-patches X-Patchwork-Original-From: slg via Guix-patches via From: slg <0x2d@disroot.org> X-getmail-retrieved-from-mailbox: Patches * gnu/packages/messaging.scm (mirage): New variable. --- gnu/packages/messaging.scm | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index fe678d89fd..a8cdd90f57 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2997,4 +2997,100 @@ API. Mattermost is not required.") (home-page "https://github.com/42wim/matterbridge") (license license:asl2.0))) +(define-public mirage + (package + ;; (inherit qtsvg) + (name "mirage") + (version "0.7.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirukana/mirage") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j7gdg2z8yg3qvwg9d9fa3i4ig231qda48p00s5gk8bc3c65vsll")))) + (build-system gnu-build-system) + (native-inputs + `(("python" ,python-wrapper))) + (propagated-inputs + `(("python-pillow" ,python-pillow) + ("python-aiofiles" ,python-aiofiles) + ("python-appdirs" ,python-appdirs) ;; Update + ("python-cairosvg" ,python-cairosvg) + ("python-filetype" ,python-filetype) + ("python-html-sanitizer" ,python-html-sanitizer) + ("python-lxml", python-lxml) ;; Update + ("python-matrix-nio" ,python-matrix-nio) + ("python-mistune" ,python-mistune) + ("python-pymediainfo" ,python-pymediainfo) + ("python-plyer" ,python-plyer) + ("python-sortedcontainers" ,python-sortedcontainers) ;; Update + ("python-watchgod" ,python-watchgod) + ("python-redbaron" ,python-redbaron) + ("python-hsluv" ,python-hsluv) + ("python-simpleaudio" ,python-simpleaudio) + ("qtdeclarative" ,qtdeclarative) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtquickcontrols2" ,qtquickcontrols2) + ("pyotherside" ,pyotherside))) + (inputs + `(("qtbase" ,qtbase-5) + ("qtsvg" ,qtsvg) + ("qtimageformats" ,qtimageformats) + ("libx11" ,libx11) + ("libxscrnsaver" ,libxscrnsaver) + ("zlib" ,zlib) + ("libtiff" ,libtiff) + ("libwebp" ,libwebp) + ("libjpeg-turbo" ,libjpeg-turbo) + ("openjpeg" ,openjpeg))) + (arguments + `(#:tests? #f ; No target + #:imported-modules + (,@%gnu-build-system-modules + (guix build cmake-build-system) + (guix build qt-build-system)) + #:modules + ((guix build gnu-build-system) + ((guix build qt-build-system) + #:prefix qt:) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (invoke "qmake" + (string-append "PREFIX=" out) + (string-append "BINDIR=" out "/bin") + (string-append "DATADIR=" out "/share") + (string-append "PLUGINDIR=" out "/lib/qt5/plugins"))) + #t)) + (add-after 'install 'qt-wrap + (assoc-ref qt:%standard-phases 'qt-wrap))))) + (home-page "https://github.com/mirukana/mirage") + (synopsis "Next generation Matrix client, highly customizable and keyboard +friendly") + (description "A fancy, customizable, keyboard-operable Matrix chat client +for encrypted and decentralized communication. Written in Qt/QML and Python, +currently in alpha. + +Its main features include: +@itemize +@item Fluid, responsive interface that adapts to any window size +@item Toggleable compact mode +@item Customizable keyboard shortcuts for everything, including switching +rooms, navigating messages, sending/opening files... +@item Versatile theming system, properties can refer to each other and have +any valid ECMAScript 7 expression as values +@item Comes by default with dark and transparent themes +@item Desktop notifications, sounds and window alerts +@item Support for HTTP and SOCKS5 proxies including TOR +@item Multiple accounts in one client +@end itemize") + (license license:lgpl3))) + ;;; messaging.scm ends here