summaryrefslogtreecommitdiff
path: root/sysutils/fsviewer
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-14 10:38:11 +0000
committerwiz <wiz@pkgsrc.org>2001-03-14 10:38:11 +0000
commita87667b0d4d3cdde1d21ecd4d28b50517c140fa5 (patch)
tree9624d9721df3992683434b63cc63db2ebe648828 /sysutils/fsviewer
parent1b3a25892537d738f4de0d2f157930607e44d6c7 (diff)
downloadpkgsrc-a87667b0d4d3cdde1d21ecd4d28b50517c140fa5.tar.gz
Initial import of fsviewer, a NextStep-like Filemanager for WindowMaker.
Based on two packages provided by John A. Maier in pkg/8356.
Diffstat (limited to 'sysutils/fsviewer')
-rw-r--r--sysutils/fsviewer/Makefile31
-rw-r--r--sysutils/fsviewer/files/md54
-rw-r--r--sysutils/fsviewer/files/patch-sum6
-rw-r--r--sysutils/fsviewer/patches/patch-aa17
-rw-r--r--sysutils/fsviewer/patches/patch-ab19
-rw-r--r--sysutils/fsviewer/patches/patch-ac21
-rw-r--r--sysutils/fsviewer/patches/patch-ad41
-rw-r--r--sysutils/fsviewer/pkg/DESCR3
-rw-r--r--sysutils/fsviewer/pkg/PLIST163
9 files changed, 305 insertions, 0 deletions
diff --git a/sysutils/fsviewer/Makefile b/sysutils/fsviewer/Makefile
new file mode 100644
index 00000000000..d65c8c76d10
--- /dev/null
+++ b/sysutils/fsviewer/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+#
+
+DISTNAME= FSViewer.app-0.2.3
+PKGNAME= FSViewer-0.2.3
+CATEGORIES= sysutils x11
+MASTER_SITES= http://www.csn.ul.ie/~clernong/download/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} icons.tar.gz
+
+MAINTAINER= johnam@mail.kemper.org
+HOMEPAGE= http://www.csn.ul.ie/~clernong/projects/fsviewer.html
+COMMENT= NextStep-like Filemanager for WindowMaker
+
+DEPENDS+= windowmaker>=0.64.0:../../wm/windowmaker
+
+DIST_SUBDIR= fsviewer
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+# needed for the new location of WINGs include files -- can be removed
+# when the application gets updated for windowmaker>=0.64.0
+CFLAGS+= -I${X11BASE}/include/WINGs
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+post-install:
+ cd ${PREFIX}/GNUstep/Apps/FSViewer.app && \
+ ${PAX} -zrf ${_DISTDIR}${DISTSUBDIR}/icons.tar.gz *.xpm *.tif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/fsviewer/files/md5 b/sysutils/fsviewer/files/md5
new file mode 100644
index 00000000000..9e7ffdbd0af
--- /dev/null
+++ b/sysutils/fsviewer/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+SHA1 (fsviewer/FSViewer.app-0.2.3.tar.gz) = 2322d2443a7505748d5b452d366d6881c7a81110
+SHA1 (fsviewer/icons.tar.gz) = 3553149133abebf526ba38795a07fa4d48fc6827
diff --git a/sysutils/fsviewer/files/patch-sum b/sysutils/fsviewer/files/patch-sum
new file mode 100644
index 00000000000..23b18b067f1
--- /dev/null
+++ b/sysutils/fsviewer/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+SHA1 (patch-aa) = 32f1bc29dc57922b716a360c208be22a4c7aba54
+SHA1 (patch-ab) = 45ba0a57aff86cdbe95c46584597fbc0bd6961cc
+SHA1 (patch-ac) = df943e9b52f4cb00db6021c8a5bae73872f57cf8
+SHA1 (patch-ad) = 182921d8361198ac9c377333ebad93ca9356ca06
diff --git a/sysutils/fsviewer/patches/patch-aa b/sysutils/fsviewer/patches/patch-aa
new file mode 100644
index 00000000000..4733e685d84
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+--- src/DnD.c.orig Sat Oct 9 20:45:23 1999
++++ src/DnD.c
+@@ -21,8 +21,11 @@
+ #include <X11/cursorfont.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifndef __NetBSD__
+ #include <values.h>
+-
++#else
++#define MAXINT 32
++#endif
+ #include "DnD.h"
+
+ /* #define DEBUG */
diff --git a/sysutils/fsviewer/patches/patch-ab b/sysutils/fsviewer/patches/patch-ab
new file mode 100644
index 00000000000..394fd317f88
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+--- src/FSFileView.c.orig Sat Oct 9 20:45:21 1999
++++ src/FSFileView.c
+@@ -397,10 +397,10 @@
+ if ((fView->primary))
+ {
+ memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
+- attributes.window_style = (NSTitledWindowMask |
+- NSMiniaturizableWindowMask |
+- NSResizableWindowMask);
+- attributes.window_level = NSNormalWindowLevel;
++ attributes.window_style = (WMTitledWindowMask |
++ WMMiniaturizableWindowMask |
++ WMResizableWindowMask);
++ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
+ GSExtraFlagsAttr);
diff --git a/sysutils/fsviewer/patches/patch-ac b/sysutils/fsviewer/patches/patch-ac
new file mode 100644
index 00000000000..13c2cd9d7f2
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+--- src/FSFinder.c.orig Sat Oct 9 20:45:24 1999
++++ src/FSFinder.c
+@@ -138,11 +138,11 @@
+ }
+
+ memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
+- attributes.window_style = (NSTitledWindowMask |
+- NSMiniaturizableWindowMask |
+- NSClosableWindowMask |
+- NSResizableWindowMask);
+- attributes.window_level = NSNormalWindowLevel;
++ attributes.window_style = (WMTitledWindowMask |
++ WMMiniaturizableWindowMask |
++ WMClosableWindowMask |
++ WMResizableWindowMask);
++ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags = (GSWindowStyleAttr | GSWindowLevelAttr |
+ GSExtraFlagsAttr);
diff --git a/sysutils/fsviewer/patches/patch-ad b/sysutils/fsviewer/patches/patch-ad
new file mode 100644
index 00000000000..b1895e774b8
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ad
@@ -0,0 +1,41 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+
+--- src/FSViewer.c.orig Sat Oct 9 20:45:22 1999
++++ src/FSViewer.c
+@@ -127,8 +127,8 @@
+ }
+
+ memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
+- attributes.window_style = (NSTitledWindowMask | NSClosableWindowMask);
+- attributes.window_level = NSFloatingWindowLevel;
++ attributes.window_style = (WMTitledWindowMask | WMClosableWindowMask);
++ attributes.window_level = WMFloatingWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+ (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
+@@ -153,10 +153,10 @@
+ }
+
+ memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
+- attributes.window_style = (NSTitledWindowMask |
+- NSClosableWindowMask |
+- NSMiniaturizableWindowMask);
+- attributes.window_level = NSNormalWindowLevel;
++ attributes.window_style = (WMTitledWindowMask |
++ WMClosableWindowMask |
++ WMMiniaturizableWindowMask);
++ attributes.window_level = WMNormalWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+ (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
+@@ -182,8 +182,8 @@
+ // This is horrible: there must be a better way?
+ XStoreName(fsViewer->dpy, window, " ");
+ memset((void *) &attributes, 0, sizeof(GNUstepWMAttributes));
+- attributes.window_style = (NSTitledWindowMask);
+- attributes.window_level = NSFloatingWindowLevel;
++ attributes.window_style = (WMTitledWindowMask);
++ attributes.window_level = WMFloatingWindowLevel;
+ attributes.extra_flags = GSFullKeyboardEventsFlag;
+ attributes.flags =
+ (GSWindowStyleAttr | GSWindowLevelAttr | GSExtraFlagsAttr);
diff --git a/sysutils/fsviewer/pkg/DESCR b/sysutils/fsviewer/pkg/DESCR
new file mode 100644
index 00000000000..df72e81543b
--- /dev/null
+++ b/sysutils/fsviewer/pkg/DESCR
@@ -0,0 +1,3 @@
+FSViewer is a NeXT FileViewer lookalike for Window Maker. Viewing is currently
+supported via browser mode and list mode. It has been written in C using the
+WINGs library.
diff --git a/sysutils/fsviewer/pkg/PLIST b/sysutils/fsviewer/pkg/PLIST
new file mode 100644
index 00000000000..b263c4b5b78
--- /dev/null
+++ b/sysutils/fsviewer/pkg/PLIST
@@ -0,0 +1,163 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/14 10:38:11 wiz Exp $
+GNUstep/Apps/FSViewer.app/FSViewer
+GNUstep/Apps/FSViewer.app/MagicFiles
+GNUstep/Apps/FSViewer.app/tiff/FSViewer.tif
+GNUstep/Apps/FSViewer.app/tiff/exec-link.tif
+GNUstep/Apps/FSViewer.app/tiff/file-core.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-a.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-aiff.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-au.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-avi.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-bz2.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-c.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-cc.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-class.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-conf.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-cpp.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-dat.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-deb.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-eps.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-f90.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-fig.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-for.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-gif.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-gz.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-h.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-html.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-jar.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-java.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-jpg.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-m.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-mov.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-mp3.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-mpg.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-o.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-pdf.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-pedro.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-pl.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-png.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-ps.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-py.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-rc.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-rpm.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-sh.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-shar.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-so.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-tar.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-tcl.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-tex.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-texi.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-tga.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-tif.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-txt.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-wav.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-xbm.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-xcf.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-xpm.tif
+GNUstep/Apps/FSViewer.app/tiff/file-dot-zip.tif
+GNUstep/Apps/FSViewer.app/tiff/file-executable.tif
+GNUstep/Apps/FSViewer.app/tiff/file-generic-gnustep.tif
+GNUstep/Apps/FSViewer.app/tiff/file-generic-text.tif
+GNUstep/Apps/FSViewer.app/tiff/file-link.tif
+GNUstep/Apps/FSViewer.app/tiff/file-makefile.tif
+GNUstep/Apps/FSViewer.app/tiff/file-plain.tif
+GNUstep/Apps/FSViewer.app/tiff/file-readme.tif
+GNUstep/Apps/FSViewer.app/tiff/folder-link.tif
+GNUstep/Apps/FSViewer.app/tiff/folder.tif
+GNUstep/Apps/FSViewer.app/tiff/fullfolder.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-coding.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-conf.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-config.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-library.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-sound.tif
+GNUstep/Apps/FSViewer.app/tiff/generic-text.tif
+GNUstep/Apps/FSViewer.app/tiff/home.tif
+GNUstep/Apps/FSViewer.app/tiff/mycomputer.tif
+GNUstep/Apps/FSViewer.app/tiff/neighbour.tif
+GNUstep/Apps/FSViewer.app/xpm/FSViewer.xpm
+GNUstep/Apps/FSViewer.app/xpm/FSViewer2.xpm
+GNUstep/Apps/FSViewer.app/xpm/Folder.xpm
+GNUstep/Apps/FSViewer.app/xpm/arrow.xpm
+GNUstep/Apps/FSViewer.app/xpm/clk.xpm
+GNUstep/Apps/FSViewer.app/xpm/date.xpm
+GNUstep/Apps/FSViewer.app/xpm/exec-link.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-core.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-a.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-aiff.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-au.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-avi.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-bz2.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-c.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-cc.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-class.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-conf.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-cpp.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-dat.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-deb.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-eps.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-f90.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-fig.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-for.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-gif.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-gz.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-h.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-html.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-jar.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-java.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-jpg.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-m.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-mov.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-mp3.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-mpg.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-o.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-pdf.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-pedro.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-pl.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-png.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-ps.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-py.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-rc.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-rpm.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-sh.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-shar.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-so.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-tar.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-tcl.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-tex.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-texi.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-tga.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-txt.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-wav.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-xbm.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-xcf.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-xpm.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-dot-zip.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-executable.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-generic-gnustep.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-link.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-makefile.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-plain.xpm
+GNUstep/Apps/FSViewer.app/xpm/file-readme.xpm
+GNUstep/Apps/FSViewer.app/xpm/file_plain.xpm
+GNUstep/Apps/FSViewer.app/xpm/folder-link.xpm
+GNUstep/Apps/FSViewer.app/xpm/folder.xpm
+GNUstep/Apps/FSViewer.app/xpm/full-folder.xpm
+GNUstep/Apps/FSViewer.app/xpm/generic-coding.xpm
+GNUstep/Apps/FSViewer.app/xpm/generic-conf.xpm
+GNUstep/Apps/FSViewer.app/xpm/generic-library.xpm
+GNUstep/Apps/FSViewer.app/xpm/generic-sound.xpm
+GNUstep/Apps/FSViewer.app/xpm/generic-text.xpm
+GNUstep/Apps/FSViewer.app/xpm/home.xpm
+GNUstep/Apps/FSViewer.app/xpm/led.xpm
+GNUstep/Apps/FSViewer.app/xpm/month.xpm
+GNUstep/Apps/FSViewer.app/xpm/mycomputer.xpm
+GNUstep/Apps/FSViewer.app/xpm/neighbour.xpm
+GNUstep/Apps/FSViewer.app/xpm/penguin.xpm
+GNUstep/Apps/FSViewer.app/xpm/weekday.xpm
+GNUstep/Apps/FSViewer.app/xpm/wmanalog.xpm
+GNUstep/Apps/FSViewer.app/xpm/wmdigital.xpm
+GNUstep/Apps/FSViewer.app/xpm/wmtime.xpm
+GNUstep/Apps/FSViewer.app/xpm/year.xpm
+@dirrm GNUstep/Apps/FSViewer.app/xpm
+@dirrm GNUstep/Apps/FSViewer.app/tiff
+@dirrm GNUstep/Apps/FSViewer.app