Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265232 - app-text/texlive-core-2008-r4 uses internal copy of icu
Summary: app-text/texlive-core-2008-r4 uses internal copy of icu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: NeedPatch, UPSTREAM
Depends on:
Blocks:
 
Reported: 2009-04-07 01:29 UTC by Rafał Mużyło
Modified: 2013-06-28 14:14 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adopted patch from bug 326021 (texlive-core-icu-many-cflags.patch,4.08 KB, patch)
2010-10-25 21:57 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2009-04-07 01:29:32 UTC
Well, it's less a bug and more a question:
IIRC, at some point app-text/texlive-core (some 2007 version)
used system lib, but later that got reverted.
What was the reason ?
Comment 1 Alexis Ballier gentoo-dev 2009-04-07 18:17:16 UTC
I never managed to get it work, so it has never been published, I don't know where you've seen it using system icu. If you happen to have a patch, be my guest.
Comment 2 Martin Väth 2010-10-25 21:50:51 UTC
texlive-core-2010 now RDEPENDs unconditionally on dev-tex/bibtexu
which in turn RDEPENDs unconditionally on dev-libs/icu.
Hence, texlive-core now RDEPENDs on system icu *and* install a copy of icu.
Comment 3 Martin Väth 2010-10-25 21:57:07 UTC
Created attachment 251965 [details, diff]
Adopted patch from bug 326021

The internal copy of icu suffers of course from the same bugs as
dev-libs/icu, in particular on the unfixed bug 326021 which causes
app-text/texlive-core-2010 to fail compiling with lots of CFLAGS.
(This problem was not present in app-text/texlive-core-2009,
I have not checked why.)
The attached patch fixes the compilation problem. It is just an adopted version
of the patch posted in bug 326021.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-30 00:28:47 UTC
Er, the same is still true for app-text/texlive-core-2012.
Comment 5 Alexis Ballier gentoo-dev 2012-07-30 12:29:24 UTC
(In reply to comment #4)
> Er, the same is still true for app-text/texlive-core-2012.

yes, and still needs a patch sent upstream
upstream is aware of this and they can't do it sanely since they're patching icu; programs not needing the patches use system icu, but for xetex it is still not possible afaik.
Comment 6 Rafał Mużyło 2012-07-30 12:44:48 UTC
Out of curiosity: what exactly does upstream patch in icu and why icu upstream isn't interested in it (or did they not even talk about it) ?
Comment 7 Alexis Ballier gentoo-dev 2012-07-30 12:53:54 UTC
(In reply to comment #6)
> Out of curiosity: what exactly does upstream patch in icu and why icu
> upstream isn't interested in it (or did they not even talk about it) ?

see libs/icu/icu-49.1-PATCHES/

no clue why its not upstream
Comment 8 Anthony Basile gentoo-dev 2013-05-04 22:31:16 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Out of curiosity: what exactly does upstream patch in icu and why icu
> > upstream isn't interested in it (or did they not even talk about it) ?
> 
> see libs/icu/icu-49.1-PATCHES/
> 
> no clue why its not upstream

I've hit this on uclibc systems.  I got a fix upstream for icu on uclibc which was pushed out in 51.1 (bug #436364).  Since app-text/texlive-core-2012 has icu-49.1 bundled, *all* deps on texlive-core are broken.

I don't want to just be part of the problem.  Alexis, do you know what to do here to have textlive-core use the system libs instead of the bundled or do you want help?  I'm happy to give a hand.
Comment 9 Alexis Ballier gentoo-dev 2013-05-07 12:10:59 UTC
(In reply to comment #8)
> I don't want to just be part of the problem.  Alexis, do you know what to do
> here to have textlive-core use the system libs instead of the bundled or do
> you want help?  I'm happy to give a hand.

It's been a while since I haven't look at this, but I'd gladly accept any help.

So far, it's not about system libs or not, it's about patches. Packages that do not require patched icu happily use system icu (bibtexu), however, xetex needs a patched icu. I don't know why, nor whether the patches are safe or not, so for helping it would start by talking to xetex upstream.
Comment 10 Alexis Ballier gentoo-dev 2013-06-28 14:14:54 UTC
texlive 2013 will _finally_ use system icu (more harfbuzz that icu now but still)!