diff options
author | clement <clement@FreeBSD.org> | 2004-01-18 16:36:32 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-18 16:36:32 +0000 |
commit | 5da002a8f261e1c6bb2f4e07b41a085140f2994c (patch) | |
tree | ab789ff014f4c71a15b992587a13b7f9be759c1f /sysutils/filelight/files | |
parent | c64bd007a66b25949b23b89a57a51123640fd84b (diff) | |
download | FreeBSD-ports-5da002a8f261e1c6bb2f4e07b41a085140f2994c.zip FreeBSD-ports-5da002a8f261e1c6bb2f4e07b41a085140f2994c.tar.gz |
- Update to 0.6.4
PR: 61343
Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> (maintainer)
Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'sysutils/filelight/files')
-rw-r--r-- | sysutils/filelight/files/patch-filelight::Makefile.in | 168 | ||||
-rw-r--r-- | sysutils/filelight/files/patch-filetree.cpp | 51 | ||||
-rw-r--r-- | sysutils/filelight/files/patch-scanmanager.cpp | 23 |
3 files changed, 23 insertions, 219 deletions
diff --git a/sysutils/filelight/files/patch-filelight::Makefile.in b/sysutils/filelight/files/patch-filelight::Makefile.in deleted file mode 100644 index 306f6c8..0000000 --- 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 b1d1ca5..0000000 --- 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 0000000..addb771 --- /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; |