[arch-commits] Commit in amarok/trunk (PKGBUILD fix-photo-widget.patch)

Andrea Scarpino andrea at archlinux.org
Wed Jan 13 20:09:10 EST 2010


    Date: Wednesday, January 13, 2010 @ 20:09:10
  Author: andrea
Revision: 63019

upgpkg: amarok 2.2.2-2
    applied a patch from upstream that fix the photo widget

Added:
  amarok/trunk/fix-photo-widget.patch
Modified:
  amarok/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   12 +++++++++---
 fix-photo-widget.patch |   11 +++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-14 00:41:20 UTC (rev 63018)
+++ PKGBUILD	2010-01-14 01:09:10 UTC (rev 63019)
@@ -5,7 +5,7 @@
 pkgname=amarok
 replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
 pkgver=2.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A media player for KDE"
 arch=("i686" "x86_64")
 url="http://amarok.kde.org"
@@ -16,10 +16,16 @@
 	"libmtp: support for portable media devices"
 	"loudmouth: backend needed by mp3tunes for syncing")
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('c2c4ae2f2ff7154a064b554cdee557a9')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+	'fix-photo-widget.patch')
+md5sums=('c2c4ae2f2ff7154a064b554cdee557a9'
+         '43f029e83500eb2edb773ad82d302a11')
 
 build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   # already fixed in 2.2.3
+   patch -Np1 -i ${srcdir}/fix-photo-widget.patch || return 1
+
    cd ${srcdir}
    mkdir build
    cd build

Added: fix-photo-widget.patch
===================================================================
--- fix-photo-widget.patch	                        (rev 0)
+++ fix-photo-widget.patch	2010-01-14 01:09:10 UTC (rev 63019)
@@ -0,0 +1,11 @@
+--- a/src/context/engines/photos/PhotosEngine.cpp
++++ b/src/context/engines/photos/PhotosEngine.cpp
+@@ -156,7 +156,7 @@ void PhotosEngine::update()
+         // Show the information
+         if( !m_artist.isEmpty() )
+         {
+-            setData( "photos", "message", i18n( "Fetching" ) );
++            setData( "photos", "message", "Fetching");
+             setData( "photos", "artist", m_artist );
+         }
+         else
\ No newline at end of file



More information about the arch-commits mailing list