FS#69380 - [gnome-games][libretro] missing *.libretro files.

Attached to Project: Community Packages
Opened by Vesa Kärkkäinen (Thor) - Wednesday, 20 January 2021, 12:50 GMT
Last edited by Balló György (City-busz) - Friday, 31 March 2023, 19:42 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Getting a libretro-plugin to work, the gnome-games needs .libretro files for individual libretro-cores. Those libretro core descriptor files are missing in the gnome-games package.


Additional info:
package version 3.38.0-1

https://gitlab.gnome.org/GNOME/gnome-games/-/issues/79

This task depends upon

Closed by  Balló György (City-busz)
Friday, 31 March 2023, 19:42 GMT
Reason for closing:  Implemented
Additional comments about closing:  *.libretro files were added to the package, and the available libretro cores were added as optdepends
Comment by Maxime Gauduin (Alucryd) - Monday, 19 April 2021, 09:06 GMT
These should not be provided by the gnome-games package, they're already in https://archlinux.org/packages/community/any/libretro-core-info/
Comment by Balló György (City-busz) - Monday, 19 April 2021, 09:23 GMT
It seems that *_libretro.info files and *.libretro files contain different set of information:
https://github.com/libretro/libretro-core-info/blob/master/dolphin_libretro.info
https://gitlab.gnome.org/GNOME/gnome-games/-/blob/master/flatpak/libretro-cores/dolphin.libretro

I'm not sure what would be the best way to provide these *.libretro files. I can add those files available in the gnome-games repository[1], but it's probably incomplete, since we have different set of libretro implementations in our repositories. Or we can add *.libretro files to the individual libretro packages like Debian and Fedora do, but it means we have to maintain them downstream.

@Alucryd: What is your opinion?

[1] https://gitlab.gnome.org/GNOME/gnome-games/-/tree/master/flatpak/libretro-cores
Comment by Maxime Gauduin (Alucryd) - Monday, 19 April 2021, 09:30 GMT
Oh, you're right those are different indeed. Since they're only required by gnome-games I'd rather have gnome-games ship them. I can certainly add missing libretro cores upon request, but missing *.libretro files should be dealt with upstream imho.
Comment by Balló György (City-busz) - Monday, 19 April 2021, 17:56 GMT
I added the *.libretro files in gnome-games 40.0-2. I also added those libretro-* packages to optdepends, which already present in the official repositories.

@Alucryd: according to the upstream documentation[1], I can add support for more platforms if you are interested in packaging them:

Name: bsnes_mercury_balanced
Platform: Super Nintendo Entertainment System
URL: https://github.com/libretro/bsnes-mercury

Name: desmume2015
Platform: Nintendo DS
URL: https://github.com/libretro/desmume2015

Name: gearsystem
Patform: Game Gear, Master System, SG-1000
URL: https://github.com/drhelius/Gearsystem (platforms/libretro subdirectory)

Name: handy
Platform: Atari Lynx
URL: https://github.com/libretro/libretro-handy

Name: mednafen_ngp
Platform: Neo Geo Pocket, Neo Geo Pocket Color
URL: https://github.com/libretro/beetle-ngp-libretro

Name: mednafen_vb
Platform: Virtual Boy
URL: https://github.com/libretro/beetle-vb-libretro

Name: mednafen_wswan
Platform: WonderSwan, WonderSwan Color
URL: https://github.com/libretro/beetle-wswan-libretro

Name: pcsx_rearmed - REPLACED with mednafen_psx
Platform: PlayStation
URL: https://github.com/libretro/pcsx_rearmed

Name: prosystem
Platform: Atari 7800
URL: https://github.com/libretro/prosystem-libretro

Name: stella2014
Platform: Atari 2600
URL: https://github.com/libretro/stella2014-libretro


[1] https://wiki.gnome.org/Apps/Games/Features#Platform_support
Comment by Maxime Gauduin (Alucryd) - Monday, 19 April 2021, 18:40 GMT
We already have mednafen_pce_fast: https://archlinux.org/packages/community/x86_64/libretro-beetle-pce-fast/

As for the rest, sure, I'll go over them. pcsx_rearmed isn't really useful since beetle-psx is superior in every way, beetle-saturn and bsnes-mercury also have superior alternatives, but options are good I guess. The others I've been meaning to add, so now is as good a time as any. I'll keep you posted.
Comment by Balló György (City-busz) - Tuesday, 20 April 2021, 12:39 GMT
I made some changes on the list:
- Removed mednafen_pce_fast as it's already in the official repositories.
- Removed mame and mednafen_saturn, because they are reported as broken by upstream.
- Added gearsystem and handy as these are supported by upstream.

I replaced pcsx_rearmed with mednafen_psx in trunk. Replacing compatible libretro cores can be done easily, so Alucryd, feel free to recommend better alternatives[1] if you know.

[1] https://docs.libretro.com/meta/see-also/
Comment by Balló György (City-busz) - Friday, 31 March 2023, 19:41 GMT
No new libretro cores appeared in the official repositories in the past two years, so I'm closing this task.

Loading...