From owner-freebsd-ports Sun Jan 14 22:30:23 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E62C937B401 for ; Sun, 14 Jan 2001 22:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0F6U0V07800; Sun, 14 Jan 2001 22:30:00 -0800 (PST) (envelope-from gnats) Received: from mail7.sc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 64E6A37B400 for ; Sun, 14 Jan 2001 22:25:22 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by mail7.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Mon, 15 Jan 2001 01:25:14 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f0F6Q5p58042; Mon, 15 Jan 2001 01:26:05 -0500 (EST) (envelope-from dmaddox) Message-Id: <200101150626.f0F6Q5p58042@sc.rr.com> Date: Mon, 15 Jan 2001 01:26:05 -0500 (EST) From: dmaddox@sc.rr.com Reply-To: dmaddox@sc.rr.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/24339: [NEW PORT SUBMISSION] Worker-2.01 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24339 >Category: ports >Synopsis: New port submission >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 14 22:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Donald J. Maddox >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD cae88-102-101.sc.rr.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jan 2 04:43:53 EST 2001 root@cae88-102-101.sc.rr.com:/usr/src/sys/compile/RHIANNON i386 >Description: For those who remember DirectoryOpus on the Amiga, this will be a real blast from the past :) Worker is the closest thing to the real DirectoryOpus I have seen yet in the UNIX world. Worker is basically a two-paned file manager like FileRunner, X-Files, etc., but considerably more powerful and configurable. And it's not written in Tcl/Tk, so it's a lot faster too :) The strongest reason for using Worker is it's very powerful facilities for creating user-defined file types, with multiple user-defined actions for each filetype. The user can, for example, define a drag-n-drop action, a double-click action, a show action, etc. for each filetype that is defined. Worker comes with a large set of predefined filetypes and actions, but all can be customized by the user should he/she so desire. Worker also has the capability to "auto-learn" new file types, and can recognize file types based simply on filename extensions, or by binary content. WWW: http://www.boomerangsworld.de/worker - Donald J. Maddox dmaddox@sc.rr.com >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # worker # worker/Makefile # worker/pkg-message # worker/pkg-comment # worker/pkg-descr # worker/distinfo # worker/pkg-plist # worker/files # worker/files/patch_xliwrapper # worker/files/patch_datei_cc # echo c - worker mkdir -p worker > /dev/null 2>&1 echo x - worker/Makefile sed 's/^X//' >worker/Makefile << 'END-of-worker/Makefile' X# New ports collection makefile for: Worker X# Date created: 14 Jan 2001 X# Whom: dmaddox@sc.rr.com X# X# $FreeBSD$ X# X XPORTNAME= worker XPORTVERSION= 2.0.1 XCATEGORIES= x11-fm XMASTER_SITES= http://www.boomerangsworld.de/worker/downloads/ X XMAINTAINER= dmaddox@sc.rr.com X XRUN_DEPENDS= xli:${PORTSDIR}/graphics/xli X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --prefix=${PREFIX} XUSE_GMAKE= yes XUSE_XLIB= yes X XMAN1= worker.1 XMANCOMPRESSED= yes X Xpre-configure: X @perl -pi -e 's/-g\s-O2/${CFLAGS}/' ${WRKSRC}/configure X Xpost-install: X @${GZIP_CMD} ${PREFIX}/man/man1/worker.1 X @${CAT} ${PKGMESSAGE} X X.include END-of-worker/Makefile echo x - worker/pkg-message sed 's/^X//' >worker/pkg-message << 'END-of-worker/pkg-message' X******************************************************************************** X X NOTE: You should run worker.inst before you run worker for the 1st time. X X******************************************************************************** END-of-worker/pkg-message echo x - worker/pkg-comment sed 's/^X//' >worker/pkg-comment << 'END-of-worker/pkg-comment' XX11 file manager similar to DirectoryOpus for the Amiga END-of-worker/pkg-comment echo x - worker/pkg-descr sed 's/^X//' >worker/pkg-descr << 'END-of-worker/pkg-descr' XFor those who remember DirectoryOpus on the Amiga, this will be a Xreal blast from the past :) Worker is the closest thing to the Xreal DirectoryOpus I have seen yet in the UNIX world. X XWorker is basically a two-paned file manager like FileRunner, XX-Files, etc., but considerably more powerful and configurable. XAnd it's not written in Tcl/Tk, so it's a lot faster too :) X XThe strongest reason for using Worker is it's very powerful facilities Xfor creating user-defined file types, with multiple user-defined Xactions for each filetype. The user can, for example, define a Xdrag-n-drop action, a double-click action, a show action, etc. for Xeach filetype that is defined. Worker comes with a large set of Xpredefined filetypes and actions, but all can be customized by the Xuser should he/she so desire. Worker also has the capability to X"auto-learn" new file types, and can recognize file types based Xsimply on filename extensions, or by binary content. X XWWW: http://www.boomerangsworld.de/worker X X - Donald J. Maddox Xdmaddox@sc.rr.com END-of-worker/pkg-descr echo x - worker/distinfo sed 's/^X//' >worker/distinfo << 'END-of-worker/distinfo' XMD5 (worker-2.0.1.tar.gz) = 0dabd35c71ac52c32322440b6e32b661 END-of-worker/distinfo echo x - worker/pkg-plist sed 's/^X//' >worker/pkg-plist << 'END-of-worker/pkg-plist' Xbin/worker Xbin/worker.inst Xbin/xliwrapper_worker Xshare/worker/catalogs/deutsch.catalog Xshare/worker/catalogs/deutsch.catalog.coms Xshare/worker/catalogs/deutsch.catalog.flags Xshare/worker/catalogs/francais.catalog Xshare/worker/catalogs/francais.catalog.coms Xshare/worker/catalogs/francais.catalog.flags Xshare/worker/config-de Xshare/worker/config-en Xshare/worker/config-fr X@dirrm share/worker/catalogs X@dirrm share/worker END-of-worker/pkg-plist echo c - worker/files mkdir -p worker/files > /dev/null 2>&1 echo x - worker/files/patch_xliwrapper sed 's/^X//' >worker/files/patch_xliwrapper << 'END-of-worker/files/patch_xliwrapper' X--- Scripts/xliwrapper_worker.orig Tue Jan 9 19:23:40 2001 X+++ Scripts/xliwrapper_worker Mon Jan 15 00:23:43 2001 X@@ -20,7 +20,7 @@ X # sed will output the width and the height (if xli outputs it) X # and grep will recognize the same X # image size will contain width and height or nothing X-imagesize=`xli -identify "$6" 2>/dev/null | sed s/".* is a \([0-9]\+\)x\([0-9]\+\).*"/"\1 \2"/g | grep -e "[0-9]\+ [0-9]\+"` X+imagesize=`xli -identify "$6" 2>/dev/null | sed s/".* is a \([0-9]\{1,\}\)x\([0-9]\{1,\}\).*"/"\1 \2"/g | grep -e "[0-9]\+ [0-9]\+"` X X # extract the width X imagewidth=`echo $imagesize | cut -d \ -f 1` END-of-worker/files/patch_xliwrapper echo x - worker/files/patch_datei_cc sed 's/^X//' >worker/files/patch_datei_cc << 'END-of-worker/files/patch_datei_cc' X--- src/datei.cc.orig Tue Jan 9 19:23:36 2001 X+++ src/datei.cc Mon Jan 15 00:23:43 2001 X@@ -1244,7 +1244,6 @@ X #endif X str=(char*)_allocsafe(mlen*sizeof(char)); X memset(str,' ',mlen-1); X- str[0]=0; X pos=0; X for(int i=0;i<9;i++) { X if(sets[i]<0) break; X@@ -1268,9 +1267,14 @@ X case 1://Size X if((fe->isDir()==true)&&(fe->isLink==false)&&(fe->dirsize>=0)) size=fe->dirsize; X else size=fe->size; X+#ifdef LEFTJUSTIFY X MakeLong2NiceStr(str+pos,size); X-// str[pos+LongSize(size)]=' '; X str[pos+newlengths[V_SIZELENGTH]]=' '; X+#else X+ MakeLong2NiceStr(str+pos+sizelen-newlengths[V_SIZELENGTH],size); X+ str[pos+sizelen]=' '; X+#endif X+// str[pos+LongSize(size)]=' '; X pos+=sizelen+1; X break; X case 2://Type END-of-worker/files/patch_datei_cc exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message