From: Raghav Gururajan via Guix-patches via <guix-patches@gnu.org>
To: 46789@debbugs.gnu.org
Subject: [bug#46789] gnu: Add psi.
Date: Thu, 25 Feb 2021 21:19:12 -0500 [thread overview]
Message-ID: <707b1efc-c3c3-d4f2-3ce0-eb419bc1404f@raghavgururajan.name> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #1.1.2: 0001-gnu-Add-psi.patch --]
[-- Type: text/x-patch, Size: 3180 bytes --]
From 79c9dd7d1c7b521e88389189b4b4f565fa350b0c Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Thu, 25 Feb 2021 20:30:01 -0500
Subject: [PATCH] gnu: Add psi.
* gnu/packages/messaging.scm (psi): New variable.
---
gnu/packages/messaging.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 1878c71c7d..fceb88ad9e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -78,9 +78,11 @@
#:use-module (gnu packages guile)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages kde)
#:use-module (gnu packages less)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages libidn)
+ #:use-module (gnu packages libreoffice)
#:use-module (gnu packages linux)
#:use-module (gnu packages logging)
#:use-module (gnu packages lua)
@@ -103,6 +105,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tcl)
@@ -130,6 +133,62 @@
#:use-module (guix packages)
#:use-module (guix utils))
+(define-public psi
+ (package
+ (name "psi")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://sourceforge/psi/Psi/"
+ version "/psi-" version ".tar.xz"))
+ (modules '((guix build utils)))
+ (snippet
+ `(begin
+ (delete-file-recursively "3rdparty")))
+ (sha256
+ (base32 "1dxmm1d1zr0pfs51lba732ipm6hm2357jlfb934lvarzsh7karri"))))
+ (build-system qt-build-system)
+ (arguments
+ `(#:tests? #f ; No target
+ #:configure-flags
+ (list
+ "-DUSE_ENCHANT=ON"
+ "-DUSE_CCACHE=OFF")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-cmake
+ (lambda _
+ (substitute* "cmake/modules/FindHunspell.cmake"
+ (("hunspell-1.6")
+ "hunspell-1.7"))
+ #t)))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("ruby" ,ruby)))
+ (inputs
+ `(("aspell" ,aspell)
+ ("enchant" ,enchant-1.6)
+ ("hunspell" ,hunspell)
+ ("libidn" ,libidn)
+ ("qca" ,qca)
+ ("qtbase" ,qtbase)
+ ("qtmultimedia" ,qtmultimedia)
+ ("qtsvg" ,qtsvg)
+ ("qtwebkit" ,qtwebkit)
+ ("qtx11extras" ,qtx11extras)
+ ("x11" ,libx11)
+ ("xext" ,libxext)
+ ("xcb" ,libxcb)
+ ("zlib" ,zlib)))
+ (synopsis "Qt-based XMPP Client")
+ (description "Psi is a capable XMPP client aimed at experienced users.
+Its design goals are simplicity and stability.")
+ (home-page "https://psi-im.org")
+ (license license:gpl2+)))
+
(define-public libgnt
(package
(name "libgnt")
--
2.30.1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
reply other threads:[~2021-02-26 2:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=707b1efc-c3c3-d4f2-3ce0-eb419bc1404f@raghavgururajan.name \
--to=guix-patches@gnu.org \
--cc=46789@debbugs.gnu.org \
--cc=rg@raghavgururajan.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.