[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#693918: lintian: Add test for missing keywords



On 2013-06-23 21:21, Boris Pek wrote:
> Hi,
> 
> $ grep -r '^Name=' /usr/share/applications/ | wc -l
> 584
> $ grep -r '^Keywords=' /usr/share/applications/ | wc -l
> 0
> 
> Could you provide examples?
> 
> Because currently this lintian tag is useless...
> 
> Best regards,
> Boris
> 
> 

Not sure if they are good examples, but I got:

"""
$ grep -r '^Keywords=' \
    /usr/share/applications/{lincity-ng,freeorion}.desktop
[...]/lincity-ng.desktop:Keywords=game;simulation;city;strategy;3D;economics;transport;buildings;
[...]/freeorion.desktop:Keywords=space;strategy;empire;galaxy;turn-based;aliens;species;planets;fleet;research;resources;
$ grep -r '^Name=' \
    /usr/share/applications/{lincity-ng,freeorion}.desktop
[...]/lincity-ng.desktop:Name=Lincity-NG
[...]/freeorion.desktop:Name=FreeOrion
$ grep -r '^GenericName=' \
    /usr/share/applications/{lincity-ng,freeorion}.desktop
[...]/lincity-ng.desktop:GenericName=City Simulation Game
[...]/freeorion.desktop:GenericName=Strategy Game
"""

I have CC'ed Jeremy, who may be able to prove even more/better examples

~Niels


Reply to: