On Freitag, 13. Dezember 2019 08:50:19 CET Stefan Seyfried wrote:
Hi all,
I wanted to fix the arandr factory failure which is caused by:
[ 4s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 5s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 5s] ERROR: Icon file not installed: /home/abuild/rpmbuild/BUILDROOT/arandr-0.1.10-0.x86_64//usr/share/applicatio ns/arandr.desktop (package_utility_desktop) [ 5s] Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros
(the http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros section on %suse_update_desktop_file does not help).
The problem is, that arandr.desktop contains "icon=desktop" and there is no desktop icon installed in the build system.
"desktop" is not part of the icon naming specification. You will end up with either no icon or maybe an unfitting one. The correct name here is likely "preferences-desktop". Changing the icon is not supported by suse_update_desktop_file: $> sed -i -e 's/Icon=.*/Icon=preferences-desktop' arandr.desktop Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019