Bug 37021 - Не берёт значков из дополнительных пакетов
Summary: Не берёт значков из дополнительных пакетов
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: appstream-data-generator (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 34231
  Show dependency tree
 
Reported: 2019-07-12 15:21 MSK by Andrey Cherepanov
Modified: 2019-07-12 17:41 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2019-07-12 15:21:52 MSK
user@bve-vm113 ~ $ cat apps 
kde5-okular
user@bve-vm113 ~ $ cat add
kde5-okular-common
user@bve-vm113 ~ $ appstream-data-generator -e apps -a /usr/share/kf5/applications/kf5 -g add -u d /mnt/space/ALT/Sisyphus/{x86_64,noarch}
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_chm.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_comicbook.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_djvu.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_dvi.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_epub.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_fax.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_fb.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_ghostview.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_kimgio.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_md.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_pdf.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_plucker.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_tiff.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_txt.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/okularApplication_xps.desktop from package kde5-okular
ERROR: Failed to find icons for file /usr/share/applications/kf5/org.kde.okular.desktop from package kde5-okular
Error: the option '--input_xml_file' is required but missing
user@bve-vm113 ~ $ ls d/
icons/ xmls/  
user@bve-vm113 ~ $ ls d/icons/
user@bve-vm113 ~ $ ls d/xmls/

Для файла desktop из kde5-okular не загружается явно указанный дополнительный пакет kde5-okular-common, который содержит значки для файла .desktop.
Comment 1 Aleksei Nikiforov 2019-07-12 15:47:29 MSK
(В ответ на комментарий №0)
> user@bve-vm113 ~ $ cat add
> kde5-okular-common

Правильный формат: имя_обрабатываемого_пакета имя_дополнительного_пакета_1 ...

$ cat configs/additionalpackages.txt | grep okular
kde5-okular kde5-okular-common

Дополню справку.
Comment 2 Repository Robot 2019-07-12 17:41:03 MSK
appstream-data-generator-20190712-alt1 -> sisyphus:

Fri Jul 12 2019 Aleksei Nikiforov <darktemplar@altlinux> 20190712-alt1
- Updated option descriptions in help message (Closes: #37021).
- Added options to configure generation of
  metadata_license and project_license tags 
  in appdata generated from desktop files (Closes: #37022).
- Added options to skip or exclusively process specified
  desktop files if desktop files convertion is enabled.