From owner-freebsd-ports Wed Nov 3 16:11: 0 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 131D615594 for ; Wed, 3 Nov 1999 16:10:50 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA07745; Wed, 3 Nov 1999 16:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B5A7E1529F; Wed, 3 Nov 1999 16:00:00 -0800 (PST) Message-Id: <19991104000000.B5A7E1529F@hub.freebsd.org> Date: Wed, 3 Nov 1999 16:00:00 -0800 (PST) From: ozz@FreeBSD.org.ru To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/14696: New port: wmGrabImage Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14696 >Category: ports >Synopsis: New port: wmGrabImage >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 3 16:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Osokin Sergey >Release: 3.3-STABLE >Organization: http://www.freebsd.org.ru >Environment: 3.3-STABLE >Description: New port: wmGrabImage-0.70 >How-To-Repeat: >Fix: echo c - wmGrabImage mkdir -p wmGrabImage > /dev/null 2>&1 echo x - wmGrabImage/Makefile sed 's/^X//' >wmGrabImage/Makefile << 'END-of-wmGrabImage/Makefile' X# New ports collection makefile for: wmGrabImage X# Version required: 1.0b1 X# Date created: 04 November 1999 X# Whom: Sergey Osokin aka oZZ X# X# $FreeBSD: Exp $ X# X XDISTNAME= wmGrabImage-0.70 XCATEGORIES= x11 windowmaker graphics XMASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/ X XMAINTAINER= ozz@FreeBSD.org.ru X XLIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm XRUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick X XWRKSRC= ${WRKDIR}/${DISTNAME}/wmGrabImage XUSE_GMAKE= yes XUSE_X_PREFIX= yes X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/wmGrabImage ${PREFIX}/bin X @ ${INSTALL_SCRIPT} ${WRKSRC}/GrabImage ${PREFIX}/bin X @ ${INSTALL_MAN} ${WRKSRC}/wmGrabImage.1 ${PREFIX}/man/man1 X XMAN1= wmGrabImage.1 X X.include END-of-wmGrabImage/Makefile echo c - wmGrabImage/files mkdir -p wmGrabImage/files > /dev/null 2>&1 echo c - wmGrabImage/patches mkdir -p wmGrabImage/patches > /dev/null 2>&1 echo c - wmGrabImage/pkg mkdir -p wmGrabImage/pkg > /dev/null 2>&1 echo x - wmGrabImage/files/md5 sed 's/^X//' >wmGrabImage/files/md5 << 'END-of-wmGrabImage/files/md5' XMD5 (wmGrabImage-0.70.tar.gz) = f77223e45fbcb7056eb4ae9393c3f601 END-of-wmGrabImage/files/md5 echo x - wmGrabImage/patches/patch-aa sed 's/^X//' >wmGrabImage/patches/patch-aa << 'END-of-wmGrabImage/patches/patch-aa' X--- Makefile.orig Thu Nov 4 01:07:27 1999 X+++ Makefile Thu Nov 4 01:07:55 1999 X@@ -1,6 +1,6 @@ X CC = gcc X CFLAGS = -O2 -Wall X-INCDIR = -I/usr/X11R6/include/X11 X+INCDIR = -I/usr/X11R6/include X DESTDIR= /usr/X11R6 X LIBDIR = -L/usr/X11R6/lib X # for linux X@@ -12,7 +12,7 @@ X X X .c.o: X- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) X+ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR) X X X all: wmGrabImage.o wmGrabImage END-of-wmGrabImage/patches/patch-aa echo x - wmGrabImage/patches/patch-ab sed 's/^X//' >wmGrabImage/patches/patch-ab << 'END-of-wmGrabImage/patches/patch-ab' X--- GrabImage.orig Thu Nov 4 01:44:43 1999 X+++ GrabImage Thu Nov 4 01:46:12 1999 X@@ -52,7 +52,7 @@ X # I think some of these wget command line options may cause problems X # for some people? Dont know why... X # X- $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmGrabImage/$ImageName $URL"; X+ $GrabCmd = "fetch -p -o $home/.wmGrabImage/$ImageName $URL"; X system "$GrabCmd"; X X } END-of-wmGrabImage/patches/patch-ab echo x - wmGrabImage/patches/patch-ac sed 's/^X//' >wmGrabImage/patches/patch-ac << 'END-of-wmGrabImage/patches/patch-ac' X--- wmGrabImage.1.orig Thu Nov 4 02:20:22 1999 X+++ wmGrabImage.1 Thu Nov 4 02:20:58 1999 X@@ -47,7 +47,7 @@ X The original sized image and the thumbnail XPM image are both stored in X ~/.wmGrabImage/ which gets created if it doesnt already exist. X .SH SEE ALSO X-wget and the ImageMagick convert utility. X+fetch and the ImageMagick convert utility. X .SH BUGS X Who knows? -- its still Beta though. (Let me know if you find any). Oldish X versions of the ImageMagick convert utility have a memory leak -- if you have END-of-wmGrabImage/patches/patch-ac echo x - wmGrabImage/pkg/COMMENT sed 's/^X//' >wmGrabImage/pkg/COMMENT << 'END-of-wmGrabImage/pkg/COMMENT' XMonitor your favorite web image. END-of-wmGrabImage/pkg/COMMENT echo x - wmGrabImage/pkg/DESCR sed 's/^X//' >wmGrabImage/pkg/DESCR << 'END-of-wmGrabImage/pkg/DESCR' XwmGrabImage is a WindowMaker DockApp that maintains a small thumbnail copy of Xyour favorite image from the WWW. The image to monitor is specified via the X"-url " command-line option and it gets updated approximately every X5 minutes. The update interval can be overridden via the "-delay