http://bugzilla.novell.com/show_bug.cgi?id=571819
http://bugzilla.novell.com/show_bug.cgi?id=571819#c1
--- Comment #1 from Michal Smrž 2010-01-19 16:18:33 UTC ---
In brp-check-suse-1.0
is brp-desktop.data/xdg_menu which contain
starting with line 1562
-----------------------------
if ($desktop->{'OnlyShowIn'} eq "KDE") {$xtrapath .= ",icons/crystalsvg";}
if ($desktop->{'OnlyShowIn'} eq "GNOME") {$xtrapath .= ",icons/gnome";}
my @out = `find
\$RPM_BUILD_ROOT{/usr,/opt/kde3,/opt/gnome}/share/{pixmaps,icons/hicolor$xtrapath}{,{16x16,22x22,24x24,32x32,36x36,48x48,64x64,72x72,96x96,128x128,192x192,scalable}/{actions,animations,apps,categories,devices,emblems,emotes,filesystems,intl,mimetypes,places,status,stock}}
-name $desktop->{Icon} -o -name $desktop->{Icon}.png -o -name
$desktop->{Icon}.jpg -o -name $desktop->{Icon}.xpm -o -name
$desktop->{Icon}.svg -o -name $desktop->{Icon}.svgz 2> /dev/null`;
@out = `find
{/usr,/opt/kde3,/opt/gnome}/share/{pixmaps,icons/hicolor$xtrapath}{,{16x16,22x22,24x24,32x32,36x36,48x48,64x64,72x72,96x96,128x128,192x192,scalable}/{actions,animations,apps,categories,devices,emblems,emotes,filesystems,intl,mimetypes,places,status,stock}}
-name $desktop->{Icon} -o -name $desktop->{Icon}.png -o -name
$desktop->{Icon}.jpg -o -name $desktop->{Icon}.xpm -o -name
$desktop->{Icon}.svg -o -name $desktop->{Icon}.svgz 2> /dev/null` unless @out;
if ( !@out and $desktop->{'X-SuSE-YaST-Call'} eq '' ){
$output .= "ERROR: Icon file not installed: $desktop->{file}
($desktop->{Icon})\n";
$validate_error = 1;
-----------------------------
I think, this is the reason. Looking for icons only in {pixmaps,icons/hicolor}
?
I think, whole brp-desktop should be deprecated if there is rpmlint
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.