Hello community, here is the log from the commit of package brp-extract-appdata for openSUSE:13.1 checked in at 2013-10-02 13:27:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/brp-extract-appdata (Old) and /work/SRC/openSUSE:13.1/.brp-extract-appdata.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "brp-extract-appdata" Changes: -------- --- /work/SRC/openSUSE:13.1/brp-extract-appdata/brp-extract-appdata.changes 2013-09-25 17:06:52.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.brp-extract-appdata.new/brp-extract-appdata.changes 2013-10-02 13:27:13.000000000 +0200 @@ -1,0 +2,15 @@ +Mon Sep 30 19:09:47 UTC 2013 - dimstar@opensuse.org + +- Two minor fixes in brp-extract-appdata.pl: + + Perl treats variables case sensitive: be consistent with + $basedir. + + Allow Icon= in .desktop files to have a file extension. + +------------------------------------------------------------------- +Mon Sep 30 10:45:22 UTC 2013 - dimstar@opensuse.org + +- Change icon type from local to cached: 'local' means the icon + lives in the installed filesystem; meta data provided icons land + in the appstream icon cache. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brp-extract-appdata.pl ++++++ --- /var/tmp/diff_new_pack.5Ihsu6/_old 2013-10-02 13:27:13.000000000 +0200 +++ /var/tmp/diff_new_pack.5Ihsu6/_new 2013-10-02 13:27:13.000000000 +0200 @@ -39,7 +39,7 @@ } if (! -w "$basedir") { - print "WARNING: Can't write to $BASEDIR, skipping\n"; + print "WARNING: Can't write to $basedir, skipping\n"; exit(0); } @@ -74,7 +74,7 @@ sub outputicon { - return unless ($_ =~ /^$icon.(png|svg|svgz|xpm)$/); + return unless ($_ =~ /^$icon.(png|svg|svgz|xpm)$/ or $_ eq $icon); open(my $icon, '<', $_) or return; my $content = do { local $/; <$icon> }; close($icon); ++++++ extract-icons.pl ++++++ --- /var/tmp/diff_new_pack.5Ihsu6/_old 2013-10-02 13:27:13.000000000 +0200 +++ /var/tmp/diff_new_pack.5Ihsu6/_new 2013-10-02 13:27:13.000000000 +0200 @@ -104,7 +104,7 @@ $ids{$id->{content}} = 1; my $icon = extract_icon(@{$app->{icon}}[0], $tmpdir); if ($icon) { - $app->{icon} = [ { "type" => "local", "content" => $icon } ]; + $app->{icon} = [ { "type" => "cached", "content" => $icon } ]; } else { delete $app->{icon}; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org