Bug#879801: ftbfs with icu from experimental
HI all,
I have now installed icu60 in a chroot and try to find what are the
equivalent calls to pkg-config.
> > [1] http://userguide.icu-project.org/howtouseicu
Interestingly, and I am far from sure that this is correct, is that
pkg-config returns *nothing* on --cflags
$ pkg-config --cflags icu-uc icu-io
$ pkg-config --libs icu-uc icu-io
-licuio -licui18n -licuuc -licudata
This is with current experimental.
In contrast, current sid, what we use for TL building:
$ icu-config --cppflags
-I/usr/include
$ icu-config --ldflags-searchpath --ldflags-libsonly --ldflags-system
-L/usr/lib/x86_64-linux-gnu -licui18n -licuuc -licudata -lpthread -ldl -lm
Trying to mimic this with pkg-config seems to be a bit tricky.
I am not sure whether replacement of
icu-config --cppflags
with
pkg-config --cflags icu-uc icu-io
and
icu-config --ldflags-searchpath --ldflags-libsonly --ldflags-system
with
pkg-config --libs icu-uc icu-io
is enough, but I will try out at some point...
> For other reasons, the actual transition needs months (I expect it in
> February, 2018) thus you have time to make the switch.
Just one last idea ... icu-config is *still* shipped with upstream.
It would be nice if either you or upstream provides a concise guide how
to transition to pkg-config, instead of unilaterally removing icu-config
from Debian.
Thanks for your understanding
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: