diff options
author | kris <kris@FreeBSD.org> | 2002-05-24 19:48:15 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-05-24 19:48:15 +0800 |
commit | 898e816c67bb0f1a7cd0c43578732ee623f6d3a7 (patch) | |
tree | b1a4bbdfe900583bb61baacdca4e000b16e5ad7f | |
parent | 8da46b8f018d3b9c6c9a5f31f18eba722b23d902 (diff) | |
download | freebsd-ports-graphics-898e816c67bb0f1a7cd0c43578732ee623f6d3a7.tar.gz freebsd-ports-graphics-898e816c67bb0f1a7cd0c43578732ee623f6d3a7.tar.zst freebsd-ports-graphics-898e816c67bb0f1a7cd0c43578732ee623f6d3a7.zip |
Add back jafm which was prematurely removed by will, but mark it BROKEN
because it doesn't build with recent versions of bison.
-rw-r--r-- | x11-fm/Makefile | 1 | ||||
-rw-r--r-- | x11-fm/jafm/Makefile | 26 | ||||
-rw-r--r-- | x11-fm/jafm/distinfo | 1 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-aa | 82 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-ab | 11 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-ac | 21 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-ad | 37 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-ae | 20 | ||||
-rw-r--r-- | x11-fm/jafm/files/patch-af | 11 | ||||
-rw-r--r-- | x11-fm/jafm/pkg-comment | 1 | ||||
-rw-r--r-- | x11-fm/jafm/pkg-descr | 8 | ||||
-rw-r--r-- | x11-fm/jafm/pkg-plist | 30 |
12 files changed, 249 insertions, 0 deletions
diff --git a/x11-fm/Makefile b/x11-fm/Makefile index 3ebf2db6665..71c9f732e0b 100644 --- a/x11-fm/Makefile +++ b/x11-fm/Makefile @@ -13,6 +13,7 @@ SUBDIR += gentoo SUBDIR += gnome-commander SUBDIR += gnomemc + SUBDIR += jafm SUBDIR += mtoolsfm SUBDIR += nautilus SUBDIR += nautilus2 diff --git a/x11-fm/jafm/Makefile b/x11-fm/jafm/Makefile new file mode 100644 index 00000000000..080a2963002 --- /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 00000000000..715092d0551 --- /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 00000000000..38290a48b53 --- /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 00000000000..e3db750d4a1 --- /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 00000000000..fdd0b05927a --- /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 00000000000..b943d62fa80 --- /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 00000000000..2693a1d83e4 --- /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 00000000000..cfe92153262 --- /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 00000000000..d5f31a110b8 --- /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 00000000000..3bb18f3fc14 --- /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 00000000000..467592743be --- /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 |