[pkg-bacula-devel] bacula-tray-monitor

Sven Hartge sven at svenhartge.de
Sat Dec 1 18:23:12 GMT 2018


On 30.11.18 21:34, Sven Hartge wrote:
> On 29.11.18 07:48, Sven Hartge wrote:
> 
>> I think it wants one in /usr/share/icons/hicolor/%size%/apps/.
> 
> I now believe it does not like the XPM. I base this assumption on the
> observation that bacula-qt-console does not have an error an it uses an
> PNG icon.
> 
> I tried looking at the AppStream Generator code, but it is written in D
> (!!) and after traversing through 4 levels of object classes I was
> utterly lost.
> 
> But after looking at enough other package I think my assumption is correct.
> 
> I pushed an update and we can try this with the next upload.

Nyah, here is the solution:
https://wiki.debian.org/AppStream/Guidelines#Icon_best_practices

"Your GUI application must ship (or reference, see below) an icon of at
least 64x64px in size, which should be in
/usr/share/icons/hicolor/%{size}/apps/. This avoids accidential
upscaling of icons. Please avoid placing icons in /usr/share/pixmaps and
place them in /usr/share/icons/hicolor/%{size}/apps/ instead."

Also:

"Please do not ship icons in the .xpm format. Ideally have them
available as .png bitmap and/or .svg vectorgraphic in their respective
subdirectories under /usr/share/icons/hicolor. Applications with only
.xpm icons will not be included in the metadata."

bacula-qt-console does only ship a PNG icon in /usr/share/pixmaps and
this does pass the test of AppStream Generator. So we might get away
with this at the moment.

Grüße,
Sven.

Grüße,
Sven.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20181201/75f5af80/attachment.sig>


More information about the pkg-bacula-devel mailing list