Date: Sun, 4 Sep 2016 07:31:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421307 - in head/deskutils/plasma-applet-playwolf: . files Message-ID: <201609040731.u847V6MR006660@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Sep 4 07:31:06 2016 New Revision: 421307 URL: https://svnweb.freebsd.org/changeset/ports/421307 Log: - Fix build on 11+ - While here, fix LICENSE Approved by: portmgr blanket MFH: 2016Q3 (blanket) Added: head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp (contents, props changed) Modified: head/deskutils/plasma-applet-playwolf/Makefile Modified: head/deskutils/plasma-applet-playwolf/Makefile ============================================================================== --- head/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:27:35 2016 (r421306) +++ head/deskutils/plasma-applet-playwolf/Makefile Sun Sep 4 07:31:06 2016 (r421307) @@ -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 kde:4 tar:bzip2 USE_KDE= 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> Added: head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/plasma-applet-playwolf/files/patch-wolflabel.cpp Sun Sep 4 07:31:06 2016 (r421307) @@ -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?201609040731.u847V6MR006660>