r8115 - in software/thumbnails: . debian
Peter De Wachter
pdewacht-guest at alioth.debian.org
Sat Sep 13 11:48:30 UTC 2008
Author: pdewacht-guest
Date: 2008-09-13 11:48:29 +0000 (Sat, 13 Sep 2008)
New Revision: 8115
Added:
software/thumbnails/check-thumbnails.pl
Removed:
software/thumbnails/pixbros.png
Modified:
software/thumbnails/debian/changelog
Log:
Removed pixbros as well (not in testing because of #486567)
Added a script to test for this.
Added: software/thumbnails/check-thumbnails.pl
===================================================================
--- software/thumbnails/check-thumbnails.pl (rev 0)
+++ software/thumbnails/check-thumbnails.pl 2008-09-13 11:48:29 UTC (rev 8115)
@@ -0,0 +1,41 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use AptPkg::Cache;
+
+my $cache = AptPkg::Cache->new;
+my $policy = $cache->policy;
+
+foreach my $thumb (sort(<*.png>, <*.jpg>)) {
+ (my $pkg = $thumb) =~ s/\..*?$//;
+
+ my $p = $cache->{$pkg};
+ unless ($p)
+ {
+ warn "Apt doesn't know about $pkg\n";
+ next;
+ }
+
+ my $available = $p->{VersionList};
+ unless ($available)
+ {
+ warn "Apt doesn't know any available version of $pkg\n";
+ next;
+ }
+
+ my ($unstable, $testing);
+ for my $v (@$available)
+ {
+ for my $f (map $_->{File}, @{$v->{FileList}})
+ {
+ if ($f->{Origin} and $f->{Origin} eq 'Debian' and $f->{Component} eq 'main')
+ {
+ $testing ||= $f->{Archive} eq 'testing';
+ $unstable ||= $f->{Archive} eq 'unstable';
+ }
+ }
+ }
+
+ warn "$pkg is not in unstable\n" if not $unstable;
+ warn "$pkg is not in testing\n" if not $testing;
+}
Modified: software/thumbnails/debian/changelog
===================================================================
--- software/thumbnails/debian/changelog 2008-09-13 10:30:34 UTC (rev 8114)
+++ software/thumbnails/debian/changelog 2008-09-13 11:48:29 UTC (rev 8115)
@@ -1,7 +1,12 @@
games-thumbnails (20080913) UNRELEASED; urgency=low
+ [ Miriam Ruiz ]
* Removed starfighter thumbnail for copyright reasons. Closes: #498787
+ [ Peter De Wachter ]
+ * Removed pixbros, which probably won't be part of the release either.
+ * Added a script to test for these things.
+
-- Miriam Ruiz <little_miry at yahoo.es> Sat, 13 Sep 2008 12:20:22 +0200
games-thumbnails (20080825+nmu1) unstable; urgency=medium
Deleted: software/thumbnails/pixbros.png
===================================================================
(Binary files differ)
More information about the Pkg-games-commits
mailing list