Fix handling of games that have a -data package
@eladalfassa
Submitted by Elad Alfassa Link to original bug (#734645)
Description
Many games in Fedora (and probably other distros too) have a -data package containing the game data files, and a regular package containing the actual executable / libraries. This is done so you could patch code bugs in the executable without forcing the users and mirrors to download the heavy -data package.
The -data package is useless without the main executable, but in many cases the -data package doesn't "depend" on the main package.
There are two ways in which we handle this wrong:
-
Size estimation is off. So for 0ad for example we show it's 3.2MB, while it requires a -data package that is a 546MB download and 1.3GB on disk.
-
When removing the game from Software, the -data package will not be removed. This can either be solved with some special-casing in Software (easy) or convincing the maintainers to "do the right thing" (probably not easy).