Thomas Klausner a écrit : > x11/gtk3 has: > > Makefile:BUILDLINK_API_DEPENDS.cairo+= cairo>=1.18 > Makefile:.include "../../graphics/cairo/buildlink3.mk" > > and cairo 1.18 has: > > # pkg_info -L cairo | grep gobject > /usr/pkg/include/cairo/cairo-gobject.h > /usr/pkg/lib/libcairo-gobject.so > /usr/pkg/lib/libcairo-gobject.so.2 > /usr/pkg/lib/libcairo-gobject.so.2.11800.0 > /usr/pkg/lib/pkgconfig/cairo-gobject.pc > > So this should pull in a cairo that has cairo-gobject included. Of course, and my cairo build contains libcairo-gobject: legendre# pkg_info -L cairo | grep gobject /usr/pkg/include/cairo/cairo-gobject.h /usr/pkg/lib/libcairo-gobject.so /usr/pkg/lib/libcairo-gobject.so.2 /usr/pkg/lib/libcairo-gobject.so.2.11800.0 /usr/pkg/lib/pkgconfig/cairo-gobject.pc meson log file contains: Called: `/usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config --libs cairo` -> 0 stdout: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcairo ----------- Run-time dependency cairo found: YES 1.18.0 Pkg-config binary for 1 is cached. Determining dependency 'cairo-gobject' with pkg-config executable '/usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config' env[PKG_SYSCONFDIR]: /usr/pkg/etc env[PKG_CONFIG]: /usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config env[PKG_CONFIG_LIBDIR]: /usr/src/pkgsrc/x11/gtk3/work/.buildlink/lib/pkgconfig:/usr/src/pkgsrc/x11/gtk3/work/.buildlink/share/pkgconfig env[PKG_CONFIG_LOG]: /usr/src/pkgsrc/x11/gtk3/work/.pkg-config.log env[PKG_CONFIG_PATH]: ----------- Called: `/usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config --modversion cairo-gobject` -> 1 stderr: Package cairo-gobject was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo-gobject.pc' to the PKG_CONFIG_PATH environment variable Package 'cairo-gobject', required by 'virtual:world', not found ----------- legendre# /usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config --libs cairo -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcairo Result is expected. but if I launch the same command with cairo-gobject... legendre# /usr/src/pkgsrc/x11/gtk3/work/.tools/bin/pkg-config --libs cairo-gobject Package cairo-gobject was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo-gobject.pc' to the PKG_CONFIG_PATH environment variable Package 'cairo-gobject', required by 'virtual:world', not found and I don't have cairo-gobject.pc in /usr/src/pkgsrc/x11/gtk3/work/.buildlink/lib/pkgconfig
Attachment:
signature.asc
Description: OpenPGP digital signature