Bug#878362: mozjs52: embedded code copy: icu v58

Simon McVittie smcv at debian.org
Wed Jul 4 01:22:55 BST 2018


On Fri, 13 Oct 2017 at 09:23:42 -0400, Jeremy Bicha wrote:
> On Fri, Oct 13, 2017 at 3:54 AM, Simon McVittie <smcv at debian.org> wrote:
> > mozjs52 has an embedded code copy of libicu.
> 
> Ubuntu developers would like to update gjs/mozjs in Ubuntu LTS
> releases. Because new versions of icu bump the soname and there are a
> lot of reverse depends, it looks like Ubuntu LTS won't be able to use
> the system icu library.
> 
> I mention this because it might make sense for Debian to also update
> gjs/mozjs in stable releases.

Worst-case, those stable updates could go back to using the bundled
icu when the system icu gets too old, like Firefox does? (I'm not sure
how likely it is for Debian to hop between branches of mozjs in stable
in practice.)

With #902197 fixed and #902961 worked around with the patches attached to
those bugs, the attached patch was enough to make mozjs52 use the system
ICU, if we ever want to do that. There are some unit test failures where
strings differ slightly between the bundled ICU and the system ICU,
which would need to be addressed or worked around, so this is really
only a proof-of-concept. I haven't tried it on a real system.

    smcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Build-depend-on-libicu-dev-58.1-and-use-system-libic.patch
Type: text/x-diff
Size: 3928 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20180704/04d0d09a/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list