head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.3.0.38 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.36 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.34 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.32 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.30 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.28 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.26 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.24 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.22 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.20 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.18 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.16 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.14 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.12 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.10 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.8 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.6 pkgsrc-2008Q1:1.3.0.4 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.2 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2012.03.20.05.41.02; author markd; state dead; branches; next 1.3; 1.3 date 2007.10.17.10.04.00; author rillig; state Exp; branches; next 1.2; 1.2 date 2006.10.06.18.15.11; author rillig; state dead; branches; next 1.1; 1.1 date 2006.10.02.18.58.55; author rillig; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.10.02.18.58.55; author rillig; state Exp; branches; next ; desc @@ 1.4 log @Update to KDE SC 4.8.0 @ text @$NetBSD: patch-aa,v 1.3 2007/10/17 10:04:00 rillig Exp $ --- src/part/radialMap/map.cpp.orig 2001-08-06 01:00:00.000000000 +0200 +++ src/part/radialMap/map.cpp 2007-10-17 11:56:15.000000000 +0200 @@@@ -337,7 +337,7 @@@@ RadialMap::Map::paint( unsigned int scal { int width = rect.width() / 2; //clever geometric trick to find largest angle that will give biggest arrow head - int a_max = int(acos( (double)width / double((width + 5) * scaleFactor) ) * (180*16 / M_PI)); + double a_max = acos( (double)width / double((width + 5) * scaleFactor) ) * (180*16 / M_PI); for( ConstIterator it = m_signature[x].constIterator(); it != m_signature[x].end(); ++it ) { @@@@ -351,10 +351,10 @@@@ RadialMap::Map::paint( unsigned int scal //draw arrow head to indicate undisplayed files/directories QPointArray pts( 3 ); QPoint pos, cpos = rect.center(); - int a[3] = { (*it)->start(), (*it)->length(), 0 }; + double a[3] = { (*it)->start(), (*it)->length(), 0 }; a[2] = a[0] + (a[1] / 2); //assign to halfway between - if( a[1] > a_max ) + if(a[1] > a_max ) { a[1] = a_max; a[0] = a[2] - a_max / 2; @ 1.3 log @Fixed the computation of the coordinates. Using `int's for trigonometry is weird. PKGREVISION++ @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Applied a patch from Mark Davies, which greatly simplifies the package by including meta-pkgs/kde3/kde3.mk. PKGREVISION++. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2006/10/02 18:58:55 rillig Exp $ d3 8 a10 8 Includedir contains ${prefix}, which does not get expanded unless "eval" is used. --- configure.orig 2001-08-06 01:00:00.000000000 +0200 +++ configure 2006-10-02 20:34:49.000000000 +0200 @@@@ -32514,7 +32514,7 @@@@ fi d12 8 a19 2 -jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes" +eval "jpeg_incdirs=\"$includedir /usr/include /usr/local/include $kde_extra_includes\"" d21 6 a26 2 jpeg_incdir=NO for i in $jpeg_incdirs; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Imported filelight. Filelight allows you to understand exactly where your diskspace is being used by graphically representating your filesystem as a set of concentric segmented-rings. @ text @@