Import of ASFiles-1.0

X11 file manager. Dockable in Window Maker

ok danh@
This commit is contained in:
wilfried 2001-03-07 15:47:04 +00:00
parent ceaddf3c0d
commit 6aff27d5e7
18 changed files with 507 additions and 0 deletions

31
x11/asfiles/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
DISTNAME= ASFiles-1.0
PKGNAME= ${DISTNAME:L}
CATEGORIES= x11 x11/windowmaker
NEED_VERSION= 1.340
MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
MASTER_SITE_SUBDIR= apps/ASFiles
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
LIB_DEPENDS= Dnd::x11/libdnd
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
FAKE_FLAGS= NORMAL_INSTALL=""
post-configure:
.for d in . src src/bitmaps src/pixmaps src/external src/regexp pixmaps bitmaps
@perl -pi -e 's|^(prefix[ \t]*=).*$$|\1 \$${PREFIX}|' ${WRKSRC}/${d}/Makefile
.endfor
post-install:
${INSTALL_DATA} ${WRKSRC}/src/Files.ad ${PREFIX}/lib/X11/app-defaults/Files
.include <bsd.port.mk>

3
x11/asfiles/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (ASFiles-1.0.tar.gz) = cd385e5bd93a75cb110c7544f86cc303
RMD160 (ASFiles-1.0.tar.gz) = b7324f288c8da67067e00e6e301db47ca5c40377
SHA1 (ASFiles-1.0.tar.gz) = 1bed9c4d9009f9e86ab007722efd0c9b1c718c4d

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/03/07 15:47:06 wilfried Exp $
--- Makefile.in.orig Mon Jan 20 15:01:48 1997
+++ Makefile.in Tue Feb 13 13:59:28 2001
@@ -176,10 +176,8 @@ installcheck: installcheck-recursive
all-am: Makefile
install-exec: install-exec-recursive
- $(NORMAL_INSTALL)
install-data: install-data-recursive
- $(NORMAL_INSTALL)
install: install-recursive
@:

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-ad2c,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- ad2c.orig Sun Nov 24 17:37:21 1996
+++ ad2c Tue Feb 13 13:34:13 2001
@@ -47,7 +47,6 @@ s/\\/\\\\/g
s/\\$//g
s/"/\\"/g
s/^/"/
-: test
/\\$/b slash
s/$/",/
p

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-bitmaps_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- bitmaps/Makefile.in.orig Mon Jan 20 15:01:52 1997
+++ bitmaps/Makefile.in Tue Feb 13 13:59:58 2001
@@ -99,7 +99,6 @@ Makefile: $(top_builddir)/config.status
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
install-bitmapDATA: $(bitmap_DATA)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(bitmapdir)
list="$(bitmap_DATA)"; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
@@ -131,10 +130,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data: install-bitmapDATA
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-pixmaps_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- pixmaps/Makefile.in.orig Fri May 9 05:50:10 1997
+++ pixmaps/Makefile.in Tue Feb 13 13:59:53 2001
@@ -74,7 +74,6 @@ Makefile: $(top_builddir)/config.status
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
install-pixmapDATA: $(pixmap_DATA)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(pixmapdir)
list="$(pixmap_DATA)"; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
@@ -106,10 +105,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data: install-pixmapDATA
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-src_Dnd_c,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/Dnd.c.orig Mon Jan 20 14:57:58 1997
+++ src/Dnd.c Wed Feb 7 16:16:25 2001
@@ -400,9 +400,10 @@ static void computeFromAndTo(FileWindowR
void RootDropCommand(FileRec *file, char *directory, int type)
{
- char *data;
+ unsigned char *data;
Window root, child;
- int x, y, x_win, y_win, size, i;
+ int x, y, x_win, y_win, i;
+ unsigned long size;
unsigned int mask;
char label[200], cmd[1024], drop[1024], icon[1024];
Display *dpy = XtDisplay(toplevel);
@@ -508,7 +509,9 @@ static void handleExternalDrop(Widget wi
case DndRawData:
case DndText:
DndGetData(&Data,&Size);
- t = tempnam(fw->directory, "New");
+ t = malloc(strlen(fw->directory)+15);
+ sprintf(t,"%s/NewXXXXXXXXXX", fw->directory);
+ mkstemp(t);
fp = fopen(t, "w");
free(t);
if(!fp || fwrite(Data, 1, Size, fp)!=Size)

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Files_ad,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/Files.ad.orig Mon Apr 21 05:55:17 1997
+++ src/Files.ad Mon Feb 12 21:12:48 2001
@@ -110,8 +110,8 @@ Files*defaultDisplayType: Icons
Files*defaultSortType: SortByName
! The default editor to use
-Files*defaultEditor: exec xemacs
-Files*defaultViewer: exec xemacs
+Files*defaultEditor: exec xterm -e vi
+Files*defaultViewer: exec xterm -e vi
! The default terminal program to use
Files*defaultTerm: exec xterm

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Main_c,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/Main.c.orig Wed May 21 18:25:09 1997
+++ src/Main.c Wed Feb 7 16:03:20 2001
@@ -391,7 +391,7 @@ void init_arg0flag()
Main function
---------------------------------------------------------------------------*/
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
char *s, *buf;
int bufsize;

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-src_Makefile_am,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/Makefile.am.orig Tue Nov 26 01:15:15 1996
+++ src/Makefile.am Tue Feb 13 13:28:33 2001
@@ -17,4 +17,4 @@ offix_DATA = FilesMagic Filesrc
EXTRA_DIST = Files.ad xfmtype.c $(offix_DATA)
Files.ad.h: Files.ad
- cd $(srcdir) && $(top_srcdir)/ad2c $< > $@
+ cd $(srcdir) && $(top_srcdir)/ad2c $> > $@

View File

@ -0,0 +1,38 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/Makefile.in.orig Tue Feb 13 13:57:17 2001
+++ src/Makefile.in Tue Feb 13 13:59:35 2001
@@ -117,7 +117,6 @@ distclean-binPROGRAMS:
maintainer-clean-binPROGRAMS:
install-binPROGRAMS: $(bin_PROGRAMS)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(bindir)
list="$(bin_PROGRAMS)"; for p in $$list; do \
if test -f $$p; then \
@@ -146,7 +145,6 @@ maintainer-clean-compile:
files: $(files_OBJECTS) $(files_DEPENDENCIES)
$(LINK) $(files_OBJECTS) $(files_LDADD) $(LIBS)
install-man: $(MANS)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(mandir)/man1
sect=1; \
inst=`echo "files" | sed '$(transform)'`.1; \
@@ -160,7 +158,6 @@ uninstall-man:
install-offixDATA: $(offix_DATA)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(offixdir)
list="$(offix_DATA)"; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
@@ -285,10 +282,8 @@ install-data-am: install-man install-off
uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-offixDATA
install-exec: install-exec-recursive install-exec-am
- $(NORMAL_INSTALL)
install-data: install-data-recursive install-data-am
- $(NORMAL_INSTALL)
install: install-recursive install-exec-am install-data-am
@:

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_bitmaps_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/bitmaps/Makefile.in.orig Mon Jan 20 15:01:49 1997
+++ src/bitmaps/Makefile.in Tue Feb 13 13:59:38 2001
@@ -85,10 +85,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data:
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_external_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/external/Makefile.in.orig Mon Jan 20 15:01:51 1997
+++ src/external/Makefile.in Tue Feb 13 13:59:44 2001
@@ -151,10 +151,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data:
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_pixmaps_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/pixmaps/Makefile.in.orig Mon Jan 20 15:01:50 1997
+++ src/pixmaps/Makefile.in Tue Feb 13 13:59:41 2001
@@ -81,10 +81,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data:
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-src_regexp_Makefile_in,v 1.1.1.1 2001/03/07 15:47:04 wilfried Exp $
--- src/regexp/Makefile.in.orig Mon Jan 20 15:01:51 1997
+++ src/regexp/Makefile.in Tue Feb 13 13:59:49 2001
@@ -121,7 +121,6 @@ libregx.a: $(regx_OBJECTS) $(regx_DEPEND
$(AR) cru libregx.a $(regx_OBJECTS) $(regx_LIBADD)
$(RANLIB) libregx.a
install-man: $(MANS)
- $(NORMAL_INSTALL)
$(mkinstalldirs) $(mandir)/man3
sect=3; \
inst=`echo "regexp" | sed '$(transform)'`.3; \
@@ -169,10 +168,8 @@ dvi:
check: all
installcheck:
install-exec:
- $(NORMAL_INSTALL)
install-data: install-man
- $(NORMAL_INSTALL)
install: install-exec install-data all
@:

1
x11/asfiles/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
X11 file manager. Dockable in Window Maker

8
x11/asfiles/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
This is a hack to OffiX Files-2.4e to make it look like the NeXT file
manager. The icons are now pretty.
It provides virtually all of the features that you would expect in a
file manager -- move around your directory tree in multiple windows,
move, copy or delete files, and launch programs with simple mouse operations.
It is dockable provided you use Window Maker.

231
x11/asfiles/pkg/PLIST Normal file
View File

@ -0,0 +1,231 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/07 15:47:06 wilfried Exp $
bin/files
include/bitmaps/MASK.xbm
include/bitmaps/application.xbm
include/bitmaps/autocad.xbm
include/bitmaps/bargraph.xbm
include/bitmaps/binary.xbm
include/bitmaps/binedit.xbm
include/bitmaps/bitmap.xbm
include/bitmaps/bug.xbm
include/bitmaps/cad.xbm
include/bitmaps/calendar.xbm
include/bitmaps/chip.xbm
include/bitmaps/circuit.xbm
include/bitmaps/circuit2.xbm
include/bitmaps/clipboard.xbm
include/bitmaps/clipboard2.xbm
include/bitmaps/columns.xbm
include/bitmaps/compressed.xbm
include/bitmaps/config.xbm
include/bitmaps/core.xbm
include/bitmaps/crontab.xbm
include/bitmaps/cycle.xbm
include/bitmaps/data.xbm
include/bitmaps/dead.xbm
include/bitmaps/debug.xbm
include/bitmaps/dot_CC.xbm
include/bitmaps/dot_a.xbm
include/bitmaps/dot_a2.xbm
include/bitmaps/dot_c.xbm
include/bitmaps/dot_cc.xbm
include/bitmaps/dot_f.xbm
include/bitmaps/dot_h.xbm
include/bitmaps/dot_o.xbm
include/bitmaps/dot_p.xbm
include/bitmaps/dot_s.xbm
include/bitmaps/dot_so.xbm
include/bitmaps/draw.xbm
include/bitmaps/draw2.xbm
include/bitmaps/draw3.xbm
include/bitmaps/emacs.xbm
include/bitmaps/empty.xbm
include/bitmaps/exclamation.xbm
include/bitmaps/experiment.xbm
include/bitmaps/fig.xbm
include/bitmaps/file.xbm
include/bitmaps/firstaid.xbm
include/bitmaps/firstaid2.xbm
include/bitmaps/fish_monster.xbm
include/bitmaps/font.xbm
include/bitmaps/framemaker.xbm
include/bitmaps/gif.xbm
include/bitmaps/gif2.xbm
include/bitmaps/gil.xbm
include/bitmaps/grab.xbm
include/bitmaps/graph.xbm
include/bitmaps/help.xbm
include/bitmaps/helpme.xbm
include/bitmaps/hexdump.xbm
include/bitmaps/hidden.xbm
include/bitmaps/hidden_dir.xbm
include/bitmaps/html.xbm
include/bitmaps/icon.xbm
include/bitmaps/icon2.xbm
include/bitmaps/iff.xbm
include/bitmaps/index.xbm
include/bitmaps/info.xbm
include/bitmaps/info_dot.xbm
include/bitmaps/jpeg.xbm
include/bitmaps/jpeg2.xbm
include/bitmaps/key_dir.xbm
include/bitmaps/letters.xbm
include/bitmaps/lharc.xbm
include/bitmaps/link.xbm
include/bitmaps/link_appl.xbm
include/bitmaps/link_bad.xbm
include/bitmaps/link_dir.xbm
include/bitmaps/lisp.xbm
include/bitmaps/list.xbm
include/bitmaps/lock.xbm
include/bitmaps/lock_dir.xbm
include/bitmaps/mail_dir.xbm
include/bitmaps/mailbox.xbm
include/bitmaps/makefile.xbm
include/bitmaps/manpage.xbm
include/bitmaps/matlab.xbm
include/bitmaps/matrix.xbm
include/bitmaps/model.xbm
include/bitmaps/multiple.xbm
include/bitmaps/music.xbm
include/bitmaps/network_dir.xbm
include/bitmaps/news_dir.xbm
include/bitmaps/no_entry.xbm
include/bitmaps/note.xbm
include/bitmaps/objects.xbm
include/bitmaps/objects2.xbm
include/bitmaps/objects3.xbm
include/bitmaps/open_dir.xbm
include/bitmaps/paint.xbm
include/bitmaps/paragraphs.xbm
include/bitmaps/parent_dir.xbm
include/bitmaps/phone.xbm
include/bitmaps/plain.xbm
include/bitmaps/plain_dir.xbm
include/bitmaps/plain_grey.xbm
include/bitmaps/postscript.xbm
include/bitmaps/postscript2.xbm
include/bitmaps/prefs.xbm
include/bitmaps/printer.xbm
include/bitmaps/program.xbm
include/bitmaps/program2.xbm
include/bitmaps/radioactive.xbm
include/bitmaps/radioactive2.xbm
include/bitmaps/raster.xbm
include/bitmaps/rc.xbm
include/bitmaps/report.xbm
include/bitmaps/sc.xbm
include/bitmaps/scrapbook.xbm
include/bitmaps/signals.xbm
include/bitmaps/solids.xbm
include/bitmaps/sound.xbm
include/bitmaps/sound2.xbm
include/bitmaps/spreadsheet.xbm
include/bitmaps/stop.xbm
include/bitmaps/system.xbm
include/bitmaps/system_dir.xbm
include/bitmaps/tag.xbm
include/bitmaps/tar.xbm
include/bitmaps/tar_z.xbm
include/bitmaps/teddy.xbm
include/bitmaps/tex.xbm
include/bitmaps/text.xbm
include/bitmaps/tiff.xbm
include/bitmaps/trash.xbm
include/bitmaps/uu.xbm
include/bitmaps/watch.xbm
include/bitmaps/wordprocess.xbm
include/bitmaps/x.xbm
include/bitmaps/xbm.xbm
include/bitmaps/xchess.xbm
include/bitmaps/xdbx.xbm
include/bitmaps/xfm_a.xbm
include/bitmaps/xfm_appmgr.xbm
include/bitmaps/xfm_au.xbm
include/bitmaps/xfm_c.xbm
include/bitmaps/xfm_cc.xbm
include/bitmaps/xfm_core.xbm
include/bitmaps/xfm_data.xbm
include/bitmaps/xfm_dir.xbm
include/bitmaps/xfm_dirmsk.xbm
include/bitmaps/xfm_draw.xbm
include/bitmaps/xfm_fig.xbm
include/bitmaps/xfm_file.xbm
include/bitmaps/xfm_filemsk.xbm
include/bitmaps/xfm_files.xbm
include/bitmaps/xfm_filesmsk.xbm
include/bitmaps/xfm_gif.xbm
include/bitmaps/xfm_h.xbm
include/bitmaps/xfm_info.xbm
include/bitmaps/xfm_lines.xbm
include/bitmaps/xfm_make.xbm
include/bitmaps/xfm_o.xbm
include/bitmaps/xfm_objects.xbm
include/bitmaps/xfm_paint.xbm
include/bitmaps/xfm_par.xbm
include/bitmaps/xfm_phone.xbm
include/bitmaps/xfm_ps.xbm
include/bitmaps/xfm_report.xbm
include/bitmaps/xfm_stop.xbm
include/bitmaps/xfm_sys.xbm
include/bitmaps/xfm_tag.xbm
include/bitmaps/xfm_tar.xbm
include/bitmaps/xfm_tex.xbm
include/bitmaps/xfm_text.xbm
include/bitmaps/xfm_tiff.xbm
include/bitmaps/xfm_uu.xbm
include/bitmaps/xfm_wavy.xbm
include/bitmaps/xfm_wavy1.xbm
include/bitmaps/xfm_word.xbm
include/bitmaps/xfm_xbm.xbm
include/bitmaps/xfm_xpm.xbm
include/bitmaps/xfm_z.xbm
include/bitmaps/xfm_zoo.xbm
include/bitmaps/xman.xbm
include/bitmaps/zip.xbm
include/bitmaps/zoo.xbm
include/pixmaps/C++.xpm
include/pixmaps/C.xpm
include/pixmaps/CrashCartoon.xpm
include/pixmaps/DVI.xpm
include/pixmaps/Document.xpm
include/pixmaps/Document3.xpm
include/pixmaps/Draw.xpm
include/pixmaps/File.xpm
include/pixmaps/FileAu.xpm
include/pixmaps/FileDotH.xpm
include/pixmaps/FileFIG.xpm
include/pixmaps/FileGz.xpm
include/pixmaps/FilePS.xpm
include/pixmaps/FileShar.xpm
include/pixmaps/FileTar.xpm
include/pixmaps/FileTaz.xpm
include/pixmaps/FileTgz.xpm
include/pixmaps/FileURL.xpm
include/pixmaps/FileZ.xpm
include/pixmaps/FileZip.xpm
include/pixmaps/FolderOpen.xpm
include/pixmaps/Home.xpm
include/pixmaps/Image.xpm
include/pixmaps/ImageGIF.xpm
include/pixmaps/ImageJPG.xpm
include/pixmaps/ImageTIFF.xpm
include/pixmaps/ImageXBM.xpm
include/pixmaps/ImageXPM.xpm
include/pixmaps/Info.xpm
include/pixmaps/MusicClef.xpm
include/pixmaps/PDFOmni.xpm
include/pixmaps/Recycler.xpm
include/pixmaps/SoundEdit.xpm
include/pixmaps/TeXInfo.xpm
include/pixmaps/WWW.xpm
include/pixmaps/Workshop.xpm
include/pixmaps/interface.xpm
lib/X11/app-defaults/Files
man/man1/files.1
man/man3/regexp.3
share/OffiX/FilesMagic
share/OffiX/Filesrc
@dirrm share/OffiX
@dirrm include/pixmaps
@dirrm include/bitmaps