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 ?
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.
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.
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.
Er, the same is still true for app-text/texlive-core-2012.
(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.
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) ?
(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
(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.
(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.
texlive 2013 will _finally_ use system icu (more harfbuzz that icu now but still)!