community/retroarch: GNU sed required to disable screensaver
Package Information
- Package name: retroarch
- Package version: 1.19.1-r0
- Alpine version: 3.21.0_alpha20240606
- Alpine architecture: x86_64
Summary
When executing retroarch without GNU sed installed, the following error can be gleaned by executing with verbosity enabled:
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
sed: unterminated {
sh: out of range
When this happens and if you play retroarch using a gamepad, the screensaver will not be suppressed and you will be periodically interrupted by screensaving due to idle mouse/keyboard.
After installing GNU sed, the above sed and sh errors are absent and screensaver suppression is properly enabled.
Steps to reproduce
Without GNU sed, execute retroarch -v
, observe the above errors, leave a game running idle, and notice screensaver interruption. Then install GNU sed (apk add sed
), execute retroarch -v
, observe the absence of above errors, leave a game running idle, and notice that screensaver suppression is working.