Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 12:23:07 +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: r416595 - in head/x11-themes/kde4-style-polyester: . files
Message-ID:  <201606091223.u59CN7hS053358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun  9 12:23:07 2016
New Revision: 416595
URL: https://svnweb.freebsd.org/changeset/ports/416595

Log:
  - Add LICENSE
  - Fix build on 11.x
  
  Approved by:	portmgr blanket

Added:
  head/x11-themes/kde4-style-polyester/files/
  head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp   (contents, props changed)
Modified:
  head/x11-themes/kde4-style-polyester/Makefile

Modified: head/x11-themes/kde4-style-polyester/Makefile
==============================================================================
--- head/x11-themes/kde4-style-polyester/Makefile	Thu Jun  9 11:48:27 2016	(r416594)
+++ head/x11-themes/kde4-style-polyester/Makefile	Thu Jun  9 12:23:07 2016	(r416595)
@@ -11,6 +11,9 @@ PKGNAMEPREFIX=	kde4-style-
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	KDE style and window decoration
 
+LICENSE=	LGPL20+
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
+
 USE_KDE4=	kdelibs automoc4
 USE_QT4=	qmake_build moc_build rcc_build uic_build
 USES=		cmake gettext tar:bzip2

Added: head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-themes/kde4-style-polyester/files/patch-style_polyester.cpp	Thu Jun  9 12:23:07 2016	(r416595)
@@ -0,0 +1,21 @@
+abs is not needed, as AnimInfo::animFrame is unsigned
+--- style/polyester.cpp.orig	2009-02-17 18:23:09 UTC
++++ style/polyester.cpp
+@@ -216,7 +216,7 @@ void PolyesterStyle::animate()
+ 
+           if( animWidgets[widget].active == true ) {
+             mustStop = false;
+-              if(abs(animWidgets[widget].animFrame) < ANIMATIONSTEPS) {
++              if(animWidgets[widget].animFrame < ANIMATIONSTEPS) {
+                   if ( _animateButton ) {
+                       animWidgets[widget].animFrame += animationDelta;
+                       widget->repaint();
+@@ -225,7 +225,7 @@ void PolyesterStyle::animate()
+                   }
+               }
+           } else {
+-              if(abs(animWidgets[widget].animFrame) > 0) {
++              if(animWidgets[widget].animFrame != 0) {
+                 mustStop = false;
+                   if ( _animateButton ) {
+                       animWidgets[widget].animFrame -= animationDelta;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606091223.u59CN7hS053358>