libbrotli wasn't listed as a dependency for the AppArmor profile of the transmission-daemon binary.
As a result, transmission wouldn't run and would fail, logging this audit message to dmesg:
audit[11595]: AVC apparmor=DENIED operation=open profile=/nix/store/08i1rmakmnpwyxpvp0sfc5hcm106am7w-transmission-3.00/bin/transmission-daemon name=/proc/11595/environ pid=11595 comm=transmission-da requested_mask=r denied_mask=r fsuid=70 ouid=70
- Libmanette and systemd features need to be disabled since they depend on systemd.
- FastMalloc for some reason does not include <malloc/malloc.h> so we added that.
- <CommonCrypto/CommonRandom.h> depends on a type from <CommonCrypto/CommonCryptor.h> but does not include it for some reason, resulting in the following error:
In file included from ../Source/WTF/wtf/RandomDevice.cpp:44:
/nix/store/wd30p2pq4lci8fk9fqldkgk1hgmwpapj-Libsystem-1238.60.2/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus'
typedef CCCryptorStatus CCRNGStatus;
- The GL-related flags were renamed and removed (in previous releases as well) so we switched to the new ones so that GL is still disabled.
- Unrelatedly, `with` statement at the top of the expression is abomination so we narrowed its scope to just meta.
Not sure if it will work since the certificates file is not present on MacOS AFAICT but it is needed for GTK 4 so 🤷♀️.
Also clean up the expression and correct license.
Applying a patch since the app has been archived and will receive no further releases.
Had to rebuild the build scripts with autoreconfHook since the patch modifies configure.ac.
Also cleaned up the expression a bit.
They started faiing with the same issue as before they were enabled in 2019.
I tried running them in xvfb and dbus session (see e.g. libdazzle expression) but without success.
I wonder how it could have worked for so long.ů
I also cleaned up the expression and corrected the license while at it.
org.gnome.settings-daemon.peripherals.mouse and font-related settings of org.gnome.settings-daemon.plugins.xsettings were moved to gsettings-desktop-schemas in GNOME 40, making the remaining whitelisted schemas from g-s-d basically useless.
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/issues/31