I was wondering how to deal with related packages section. The main idea of this section can be described by this use case: There is new update of libpurple but user don’t know what kind of library it is. This application should show him that it is related to Pidgin.
I’ve used repoquery from package yum-utils to do this. The exact command can look like this:
repoquery -q --whatrequires libpurple
This list contains all packages which requires libpurple but I am choosing only those which are installed.
There is a mess of packages so we need to filter the most relevant out for the user. Users are using mostly the GUI applications. These applications have their own *.desktop file in /usr/share/applications/ so I am dividing found packages into two categories – with and without desktop files. If you have ideas for more categories please feel free to contact me.
(see the bottom-right section of screenshot)