17 Oct 2024 |
Alyssa Ross | What's another distro that doesn't use pkgconf? | 10:01:29 |
Alyssa Ross | I have learned that Arch and Fedora are not affected by the wlroots pixman thing. They both use pkgconf and we don't. | 10:01:48 |
emily | uh, Void | 10:02:50 |
emily | oh | 10:02:54 |
emily | you're running into http://pkgconf.org/features.html, huh? | 10:03:02 |
emily | FWIW https://github.com/NixOS/nixpkgs/issues/334195 | 10:03:10 |
emily | I started working on this and ran into Meson pkgconf tests failing | 10:03:15 |
emily | however the Darwin bootstrap uses pkgconf (it happens to disable Meson tests for other reasons) and works fine | 10:03:25 |
Alyssa Ross | unsure | 10:03:25 |
Alyssa Ross | https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4859#note_2614543 | 10:03:33 |
emily | I think we could easily switch in early 25.05 cycle | 10:03:35 |
emily | it seems like a bad idea to do right now | 10:03:40 |
emily | but I can bump it way up my priority list for post-branch-off if we're running into practical problems | 10:03:53 |
emily | but yeah pretty much everyone else already moved to pkgconf | 10:04:04 |
emily | I couldn't find a relevant distro other than Void that hadn't when looking IIRC | 10:04:13 |
emily | perhaps this is the lack of "CFLAGS.private entries" listed in that table? | 10:04:37 |
Alyssa Ross | doubt it | 10:04:54 |
emily | hm, doesn't look like it | 10:05:01 |
Alyssa Ross | there's nothing private about the CFLAGS | 10:05:02 |
emily | pkg-config is basically abandonware | 10:05:30 |
emily | if you can confirm that it works with pkgconf then we could patch downstream for now and rip it out once we switch to pkgconf for 25.05? | 10:05:56 |
Alyssa Ross | OG pkg-config also works on Fedora | 10:08:22 |
emily | 🤔 | 10:08:43 |
Alyssa Ross | Redacted or Malformed Event | 10:09:37 |
Alyssa Ross | Searching for 'wlroots-0.18' private requirement 'pixman-1'
Looking for package 'pixman-1'
Looking for package 'pixman-1-uninstalled'
Reading 'pixman-1' from file '/usr/lib64/pkgconfig/pixman-1.pc'
Parsing package file '/usr/lib64/pkgconfig/pixman-1.pc'
line>prefix=/usr
Variable declaration, 'prefix' has value '/usr'
line>includedir=${prefix}/include
Variable declaration, 'includedir' has value '/usr/include'
line>libdir=${prefix}/lib64
Variable declaration, 'libdir' has value '/usr/lib64'
line>
line>Name: Pixman
line>Description: The pixman library (version 1)
line>Version: 0.43.4
line>Libs: -L${libdir} -lpixman-1
line>Libs.private: -lm -pthread
line>Cflags: -I${includedir}/pixman-1
Path position of 'pixman-1' is 2
Adding 'pixman-1' to list of known packages
| 10:09:41 |
K900 | Hmm | 10:11:20 |
Alyssa Ross | Our pkg-config seems to just ignore Requires.private | 10:11:24 |
K900 | Why does it not work for us then | 10:11:24 |
emily | iSTR .pc file handling having some weird interaction with sysroots that looked confusing. I'm way out of my comfort zone here and just throwing out nonsense but maybe something like that is going on. | 10:11:30 |
K900 | Is their pkg-config newer? | 10:11:32 |