summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-10-07 21:04:48 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-10-07 21:04:48 +0000
commit168646bfebbd49bd3407a6b80aece41394e55e5c (patch)
treefc4d3f71da8ca6dac829e00fb1a0296ec293f17c /x11-fm
parentUpdate some "301 Moved Permanently" URL's. (diff)
Endeavour is a graphical file manager and image viewer
for X. It is aimed towards newer users who have a strong Windows background.
Notes
Notes: svn path=/head/; revision=22232
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/endeavour/Makefile26
-rw-r--r--x11-fm/endeavour/distinfo1
-rw-r--r--x11-fm/endeavour/files/patch-aa41
-rw-r--r--x11-fm/endeavour/files/patch-ab14
-rw-r--r--x11-fm/endeavour/files/patch-ac10
-rw-r--r--x11-fm/endeavour/files/patch-ad30
-rw-r--r--x11-fm/endeavour/files/patch-ae16
-rw-r--r--x11-fm/endeavour/files/patch-af10
-rw-r--r--x11-fm/endeavour/files/patch-ag11
-rw-r--r--x11-fm/endeavour/files/patch-ah10
-rw-r--r--x11-fm/endeavour/files/patch-ai10
-rw-r--r--x11-fm/endeavour/files/patch-aj20
-rw-r--r--x11-fm/endeavour/files/patch-ak10
-rw-r--r--x11-fm/endeavour/files/patch-al10
-rw-r--r--x11-fm/endeavour/files/patch-am10
-rw-r--r--x11-fm/endeavour/files/patch-an10
-rw-r--r--x11-fm/endeavour/pkg-comment1
-rw-r--r--x11-fm/endeavour/pkg-descr5
-rw-r--r--x11-fm/endeavour/pkg-plist1
19 files changed, 246 insertions, 0 deletions
diff --git a/x11-fm/endeavour/Makefile b/x11-fm/endeavour/Makefile
new file mode 100644
index 000000000000..13faae772812
--- /dev/null
+++ b/x11-fm/endeavour/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: endeavour
+# Version required: 1.05
+# Date created: 7 Oct 1999
+# Whom: Chris Piazza <cpiazza@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= endeavour1.05
+PKGNAME= endeavour-1.05
+CATEGORIES= x11-fm
+MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= cpiazza@FreeBSD.org
+
+LIB_DEPENDS= Imlib.4:${PORTSDIR}/graphics/imlib \
+ Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}/endeavour1.05/endeavour
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/endeavour ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11-fm/endeavour/distinfo b/x11-fm/endeavour/distinfo
new file mode 100644
index 000000000000..9b8ebe010555
--- /dev/null
+++ b/x11-fm/endeavour/distinfo
@@ -0,0 +1 @@
+MD5 (endeavour1.05.tgz) = fc45cca993e10aaf9fda54ff349c706e
diff --git a/x11-fm/endeavour/files/patch-aa b/x11-fm/endeavour/files/patch-aa
new file mode 100644
index 000000000000..6b8dd064ecdf
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-aa
@@ -0,0 +1,41 @@
+--- Makefile.orig Thu Oct 7 01:19:46 1999
++++ Makefile Thu Oct 7 13:52:49 1999
+@@ -15,9 +15,9 @@
+ # ########################################################################
+ # Libraries:
+ #
+-INC = -I/usr/include
+-LIB = -lImlib -lpng -ltiff -lgif -ljpeg -lXpm -lXext -lX11 -lz -lm
+-LIB_DIR = -L/usr/X11/lib
++INC = -I/usr/local/include -I/usr/X11R6/include
++LIB = `imlib-config --libs` -lXpm
++LIB_DIR = -L/usr/X11R6/lib -L/usr/local/lib
+
+
+ # ########################################################################
+@@ -37,14 +37,14 @@
+ # internal viewing of many graphics
+ # formats.
+ #
+-CFLAGS = -O2 -DUSE_XSHM -DUSE_IMLIB -D__USE_BSD -funroll-loops
++CFLAGS += -DUSE_XSHM -DUSE_IMLIB -D__USE_BSD -funroll-loops
+
+
+ # ########################################################################
+ # Program source and header files:
+ #
+
+-CC = gcc
++CC ?= gcc
+ BIN = endeavour
+ SRC = comfdialog.c cursor.c devrec.c dither.c disk.c drag.c edwalloc.c \
+ edwcb.c edwevent.c edwlist.c edwmacros.c edwselect.c fass.c \
+@@ -79,7 +79,7 @@
+ INSTMANFLAGS = -m 0444
+ INSTDATFLAGS = -m 0444
+
+-DIR_XBIN = /usr/X11/bin
++DIR_XBIN = /usr/X11R6/bin
+
+
+ # ########################################################################
diff --git a/x11-fm/endeavour/files/patch-ab b/x11-fm/endeavour/files/patch-ab
new file mode 100644
index 000000000000..c51ff121ff08
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ab
@@ -0,0 +1,14 @@
+--- devrec.c.orig Thu Oct 7 01:19:47 1999
++++ devrec.c Thu Oct 7 13:52:49 1999
+@@ -389,8 +389,9 @@
+ capacity_available = atol(strv[3]);
+
+ /* Calculate capacity percent. */
+- capacity_percent = (double)capacity_used /
+- (double)capacity_total * 100;
++ if ((double)capacity_total)
++ capacity_percent = (double)capacity_used /
++ (double)capacity_total * 100;
+
+ strncpy(path, strv[5], PATH_MAX + NAME_MAX);
+ path[PATH_MAX + NAME_MAX - 1] = '\0';
diff --git a/x11-fm/endeavour/files/patch-ac b/x11-fm/endeavour/files/patch-ac
new file mode 100644
index 000000000000..8848c11eb946
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ac
@@ -0,0 +1,10 @@
+--- disk.c.orig Thu Oct 7 01:19:46 1999
++++ disk.c Thu Oct 7 13:52:49 1999
+@@ -39,7 +39,6 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <ctype.h>
+ #include <fcntl.h>
diff --git a/x11-fm/endeavour/files/patch-ad b/x11-fm/endeavour/files/patch-ad
new file mode 100644
index 000000000000..9867669040f7
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ad
@@ -0,0 +1,30 @@
+--- endeavour.h.orig Thu Oct 7 01:19:46 1999
++++ endeavour.h Thu Oct 7 13:52:49 1999
+@@ -9,17 +9,16 @@
+
+
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <errno.h>
+ extern int errno;
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <time.h>
+ extern char *tzname[2];
+ #include <signal.h>
+-#include <asm/types.h>
+
+ #ifdef USE_IMLIB
+ #include "../include/Imlibosw.h"
+@@ -475,7 +474,7 @@
+
+ /* Stats. */
+ ino_t inode; /* Inode. */
+- umode_t mode; /* Mode/permissions/type. */
++ unsigned short mode; /* Mode/permissions/type. */
+
+ nlink_t nlink; /* Number of hard links. */
+ uid_t uid; /* User ID of owner */
diff --git a/x11-fm/endeavour/files/patch-ae b/x11-fm/endeavour/files/patch-ae
new file mode 100644
index 000000000000..295bcb81a15c
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ae
@@ -0,0 +1,16 @@
+--- fass.h.orig Thu Oct 7 01:19:46 1999
++++ fass.h Thu Oct 7 13:52:49 1999
+@@ -2,12 +2,10 @@
+ #define FASS_H
+
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <malloc.h>
+-
+-#include <sys/bitypes.h>
+
+ #ifdef __linux__
+ #include <linux/limits.h>
diff --git a/x11-fm/endeavour/files/patch-af b/x11-fm/endeavour/files/patch-af
new file mode 100644
index 000000000000..b9e825ede771
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-af
@@ -0,0 +1,10 @@
+--- id.h.orig Thu Oct 7 01:19:47 1999
++++ id.h Thu Oct 7 13:52:49 1999
+@@ -5,7 +5,6 @@
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <string.h>
+-#include <malloc.h>
+ #include <grp.h>
+ #include <pwd.h>
+ #include <sys/types.h>
diff --git a/x11-fm/endeavour/files/patch-ag b/x11-fm/endeavour/files/patch-ag
new file mode 100644
index 000000000000..56753d8650b8
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ag
@@ -0,0 +1,11 @@
+--- object.h.orig Thu Oct 7 01:19:47 1999
++++ object.h Thu Oct 7 13:52:49 1999
+@@ -11,7 +11,7 @@
+ char *link_dest; /* Destination if this is a symlink. */
+
+ ino_t inode; /* Inode. */
+- umode_t mode; /* Mode/permissions/type. */
++ unsigned short mode; /* Mode/permissions/type. */
+
+ nlink_t nlink; /* Number of hard links. */
+ uid_t uid; /* User ID of owner */
diff --git a/x11-fm/endeavour/files/patch-ah b/x11-fm/endeavour/files/patch-ah
new file mode 100644
index 000000000000..2024a9a1239d
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ah
@@ -0,0 +1,10 @@
+--- osw-x.c.orig Thu Oct 7 01:19:46 1999
++++ osw-x.c Thu Oct 7 13:52:49 1999
+@@ -271,7 +271,6 @@
+ */
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
diff --git a/x11-fm/endeavour/files/patch-ai b/x11-fm/endeavour/files/patch-ai
new file mode 100644
index 000000000000..fc611caf4028
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ai
@@ -0,0 +1,10 @@
+--- prochandle.c.orig Thu Oct 7 01:19:46 1999
++++ prochandle.c Thu Oct 7 13:52:49 1999
+@@ -29,7 +29,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <malloc.h>
+ #include <unistd.h>
+ #include <signal.h>
+
diff --git a/x11-fm/endeavour/files/patch-aj b/x11-fm/endeavour/files/patch-aj
new file mode 100644
index 000000000000..cc52e37ea5af
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-aj
@@ -0,0 +1,20 @@
+--- propdialog.c.orig Thu Oct 7 01:19:47 1999
++++ propdialog.c Thu Oct 7 13:52:49 1999
+@@ -457,7 +457,7 @@
+ {
+ int i, len;
+ int status;
+- umode_t mode;
++ unsigned short mode;
+ char stringa[1024];
+ char old_name[PATH_MAX + NAME_MAX];
+ char tmp_path[PATH_MAX + NAME_MAX];
+@@ -1388,7 +1388,7 @@
+ static win_attr_t wattr;
+ char stringa[1024];
+ static image_t *image, *image2;
+- static umode_t mode;
++ static unsigned short mode;
+
+
+ if(!IDC() ||
diff --git a/x11-fm/endeavour/files/patch-ak b/x11-fm/endeavour/files/patch-ak
new file mode 100644
index 000000000000..61d10ac52c72
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-ak
@@ -0,0 +1,10 @@
+--- recbin.h.orig Thu Oct 7 01:19:47 1999
++++ recbin.h Thu Oct 7 13:52:49 1999
+@@ -15,7 +15,6 @@
+ extern int errno;
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <time.h>
+ extern char *tzname[2];
diff --git a/x11-fm/endeavour/files/patch-al b/x11-fm/endeavour/files/patch-al
new file mode 100644
index 000000000000..cec8b0db530d
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-al
@@ -0,0 +1,10 @@
+--- string.c.orig Thu Oct 7 01:19:46 1999
++++ string.c Thu Oct 7 13:52:49 1999
+@@ -62,7 +62,6 @@
+
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
diff --git a/x11-fm/endeavour/files/patch-am b/x11-fm/endeavour/files/patch-am
new file mode 100644
index 000000000000..8d8b55a59b5b
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-am
@@ -0,0 +1,10 @@
+--- tga.c.orig Thu Oct 7 01:19:46 1999
++++ tga.c Thu Oct 7 13:52:49 1999
+@@ -48,7 +48,6 @@
+
+
+ #include <stdio.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <db.h>
+ #include <sys/types.h>
diff --git a/x11-fm/endeavour/files/patch-an b/x11-fm/endeavour/files/patch-an
new file mode 100644
index 000000000000..fbcb919f7fb5
--- /dev/null
+++ b/x11-fm/endeavour/files/patch-an
@@ -0,0 +1,10 @@
+--- wfbrowser.c.orig Thu Oct 7 01:19:46 1999
++++ wfbrowser.c Thu Oct 7 13:52:49 1999
+@@ -62,7 +62,6 @@
+
+ #include <stdio.h>
+ #include <string.h>
+-#include <malloc.h>
+ #include <fnmatch.h>
+ #include <sys/stat.h>
+
diff --git a/x11-fm/endeavour/pkg-comment b/x11-fm/endeavour/pkg-comment
new file mode 100644
index 000000000000..1305a95faf74
--- /dev/null
+++ b/x11-fm/endeavour/pkg-comment
@@ -0,0 +1 @@
+A graphical file manager and image viewer aimed towards new users
diff --git a/x11-fm/endeavour/pkg-descr b/x11-fm/endeavour/pkg-descr
new file mode 100644
index 000000000000..6519781fcd8b
--- /dev/null
+++ b/x11-fm/endeavour/pkg-descr
@@ -0,0 +1,5 @@
+Endeavour is a graphical file manager and image viewer
+for X. It is aimed towards newer users who have a strong
+Windows background.
+
+WWW: http://fox.mit.edu/xsw/edv.htm
diff --git a/x11-fm/endeavour/pkg-plist b/x11-fm/endeavour/pkg-plist
new file mode 100644
index 000000000000..f2d95c1e078f
--- /dev/null
+++ b/x11-fm/endeavour/pkg-plist
@@ -0,0 +1 @@
+bin/endeavour