FreeBSD Bugzilla – Attachment 103992 Details for
Bug 144091
[MAINTAINER] deskutils/plasma-applet-playwolf: Update to 0.8.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2010-02-12-plasma-applet-playwolf.diff
2010-02-12-plasma-applet-playwolf.diff (text/plain), 3.21 KB, created by
Jason E. Hale
on 2010-02-19 06:30:03 UTC
(
hide
)
Description:
2010-02-12-plasma-applet-playwolf.diff
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2010-02-19 06:30:03 UTC
Size:
3.21 KB
patch
obsolete
>diff -ruN plasma-applet-playwolf.orig/Makefile plasma-applet-playwolf/Makefile >--- plasma-applet-playwolf.orig/Makefile 2010-02-05 00:57:02.000000000 -0500 >+++ plasma-applet-playwolf/Makefile 2010-02-19 00:37:06.000000000 -0500 >@@ -6,8 +6,7 @@ > # > > PORTNAME= playwolf >-PORTVERSION= 0.7.2 >-PORTREVISION= 2 >+PORTVERSION= 0.8.1 > CATEGORIES= deskutils kde > MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} > PKGNAMEPREFIX= plasma-applet- >@@ -19,7 +18,7 @@ > USE_CMAKE= yes > USE_KDE4= automoc4 kdeprefix kdelibs > USE_QT_VER= 4 >-QT_COMPONENTS= gui dbus network opengl svg webkit xml \ >+QT_COMPONENTS= gui dbus network opengl phonon svg webkit xml xmlpatterns \ > qmake_build moc_build rcc_build uic_build > MAKE_JOBS_SAFE= yes > >@@ -28,17 +27,17 @@ > > WRKSRC= ${WRKDIR}/${PORTNAME} > >-ADD_NEWLINE_TO= flowlayout.cpp flowlayout.h playwolf.cpp playwolf.h \ >- wolfbuttons.cpp wolflabel.h >- >-.include <bsd.port.pre.mk> >+ADD_NEWLINE_TO= flowlayout.cpp \ >+ flowlayout.h \ >+ lyricswidget.cpp \ >+ playwolf.cpp \ >+ playwolf.h \ >+ wolfbuttons.cpp \ >+ wolflabel.h > > post-patch: > .for i in ${ADD_NEWLINE_TO} > ${ECHO_CMD} >> ${WRKSRC}/${i} > .endfor > >- cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|usr|${KDE4_PREFIX}|g' \ >- infomanager.cpp wolflabel.cpp >- >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN plasma-applet-playwolf.orig/distinfo plasma-applet-playwolf/distinfo >--- plasma-applet-playwolf.orig/distinfo 2010-02-05 00:57:02.000000000 -0500 >+++ plasma-applet-playwolf/distinfo 2010-02-05 01:02:38.000000000 -0500 >@@ -1,3 +1,3 @@ >-MD5 (playwolf-0.7.2.tar.bz2) = 0f9f051aa5e1762ad5bbad0197d3bedf >-SHA256 (playwolf-0.7.2.tar.bz2) = 3978ac01cbe23bc701a1256d5c1538953d3339ade53d6a2255f514051a1dc424 >-SIZE (playwolf-0.7.2.tar.bz2) = 22217 >+MD5 (playwolf-0.8.1.tar.bz2) = 28ec4f7abfcc367c0dae67f4d423d569 >+SHA256 (playwolf-0.8.1.tar.bz2) = f41a39f8f4078baa9a7e9fa44f0a81164f8b468eddfc06f5d73cf491a58dad04 >+SIZE (playwolf-0.8.1.tar.bz2) = 22840 >diff -ruN plasma-applet-playwolf.orig/files/patch-infomanager.cpp plasma-applet-playwolf/files/patch-infomanager.cpp >--- plasma-applet-playwolf.orig/files/patch-infomanager.cpp 1969-12-31 19:00:00.000000000 -0500 >+++ plasma-applet-playwolf/files/patch-infomanager.cpp 2010-02-05 01:27:50.000000000 -0500 >@@ -0,0 +1,24 @@ >+--- ./infomanager.cpp.orig 2010-01-13 16:32:23.000000000 -0500 >++++ ./infomanager.cpp 2010-02-05 01:27:39.000000000 -0500 >+@@ -22,6 +22,7 @@ >+ #include <QtGui/QGraphicsWidget> >+ >+ #include <KDebug> >++#include <KStandardDirs> >+ >+ #include "playercontroller.h" >+ >+@@ -105,9 +106,11 @@ >+ if (metadata.value("arturl").toString() != QString()) { >+ emit updateCover(metadata.value("arturl").toString()); >+ } else if (mode == QString("lastfm")) { >+- emit updateCover("file:///usr/share/apps/amarok/images/lastfm-default-cover.png"); >++ QString lastfmcover = KGlobal::dirs()->findResource("data", QString("amarok/images/lastfm-default-cover.png")); >++ emit updateCover(lastfmcover); >+ } else { >+- emit updateCover("file:///usr/share/apps/amarok/images/nocover.png"); >++ QString nocover = KGlobal::dirs()->findResource("data", QString("amarok/images/nocover.png")); >++ emit updateCover(nocover); >+ } >+ >+ emit updateInfos(metadata.value("artist").toString(),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144091
: 103992