aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/filelight-kde4/Makefile13
-rw-r--r--sysutils/filelight-kde4/distinfo2
-rw-r--r--sysutils/filelight-kde4/files/patch-filelight::Makefile.in168
-rw-r--r--sysutils/filelight-kde4/files/patch-filetree.cpp51
-rw-r--r--sysutils/filelight-kde4/files/patch-scanmanager.cpp23
-rw-r--r--sysutils/filelight-kde4/pkg-plist18
-rw-r--r--sysutils/filelight/Makefile13
-rw-r--r--sysutils/filelight/distinfo2
-rw-r--r--sysutils/filelight/files/patch-filelight::Makefile.in168
-rw-r--r--sysutils/filelight/files/patch-filetree.cpp51
-rw-r--r--sysutils/filelight/files/patch-scanmanager.cpp23
-rw-r--r--sysutils/filelight/pkg-plist18
12 files changed, 96 insertions, 454 deletions
diff --git a/sysutils/filelight-kde4/Makefile b/sysutils/filelight-kde4/Makefile
index 668c54f17bdf..4beecc81342d 100644
--- a/sysutils/filelight-kde4/Makefile
+++ b/sysutils/filelight-kde4/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= filelight
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.4
CATEGORIES= sysutils kde
MASTER_SITES= http://www.methylblue.com/filelight/
@@ -18,11 +18,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-patch:
- @${CP} ${FILESDIR}/mntent* ${WRKSRC}/filelight
- @${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
- ${CONFIGURE_WRKSRC}/configure
+ @${CP} ${FILESDIR}/mntent* ${WRKSRC}/src
+ @${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff --git a/sysutils/filelight-kde4/distinfo b/sysutils/filelight-kde4/distinfo
index 8a782fb01209..22e17fef6734 100644
--- a/sysutils/filelight-kde4/distinfo
+++ b/sysutils/filelight-kde4/distinfo
@@ -1 +1 @@
-MD5 (filelight-0.6.0.tar.gz) = 9d3a35ce1125aac971ba61fd5cc7bcd8
+MD5 (filelight-0.6.4.tar.gz) = a45ded39158a3de9762aae1a8333f768
diff --git a/sysutils/filelight-kde4/files/patch-filelight::Makefile.in b/sysutils/filelight-kde4/files/patch-filelight::Makefile.in
deleted file mode 100644
index 306f6c882c50..000000000000
--- a/sysutils/filelight-kde4/files/patch-filelight::Makefile.in
+++ /dev/null
@@ -1,168 +0,0 @@
---- filelight/Makefile.in.orig Fri Aug 29 17:42:18 2003
-+++ filelight/Makefile.in Fri Aug 29 20:42:07 2003
-@@ -239,12 +239,12 @@
- ####### kdevelop will overwrite this part!!! (begin)##########
- bin_PROGRAMS = filelight
-
--#>- filelight_SOURCES = settingsdlg.cpp settingsdialog.ui filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp
-+#>- filelight_SOURCES = settingsdlg.cpp settingsdialog.ui filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp
- #>+ 1
--filelight_SOURCES=settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp settingsdialog.cpp
-+filelight_SOURCES=settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp settingsdialog.cpp
- filelight_LDADD = $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
-
--EXTRA_DIST = main.cpp filelight.cpp filelight.h filelightcanvas.h filelightcanvas.cpp filetree.h filetree.cpp TODO CHANGELOG scanbox.h scanbox.cpp segmenttip.cpp segmenttip.h filemap.cpp filemap.h settingsdialog.ui settingsdlg.cpp settingsdlg.h
-+EXTRA_DIST = main.cpp filelight.cpp filelight.h filelightcanvas.h filelightcanvas.cpp filetree.h filetree.cpp TODO CHANGELOG scanbox.h scanbox.cpp segmenttip.cpp segmenttip.h filemap.cpp filemap.h settingsdialog.ui settingsdlg.cpp settingsdlg.h mntent_compat.cpp mntent.h
-
- ####### kdevelop will overwrite this part!!! (end)############
- # These paths are KDE specific. Use them:
-@@ -291,14 +291,16 @@
-
- am_filelight_OBJECTS = settingsdlg.$(OBJEXT) filemap.$(OBJEXT) \
- segmenttip.$(OBJEXT) scanbox.$(OBJEXT) filetree.$(OBJEXT) \
-- filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT)
-+ filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) \
-+ mntent_compat.$(OBJEXT)
- #>- filelight_OBJECTS = $(am_filelight_OBJECTS)
--#>+ 7
-+#>+ 8
- filelight_final_OBJECTS = filelight.all_cpp.o
- filelight_nofinal_OBJECTS = settingsdlg.$(OBJEXT) filemap.$(OBJEXT) \
- segmenttip.$(OBJEXT) scanbox.$(OBJEXT) filetree.$(OBJEXT) \
-- filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) settingsdialog.$(OBJEXT)\
--filelightcanvas.moc.o scanbox.moc.o segmenttip.moc.o filelight.moc.o settingsdlg.moc.o
-+ filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) \
-+ mntent_compat.$(OBJEXT) settingsdialog.$(OBJEXT)\
-+filelightcanvas.moc.o settingsdlg.moc.o segmenttip.moc.o filelight.moc.o scanbox.moc.o
- @KDE_USE_FINAL_FALSE@filelight_OBJECTS = $(filelight_nofinal_OBJECTS)
- @KDE_USE_FINAL_TRUE@filelight_OBJECTS = $(filelight_final_OBJECTS)
- filelight_DEPENDENCIES =
-@@ -309,21 +311,21 @@
- #>- @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/filelight.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--#>- @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--#>- @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+#>- @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+#>- @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
- #>+ 13
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/filelight.all_cpp.P ./$(DEPDIR)/filelight.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/filelight.all_cpp.P ./$(DEPDIR)/filelight.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/settingsdlg.moc.P ./$(DEPDIR)/filelight.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/scanbox.moc.P ./$(DEPDIR)/filelight.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
-
- #>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@@ -362,7 +364,7 @@
- #>+ 3
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu filelight/Makefile
-- cd $(top_srcdir) && perl admin/am_edit filelight-0.6.0/filelight/Makefile.in
-+ cd $(top_srcdir) && perl admin/am_edit filelight/Makefile.in
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
- binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-@@ -409,6 +411,7 @@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemap.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filetree.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mntent_compat.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanbox.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segmenttip.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/settingsdlg.Po@am__quote@
-@@ -532,7 +535,7 @@
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- #>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- #>+ 4
--KDE_DIST=filelight.desktop cr22-app-filelight.png filelight.xcf cr48-app-filelight.png cr64-app-filelight.png
-+KDE_DIST=cr64-app-filelight.png cr48-app-filelight.png cr22-app-filelight.png filelight.xcf filelight.desktop
-
- DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
-
-@@ -689,7 +692,6 @@
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
-
--
- #>+ 14
- settingsdialog.cpp: $(srcdir)/settingsdialog.ui settingsdialog.h settingsdialog.moc
- rm -f settingsdialog.cpp
-@@ -710,8 +712,8 @@
- $(MOC) $(srcdir)/filelightcanvas.h -o filelightcanvas.moc.cpp
-
- #>+ 3
--scanbox.moc.cpp: $(srcdir)/scanbox.h
-- $(MOC) $(srcdir)/scanbox.h -o scanbox.moc.cpp
-+settingsdlg.moc.cpp: $(srcdir)/settingsdlg.h
-+ $(MOC) $(srcdir)/settingsdlg.h -o settingsdlg.moc.cpp
-
- #>+ 3
- segmenttip.moc.cpp: $(srcdir)/segmenttip.h
-@@ -722,12 +724,12 @@
- $(MOC) $(srcdir)/filelight.h -o filelight.moc.cpp
-
- #>+ 3
--settingsdlg.moc.cpp: $(srcdir)/settingsdlg.h
-- $(MOC) $(srcdir)/settingsdlg.h -o settingsdlg.moc.cpp
-+scanbox.moc.cpp: $(srcdir)/scanbox.h
-+ $(MOC) $(srcdir)/scanbox.h -o scanbox.moc.cpp
-
- #>+ 3
- clean-metasources:
-- -rm -f filelightcanvas.moc.cpp scanbox.moc.cpp segmenttip.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp
-+ -rm -f filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp
-
- #>+ 4
- clean-ui:
-@@ -755,15 +757,15 @@
- force-reedit:
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu filelight/Makefile
-- cd $(top_srcdir) && perl admin/am_edit filelight-0.6.0/filelight/Makefile.in
-+ cd $(top_srcdir) && perl admin/am_edit filelight/Makefile.in
-
-
- #>+ 11
--filelight.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/settingsdlg.cpp $(srcdir)/filemap.cpp $(srcdir)/segmenttip.cpp $(srcdir)/scanbox.cpp $(srcdir)/filetree.cpp $(srcdir)/filelightcanvas.cpp $(srcdir)/filelight.cpp $(srcdir)/main.cpp $(srcdir)/settingsdialog.cpp segmenttip.moc.cpp scanbox.moc.cpp filelightcanvas.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp settingsdialog.moc
-+filelight.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/settingsdlg.cpp $(srcdir)/filemap.cpp $(srcdir)/segmenttip.cpp $(srcdir)/scanbox.cpp $(srcdir)/filetree.cpp $(srcdir)/filelightcanvas.cpp $(srcdir)/filelight.cpp $(srcdir)/main.cpp $(srcdir)/mntent_compat.cpp $(srcdir)/settingsdialog.cpp filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp settingsdialog.moc
- @echo 'creating filelight.all_cpp.cpp ...'; \
- rm -f filelight.all_cpp.files filelight.all_cpp.final; \
- echo "#define KDE_USE_FINAL 1" >> filelight.all_cpp.final; \
-- for file in settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp settingsdialog.cpp segmenttip.moc.cpp scanbox.moc.cpp filelightcanvas.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp ; do \
-+ for file in settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp settingsdialog.cpp filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp ; do \
- echo "#include \"$$file\"" >> filelight.all_cpp.files; \
- test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> filelight.all_cpp.final; \
- done; \
-@@ -794,12 +796,13 @@
- kde-rpo-clean:
- -rm -f *.rpo
-
--#>+ 9
--$(srcdir)/filelight.cpp: settingsdialog.h
--$(srcdir)/settingsdlg.cpp: settingsdialog.h
-+#>+ 10
- $(srcdir)/filetree.cpp: settingsdialog.h
--$(srcdir)/filemap.cpp: settingsdialog.h
--$(srcdir)/segmenttip.cpp: settingsdialog.h
-+$(srcdir)/filelight.cpp: settingsdialog.h
-+$(srcdir)/mntent_compat.cpp: settingsdialog.h
- $(srcdir)/scanbox.cpp: settingsdialog.h
-+$(srcdir)/segmenttip.cpp: settingsdialog.h
-+$(srcdir)/settingsdlg.cpp: settingsdialog.h
- $(srcdir)/main.cpp: settingsdialog.h
-+$(srcdir)/filemap.cpp: settingsdialog.h
- $(srcdir)/filelightcanvas.cpp: settingsdialog.h
diff --git a/sysutils/filelight-kde4/files/patch-filetree.cpp b/sysutils/filelight-kde4/files/patch-filetree.cpp
deleted file mode 100644
index b1d1ca544c81..000000000000
--- a/sysutils/filelight-kde4/files/patch-filetree.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
---- filelight/filetree.cpp.orig Fri Aug 29 18:06:32 2003
-+++ filelight/filetree.cpp Fri Aug 29 18:19:06 2003
-@@ -77,7 +77,7 @@
- }
-
-
--static int selector( struct dirent64 const *ent )
-+static int selector( struct dirent *ent )
- {
- if( (strcmp( ent->d_name, "." ) == 0) || (strcmp( ent->d_name, ".." ) == 0) )
- return 0;
-@@ -93,16 +93,16 @@
- if( m_haltScan ) return NULL;
-
- //the 64bit version lets us support more than 2GB files
-- struct dirent64 **eps;
-+ struct dirent **eps;
- int n;
-
-
-- n = scandir64( path, &eps, selector, /*alphasort*/ NULL );
-+ n = scandir( path, &eps, selector, /*alphasort*/ NULL );
-
- if( n >= 0 ) {
-
- char *new_path, *new_dirname;
-- struct stat64 statbuf;
-+ struct stat statbuf;
- unsigned char strlen_path = strlen( path ) + 2; //saves recalculations
- Directory *cwd = new Directory( dirname );
- Filesize dirsize = 0;
-@@ -121,7 +121,7 @@
- */
-
- //get some more detail about the file with lstat
-- lstat64( new_path, &statbuf );
-+ lstat( new_path, &statbuf );
- statbuf.st_size /= 1024; //using units of kB as 32bit max is 4GB and 64bit ints are expensive
-
- if( S_ISLNK( statbuf.st_mode ) )
-@@ -260,8 +260,9 @@
-
- #include <fstab.h>
- #include <mntent.h>
-+#ifndef __FreeBSD__
- #include <sys/statfs.h>
--
-+#endif
-
- #define INFO_PARTITIONS "/proc/partitions"
- #define INFO_MOUNTED_PARTITIONS "/etc/mtab" /* on Linux... */
diff --git a/sysutils/filelight-kde4/files/patch-scanmanager.cpp b/sysutils/filelight-kde4/files/patch-scanmanager.cpp
new file mode 100644
index 000000000000..addb7716d0af
--- /dev/null
+++ b/sysutils/filelight-kde4/files/patch-scanmanager.cpp
@@ -0,0 +1,23 @@
+--- src/scanmanager.cpp.orig Wed Jan 14 01:58:11 2004
++++ src/scanmanager.cpp Wed Jan 14 02:03:36 2004
+@@ -29,7 +29,11 @@
+ //readMounts()
+ #include <fstab.h>
+ #include <mntent.h>
++#ifdef __FreeBSD__
++#include "mntent_compat.cpp"
++#else
+ #include <sys/statfs.h>
++#endif
+
+ #include "scanmanager.h"
+ #include "filetree.h"
+@@ -359,7 +363,7 @@
+
+
+
+-static int selector( struct DIRENT const *ent )
++static int selector( struct DIRENT *ent )
+ {
+ if( strcmp( ent->d_name, "." ) == 0 || strcmp( ent->d_name, ".." ) == 0 )
+ return 0;
diff --git a/sysutils/filelight-kde4/pkg-plist b/sysutils/filelight-kde4/pkg-plist
index 9cff1581e8fd..7790585fffca 100644
--- a/sysutils/filelight-kde4/pkg-plist
+++ b/sysutils/filelight-kde4/pkg-plist
@@ -1,11 +1,26 @@
bin/filelight
share/applnk/Utilities/filelight.desktop
+share/apps/filelight/filelightui.rc
+share/config/filelightrc
share/doc/HTML/en/filelight/common
share/doc/HTML/en/filelight/index.cache.bz2
share/doc/HTML/en/filelight/index.docbook
share/icons/crystalsvg/22x22/apps/filelight.png
share/icons/crystalsvg/48x48/apps/filelight.png
share/icons/crystalsvg/64x64/apps/filelight.png
+share/locale/cy/LC_MESSAGES/filelight.mo
+share/locale/de/LC_MESSAGES/filelight.mo
+share/locale/nl/LC_MESSAGES/filelight.mo
+share/locale/ru/LC_MESSAGES/filelight.mo
+@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ru 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/cy/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/cy 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/64x64/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/64x64 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/48x48/apps 2>/dev/null || true
@@ -17,5 +32,8 @@ share/icons/crystalsvg/64x64/apps/filelight.png
@dirrm share/doc/HTML/en/filelight
@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
+@unexec rmdir %D/share/config 2>/dev/null || true
+@dirrm share/apps/filelight
+@unexec rmdir %D/share/apps 2>/dev/null || true
@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
@unexec rmdir %D/share/applnk 2>/dev/null || true
diff --git a/sysutils/filelight/Makefile b/sysutils/filelight/Makefile
index 668c54f17bdf..4beecc81342d 100644
--- a/sysutils/filelight/Makefile
+++ b/sysutils/filelight/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= filelight
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.4
CATEGORIES= sysutils kde
MASTER_SITES= http://www.methylblue.com/filelight/
@@ -18,11 +18,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-patch:
- @${CP} ${FILESDIR}/mntent* ${WRKSRC}/filelight
- @${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \
- ${CONFIGURE_WRKSRC}/configure
+ @${CP} ${FILESDIR}/mntent* ${WRKSRC}/src
+ @${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff --git a/sysutils/filelight/distinfo b/sysutils/filelight/distinfo
index 8a782fb01209..22e17fef6734 100644
--- a/sysutils/filelight/distinfo
+++ b/sysutils/filelight/distinfo
@@ -1 +1 @@
-MD5 (filelight-0.6.0.tar.gz) = 9d3a35ce1125aac971ba61fd5cc7bcd8
+MD5 (filelight-0.6.4.tar.gz) = a45ded39158a3de9762aae1a8333f768
diff --git a/sysutils/filelight/files/patch-filelight::Makefile.in b/sysutils/filelight/files/patch-filelight::Makefile.in
deleted file mode 100644
index 306f6c882c50..000000000000
--- a/sysutils/filelight/files/patch-filelight::Makefile.in
+++ /dev/null
@@ -1,168 +0,0 @@
---- filelight/Makefile.in.orig Fri Aug 29 17:42:18 2003
-+++ filelight/Makefile.in Fri Aug 29 20:42:07 2003
-@@ -239,12 +239,12 @@
- ####### kdevelop will overwrite this part!!! (begin)##########
- bin_PROGRAMS = filelight
-
--#>- filelight_SOURCES = settingsdlg.cpp settingsdialog.ui filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp
-+#>- filelight_SOURCES = settingsdlg.cpp settingsdialog.ui filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp
- #>+ 1
--filelight_SOURCES=settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp settingsdialog.cpp
-+filelight_SOURCES=settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp settingsdialog.cpp
- filelight_LDADD = $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
-
--EXTRA_DIST = main.cpp filelight.cpp filelight.h filelightcanvas.h filelightcanvas.cpp filetree.h filetree.cpp TODO CHANGELOG scanbox.h scanbox.cpp segmenttip.cpp segmenttip.h filemap.cpp filemap.h settingsdialog.ui settingsdlg.cpp settingsdlg.h
-+EXTRA_DIST = main.cpp filelight.cpp filelight.h filelightcanvas.h filelightcanvas.cpp filetree.h filetree.cpp TODO CHANGELOG scanbox.h scanbox.cpp segmenttip.cpp segmenttip.h filemap.cpp filemap.h settingsdialog.ui settingsdlg.cpp settingsdlg.h mntent_compat.cpp mntent.h
-
- ####### kdevelop will overwrite this part!!! (end)############
- # These paths are KDE specific. Use them:
-@@ -291,14 +291,16 @@
-
- am_filelight_OBJECTS = settingsdlg.$(OBJEXT) filemap.$(OBJEXT) \
- segmenttip.$(OBJEXT) scanbox.$(OBJEXT) filetree.$(OBJEXT) \
-- filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT)
-+ filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) \
-+ mntent_compat.$(OBJEXT)
- #>- filelight_OBJECTS = $(am_filelight_OBJECTS)
--#>+ 7
-+#>+ 8
- filelight_final_OBJECTS = filelight.all_cpp.o
- filelight_nofinal_OBJECTS = settingsdlg.$(OBJEXT) filemap.$(OBJEXT) \
- segmenttip.$(OBJEXT) scanbox.$(OBJEXT) filetree.$(OBJEXT) \
-- filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) settingsdialog.$(OBJEXT)\
--filelightcanvas.moc.o scanbox.moc.o segmenttip.moc.o filelight.moc.o settingsdlg.moc.o
-+ filelightcanvas.$(OBJEXT) filelight.$(OBJEXT) main.$(OBJEXT) \
-+ mntent_compat.$(OBJEXT) settingsdialog.$(OBJEXT)\
-+filelightcanvas.moc.o settingsdlg.moc.o segmenttip.moc.o filelight.moc.o scanbox.moc.o
- @KDE_USE_FINAL_FALSE@filelight_OBJECTS = $(filelight_nofinal_OBJECTS)
- @KDE_USE_FINAL_TRUE@filelight_OBJECTS = $(filelight_final_OBJECTS)
- filelight_DEPENDENCIES =
-@@ -309,21 +311,21 @@
- #>- @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/filelight.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--#>- @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--#>- @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+#>- @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+#>- @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- #>- @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
- #>+ 13
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/filelight.all_cpp.P ./$(DEPDIR)/filelight.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/filelight.all_cpp.P ./$(DEPDIR)/filelight.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/scanbox.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/settingsdlg.moc.P ./$(DEPDIR)/filelight.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/settingsdialog.P $(DEPDIR)/filelightcanvas.moc.P $(DEPDIR)/settingsdlg.moc.P $(DEPDIR)/segmenttip.moc.P $(DEPDIR)/filelight.moc.P $(DEPDIR)/scanbox.moc.P ./$(DEPDIR)/filelight.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/filelightcanvas.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/filemap.Po ./$(DEPDIR)/filetree.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/scanbox.Po \
--@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/segmenttip.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/mntent_compat.Po \
-+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/scanbox.Po ./$(DEPDIR)/segmenttip.Po \
- @AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/settingsdlg.Po
-
- #>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-@@ -362,7 +364,7 @@
- #>+ 3
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu filelight/Makefile
-- cd $(top_srcdir) && perl admin/am_edit filelight-0.6.0/filelight/Makefile.in
-+ cd $(top_srcdir) && perl admin/am_edit filelight/Makefile.in
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
- binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-@@ -409,6 +411,7 @@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemap.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filetree.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mntent_compat.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanbox.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segmenttip.Po@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/settingsdlg.Po@am__quote@
-@@ -532,7 +535,7 @@
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- #>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- #>+ 4
--KDE_DIST=filelight.desktop cr22-app-filelight.png filelight.xcf cr48-app-filelight.png cr64-app-filelight.png
-+KDE_DIST=cr64-app-filelight.png cr48-app-filelight.png cr22-app-filelight.png filelight.xcf filelight.desktop
-
- DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
-
-@@ -689,7 +692,6 @@
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
-
--
- #>+ 14
- settingsdialog.cpp: $(srcdir)/settingsdialog.ui settingsdialog.h settingsdialog.moc
- rm -f settingsdialog.cpp
-@@ -710,8 +712,8 @@
- $(MOC) $(srcdir)/filelightcanvas.h -o filelightcanvas.moc.cpp
-
- #>+ 3
--scanbox.moc.cpp: $(srcdir)/scanbox.h
-- $(MOC) $(srcdir)/scanbox.h -o scanbox.moc.cpp
-+settingsdlg.moc.cpp: $(srcdir)/settingsdlg.h
-+ $(MOC) $(srcdir)/settingsdlg.h -o settingsdlg.moc.cpp
-
- #>+ 3
- segmenttip.moc.cpp: $(srcdir)/segmenttip.h
-@@ -722,12 +724,12 @@
- $(MOC) $(srcdir)/filelight.h -o filelight.moc.cpp
-
- #>+ 3
--settingsdlg.moc.cpp: $(srcdir)/settingsdlg.h
-- $(MOC) $(srcdir)/settingsdlg.h -o settingsdlg.moc.cpp
-+scanbox.moc.cpp: $(srcdir)/scanbox.h
-+ $(MOC) $(srcdir)/scanbox.h -o scanbox.moc.cpp
-
- #>+ 3
- clean-metasources:
-- -rm -f filelightcanvas.moc.cpp scanbox.moc.cpp segmenttip.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp
-+ -rm -f filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp
-
- #>+ 4
- clean-ui:
-@@ -755,15 +757,15 @@
- force-reedit:
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu filelight/Makefile
-- cd $(top_srcdir) && perl admin/am_edit filelight-0.6.0/filelight/Makefile.in
-+ cd $(top_srcdir) && perl admin/am_edit filelight/Makefile.in
-
-
- #>+ 11
--filelight.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/settingsdlg.cpp $(srcdir)/filemap.cpp $(srcdir)/segmenttip.cpp $(srcdir)/scanbox.cpp $(srcdir)/filetree.cpp $(srcdir)/filelightcanvas.cpp $(srcdir)/filelight.cpp $(srcdir)/main.cpp $(srcdir)/settingsdialog.cpp segmenttip.moc.cpp scanbox.moc.cpp filelightcanvas.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp settingsdialog.moc
-+filelight.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/settingsdlg.cpp $(srcdir)/filemap.cpp $(srcdir)/segmenttip.cpp $(srcdir)/scanbox.cpp $(srcdir)/filetree.cpp $(srcdir)/filelightcanvas.cpp $(srcdir)/filelight.cpp $(srcdir)/main.cpp $(srcdir)/mntent_compat.cpp $(srcdir)/settingsdialog.cpp filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp settingsdialog.moc
- @echo 'creating filelight.all_cpp.cpp ...'; \
- rm -f filelight.all_cpp.files filelight.all_cpp.final; \
- echo "#define KDE_USE_FINAL 1" >> filelight.all_cpp.final; \
-- for file in settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp settingsdialog.cpp segmenttip.moc.cpp scanbox.moc.cpp filelightcanvas.moc.cpp filelight.moc.cpp settingsdlg.moc.cpp ; do \
-+ for file in settingsdlg.cpp filemap.cpp segmenttip.cpp scanbox.cpp filetree.cpp filelightcanvas.cpp filelight.cpp main.cpp mntent_compat.cpp settingsdialog.cpp filelightcanvas.moc.cpp settingsdlg.moc.cpp segmenttip.moc.cpp filelight.moc.cpp scanbox.moc.cpp ; do \
- echo "#include \"$$file\"" >> filelight.all_cpp.files; \
- test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> filelight.all_cpp.final; \
- done; \
-@@ -794,12 +796,13 @@
- kde-rpo-clean:
- -rm -f *.rpo
-
--#>+ 9
--$(srcdir)/filelight.cpp: settingsdialog.h
--$(srcdir)/settingsdlg.cpp: settingsdialog.h
-+#>+ 10
- $(srcdir)/filetree.cpp: settingsdialog.h
--$(srcdir)/filemap.cpp: settingsdialog.h
--$(srcdir)/segmenttip.cpp: settingsdialog.h
-+$(srcdir)/filelight.cpp: settingsdialog.h
-+$(srcdir)/mntent_compat.cpp: settingsdialog.h
- $(srcdir)/scanbox.cpp: settingsdialog.h
-+$(srcdir)/segmenttip.cpp: settingsdialog.h
-+$(srcdir)/settingsdlg.cpp: settingsdialog.h
- $(srcdir)/main.cpp: settingsdialog.h
-+$(srcdir)/filemap.cpp: settingsdialog.h
- $(srcdir)/filelightcanvas.cpp: settingsdialog.h
diff --git a/sysutils/filelight/files/patch-filetree.cpp b/sysutils/filelight/files/patch-filetree.cpp
deleted file mode 100644
index b1d1ca544c81..000000000000
--- a/sysutils/filelight/files/patch-filetree.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
---- filelight/filetree.cpp.orig Fri Aug 29 18:06:32 2003
-+++ filelight/filetree.cpp Fri Aug 29 18:19:06 2003
-@@ -77,7 +77,7 @@
- }
-
-
--static int selector( struct dirent64 const *ent )
-+static int selector( struct dirent *ent )
- {
- if( (strcmp( ent->d_name, "." ) == 0) || (strcmp( ent->d_name, ".." ) == 0) )
- return 0;
-@@ -93,16 +93,16 @@
- if( m_haltScan ) return NULL;
-
- //the 64bit version lets us support more than 2GB files
-- struct dirent64 **eps;
-+ struct dirent **eps;
- int n;
-
-
-- n = scandir64( path, &eps, selector, /*alphasort*/ NULL );
-+ n = scandir( path, &eps, selector, /*alphasort*/ NULL );
-
- if( n >= 0 ) {
-
- char *new_path, *new_dirname;
-- struct stat64 statbuf;
-+ struct stat statbuf;
- unsigned char strlen_path = strlen( path ) + 2; //saves recalculations
- Directory *cwd = new Directory( dirname );
- Filesize dirsize = 0;
-@@ -121,7 +121,7 @@
- */
-
- //get some more detail about the file with lstat
-- lstat64( new_path, &statbuf );
-+ lstat( new_path, &statbuf );
- statbuf.st_size /= 1024; //using units of kB as 32bit max is 4GB and 64bit ints are expensive
-
- if( S_ISLNK( statbuf.st_mode ) )
-@@ -260,8 +260,9 @@
-
- #include <fstab.h>
- #include <mntent.h>
-+#ifndef __FreeBSD__
- #include <sys/statfs.h>
--
-+#endif
-
- #define INFO_PARTITIONS "/proc/partitions"
- #define INFO_MOUNTED_PARTITIONS "/etc/mtab" /* on Linux... */
diff --git a/sysutils/filelight/files/patch-scanmanager.cpp b/sysutils/filelight/files/patch-scanmanager.cpp
new file mode 100644
index 000000000000..addb7716d0af
--- /dev/null
+++ b/sysutils/filelight/files/patch-scanmanager.cpp
@@ -0,0 +1,23 @@
+--- src/scanmanager.cpp.orig Wed Jan 14 01:58:11 2004
++++ src/scanmanager.cpp Wed Jan 14 02:03:36 2004
+@@ -29,7 +29,11 @@
+ //readMounts()
+ #include <fstab.h>
+ #include <mntent.h>
++#ifdef __FreeBSD__
++#include "mntent_compat.cpp"
++#else
+ #include <sys/statfs.h>
++#endif
+
+ #include "scanmanager.h"
+ #include "filetree.h"
+@@ -359,7 +363,7 @@
+
+
+
+-static int selector( struct DIRENT const *ent )
++static int selector( struct DIRENT *ent )
+ {
+ if( strcmp( ent->d_name, "." ) == 0 || strcmp( ent->d_name, ".." ) == 0 )
+ return 0;
diff --git a/sysutils/filelight/pkg-plist b/sysutils/filelight/pkg-plist
index 9cff1581e8fd..7790585fffca 100644
--- a/sysutils/filelight/pkg-plist
+++ b/sysutils/filelight/pkg-plist
@@ -1,11 +1,26 @@
bin/filelight
share/applnk/Utilities/filelight.desktop
+share/apps/filelight/filelightui.rc
+share/config/filelightrc
share/doc/HTML/en/filelight/common
share/doc/HTML/en/filelight/index.cache.bz2
share/doc/HTML/en/filelight/index.docbook
share/icons/crystalsvg/22x22/apps/filelight.png
share/icons/crystalsvg/48x48/apps/filelight.png
share/icons/crystalsvg/64x64/apps/filelight.png
+share/locale/cy/LC_MESSAGES/filelight.mo
+share/locale/de/LC_MESSAGES/filelight.mo
+share/locale/nl/LC_MESSAGES/filelight.mo
+share/locale/ru/LC_MESSAGES/filelight.mo
+@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ru 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/cy/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/cy 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/64x64/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/64x64 2>/dev/null || true
@unexec rmdir %D/share/icons/crystalsvg/48x48/apps 2>/dev/null || true
@@ -17,5 +32,8 @@ share/icons/crystalsvg/64x64/apps/filelight.png
@dirrm share/doc/HTML/en/filelight
@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
+@unexec rmdir %D/share/config 2>/dev/null || true
+@dirrm share/apps/filelight
+@unexec rmdir %D/share/apps 2>/dev/null || true
@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
@unexec rmdir %D/share/applnk 2>/dev/null || true