aboutsummaryrefslogtreecommitdiff
path: root/tools/pkgconf
Commit message (Collapse)AuthorAge
* tools: pkgconf: provide prefix for host and hostpkg stagind directoryChristian Marangi2024-05-05
| | | | | | | | | | | Some package might require to fix their pkg-config file to point to host or hostpkg file. This is the case for glib2 library that provides with pkg-config variables, tools to generates files from xml. Those tools should use the host binary instead of the targets one to correctly build packages that makes use of such tools. Link: https://github.com/openwrt/openwrt/pull/15134 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools: prefer gz or bz2 tarballsRobert Marko2024-04-06
| | | | | | | | | | | | | | In the light of recent XZ events, and fundamental XZ issues lets work on moving away from using XZ. So, use gz compressed tarballs as sources whenever possible. dwarves only offers bz2 compressed tarballs, so use those as size difference is minor compared to XZ. Signed-off-by: Robert Marko <robimarko@gmail.com> dwarves
* tools/pkgconf: update to 2.1.1Nick Hainke2024-02-06
| | | | | | | Changes: https://github.com/pkgconf/pkgconf/blob/2edf954f3a80d2ccb4ba41938e5078fdde9d3ca4/NEWS Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.1.0Nick Hainke2023-12-08
| | | | | | | Changes: https://github.com/pkgconf/pkgconf/blob/5825e2c6d608ef74a97349e81d750ab95c53cf50/NEWS#L4 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.0.3Nick Hainke2023-10-12
| | | | | | | | News: - https://github.com/pkgconf/pkgconf/blob/752a9825dc8660d247c457aa4d256db4800ebd7c/NEWS#L13 - https://github.com/pkgconf/pkgconf/blob/752a9825dc8660d247c457aa4d256db4800ebd7c/NEWS#L4 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.0.1Rosen Penev2023-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes from 2.0.0 to 2.0.1: ---------------------------- * The behavior of --modversion was largely reverted back to the traditional pkg-config behavior, but still operates on a solved dependency graph. The order of --modversion output is based on the dependency resolution queue which is passed to the solver, which itself generally maps to the order of the constrants provided on the command line. * A new flag, --verbose, has been added. When used with `--modversion`, it is possible to disambiguate which version belongs to which module: % pkgconf --modversion --verbose foo bar foo: 1.2.3 bar: 1.3 Changes from 1.9.5 to 2.0.0: ---------------------------- * When flattening the dependency graph, retain the latest seen edges rather than the earliest. * Fix a long-standing bug where the dependency resolution queue was evaluated in reverse. This bug masked the aforementioned dependency flattening bug in many cases. * Fix handling of --with-path, which was appending paths to the search list rather than prepending them as intended. * Error when --modversion is requested with more than one package, as the output is ambiguous. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/pkgconf: update to 1.9.5Linhui Liu2023-05-09
| | | | | | | Release Notes: https://github.com/pkgconf/pkgconf/blob/master/NEWS Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/pkgconf: add PKG_CPE_IDNick Hainke2023-02-05
| | | | | | Add PKG_CPE_ID to track vulnerabilities. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 1.9.4Nick Hainke2023-02-05
| | | | | | | | | | | | Release information: https://github.com/pkgconf/pkgconf/blob/master/NEWS Fixes CVE-2023-24056. Further, this commit corrects the "-Dtests" flag and changes it from "false" to "disabled". Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 1.9.3Nick Hainke2022-09-07
| | | | | | | Release Notes: https://github.com/pkgconf/pkgconf/blob/pkgconf-1.9.3/NEWS Signed-off-by: Nick Hainke <vincent@systemli.org>
* pkg-config: always use correct path for pkg-config.realLeonardo Mörlein2022-08-11
| | | | | | | | | | | | | | | | | | Before this commit, it was assumed that pkg-config.real is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. The command failed with Makefile:15: *** No libnl-tiny development libraries found!. Stop. make[1]: Leaving directory since pkg-config of the host system was used. After the commit, the package is built sucessfully. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional argumentsAndre Heider2021-10-24
| | | | | | | This can be used my the OpenWrt build system to pass additional arguments when required. Signed-off-by: Andre Heider <a.heider@gmail.com>
* tools/pkgconf: update to 1.8.0Rosen Penev2021-09-16
| | | | | | Switch to compiling with meson for faster and more reliable compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ccache: update to 4.1Rosen Penev2020-12-31
| | | | | | | | | | | | | | | | Upstream switched to building with CMake. Adjust accordingly. Reapplied patch as upstream changed the file format. Added HOST_BUILD_PARALLEL for faster compilation. Added cmake tool dependency and removed circular dependencies as a result. Adjusted dependent tools to use NOCACHE as they are needed to build ccache. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/pkgconf: update to 1.7.3Rosen Penev2020-12-22
| | | | | | Remove upstreamed patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* pkgconf: always retain -I and -L flagsJo-Philipp Wich2020-03-15
| | | | | | | | | | | | | | | | | | | | | | | | The pkgconf fork filters -I and -L flag values from .pc files which match pkgconf's builtin system directory value. During configure, pkgconf derives the default system include and library search path values from exec_prefix, which is set to staging_dir/host in the host tool build phase. Due to that, pkgconf will drop all -I and -L flags pointing to staging_dir/host/include or staging_dir/host/lib, unless invoked with --keep-system-cflags and --keep-system-libs respectively, breaking our kernel libelf discovery / stack validation workarounds. In order to inhibit the filtering, add --keep-system-cflags and --keep-system-libs to our pkg-config shell wrapper. Fixes: GH#2832 Fixes: 867298cf47 ("tools/pkg-config: Replace with pkgconf") Ref: https://lists.infradead.org/pipermail/openwrt-devel/2020-March/022182.html Ref: https://git.openwrt.org/fe43969336201f2cc7d103b68fd6e65989bee184 Signed-off-by: Jo-Philipp Wich <jo@mein.io> Acked-by: Petr Štetiar <ynezz@true.cz>
* tools/pkgconf: Run pkg-config wrapper through shellcheckRosen Penev2020-03-01
| | | | | | | | Mainly quoting fixes. Separated parameters by \ for easier readability. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/pkg-config: Replace with pkgconfRosen Penev2020-03-01
pkgconf is a newer, actively maintained implementation of pkg-config that supports more aspects of the pkg-config file specification and provides a library interface that applications can use to incorporate intelligent handling of pkg-config files into themselves (such as build file generators, IDEs, and compilers). Through its pkg-config compatibility interface (activated when it is run as "pkg-config"), it also can completely replace the original implementation. It is also lighterweight and does not require glib2, as pkg-config does. On other distros, pkgconf is symlinked to pkg-config. For simplicity here, it is renamed to pkg-config.real, as in the original package. Initial results have been positive. As before, pkgconf works as long as the pkg-config files point to the proper paths. Signed-off-by: Rosen Penev <rosenp@gmail.com> [backported upstream fix for Meson] Signed-off-by: Petr Štetiar <ynezz@true.cz>