Date: Sun, 4 Sep 2016 07:32:33 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r421308 - in branches/2016Q3/deskutils/plasma-applet-playwolf: . files Message-ID: <201609040732.u847WXN6008127@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Sep 4 07:32:33 2016 New Revision: 421308 URL: https://svnweb.freebsd.org/changeset/ports/421308 Log: MFH: r421307 - Fix build on 11+ - While here, fix LICENSE Approved by: portmgr blanket Approved by: ports-secteam blanket Added: branches/2016Q3/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp - copied unchanged from r421307, head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp Modified: branches/2016Q3/deskutils/plasma-applet-playwolf/Makefile Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/deskutils/plasma-applet-playwolf/Makefile ============================================================================== --- branches/2016Q3/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:31:06 2016 (r421307) +++ branches/2016Q3/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:32:33 2016 (r421308) @@ -10,7 +10,8 @@ PKGNAMEPREFIX= plasma-applet- MAINTAINER= jhale@FreeBSD.org COMMENT= Amarok 2.x plasma applet for KDE4 -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake tar:bzip2 USE_KDE4= automoc4 kdelibs @@ -32,7 +33,7 @@ ADD_NEWLINE_TO= flowlayout.cpp \ post-patch: .for i in ${ADD_NEWLINE_TO} - ${ECHO_CMD} >> ${WRKSRC}/${i} + @${ECHO_CMD} >> ${WRKSRC}/${i} .endfor .include <bsd.port.mk> Copied: branches/2016Q3/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp (from r421307, head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2016Q3/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp Sun Sep 4 07:32:33 2016 (r421308, copy of r421307, head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp) @@ -0,0 +1,19 @@ +--- wolflabel.cpp.orig 2010-01-13 21:33:08 UTC ++++ wolflabel.cpp +@@ -24,6 +24,7 @@ + #include <QtGui/QGraphicsItemAnimation> + #include <QtGui/QGraphicsSceneResizeEvent> + #include <QtGui/QLabel> ++#include <QtCore/qmath.h> + + #include <KIO/Job> + #include <KIO/NetAccess> +@@ -195,7 +196,7 @@ void WolfLabel::paint(QPainter *painter, + m_animation->setPropertyName("xOffset"); + m_animation->setTargetObject(this); + } +- m_animation->setDuration((2 * abs(x) + SPACING) * 150); ++ m_animation->setDuration((2 * qFabs(x) + SPACING) * 150); + m_animation->setNewStartValue(x - SPACING); + m_animation->setNewEndValue(SPACING); + if (m_animation->state() != QAbstractAnimation::Running) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609040732.u847WXN6008127>