rpms/amarok/F-9 amarok-1.4.10-wikipedia.patch, NONE, 1.1 amarok.spec, 1.114, 1.115

Rex Dieter rdieter at fedoraproject.org
Mon Apr 13 17:20:52 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/amarok/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8140

Modified Files:
	amarok.spec 
Added Files:
	amarok-1.4.10-wikipedia.patch 
Log Message:
* Mon Apr 13 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.4.10-3
- fix wikipedia access


amarok-1.4.10-wikipedia.patch:

--- NEW FILE amarok-1.4.10-wikipedia.patch ---
diff -up amarok-1.4.10/amarok/src/contextbrowser.cpp.wikipedia amarok-1.4.10/amarok/src/contextbrowser.cpp
--- amarok-1.4.10/amarok/src/contextbrowser.cpp.wikipedia	2008-08-13 16:21:51.000000000 -0500
+++ amarok-1.4.10/amarok/src/contextbrowser.cpp	2009-04-13 12:09:53.000000000 -0500
@@ -4189,7 +4189,7 @@ ContextBrowser::wikiResult( KIO::Job* jo
     }
 
     // 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;


Index: amarok.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amarok/F-9/amarok.spec,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- amarok.spec	12 Jan 2009 14:52:33 -0000	1.114
+++ amarok.spec	13 Apr 2009 17:20:50 -0000	1.115
@@ -31,7 +31,7 @@
 Name:       amarok
 Summary:    Media player
 Version:    1.4.10
-Release:    2%{?dist}
+Release:    3%{?dist}
 
 Group: 	    Applications/Multimedia
 License:    GPLv2+
@@ -46,6 +46,8 @@
 ## upstream patches
 # security backport: http://websvn.kde.org/?view=rev&revision=908415
 Patch100:   amarok-1.4.10-aa_security.patch
+# fix wikipedia, see also https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/316140
+Patch101:   amarok-1.4.10-wikipedia.patch
 
 BuildRequires:  alsa-lib-devel
 BuildRequires:  desktop-file-utils
@@ -53,6 +55,8 @@
 BuildRequires:  gettext
 %{?_with_helix:BuildRequires:  HelixPlayer}
 BuildRequires:  kdelibs%{?kde3}-devel
+# workaround missing dep on rhel5
+BuildRequires:  libutempter-devel
 %if 0%{?konq}
 BuildRequires:  kdebase%{?kde3}-devel
 %else
@@ -148,6 +152,7 @@
 %patch1 -p1 -b .gcc43
 %patch2 -p1 -b .xdg
 %patch100 -p4 -b .aa_security
+%patch101 -p1 -b .wikipedia
 
 
 %build
@@ -309,6 +314,9 @@
 
 
 %changelog
+* Mon Apr 13 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.4.10-3
+- fix wikipedia access
+
 * Mon Jan 12 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.4.10-2
 - backport security patch
 




More information about the fedora-extras-commits mailing list