Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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) - Sunday, 02 May 2021, 11:07 GMT
Task Type Feature Request
Category Packages
Status Assigned
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 0%
Votes 0
Private No



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

This task depends upon

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
Comment by Balló György (City-busz) - Monday, 19 April 2021, 09:23 GMT
It seems that * files and *.libretro files contain different set of information:

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?

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

Name: desmume2015
Platform: Nintendo DS

Name: gearsystem
Patform: Game Gear, Master System, SG-1000
URL: (platforms/libretro subdirectory)

Name: handy
Platform: Atari Lynx

Name: mednafen_ngp
Platform: Neo Geo Pocket, Neo Geo Pocket Color

Name: mednafen_vb
Platform: Virtual Boy

Name: mednafen_wswan
Platform: WonderSwan, WonderSwan Color

Name: pcsx_rearmed - REPLACED with mednafen_psx
Platform: PlayStation

Name: prosystem
Platform: Atari 7800

Name: stella2014
Platform: Atari 2600

Comment by Maxime Gauduin (Alucryd) - Monday, 19 April 2021, 18:40 GMT
We already have mednafen_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.