Correct game desktop file categories?
Petter Reinholdtsen
pere at hungry.com
Mon Jul 11 19:14:48 UTC 2016
Some days ago, I did a simple test in Debian Testing. I used KDE,
installed the games-strategy task file, and had a look in the KDE
application 'Games' menu to see how many of the games failed to show up
in the strategy submenu. It was a few. I reported a few bugs about
this, and some of them are even fixed. The problem is that the packages
desktop file lack the StrategyGame category.
But I suspect a more structured approach is needed to fix this properly
in time for Stretch, so I drafted a oneliner to identify all packages
with too few categories in their desktop files:
for p in $(apt-cache show games-strategy|grep Recommend|cut -d: -f2-|tr , " "); do for f in $(dpkg -L $p|grep /usr/share/applications/); do if ! grep -q StrategyGame $f; then echo $p; fi; done; done|sort -u
The result is this list of packages:
atanks
biloba
bygfoot (BTS #825716)
dopewars
endless-sky
gnurobots
liquidwar
oolite (BTS #825680)
openclonk (BTS #825678)
pax-britannica (BTS #825673)
pioneers
warmux
xscorch
I suspect similar work should be done with all the game tasks, to ensure
the games are properly grouped in the menu system. Do you agree?
If so, what is the most efficient way to make it happen?
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-games-devel
mailing list