How is app-install-data generated?

Asked by Jjed

Over at #754204 I proposed manually adding good icons for featured applications before the next release. However, that doesn't solve the problem of why is the system generating app-install-data is choosing `/usr/share/pixmaps/blender.xpm` over `usr/share/icons/hicolor/scalable/apps/blender.svg`, when the *.desktop file is just asking for `blender`.

Every release Michael Vogt commits an update to app-install-data. However, I can't for the life of me find the script he uses to generate the metadata; the results just appear in http://rookery.canonical.com/~mvo/gnome-app-install/. Could someone point me in the right direction?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu app-install-data-ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jjed
Solved:
Last query:
Last reply:
Revision history for this message
Federico Tello Gentile (federicotg) said :
#1

If you are talking about blender's icon in the applications panel once it is already installed, that must be inside blender's own deb package.
I think App-install-data is just used to represent available applications in Ubuntu software centre.

Revision history for this message
Jjed (jjed) said :
#2

The Software Center uses app-install-data, not the other way around. Unless the code has changed dramatically since the last time I looked at it (at a cursory glance it hasn't).

And no, I'm not talking about post-installed icons. I'm talking about the metadata stored in /usr/share/app-install, which contains the desktop files, icons, and keywords for all installable applications.

My question is what scripts, concretely, generate this metadata.

Revision history for this message
Jjed (jjed) said :
#3

Cool, I found it. There's no proper project page, but the scripts are located at lp:~mvo/archive-crawler. I overlooked a linked branch in one of the bug reports.

Revision history for this message
Anton Piatek (anton-piatek) said :
#4

In case anyone else was looking for it, the above link should point to https://code.launchpad.net/~mvo/archive-crawler