Import filelight-1.0
Filelight creates an interactive map of concentric segmented-rings that helps visualise disk usage on your computer. It is like a pie-chart, but the segments nest, allowing you to see not only which directories take up all your space, but which directories and files inside those directories are the real culprits. thanks to steven@ for improving my pathetic patch... ok steven@
This commit is contained in:
parent
86fa2e1f78
commit
5a088944e1
45
sysutils/filelight/Makefile
Normal file
45
sysutils/filelight/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/22 15:29:38 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "concentric segmented-rings disk usage visualisation"
|
||||
|
||||
DISTNAME= filelight-1.0
|
||||
CATEGORIES= sysutils x11/kde
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://www.methylblue.com/filelight/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.methylblue.com/filelight/packages/
|
||||
|
||||
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xrender art_lgpl_2 c iconv \
|
||||
idn jpeg m png pthread stdc++ util z
|
||||
|
||||
MODULES= x11/kde
|
||||
LIB_DEPENDS= kdecore.>=7,DCOP,kdefx,kdesu,kdeui,kio,kparts,kwalletclient::x11/kde/libs3
|
||||
|
||||
PORTHOME= ${WRKDIR}
|
||||
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS+= --tag=disable-static
|
||||
USE_GMAKE= Yes
|
||||
MAKE_FLAGS= ${MODKDE_MAKE_FLAGS}
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= ${MODKDE_CONFIGURE_ENV}
|
||||
CONFIGURE_ARGS= ${MODKDE_CONFIGURE_ARGS}
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,-O2,,g' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/filelight/distinfo
Normal file
5
sysutils/filelight/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (filelight-1.0.tar.bz2) = qoheU+CfQOf903E5UUC5Vw==
|
||||
RMD160 (filelight-1.0.tar.bz2) = Z84N6wPxTMKA90cRVsTyoxNeu14=
|
||||
SHA1 (filelight-1.0.tar.bz2) = KkZExZjfzECK8K9l5lXiUlSUcI0=
|
||||
SHA256 (filelight-1.0.tar.bz2) = B0PUnmChsvp7VOzcE/sVx6b7FEFpuicrxWahgCLCRdY=
|
||||
SIZE (filelight-1.0.tar.bz2) = 530449
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_part_radialMap_segmentTip_cpp,v 1.1.1.1 2007/05/22 15:29:38 ajacoutot Exp $
|
||||
--- src/part/radialMap/segmentTip.cpp.orig Mon Aug 6 01:00:00 2001
|
||||
+++ src/part/radialMap/segmentTip.cpp Tue May 22 15:58:39 2007
|
||||
@@ -23,9 +23,11 @@ bool isBackingStoreActive()
|
||||
// # xdpyinfo | grep backing
|
||||
// options: backing-store YES, save-unders YES
|
||||
|
||||
- char buffer[4096];
|
||||
+ char buffer[8192];
|
||||
FILE *xdpyinfo = popen( "xdpyinfo", "r" );
|
||||
- int const N = fread( (void*)buffer, sizeof(char), 4096, xdpyinfo );
|
||||
+ int N = fread( (void*)buffer, sizeof(char), sizeof(buffer), xdpyinfo );
|
||||
+ if (N == sizeof(buffer))
|
||||
+ N--;
|
||||
buffer[ N ] = '\0';
|
||||
pclose( xdpyinfo );
|
||||
|
5
sysutils/filelight/pkg/DESCR
Normal file
5
sysutils/filelight/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Filelight creates an interactive map of concentric segmented-rings that
|
||||
helps visualise disk usage on your computer.
|
||||
It is like a pie-chart, but the segments nest, allowing you to see not
|
||||
only which directories take up all your space, but which directories and
|
||||
files inside those directories are the real culprits.
|
16
sysutils/filelight/pkg/PLIST
Normal file
16
sysutils/filelight/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/22 15:29:38 ajacoutot Exp $
|
||||
bin/filelight
|
||||
${KDE}/libfilelight.la
|
||||
${KDE}/libfilelight.so
|
||||
share/applications/kde/filelight.desktop
|
||||
share/apps/filelight/
|
||||
share/apps/filelight/filelight_partui.rc
|
||||
share/apps/filelight/filelightui.rc
|
||||
share/config/filelightrc
|
||||
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/services/filelight_part.desktop
|
Loading…
x
Reference in New Issue
Block a user