diff options
author | markd <markd@pkgsrc.org> | 2012-03-20 05:37:49 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2012-03-20 05:37:49 +0000 |
commit | a174e8bc3c46b3012f4df7b19e9970d96a7ae64f (patch) | |
tree | 21002f5ef792ca22e766887951f6829d7be6802c | |
parent | 1e40ed128ec416a90bc54e362f6d1564433d9a69 (diff) | |
download | pkgsrc-a174e8bc3c46b3012f4df7b19e9970d96a7ae64f.tar.gz |
Reimport filelight 1.0nb20 as filelight-kde3
-rw-r--r-- | sysutils/filelight-kde3/DESCR | 3 | ||||
-rw-r--r-- | sysutils/filelight-kde3/Makefile | 32 | ||||
-rw-r--r-- | sysutils/filelight-kde3/PLIST | 14 | ||||
-rw-r--r-- | sysutils/filelight-kde3/distinfo | 7 | ||||
-rw-r--r-- | sysutils/filelight-kde3/patches/patch-aa | 26 | ||||
-rw-r--r-- | sysutils/filelight-kde3/patches/patch-ab | 18 |
6 files changed, 100 insertions, 0 deletions
diff --git a/sysutils/filelight-kde3/DESCR b/sysutils/filelight-kde3/DESCR new file mode 100644 index 00000000000..55cd52c6103 --- /dev/null +++ b/sysutils/filelight-kde3/DESCR @@ -0,0 +1,3 @@ +Filelight allows you to understand exactly where your diskspace is being +used by graphically representating your filesystem as a set of +concentric segmented-rings. diff --git a/sysutils/filelight-kde3/Makefile b/sysutils/filelight-kde3/Makefile new file mode 100644 index 00000000000..4fc6b8a0266 --- /dev/null +++ b/sysutils/filelight-kde3/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/03/20 05:37:49 markd Exp $ +# + +DISTNAME= filelight-1.0 +PKGREVISION= 20 +CATEGORIES= sysutils +MASTER_SITES= http://www.methylblue.com/filelight/packages/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.methylblue.com/filelight/ +COMMENT= Graphical filesystem usage monitor + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +SET_LIBDIR= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_TOOLS+= perl + +pre-build: + cd ${WRKSRC}/src/part && env ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} dialog.h + +.include "../../meta-pkgs/kde3/kde3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../x11/kdelibs3/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXt/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/filelight-kde3/PLIST b/sysutils/filelight-kde3/PLIST new file mode 100644 index 00000000000..5b6f5025a6d --- /dev/null +++ b/sysutils/filelight-kde3/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/20 05:37:49 markd Exp $ +bin/filelight +lib/kde3/libfilelight.la +share/icons/crystalsvg/32x32/actions/view_filelight.png +share/icons/hicolor/16x16/apps/filelight.png +share/icons/hicolor/22x22/apps/filelight.png +share/icons/hicolor/32x32/apps/filelight.png +share/icons/hicolor/48x48/apps/filelight.png +share/icons/hicolor/64x64/apps/filelight.png +share/applications/kde/filelight.desktop +share/kde/apps/filelight/filelight_partui.rc +share/kde/apps/filelight/filelightui.rc +share/kde/config/filelightrc +share/kde/services/filelight_part.desktop diff --git a/sysutils/filelight-kde3/distinfo b/sysutils/filelight-kde3/distinfo new file mode 100644 index 00000000000..f05a6ec65a0 --- /dev/null +++ b/sysutils/filelight-kde3/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/03/20 05:37:49 markd Exp $ + +SHA1 (filelight-1.0.tar.bz2) = 2a4644c598dfcc408af0af65e655e2525494708d +RMD160 (filelight-1.0.tar.bz2) = 67ce0deb03f14cc280f7471156c4f2a3135ebb5e +Size (filelight-1.0.tar.bz2) = 530449 bytes +SHA1 (patch-aa) = f068ff507d46c00a5ac6a941e3b5e564b3b9b3ff +SHA1 (patch-ab) = 36669e158ad403669adb803adf242fa64b7caa5d diff --git a/sysutils/filelight-kde3/patches/patch-aa b/sysutils/filelight-kde3/patches/patch-aa new file mode 100644 index 00000000000..be220544e44 --- /dev/null +++ b/sysutils/filelight-kde3/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2012/03/20 05:37:49 markd 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<Segment> 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; diff --git a/sysutils/filelight-kde3/patches/patch-ab b/sysutils/filelight-kde3/patches/patch-ab new file mode 100644 index 00000000000..127fd4d3f08 --- /dev/null +++ b/sysutils/filelight-kde3/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2012/03/20 05:37:50 markd Exp $ + +--- src/part/radialMap/sincos.h.orig 2001-08-06 01:00:00.000000000 +0200 ++++ src/part/radialMap/sincos.h 2007-10-17 11:06:22.000000000 +0200 +@@ -9,11 +9,11 @@ + #if !defined(__GLIBC__) || (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 1) + + void +- sincos( int angleRadians, double *Sin, double *Cos ); ++ sincos( double angleRadians, double *Sin, double *Cos ); + + #ifdef SINCOS_H_IMPLEMENTATION + void +- sincos( int angleRadians, double *Sin, double *Cos ) ++ sincos( double angleRadians, double *Sin, double *Cos ) + { + *Sin = sin( angleRadians ); + *Cos = cos( angleRadians ); |