[OE-core] [PATCH 0/3] pkgconf: consider pkgconf as a replacement for pkg-config

Maxin B. John maxin.john at intel.com
Tue Jul 11 12:58:10 UTC 2017


pkgconf is a better replacement for pkg-config. Fedora 26 replaces the
system pkg-config implementation with pkgconf because it "provides better
support for handling .pc files and a stable library ABI/API for integrating
into applications." and is actively maintained, unlike pkg-config.

pkgconf aims to offer many improvements over pkg-config such as faster/more
efficient dependency resolver which "allows for the user to more conservatively
link their binaries -- which may be helpful in some environments, such as when
prelink(1) is being used.

pkgconf also aims to provide a more complete implementation of pkg-config.
The features most likely to benefit the Yocto Project build system are the
faster/more efficient dependency resolution and linker flag optimisation.

To test this, after applying these patches, update "local.conf" as below:

PREFERRED_PROVIDER_pkgconfig = "pkgconf"
PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native"
PREFERRED_PROVIDER_nativesdk-pkgconfig = "nativesdk-pkgconf"

Links:
1. http://pkgconf.org
2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308

Maxin B. John (3):
  pkgconf: add recipe
  libx11: fix build error
  libxt: fix build failure

 meta/files/common-licenses/pkgconf                 | 10 ++++
 .../pkgconf/pkgconf/pkg-config-native.in           |  6 +++
 .../pkgconf/pkgconf/pkg-config-wrapper             | 16 +++++++
 meta/recipes-devtools/pkgconf/pkgconf_1.3.7.bb     | 55 ++++++++++++++++++++++
 meta/recipes-graphics/xorg-lib/libx11_1.6.5.bb     |  3 ++
 ...il-don-t-link-makestrs-with-target-cflags.patch | 33 +++++++++++++
 meta/recipes-graphics/xorg-lib/libxt_1.1.5.bb      |  4 +-
 7 files changed, 126 insertions(+), 1 deletion(-)
 create mode 100644 meta/files/common-licenses/pkgconf
 create mode 100644 meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in
 create mode 100755 meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper
 create mode 100644 meta/recipes-devtools/pkgconf/pkgconf_1.3.7.bb
 create mode 100644 meta/recipes-graphics/xorg-lib/libxt/0001-libXt-util-don-t-link-makestrs-with-target-cflags.patch

-- 
2.4.0




More information about the Openembedded-core mailing list