community/startup-notification: patch on 32-bit time causes issues
In postmarketOS on device samsung-serranove (armv7) I ran into issues on MATE and Xfce4 when launching applications. In MATE when e.g. starting text editor "Pluma" from classic menu, several error windows show up saying "... has unexpectedly quit". In Xfce4 when e.g. starting "Settings" -> "Display" from whisker menu, the panel seems to crash (actually it's the window manager xfwm4 crashing), the panel restarts, however the window header remains behind the panel and the onboard keyboard icon doesn't recover after the crash.
I chimed into an issue report at mate-panel (following link). After some tries of unsuccessful debugging I could finally track it down to package "startup-notification". Upgrading it in Alpine from 0.12-r4 to 0.12-r5 causes the issue. Only 32-bit devices are affected by this specific issue (whereas in the upstream mate-panel issue report two different issues got mixed).
The difference between "startup-notification" 0.12-r4 vs. 0.12-r5 is a patch to fix 32-bit time_t.
- Alpine commit: e99c0e1a
- Upstream commits:
It looks like the patch is doing the contrary of what it is supposed to do – for whatever reason. The easiest fix is to remove that patch, basically going back to 0.12-r4.
Possibly I should also sumbit an issue at upstream "startup-notification" repository about that? Or does anyone have an idea why the patch is not working as intended within Alpine Linux (aka. is it a general issue or a distribution-specific Alpine issue)?
Cc: @nekopsykose @ncopa