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

Bug#560802: pu: package amarok/1.4.10-2lenny1



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

Hello,

several users have been bugging me to fix #512847 [1]. Current amarok version
in lenny does not display anything in the Wikipedia tab because wikipedia has
changed its site layout a bit since 1.4.10 release. The patch to fix this
problem is extremely trivial so I think it's worth a stable update to make a
group of users happy. Debdiff below.

1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512847

diff -u amarok-1.4.10/debian/changelog amarok-1.4.10/debian/changelog
--- amarok-1.4.10/debian/changelog
+++ amarok-1.4.10/debian/changelog
@@ -1,3 +1,9 @@
+amarok (1.4.10-2lenny1) stable; urgency=low
+
+  * Fix Wikipedia tab (patch 22_fix_wikipedia_tab.diff) (Closes: #512847).
+
+ -- Modestas Vainius <modestas@vainius.eu>  Sat, 12 Dec 2009 13:19:45 +0200
+
 amarok (1.4.10-2) unstable; urgency=high
 
   * Add 20_security_audible_tags.diff patch to fix integer overflow while
diff -u amarok-1.4.10/debian/patches/series amarok-1.4.10/debian/patches/series
--- amarok-1.4.10/debian/patches/series
+++ amarok-1.4.10/debian/patches/series
@@ -17,2 +17,3 @@
 20_security_audible_tags.diff
+22_fix_wikipedia_tab.diff
 97_automake_cleanup.diff
only in patch2:
unchanged:
--- amarok-1.4.10.orig/debian/patches/22_fix_wikipedia_tab.diff
+++ amarok-1.4.10/debian/patches/22_fix_wikipedia_tab.diff
@@ -0,0 +1,11 @@
+--- a/amarok/src/contextbrowser.cpp
++++ b/amarok/src/contextbrowser.cpp
+@@ -4189,7 +4189,7 @@
+     }
+ 
+     // Ok lets remove the top and bottom parts of the page
+-    m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
++    m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\"" ) );
+     m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
+     // Adding back license information
+     m_wiki += copyright;



Reply to: