summaryrefslogtreecommitdiff
path: root/gnu/packages/pkg-config.scm
AgeCommit message (Collapse)Author
2024-03-09gnu: pkg-config: Alias to pkgconf-as-pkg-config.Maxim Cournoyer
This switches the default pkg-config implementation used in Guix to pkgconf. * gnu/packages/pkg-config.scm (pkg-config): Define as pkgconf-as-pkg-config. (%pkgconf-with-tests): Renamed from %pkgconf. (%pkgconf): New minimal variant to avoid circular dependencies for bootstrap sensitive packages. (%pkgconf-as-pkg-config): Delete now inherited hidden property. * gnu/packages/commencement.scm (make-gnu-make-final): Replace %pkg-config with %pkgconf-as-pkg-config. Change-Id: Id2b9f40f8f09babae9c6dfc47d1de071ce78e011
2024-03-09gnu: pkgconf: Add support for cross-compilation.Maxim Cournoyer
* gnu/packages/pkg-config.scm: Reorganize module into sections. (cross-pkg-config): Refactor to accept a TARGET argument. (pkg-config-for-target): Likewise. (pkg-config): Apply pkg-config-for-target to the %pkg-config argument. (pkgconf): New variable, computed via pkg-config-for-target. (pkgconf-as-pkg-config): Likewise. (make-pkg-config-for-build): New procedure. (pkg-config-for-build): Express in terms of the above. (pkgconf-as-pkg-config-for-build): New variable. (%pkgconf): New variable, renamed from previous pkgconf. (%pkgconf-as-pkg-config): New variable, renamed from pkgconf-as-pkg-config. Change-Id: I932e924949c5129bdc328c279cdd214b383d043d
2024-03-09gnu: pkgconf: Add $PKG_CONFIG_PATH search path.Maxim Cournoyer
* gnu/packages/pkg-config.scm (%pkgconf) [native-search-paths]: Add $PKG_CONFIG_PATH. Change-Id: I6c5c20ca26a3cf21c16eb24747c250ba432a276d
2024-03-09gnu: Add pkgconf-as-pkg-config.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf-as-pkg-config): New variable. Change-Id: Ica85d2c248817fdf4756680cd94b0380e4a2b01f
2024-03-09gnu: pkgconf: Enable test suite.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf) [arguments]: Remove #:tests? argument. Add a set-HOME phase. [native-inputs]: Add atf and kyua. Change-Id: I28410d7486ab45cf1cbc6d306345fb85f0b9d7fc
2024-01-24gnu: pkgconf: Update to 2.1.0.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf): Update to 2.1.0. Change-Id: I5d61cd792ea89bc05a590997a3c8ed5243a57adc
2023-09-17gnu: pkgconf: Update to 2.0.2.Zheng Junjie
* gnu/packages/pkg-config.scm (pkgconf): Update to 2.0.2. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-06gnu: perl-extutils-pkgconfig: Support cross-compilation.Maxim Cournoyer
* guix/search-paths.scm ($PKG_CONFIG_PATH): New variable. * gnu/packages/pkg-config.scm (%pkg-config): Use it. * gnu/packages/perl.scm (perl-extutils-pkgconfig-for-target): New procedure. (perl-extutils-pkgconfig): Turn into a syntax that conditionally expands to... (cross-perl-extutils-pkgconfig): ... this when %current-target-system is set, or... (%perl-extutils-pkgconfig): ... this in a native compilation context. [arguments]: New field. [propagated-inputs]: Turn into... [native-inputs]: ... this. [native-search-paths]: New field.
2022-09-13gnu: Add pkgconf.Maxim Cournoyer
* gnu/packages/pkg-config.scm (pkgconf): New variable.
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-09-27gnu: pkg-config: Fix typo in search paths.Maxime Devos
* gnu/packages/pkg-config.scm (pkg-config-for-build)[native-search-paths]: Use "PKG_CONFIG_PATH_FOR_BUILD" instead of "PKG_CONFIG_PATH". Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-20gnu: Add pkg-config-for-build.Maxime Devos
* gnu/packages/pkg-config.scm (pkg-config-for-build): New variable.
2019-11-16Merge remote-tracking branch master into core-updatesMathieu Othacehe
2019-11-07gnu: pkg-config: Memoize 'cross-pkg-config'.Ludovic Courtès
When running: guix build --target=arm-linux-gnueabihf gdb -nd this reduces the number of hits in the 'add-data-to-store' cache from 205 (25%) to 163 (21%). * gnu/packages/pkg-config.scm (cross-pkg-config): Turn into an 'mlambda'.
2019-09-24gnu: pkg-config: Fix cross-compilation.Mathieu Othacehe
* gnu/packages/pkg-config.scm (%pkg-config)[arguments]: Add configure-flags to disable tests that fail when cross-compiling.
2018-03-27gnu: Use invoke and return #t from all builders.Mark H Weaver
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm, gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm, gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm, gnu/packages/commencement.scm, gnu/packages/dictionaries.scm, gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm, gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm, gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/javascript.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm, gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm, gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages using 'trivial-build-system', use invoke where appropriate, raise exceptions on errors, and otherwise return #t.
2017-04-13gnu: pkg-config: Update to 0.29.2.Marius Bakke
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.29.2.
2017-01-26gnu: pkg-config: Update to 0.29.1.Marius Bakke
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.29.1. [home-page]: Use HTTPS.
2016-02-22gnu: pkg-config: Add non-HTTPS alternate URL.Ludovic Courtès
* gnu/packages/pkg-config.scm (%pkg-config)[source]: Add non-HTTPS URL.
2016-01-03gnu: pkg-config: Update to 0.29.Ludovic Courtès
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.29.
2014-12-27packages: Add 'file-type' field to 'search-path-specification'.Ludovic Courtès
Fixes <http://bugs.gnu.org/18033>. * guix/packages.scm (<search-path-specification>): Rename 'directories' field to 'files'. Add 'file-type'. (search-path-specification->sexp): Honor 'file-type'. * gnu/packages/autotools.scm, gnu/packages/bootstrap.scm, gnu/packages/cross-base.scm, gnu/packages/games.scm, gnu/packages/gcc.scm, gnu/packages/glib.scm, gnu/packages/guile.scm, gnu/packages/man.scm, gnu/packages/perl.scm, gnu/packages/pkg-config.scm, gnu/packages/python.scm, gnu/packages/ruby.scm, gnu/packages/xfce.scm: Change 'directories' to 'files'. * tests/packages.scm ("search paths"): Change 'directories' field to 'files'. * guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-14Merge branch 'master' into 'core-updates'.Ludovic Courtès
2014-11-25gnu: pkg-config: Add pkg.m4 to the cross pkg-config.Ludovic Courtès
Suggested by John Darrington. * gnu/packages/pkg-config.scm (cross-pkg-config): Make $out/share/aclocal a symlink to %PKG-CONFIG/share/aclocal.
2014-11-22gnu: pkg-config: Update to 0.28.Ludovic Courtès
* gnu/packages/pkg-config.scm (%pkg-config): Update to 0.28.
2014-10-26gnu: Some cleanup based on lint checkers.Eric Bavier
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2013-06-15gnu: pkg-config: Export package definition.Ludovic Courtès
* gnu/packages/pkg-config.scm (%pkg-config): Make public. Reported by Andreas Enge <andreas@enge.fr>.
2013-05-27gnu: pkg-config: Provide a cross-build-friendly wrapper.Ludovic Courtès
* gnu/packages/pkg-config.scm (pkg-config): Rename to... (%pkg-config): ... this. Make private. (cross-pkg-config, pkg-config-for-target): New procedures. (pkg-config): New macro.
2013-03-30packages: Add `native-search-paths' field and honor it.Ludovic Courtès
* guix/packages.scm (<search-path-specification>): New record type. (search-path-specification->sexp): New procedure. (<package>)[native-search-paths]: New field. (package-derivation): Accumulate the search paths, and pass them as #:search-paths toe BUILDER. * guix/build-system/gnu.scm (gnu-build): Add #:search-paths. Compute `implicit-search-paths'. Pass #:search-paths in BUILDER. * guix/build-system/perl.scm (perl-build): Add #:search-paths, pass it to BUILDER with the search paths of PERL. * guix/build-system/cmake.scm (cmake-build): Add #:search-paths, pass it to BUILDER. * guix/build-system/trivial.scm (trivial-build): Add #:search-paths, ignore it. * guix/build/gnu-build-system.scm (set-paths): Add #:search-paths. Remove explicit settings of CPATH, LIBRARY_PATH, and PKG_CONFIG_PATH. Instead, walk SEARCH-PATHS and call `set-path-environment-variable' for them. * guix/build/perl-build-system.scm (perl-build): Remove PERL5LIB setting. * tests/packages.scm ("search paths"): New test. * gnu/packages/bootstrap.scm (%bootstrap-guile)[raw]: Add #:search-paths. (%bootstrap-gcc): Add `native-search-paths' field. * gnu/packages/perl.scm (perl): Likewise. * gnu/packages/pkg-config.scm (pkg-config): Likewise. * gnu/packages/glib.scm (intltool): Remove `arguments'. * gnu/packages/avahi.scm (avahi): Remove #:phases.
2013-02-10Re-export `%current-system' from (guix packages).Ludovic Courtès
* guix/packages.scm: Re-export `%current-system'. * gnu/packages/bdw-gc.scm, gnu/packages/gawk.scm, gnu/packages/gperf.scm, gnu/packages/libffi.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/lout.scm, gnu/packages/m4.scm, gnu/packages/multiprecision.scm, gnu/packages/ncurses.scm, gnu/packages/perl.scm, gnu/packages/pkg-config.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm: Remove (guix utils) import.
2013-01-18distro: Change the module name space to (gnu ...).Ludovic Courtès
* distro: Rename to... * gnu: ... this. Update module names accordingly. * Makefile.am: Adjust accordingly. * po/POTFILES.in: Likewise. * distro.scm: Search for files under /gnu/packages instead of /distro/packages. * gnu/packages/base.scm (ld-wrapper-boot3): Likewise.