Hello community,

here is the log from the commit of package brp-extract-appdata for 
openSUSE:Factory checked in at 2013-10-02 13:27:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/brp-extract-appdata (Old)
 and      /work/SRC/openSUSE:Factory/.brp-extract-appdata.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "brp-extract-appdata"

Changes:
--------
--- /work/SRC/openSUSE:Factory/brp-extract-appdata/brp-extract-appdata.changes  
2013-09-25 17:06:48.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.brp-extract-appdata.new/brp-extract-appdata.changes 
    2013-10-02 13:27:06.000000000 +0200
@@ -1,0 +2,15 @@
+Mon Sep 30 19:09:47 UTC 2013 - dims...@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 - dims...@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.lFMDy6/_old  2013-10-02 13:27:07.000000000 +0200
+++ /var/tmp/diff_new_pack.lFMDy6/_new  2013-10-02 13:27:07.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.lFMDy6/_old  2013-10-02 13:27:07.000000000 +0200
+++ /var/tmp/diff_new_pack.lFMDy6/_new  2013-10-02 13:27:07.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+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to