tags 591193 + patch
tags 591193 + pending
thanks

Dear maintainer,

I've prepared an NMU for adzapper (versioned as 20090301.dfsg.1-0.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru adzapper-20090301/debian/changelog adzapper-20090301.dfsg.1/debian/changelog
--- adzapper-20090301/debian/changelog	2010-11-25 11:25:27.000000000 +0100
+++ adzapper-20090301.dfsg.1/debian/changelog	2010-11-25 11:19:35.000000000 +0100
@@ -1,3 +1,14 @@
+adzapper (20090301.dfsg.1-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch by Chris Butler to generade zaps/ad-clear.swf and
+    zaps/ad.swf on the fly
+  * Remove these sourceless files from orig.tar.gz and document their
+    removal
+    (Closes: #591193)
+
+ -- Alexander Reichle-Schmehl <toli...@debian.org>  Thu, 25 Nov 2010 11:18:33 +0100
+
 adzapper (20090301-1) unstable; urgency=low
 
   * New upstream release
diff -Nru adzapper-20090301/debian/control adzapper-20090301.dfsg.1/debian/control
--- adzapper-20090301/debian/control	2010-11-25 11:25:27.000000000 +0100
+++ adzapper-20090301.dfsg.1/debian/control	2010-11-25 11:25:27.000000000 +0100
@@ -2,7 +2,7 @@
 Section: web
 Priority: optional
 Maintainer: Ludovic Drolez <ldro...@debian.org>
-Build-Depends: debhelper (>> 5.0.0)
+Build-Depends: debhelper (>> 5.0.0), perl, libswf-perl, ttf-dejavu-core
 Standards-Version: 3.8.3
 
 Package: adzapper
diff -Nru adzapper-20090301/debian/generate-flash.pl adzapper-20090301.dfsg.1/debian/generate-flash.pl
--- adzapper-20090301/debian/generate-flash.pl	1970-01-01 01:00:00.000000000 +0100
+++ adzapper-20090301.dfsg.1/debian/generate-flash.pl	2010-11-25 11:25:27.000000000 +0100
@@ -0,0 +1,24 @@
+#!/usr/bin/perl
+
+use constant FONT_LOCATION => '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf';
+use constant DEST_DIR => 'debian/adzapper/usr/share/doc/adzapper/examples/zaps/';
+use SWF qw(:ALL);
+
+my $m = new SWF::Movie();
+$m->setBackground(0xff,0xff,0xff);
+$m->save(DEST_DIR . "ad-clear.swf");
+
+my $font = new SWF::Font(FONT_LOCATION);
+
+my $txt = new SWF::Text();
+$txt->setFont($font);
+$txt->setColor(0, 0, 0xff);
+$txt->setHeight(150);
+$txt->addString('this ad zapped');
+
+my $n = new SWF::Movie();
+$n->setBackground(0xff,0xff,0xff);
+$n->setDimension(1400, 450);
+my $txtdisp = $n->add($txt);
+$txtdisp->moveTo(100,100);
+$n->save(DEST_DIR . "ad.swf");
diff -Nru adzapper-20090301/debian/rules adzapper-20090301.dfsg.1/debian/rules
--- adzapper-20090301/debian/rules	2010-11-25 11:25:27.000000000 +0100
+++ adzapper-20090301.dfsg.1/debian/rules	2010-11-25 11:25:27.000000000 +0100
@@ -68,6 +68,8 @@
 	dh_installexamples zaps scripts/update-zapper
 # remove the hardlink in examples
 	(cd debian/adzapper/usr/share/doc/adzapper/examples/zaps; rm -f adbg-clear.gif;cp adbg.gif adbg-clear.gif)
+# generate replacement flash files
+	perl debian/generate-flash.pl
 #	dh_installmenu
 #	dh_installlogrotate
 #	dh_installemacsen
Binärdateien /tmp/NXp7NQdoMq/adzapper-20090301/zaps/ad-clear.swf and /tmp/yD5SSGkhPw/adzapper-20090301.dfsg.1/zaps/ad-clear.swf sind verschieden.
Binärdateien /tmp/NXp7NQdoMq/adzapper-20090301/zaps/ad.swf and /tmp/yD5SSGkhPw/adzapper-20090301.dfsg.1/zaps/ad.swf sind verschieden.

Reply via email to