[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758812: libvisio-dev: Missing dependency on libicu-dev



tag 758812 + moreinfo
tag 758812 + unreproducible
thanks

[ better late than never ]

Hi,

On Thu, Aug 21, 2014 at 04:41:19PM +0100, Alex Valavanis wrote:
> pkg-config reports a missing dependency.  Please add Depends:
> libicu-dev to debian/control to rectify this.
> 
> $ pkg-config --cflags libvisio-0.1
> Package icu-i18n was not found in the pkg-config search path.
> Perhaps you should add the directory containing `icu-i18n.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'icu-i18n', required by 'libvisio-0.1', not found

Sure?

$ cat /usr/lib/arm-linux-gnueabihf/pkgconfig/libvisio-0.1.pc 
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/arm-linux-gnueabihf
includedir=${prefix}/include
                                                                       
Name: libvisio-0.1
Description: Library for parsing the visio file format structure
Version: 0.1.5
Requires: librevenge-0.0
Libs: -L${libdir} -lvisio-0.1
Cflags: -I${includedir}/libvisio-0.1

Requires.private: icu-i18n libxml-2.0 zlib

is the pkg-config file.

$ pkg-config --cflags libvisio-0.1 
-I/usr/include/libvisio-0.1 -I/usr/include/libxml2 -I/usr/include/librevenge-0.0
$ pkg-config --libs libvisio-0.1 
-lvisio-0.1 -lrevenge-0.0

No icu traces.

Only if you use --static (and thus Requires.private kicks in) you get

$ pkg-config --static --cflags libvisio-0.1 
-I/usr/include/libvisio-0.1 -I/usr/include/libxml2 -I/usr/include/librevenge-0.0
$ pkg-config --static --libs libvisio-0.1 
-lvisio-0.1 -licui18n -licuuc -licudata -lpthread -ldl -lm -lxml2 -licui18n -licuuc -licudata -lz -llzma -lm -lz -lrevenge-0.0

The dependency is correct for the normal case.

> 
> Best wishes,
> 
> 
> Alex


Reply to: