[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616368: pu: package clive/2.2.13-5+squeeze1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu

clive's support for youtube.com broke due changes to the web site. The
update adds (yet another) patch from upstream to accommodate for this
change.

I also included a change to d/rules taken from unstable to fix a FTBFS
when $HOME is not writable (which happens to be the case for myself).

Please consider making the updates package available via squeeze-updates
as well so that users don't have to wait for the next point release.

Regards,
Ansgar

[ Please CC: Sven Hoexter <hoexter@debian.org> (for clive's backport to
  Lenny) in replies. ]
diff -Nru clive-2.2.13/debian/changelog clive-2.2.13/debian/changelog
--- clive-2.2.13/debian/changelog	2010-12-25 23:50:42.000000000 +0100
+++ clive-2.2.13/debian/changelog	2011-03-03 22:00:58.000000000 +0100
@@ -1,3 +1,12 @@
+clive (2.2.13-5+squeeze1) stable; urgency=low
+
+  * Adapt for youtube.com changes.
+    + new patch: 0001-Youtube-Fix-video-ID-parsing-10.patch
+  * debian/rules: Set CLIVE_CACHE when running tests to avoid build failure
+    when $HOME is not writable.
+
+ -- Ansgar Burchardt <ansgar@debian.org>  Thu, 03 Mar 2011 21:49:37 +0100
+
 clive (2.2.13-5) unstable; urgency=low
 
   * Add 0001-Vimeo.pm-Fix-video-ID-parsing-2.patch to fix vimeo.com ID
diff -Nru clive-2.2.13/debian/patches/0001-Youtube-Fix-video-ID-parsing-10.patch clive-2.2.13/debian/patches/0001-Youtube-Fix-video-ID-parsing-10.patch
--- clive-2.2.13/debian/patches/0001-Youtube-Fix-video-ID-parsing-10.patch	1970-01-01 01:00:00.000000000 +0100
+++ clive-2.2.13/debian/patches/0001-Youtube-Fix-video-ID-parsing-10.patch	2011-03-03 21:49:12.000000000 +0100
@@ -0,0 +1,23 @@
+Subject: [PATCH] Youtube: Fix video ID parsing (#10)
+Origin: upstream, http://sourceforge.net/apps/trac/clive/ticket/10
+
+---
+ lib/clive/Host/Youtube.pm |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/lib/clive/Host/Youtube.pm b/lib/clive/Host/Youtube.pm
+index 290d230..abdc0d0 100644
+--- a/lib/clive/Host/Youtube.pm
++++ b/lib/clive/Host/Youtube.pm
+@@ -32,7 +32,7 @@ sub parsePage {
+     $$props->video_host ("youtube");
+ 
+     my %re = (
+-        id => qr|&video_id=(.*?)&|,
++        id => qr|"video_id": "(.*?)"|,
+         fmt_url_map => qr|fmt_url_map=(.*?)&|,
+     );
+ 
+-- 
+1.7.4.1
+
diff -Nru clive-2.2.13/debian/patches/series clive-2.2.13/debian/patches/series
--- clive-2.2.13/debian/patches/series	2010-12-25 23:50:42.000000000 +0100
+++ clive-2.2.13/debian/patches/series	2011-03-03 21:48:41.000000000 +0100
@@ -2,3 +2,4 @@
 595486-vimeo.patch
 fix-606540-youtube.patch
 0001-Vimeo.pm-Fix-video-ID-parsing-2.patch
+0001-Youtube-Fix-video-ID-parsing-10.patch
diff -Nru clive-2.2.13/debian/rules clive-2.2.13/debian/rules
--- clive-2.2.13/debian/rules	2010-12-25 23:50:42.000000000 +0100
+++ clive-2.2.13/debian/rules	2011-03-03 21:59:49.000000000 +0100
@@ -3,3 +3,7 @@
 
 %:
 	NO_INTERNET=yes dh $@
+
+override_dh_auto_test:
+	CLIVE_CACHE="$(CURDIR)/tmp-cache" dh_auto_test
+	rm -rf "$(CURDIR)/tmp-cache"

Reply to: