Commit Graph

18 Commits

Author SHA1 Message Date
Samuel Evans-Powell
a0efdd21a1
vulkan-loader: Fix MinGW build
- Fix mingwW64 build of vulkan-loader by not including X/wayland libraries on
  windows.

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-12-07 21:10:06 +08:00
Samuel Evans-Powell
209c66f3b7
pkg-config: Fix MinGW build
- MinGW build of pkg-config was failing due to fprintf format
errors (-Werror=format=, see
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat).
  - Added "-Wno-error=format" flag to silence this error.
2023-12-07 11:42:20 +08:00
Fernando Ayats
738bccbb41 pkg-config: add meta.mainProgram 2023-10-08 15:18:01 +02:00
Randy Eckenrode
b9d1dde37b
pkg-config: fix build with newer clang
Building pkg-config with newer versions of clang fails in the vendored
glib due to an incompatible conversion.ZZ
2023-05-29 15:22:42 -04:00
Vladimír Čunát
8a77ed60ac
Merge branch 'master' into staging-next 2023-01-27 09:36:55 +01:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Alyssa Ross
a1dc7fcf17 pkg-config: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Fixes pkgsCross.x86_64-freebsd.pkg-config.
2023-01-18 18:51:41 +00:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
John Ericson
f29919da61 pkg-config: Multiple outputs
This is good practice, and will help with tests. Wrapper adjust to match
bintools-wrapper re these new outputs.
2020-05-21 08:58:34 -04:00
John Ericson
42b2035730 pkg-config: If building vanilla version, can run original tests 2020-05-21 08:52:20 -04:00
John Ericson
26f635d39a pkg-config: Document new location of bug 2020-05-21 08:49:21 -04:00
John Ericson
c71ab32a67 pkg-config-wrapper: Init
This fixes longstanding build issues
2020-05-16 00:21:21 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benjamin Hipple
6d8b114efa pkg-config: enable check
The pkg-config test suite does pass, except for 3 tests related to functionality
we've modified regarding Requires.private and --static.
2019-05-15 02:13:13 +09:00
zimbatm
abac6afe93
pkgconfig: rename to pkg-config (#55094)
Package attrs should map to the pname. It's confusing otherwise.

pkg-config is also the name used by most distributions:

Debian, Homebrew, Guix, OpenSuse

other distributions like FreeBSD ports, Fedora and Arch Linux call it
"pkgconf"

Waiting a few releases to make a tree-wide change to make it easier to
back-port things.
2019-02-03 15:35:55 +00:00