Update to the newest version.
Also:
* Adds in most optional dependencies (besides `libharu`)
* Bundles the rom files (under ComputerCraft Public License, so `free`)
* packages the headers
Workaround build failure on -fno-common toolchains like upstream
gcc-10 or llvm-11. Otherwise build fails as:
duplicate symbol '_apple_platform' in:ui_cocoa.o cocoa_common.o
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: bsdsocket.o:(.bss+0x0): multiple definition of
`socketbases'; main.o:(.bss+0x2792c0): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: initc.o:(.bss+0x28): multiple definition of `HacksDisable'; cfg.o:(.bss+0x59e3): first defined here
* origin/staging-next: (62 commits)
Re-Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
openldap: fix cross-compilation
makeBinaryWrapper: fix codesign on aarch64-darwin
python3Packages.ldap: fix linking with openldap 2.5+
Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
wine: enable parallel build again
pkgsi686Linux.gdb: fix formatting for 32-bit systems
gtk4: Fix incorrect merge
nixos/openldap: use upstream unit defaults
openldap: update maintainers
openldap: 2.4.58 -> 2.6.2
Revert "Add mingwW64-llvm cross-system."
lua: fix on darwin by using makeBinaryWrapper (#172749)
python310Packages.python-mimeparse: execute tests
pandas: fix darwin build
gtk3: 3.24.33 -> 3.24.33-2022-03-11
gtk4: patch fixing g-c-c crashes
e2fsprogs: patch for CVE-2022-1304
firefox-unwrapped: fix cross compilation
rustc: expose correct llvmPackages for cross compile
...
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: AboutDlg.o:/build/pcsxr/gui/Linux.h:42: multiple definition of `cfgfile';
LnxMain.o:/build/pcsxr/gui/Linux.h:42: first defined here
Without the change build fails on upstream gcc-10 as:
ld: _obj/device/r4300/x86_64/dynarec.o (symbol from plugin): in function `dyna_jump': (.text+0x0):
multiple definition of `g_r4300_opcodes'; _obj/device/r4300/cached_interp.o (symbol from plugin):(.text+0x0): first defined here
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.
These derivations use buildDotnetModule, which has had its default
dotnet version changed recently. This patch removes redundantly setting
the SDK/runtime to version 6.
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