Added the Free fonts, since `attract` will not start without it's default font (FreeSans).
The font search code has changed recently, triggering now an error without FreeSans being present.
Upstream project changed the `makefile` in [1] and `EXTRA_CFLAGS` was removed.
Use the new `EXTRA_CXXFLAGS` instead, so our compiler flags and directives to find the locally compiled `sfml-pi` are passed on.
[1] 502f5d71e5
`libavresample-dev` has been obsoleted by `libswresample-dev` on recent (21.10 and later) Ubuntu versions and Debian Testing.
Also explicitely add the dependency on curl's libs.
Previously the location of the sfml-pi repo would be used as it was called first on the RPI,
which would mean an update is always done as the sfml-pi hash would have been stored rather than the
main repository. Ideally we would handle it so if either repository updates, but that requires a fair
amount of additional code as with mupen64plus and it's not work it for this - the sfml-pi code doesn't
change that often and better to just base it on the core code
Previously all the module data was in indexed arrays with matching offsets.
Each scriptmodule folder had an initial index and it was incremented per module.
Many package functions expected an index. Indexes were never unique and could change
depending on added modules etc. We also had to convert between them and module IDs.
Now it's all done by module id. There is a numbered index of all modules found, that
increments which is used in the GUI setup menus. But it's not needed by any packaging functions.
md_idx is dropped and the few modules that used it for install checks etc now use md_id.
all packaging functions use the id.
retropie_packages.sh now accepts the module id only.
Added 'attractmode' for the 'kms' platform, since it now includes support for DRM/KMS.
The 'sfml-pi' branch on https://github.com/mickelson/sfml-pi/ can be built with OpenGL or GLES support (default is OpenGL).
Added 2 corrections:
- don't remove an empty system name (can happen when 'delEmulator' is used for a Port)
- really replace '/' in the system's full name, on both addition and deletion of a system
When using KMS, `attractmode` starts with 'preferred' video mode, as reported by the display's EDID,
This could be different than the current video mode set via 'config.txt' or via 'cmdline.txt' by users.
Modified the startup script to hint the video mode via 'SFML_DRM_MODE' and 'SFML_DRM_REFRESH' environment variables.
* call a _add_rom_module function for each setting
* add _add_rom_emulationstation function for managing gamelists
* add _add_rom_attractmode function for managing attractmode romlists
* rename _addsystem_module to _add_system_module