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

Bug#1017081: lintian: warn about paths in /usr/share/applications/ not named *.desktop or *-mimeapps.list



Package: lintian
Version: 2.115.2
Severity: wishlist

There are a couple of packages shipping files in the directory
/usr/share/applications/ that are not applications or MIME lists.

   $ apt-file search /usr/share/applications/ | grep -vE ': /usr/share/applications/[^/]+(\.desktop|-mimeapps\.list)$'
   fte-xwindow: /usr/share/applications/fte32x32.xpm
   spread-phy: /usr/share/applications/desktop

The icon should be in /usr/share/pixmaps/ or /usr/share/icons/ dirs,
since its filename and contents both indicate it is an image.

The desktop file should be renamed to spread-phy.desktop or similar,
since its file contents indicate it is actually a .desktop file.

Please add a warning to lintian suggesting that these files be moved
elsewhere or renamed. Probably lintian should detect the type of file
and suggest the correct location for it to be moved or renamed to.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: