Re: [prosody-dev] [ANN] Prosody trunk nightly builds to use ICU

2019-04-29 Thread Kim Alvefur
On Mon, Apr 29, 2019 at 06:46:47PM -0500, Lonnie Abelbeck wrote:
> Hopefully libidn will still be optionally supported.

For now.  It's a compile-time setting passed to the `./configure`
script, which means it's usually decided by the packager or whoever
builds from source.

I'm not sure what the future of libidn is.

Its website  states
> Please be aware that GNU libidn2 is the successor of GNU libidn.

Does this mean that libidn is deprecated? I'm not sure.

libidn2 is missing the parts we use for XMPP addresses, so switching to
that is not really an option.

-- 
Kim "Zash" Alvefur

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] [ANN] Prosody trunk nightly builds to use ICU

2019-04-29 Thread Lonnie Abelbeck



> On Apr 29, 2019, at 6:08 PM, Kim Alvefur  wrote:
> 
> We are considering making ICU the recommended library if no problems
> appear.

Hopefully libidn will still be optionally supported.

Lonnie

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


[prosody-dev] [ANN] Prosody trunk nightly builds to use ICU

2019-04-29 Thread Kim Alvefur
Hello,

To allow testing the new [mod_mimicking] just pushed to trunk, nightly
builds have been configured to use ICU instead of libidn for Unicode
normalization operations.

[mod_mimicking]: https://prosody.im/doc/modules/mod_mimicking

ICU or libidn are responsible for turning XMPP addresses into the right
form so that they can be compared and used as database keys etc.

GNU libidn has been the default used by Prosody for so long that we no
longer remember why.

The ICU library has more features, including the one needed for
mod_mimicking, and appears to also have better performance.

If this change breaks anything then please tell us about it. The
previous nightly packages can be found and installed manually from


We are considering making ICU the recommended library if no problems
appear.

--
Kim "Zash" Alvefur

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.