@xiota thanks for your comment. I got it right, just asked about it wrong, :) If I wanted to try PGO with xvfb, then I need both variables set to true, and what I did was just that:
3 # run pgo build or not; with X(vfb) or wayland
4 : ${_build_profiled:=true}
5 : ${_build_profiled_xvfb:=true}
So all good, :)
@ToneyFox, PGO requires some sort of runtime environment to perform the [dynamic] profiling, see PGO. And those PGO depencies are chosen depending on:
if [[ "${_build_profiled}" == "true" ]]; then
if [[ "${_build_profiled_xvfb}" == "true" ]]; then
makedepends+=(
xorg-server-xvfb
)
else
makedepends+=(
weston
xorg-xwayland
wlheadless-run # aur/xwayland-run-git
)
fi
fi
I found the PKGBUILD very useful, but needs manual intervention if you don't want the default. I didn't want to profile on top of wayland, so I chose the xvfb variable to true to profile on top of x11 stuff. Both false is also valid and there's no additional make dependency for PGO.
Pinned Comments
lsf commented on 2025-01-01 21:28 (UTC)
Please refrain from abusing the flagging of a package as out of date for build issues. This is not what it is supposed to be used for.
I automatically get notified of comments to this package. I do not need to be notified of whatever build problems occur (whether they are an individual's problems or the actual package's problems) twice, and not via flagging it out of date.
Issues with this package can also be reported at https://codeberg.org/librewolf/issues/issues (as it is also maintained there, at https://codeberg.org/librewolf/arch, too).