Patchwork gnu: Add gloox.

login
register
mail settings
Submitter ng0
Date Sept. 24, 2016, 5:44 p.m.
Message ID <87zimx42h0.fsf@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15975/
State New
Headers show

Comments

ng0 - Sept. 24, 2016, 5:44 p.m.
Leo Famulari <leo@famulari.name> writes:

> [ Unknown signature status ]
> On Thu, Sep 15, 2016 at 09:54:17PM +0000, ng0 wrote:
>> This patch adds gloox, a dependency for 0ad needs for their "lobby"
>> feature. Gentoo builds it with libressl without any patches applied,
>> they had a long discussion and are very strict in their testing, looking
>> at the tests comparing libressl and openssl builds I did there was no
>> failure and if it won't work I'll notice with 0ad. I'm positive that it
>> works.
>
>> Subject: [PATCH] gnu: Add gloox.
>> 
>> * gnu/packages/messaging.scm (gloox): New variable.
>
>> +    (inputs
>> +     `(("libidn" ,libidn)
>> +       ("gnutls" ,gnutls)
>> +       ("libressl" ,libressl)
>> +       ("zlib" ,zlib)))
>
> I don't think this package is using libressl:

GnuTls cancels openssl or libressl out. When I had
--with-openssl=build-input of libressl/openssl set it had no effect.

Updated patch attached.
Leo Famulari - Sept. 27, 2016, 5:32 p.m.
On Sat, Sep 24, 2016 at 05:44:27PM +0000, ng0 wrote:
> From f6ea8a17772b7d3b80a603d7aef576bf13e13be5 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Thu, 15 Sep 2016 21:46:46 +0000
> Subject: [PATCH] gnu: Add gloox.
> 
> * gnu/packages/messaging.scm (gloox): New variable.

Thanks! I made the home-page an HTTPS URL and pushed.

Patch

From f6ea8a17772b7d3b80a603d7aef576bf13e13be5 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Thu, 15 Sep 2016 21:46:46 +0000
Subject: [PATCH] gnu: Add gloox.

* gnu/packages/messaging.scm (gloox): New variable.
---
 gnu/packages/messaging.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 3627fec..9fc2088 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -5,7 +5,7 @@ 
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016 ng0 <ngillmann@runbox.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -755,4 +755,32 @@  for sending encrypted messages to one person or many subscribers.")
     (synopsis "Distributed peer-to-peer communication")
     (home-page "https://bitmessage.org/")))
 
+(define-public gloox
+  (package
+    (name "gloox")
+    (version "1.0.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://camaya.net/download/gloox-"
+                           version ".tar.bz2"))
+       (sha256
+        (base32
+         "09c01jr5nrm7f1ly42wg0pqqscmp48pv8y2fjx1vwbavjxdq59ri"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libidn" ,libidn)
+       ("gnutls" ,gnutls)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (synopsis "Portable high-level Jabber/XMPP library for C++")
+    (description
+     "gloox is a full-featured Jabber/XMPP client library,
+written in ANSI C++.  It makes writing spec-compliant clients easy
+and allows for hassle-free integration of Jabber/XMPP functionality
+into existing applications.")
+    (home-page "http://camaya.net/gloox")
+    (license license:gpl3)))
+
 ;;; messaging.scm ends here
-- 
2.10.0