Bump citra-nightly to a stable release, 2021-11-01 -> 1765
Also adds another branch, citra-canary, at version 2146
This also enables fetching the in-app compatibility list.
Without the change -fno-common toolchains like upstream gcc-10
or clang-11+ fail to build simh as:
$ nix build --impure --expr 'with import ~/nm {}; simh.override { stdenv = clang13Stdenv; }'
...
ld: /build/pdp11_io-0c74f0.o:(.bss+0x10c00):
multiple definition of `uc15_memsize'; /build/pdp11_cis-17339e.o:(.bss+0x118): first defined here
ld: /build/pdp11_io_lib-296a06.o:(.bss+0x8000):
multiple definition of `uc15_memsize'; /build/pdp11_cis-17339e.o:(.bss+0x118): first defined here
This is done by modifying the current `snes9x-gtk` derivation, including
a new `withGtk` option that when enabled will build the `snes9x-gtk`,
but when disabled will build `snes9x` instead. `snes9x` has less
dependencies than `snes9x-gtk`, having only X11 as a major dependency
and a minor one in ALSA. However, the only audio backend supported is ALSA,
so audio is only available on Linux.
Still, this has less dependencies than the GTK version, so it should be
useful as a minimal version for cross-compilation cases or when
porting to new devices. This also builds in macOS, however as I said
before, shouldn't have any sound there.
Without the change `zesarux` fails build on `master` as:
scrcaca.c:51:5: error: unknown type name 'cucul_canvas_t'; did you mean 'caca_canvas_t'?
51 | cucul_canvas_t *cv; caca_display_t *dp; caca_event_t ev;
| ^~~~~~~~~~~~~~
| caca_canvas_t