summaryrefslogtreecommitdiff
path: root/x11-fm/jafm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-24 11:48:15 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-24 11:48:15 +0000
commit4d6de4bdaec9bee45682b2c015f06b39caa054da (patch)
treea04cb5503eb4b230d26d96020711a347fb464a67 /x11-fm/jafm
parentAdd back peq, which was prematurely removed by will (diff)
Add back jafm which was prematurely removed by will, but mark it BROKEN
because it doesn't build with recent versions of bison.
Notes
Notes: svn path=/head/; revision=59886
Diffstat (limited to 'x11-fm/jafm')
-rw-r--r--x11-fm/jafm/Makefile26
-rw-r--r--x11-fm/jafm/distinfo1
-rw-r--r--x11-fm/jafm/files/patch-aa82
-rw-r--r--x11-fm/jafm/files/patch-ab11
-rw-r--r--x11-fm/jafm/files/patch-ac21
-rw-r--r--x11-fm/jafm/files/patch-ad37
-rw-r--r--x11-fm/jafm/files/patch-ae20
-rw-r--r--x11-fm/jafm/files/patch-af11
-rw-r--r--x11-fm/jafm/pkg-comment1
-rw-r--r--x11-fm/jafm/pkg-descr8
-rw-r--r--x11-fm/jafm/pkg-plist30
11 files changed, 248 insertions, 0 deletions
diff --git a/x11-fm/jafm/Makefile b/x11-fm/jafm/Makefile
new file mode 100644
index 000000000000..080a29630024
--- /dev/null
+++ b/x11-fm/jafm/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: jafm
+# Date created: 31 August 1998
+# Whom: brett@peloton.physics.montana.edu
+#
+# $FreeBSD$
+#
+
+PORTNAME= jafm
+PORTVERSION= 0.5
+CATEGORIES= x11-fm
+MASTER_SITES= http://www-personal.usyd.edu.au/~rlittlew/jafm/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= X11/desktop
+
+MAINTAINER= brett@peloton.runet.edu
+
+BROKEN= "Does not build"
+
+USE_QT_VER= 1
+USE_BISON= yes
+MAKE_ENV= Cxx="${CXX}" CxxFLAGS="${CXXFLAGS}"
+ALL_TARGET= jafm
+
+MAN8= jafm.8
+
+.include <bsd.port.mk>
diff --git a/x11-fm/jafm/distinfo b/x11-fm/jafm/distinfo
new file mode 100644
index 000000000000..715092d05517
--- /dev/null
+++ b/x11-fm/jafm/distinfo
@@ -0,0 +1 @@
+MD5 (jafm-0.5.tar.gz) = d8e4ea0a5f999c5635c637aa49440df5
diff --git a/x11-fm/jafm/files/patch-aa b/x11-fm/jafm/files/patch-aa
new file mode 100644
index 000000000000..38290a48b53c
--- /dev/null
+++ b/x11-fm/jafm/files/patch-aa
@@ -0,0 +1,82 @@
+--- Makefile.orig Thu Oct 23 21:44:05 1997
++++ Makefile Fri May 24 04:44:50 2002
+@@ -5,12 +5,13 @@
+ # requires GNU make
+
+
+-INSTALLDIR=/usr/local
++INSTALLDIR=${PREFIX}
+ #INSTALLDIR=/nb/rupert
+
+-JAFMDIR=$(INSTALLDIR)/lib/jafm
++JAFMDIR=$(INSTALLDIR)/share/jafm
+ ZICDIR=$(JAFMDIR)/zic
+ APPLDIR=$(JAFMDIR)/appl
++QTDIR=${X11BASE}
+
+
+ .SUFFIXES: .cc .o .cc.o
+@@ -26,15 +27,15 @@
+ M%.cc: %.hh
+ $(MOC) $< -o $@
+
+-CC = gcc
+-MOC = ${QTDIR}/bin/moc
+-Cxx =g++
+-
+-INCFLAGS=-I${QTDIR}/include
+-CxxFLAGS= -Wall #-pipe
+-CFLAGS= -Wall #-pipe
+-OPT=-g
+-DEFINES=
++CC ?= gcc
++MOC = ${QTDIR}/bin/moc1
++Cxx ?= g++
++
++INCFLAGS = -I${QTDIR}/include/X11/qt1 -I${QTDIR}/include
++CxxFLAGS ?= -Wall #-pipe
++CFLAGS ?= -Wall #-pipe
++#OPT = -g
++#DEFINES =
+ # FILES
+
+ HEADERS= iconview.hh menus.hh icon.hh dirbar.hh icondesk.hh deskicon.hh
+@@ -50,28 +51,21 @@
+
+ MOBJS= Miconview.o Mmenus.o Micon.o Mdirbar.o Micondesk.o Msfm.o Mdeskicon.o
+
+-LIBDIR=-L${QTDIR}/lib -L/usr/X11/lib
++LIBDIR=-L${QTDIR}/lib
+
+ jafm : $(OBJS) $(MOBJS)
+- $(Cxx) $(CxxLFAGS) -o jafm $(OBJS) $(MOBJS) $(LIBDIR) -lqt -lX11 -lXext
++ $(Cxx) $(CxxLFAGS) -o jafm $(OBJS) $(MOBJS) $(LIBDIR) -lqt1 -lX11 -lXext
+
+ # must do this properly next time...
+ install: jafm
+- mkdir -p -m 755 $(JAFMDIR)
+- mkdir -p -m 755 $(INSTALLDIR)/bin
+- mkdir -p -m 755 $(APPLDIR)
+- mkdir -p -m 755 $(ZICDIR)
+- cp system.jafmrules $(JAFMDIR)/system.jafmrules
+- chmod 755 $(JAFMDIR)/system.jafmrules
+- cp jafm $(INSTALLDIR)/bin/jafm
+- chmod 755 $(INSTALLDIR)/bin/jafm
+- cp zic/*.zic $(ZICDIR)
+- chmod 644 $(ZICDIR)/*
+- cp appl/* $(APPLDIR)
+- chmod 644 $(APPLDIR)/*
+- mkdir -p -m 755 $(INSTALLDIR)/man/man8
+- cp jafm.8 $(INSTALLDIR)/man/man8
+- chmod 644 $(INSTALLDIR)/man/man8/jafm.8
++ mkdir -p $(JAFMDIR)
++ mkdir -p $(APPLDIR)
++ mkdir -p $(ZICDIR)
++ ${BSD_INSTALL_DATA} system.jafmrules $(JAFMDIR)/system.jafmrules
++ ${BSD_INSTALL_PROGRAM} jafm $(INSTALLDIR)/bin/jafm
++ ${BSD_INSTALL_DATA} zic/*.zic $(ZICDIR)
++ ${BSD_INSTALL_DATA} appl/* $(APPLDIR)
++ ${BSD_INSTALL_MAN} jafm.8 $(INSTALLDIR)/man/man8
+
+ dep: $(MSOURCES)
+ makedepend -I. -I$(QTDIR)/include $(SOURCES) $(MSOURCES) >/dev/null 2>&1
diff --git a/x11-fm/jafm/files/patch-ab b/x11-fm/jafm/files/patch-ab
new file mode 100644
index 000000000000..e3db750d4a1f
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ab
@@ -0,0 +1,11 @@
+--- icon.cc.orig Sat Feb 26 19:38:06 2000
++++ icon.cc Sat Feb 26 19:38:17 2000
+@@ -914,7 +914,7 @@
+ instructions = 0 ;
+ realSize = 0 ;
+
+- static bug = 0 ;
++ static int bug = 0 ;
+
+ // okay, parse the file
+ // error checking is s.e.p.
diff --git a/x11-fm/jafm/files/patch-ac b/x11-fm/jafm/files/patch-ac
new file mode 100644
index 000000000000..fdd0b05927a6
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ac
@@ -0,0 +1,21 @@
+--- zicon.y.orig Wed Sep 24 00:09:52 1997
++++ zicon.y Sat Feb 26 19:51:35 2000
+@@ -3,6 +3,7 @@
+ /* we pass a pointer to the painter into the */
+ #define YYPARSE_PARAM p
+
++#include <stdlib.h>
+ #include "icon.hh"
+
+ #define PROGRAM ((IconProgram *)p)
+@@ -13,6 +14,10 @@
+ int bufAlloc = 160 ;
+ short int *buffer = new short int[bufAlloc] ;
+
++extern int yyerror(char *);
++extern "C" {
++ extern int yylex(void);
++};
+
+ %}
+
diff --git a/x11-fm/jafm/files/patch-ad b/x11-fm/jafm/files/patch-ad
new file mode 100644
index 000000000000..b943d62fa800
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ad
@@ -0,0 +1,37 @@
+--- icondesk.cc.orig Sat Feb 26 19:43:45 2000
++++ icondesk.cc Sat Feb 26 19:45:22 2000
+@@ -29,6 +29,7 @@
+ #include <iostream.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <ctype.h>
+ #include <errno.h>
+ #include <dirent.h>
+
+@@ -526,7 +527,7 @@
+ it.current()->set_embossed (false) ;
+ }
+
+- dragDropIcon->drag_drop_action (dic_list) ; // do it
++ dragDropIcon->drag_drop_action ((QListT<DeskIcon> &)dic_list) ; // do it
+ unHighlightDragDrop () ;
+
+ emit signal_refresh () ; // unnecessary, but can make things look zippier
+@@ -831,7 +832,7 @@
+ // ok, now has a file been added?
+
+ dir_pointer = opendir (".") ;
+- while (dp = readdir (dir_pointer)) {
++ while ((dp = readdir (dir_pointer))) {
+ if (!strcmp (".", dp->d_name) ||
+ !strcmp ("..", dp->d_name))
+ continue ;
+@@ -925,7 +926,7 @@
+ QListIterator<Icon> it (*icon_list) ;
+ for ( ; it.current() ; ++it) {
+ if (it.current()->get_label() == f.fileName()) {
+- it.current()->new_file_info (newf) ;
++ it.current()->new_file_info ((QFileInfo &)newf) ;
+ single_repaint (it.current()) ;
+ return ;
+ }
diff --git a/x11-fm/jafm/files/patch-ae b/x11-fm/jafm/files/patch-ae
new file mode 100644
index 000000000000..2693a1d83e4c
--- /dev/null
+++ b/x11-fm/jafm/files/patch-ae
@@ -0,0 +1,20 @@
+--- deskicon.cc.orig Sat Feb 26 19:45:43 2000
++++ deskicon.cc Sat Feb 26 19:46:48 2000
+@@ -90,7 +90,7 @@
+ ShapeSet) ;
+ // setGeometry (icon->rect()) ; // Qt doesn't know we used XShape!
+ // make room for label
+- QRect *r = &icon->get_label_rect () ;
++ QRect *r = (QRect *)&icon->get_label_rect () ;
+ QBitmap bm (r->width(), r->height()) ;
+ QPainter p (&bm) ;
+ p.fillRect (0,0,r->width(),r->height(), color1) ;
+@@ -177,7 +177,7 @@
+ {
+ // if WId is us, act accordingly
+ if (winId() == w) {
+- icon->drag_drop_action (diList) ;
++ icon->drag_drop_action ((QListT<DeskIcon> &)diList) ;
+ icon->set_drag_drop (false) ;
+ repaint () ;
+ }
diff --git a/x11-fm/jafm/files/patch-af b/x11-fm/jafm/files/patch-af
new file mode 100644
index 000000000000..cfe921532620
--- /dev/null
+++ b/x11-fm/jafm/files/patch-af
@@ -0,0 +1,11 @@
+--- sfm.hh.orig Sat Feb 26 19:36:10 2000
++++ sfm.hh Sat Feb 26 19:48:53 2000
+@@ -59,7 +59,7 @@
+
+ void slot_refresh () ;
+
+- void dragPointAt (const QPoint &p, const QList<DeskIcon> & =0) ;
++ void dragPointAt (const QPoint &p, const QList<DeskIcon> &) ;
+ void dragDropRelease (const QPoint &, const QList<DeskIcon> &) ;
+
+ } ;
diff --git a/x11-fm/jafm/pkg-comment b/x11-fm/jafm/pkg-comment
new file mode 100644
index 000000000000..d5f31a110b80
--- /dev/null
+++ b/x11-fm/jafm/pkg-comment
@@ -0,0 +1 @@
+Yet another file manager!
diff --git a/x11-fm/jafm/pkg-descr b/x11-fm/jafm/pkg-descr
new file mode 100644
index 000000000000..3bb18f3fc140
--- /dev/null
+++ b/x11-fm/jafm/pkg-descr
@@ -0,0 +1,8 @@
+This is not Just Another File Manager! jafm supports drag and drop
+amongst itself and onto the desktop. Right now it uses qt, but the
+author is now in the process of converting it to gtk.
+
+WWW: http://www-personal.usyd.edu.au/~rlittlew/jafm/
+
+Brett Taylor
+brett@peloton.physics.montana.edu
diff --git a/x11-fm/jafm/pkg-plist b/x11-fm/jafm/pkg-plist
new file mode 100644
index 000000000000..467592743bed
--- /dev/null
+++ b/x11-fm/jafm/pkg-plist
@@ -0,0 +1,30 @@
+bin/jafm
+share/jafm/appl/Applications
+share/jafm/zic/core.zic
+share/jafm/zic/trash.zic
+share/jafm/zic/targz.zic
+share/jafm/zic/skip.zic
+share/jafm/zic/rubbish.zic
+share/jafm/zic/printer2.zic
+share/jafm/zic/printer.zic
+share/jafm/zic/print.zic
+share/jafm/zic/people.zic
+share/jafm/zic/pencil.zic
+share/jafm/zic/old-exec.zic
+share/jafm/zic/object.zic
+share/jafm/zic/null.zic
+share/jafm/zic/netscape.zic
+share/jafm/zic/netsc.zic
+share/jafm/zic/nav.zic
+share/jafm/zic/mail.zic
+share/jafm/zic/folder.zic
+share/jafm/zic/exec.zic
+share/jafm/zic/edit.zic
+share/jafm/zic/doc.zic
+share/jafm/zic/dir.zic
+share/jafm/zic/cswap.zic
+share/jafm/zic/try.zic
+share/jafm/system.jafmrules
+@dirrm share/jafm/zic
+@dirrm share/jafm/appl
+@dirrm share/jafm