Bug 37021

Summary: Не берёт значков из дополнительных пакетов
Product: Sisyphus Reporter: Andrey Cherepanov <cas>
Component: appstream-data-generatorAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: darktemplaralt, rider
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 34231    

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.